Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.24"
".": "0.1.0-alpha.25"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "finch-api", "~> 0.1.0.pre.alpha.24"
gem "finch-api", "~> 0.1.0.pre.alpha.25"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion lib/finch_api/internal/transport/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def initialize(
#
# @raise [FinchAPI::Errors::APIError]
# @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
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}

Expand Down
2 changes: 1 addition & 1 deletion lib/finch_api/version.rb
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion rbi/finch_api/internal/transport/base_client.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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:,
Expand Down
2 changes: 1 addition & 1 deletion sig/finch_api/internal/transport/base_client.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions test/finch_api/internal/sorbet_runtime_support_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down