From 7d8385183a2e4d9919780cd73a350431b27f4312 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 25 Jul 2025 18:21:58 +0000 Subject: [PATCH 1/4] chore: update contribute.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9173c51c..b1bc266a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,7 +78,7 @@ $ bundle exec rake test ## Linting and formatting -This repository uses [rubocop](https://github.com/rubocop/rubocop) for linting and formatting of `*.rb` and `*.rbi` files. [syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) is used for formatting `*.rbs` files. +This repository uses [rubocop](https://github.com/rubocop/rubocop) for linting and formatting of `*.rb` files; And [syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) is used for formatting of both `*.rbi` and `*.rbs` files. There are two separate type checkers supported by this library: [sorbet](https://github.com/sorbet/sorbet) and [steep](https://github.com/soutaro/steep) are used for verifying `*.rbi` and `*.rbs` files respectively. From 007501f8faade4e909775c5c2de7f99b3e344bb7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 15:13:23 +0000 Subject: [PATCH 2/4] fix(internal): ensure sorbet test always runs serially --- test/finch_api/internal/sorbet_runtime_support_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/finch_api/internal/sorbet_runtime_support_test.rb b/test/finch_api/internal/sorbet_runtime_support_test.rb index 08d174bb..207dc8e9 100644 --- a/test/finch_api/internal/sorbet_runtime_support_test.rb +++ b/test/finch_api/internal/sorbet_runtime_support_test.rb @@ -3,6 +3,8 @@ require_relative "../test_helper" class FinchAPI::Test::SorbetRuntimeSupportTest < Minitest::Test + extend Minitest::Serial + i_suck_and_my_tests_are_order_dependent! module E From 66d0f3947c6724659efbd8d23890a5e5519be22c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:24:44 +0000 Subject: [PATCH 3/4] chore(internal): increase visibility of internal helper method --- lib/finch_api/internal/transport/base_client.rb | 2 +- rbi/finch_api/internal/transport/base_client.rbi | 2 +- sig/finch_api/internal/transport/base_client.rbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/finch_api/internal/transport/base_client.rb b/lib/finch_api/internal/transport/base_client.rb index 6e306754..3f539160 100644 --- a/lib/finch_api/internal/transport/base_client.rb +++ b/lib/finch_api/internal/transport/base_client.rb @@ -365,7 +365,7 @@ def initialize( # # @raise [FinchAPI::Errors::APIError] # @return [Array(Integer, Net::HTTPResponse, Enumerable)] - private def send_request(request, redirect_count:, retry_count:, send_retry_header:) + def send_request(request, redirect_count:, retry_count:, send_retry_header:) url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout) input = {**request.except(:timeout), deadline: FinchAPI::Internal::Util.monotonic_secs + timeout} diff --git a/rbi/finch_api/internal/transport/base_client.rbi b/rbi/finch_api/internal/transport/base_client.rbi index 0b9f6325..12c2d6cc 100644 --- a/rbi/finch_api/internal/transport/base_client.rbi +++ b/rbi/finch_api/internal/transport/base_client.rbi @@ -213,7 +213,7 @@ module FinchAPI send_retry_header: T::Boolean ).returns([Integer, Net::HTTPResponse, T::Enumerable[String]]) end - private def send_request( + def send_request( request, redirect_count:, retry_count:, diff --git a/sig/finch_api/internal/transport/base_client.rbs b/sig/finch_api/internal/transport/base_client.rbs index a7d0e7a3..f901f932 100644 --- a/sig/finch_api/internal/transport/base_client.rbs +++ b/sig/finch_api/internal/transport/base_client.rbs @@ -99,7 +99,7 @@ module FinchAPI retry_count: Integer ) -> Float - private def send_request: ( + def send_request: ( FinchAPI::Internal::Transport::BaseClient::request_input request, redirect_count: Integer, retry_count: Integer, From 78b674ca38dfdf0bd0aad4b7c0805f02d89b16ac Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:25:11 +0000 Subject: [PATCH 4/4] release: 0.1.0-alpha.25 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ README.md | 2 +- lib/finch_api/version.rb | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 380b6f91..3188cedb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.24" + ".": "0.1.0-alpha.25" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c0201f4..7cc7f23a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.1.0-alpha.25 (2025-07-31) + +Full Changelog: [v0.1.0-alpha.24...v0.1.0-alpha.25](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.24...v0.1.0-alpha.25) + +### Bug Fixes + +* **internal:** ensure sorbet test always runs serially ([007501f](https://github.com/Finch-API/finch-api-ruby/commit/007501f8faade4e909775c5c2de7f99b3e344bb7)) + + +### Chores + +* **internal:** increase visibility of internal helper method ([66d0f39](https://github.com/Finch-API/finch-api-ruby/commit/66d0f3947c6724659efbd8d23890a5e5519be22c)) +* update contribute.md ([7d83851](https://github.com/Finch-API/finch-api-ruby/commit/7d8385183a2e4d9919780cd73a350431b27f4312)) + ## 0.1.0-alpha.24 (2025-07-23) Full Changelog: [v0.1.0-alpha.23...v0.1.0-alpha.24](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.23...v0.1.0-alpha.24) diff --git a/README.md b/README.md index 4cac9399..60c3ad6b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "finch-api", "~> 0.1.0.pre.alpha.24" +gem "finch-api", "~> 0.1.0.pre.alpha.25" ``` diff --git a/lib/finch_api/version.rb b/lib/finch_api/version.rb index c8a8000b..8137c136 100644 --- a/lib/finch_api/version.rb +++ b/lib/finch_api/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FinchAPI - VERSION = "0.1.0.pre.alpha.24" + VERSION = "0.1.0.pre.alpha.25" end