Skip to content
Closed
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 @@
{
".": "1.10.2"
".": "1.10.3"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 89
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-592610bb4a05ea45115eba7544acd8efbab327749d0f78bd83e164aa305dc0a7.yml
openapi_spec_hash: 6a65b9127625d9479ba6bff2ba3f8d37
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-f83c849e3e1c614100e19d79e4bd38ae67353a8316264cf89e4e721f3c1a5739.yml
openapi_spec_hash: 01ad62e55b345d5c077dad6144249e32
config_hash: c835f0912492c3f1189f78f876c7c90c
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 1.10.3 (2025-08-01)

Full Changelog: [v1.10.2...v1.10.3](https://github.com/knocklabs/knock-ruby/compare/v1.10.2...v1.10.3)

### Bug Fixes

* **internal:** ensure sorbet test always runs serially ([66f6791](https://github.com/knocklabs/knock-ruby/commit/66f67914b8f2c811e98c1a7806fd361463614271))


### Chores

* **internal:** increase visibility of internal helper method ([18a3bc1](https://github.com/knocklabs/knock-ruby/commit/18a3bc1e07170a0c0e2595ac17c8a0e74a4855ff))
* update contribute.md ([3ff1a87](https://github.com/knocklabs/knock-ruby/commit/3ff1a87c6bb8111da0f6127d38cc19c2fa5d54fa))

## 1.10.2 (2025-07-21)

Full Changelog: [v1.10.1...v1.10.2](https://github.com/knocklabs/knock-ruby/compare/v1.10.1...v1.10.2)
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 Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
knockapi (1.10.2)
knockapi (1.10.3)
connection_pool

GEM
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 "knockapi", "~> 1.10.2"
gem "knockapi", "~> 1.10.3"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion lib/knockapi/internal/transport/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def initialize(
#
# @raise [Knockapi::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: Knockapi::Internal::Util.monotonic_secs + timeout}

Expand Down
2 changes: 1 addition & 1 deletion lib/knockapi/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Knockapi
VERSION = "1.10.2"
VERSION = "1.10.3"
end
2 changes: 1 addition & 1 deletion rbi/knockapi/internal/transport/base_client.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ module Knockapi
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/knockapi/internal/transport/base_client.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module Knockapi
retry_count: Integer
) -> Float

private def send_request: (
def send_request: (
Knockapi::Internal::Transport::BaseClient::request_input request,
redirect_count: Integer,
retry_count: Integer,
Expand Down
2 changes: 2 additions & 0 deletions test/knockapi/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 Knockapi::Test::SorbetRuntimeSupportTest < Minitest::Test
extend Minitest::Serial

i_suck_and_my_tests_are_order_dependent!

module E
Expand Down