Skip to content

Commit b15a310

Browse files
authored
Merge pull request #289 from orbcorp/release-please--branches--main--changes--next
release: 1.11.2
2 parents 89ff6f8 + bc19869 commit b15a310

46 files changed

Lines changed: 269 additions & 198 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.11.1"
2+
".": "1.11.2"
33
}

.rubocop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://www.rubyschema.org/rubocop.json
12
---
23
# Explicitly disable pending cops for now. This is the default behaviour but
34
# this avoids a large warning every time we run it.
@@ -8,7 +9,7 @@ AllCops:
89
- "bin/*"
910
NewCops: enable
1011
SuggestExtensions: false
11-
TargetRubyVersion: 3.2.0
12+
TargetRubyVersion: 3.2
1213

1314
# Whether MFA is required or not should be left to the token configuration.
1415
Gemspec/RequireMFA:
@@ -149,7 +150,7 @@ Naming/ClassAndModuleCamelCase:
149150
Naming/MethodParameterName:
150151
Enabled: false
151152

152-
Naming/PredicateName:
153+
Naming/PredicatePrefix:
153154
Exclude:
154155
- "**/*.rbi"
155156

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-4f31d46f5ba187fc4d702c9f9f1573dacb891edbd086f935707578d7c4f5fed8.yml
33
openapi_spec_hash: 25b1019f20a47b8af665aae5f8fd0025
4-
config_hash: 5135e9237207028f293049a77428c775
4+
config_hash: d8a0d696f3250ab096fac87b6b0eab53

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 1.11.2 (2025-08-29)
4+
5+
Full Changelog: [v1.11.1...v1.11.2](https://github.com/orbcorp/orb-ruby/compare/v1.11.1...v1.11.2)
6+
7+
### Chores
8+
9+
* **internal:** codegen related update ([5d327ef](https://github.com/orbcorp/orb-ruby/commit/5d327ef881b03c338f8ae48b2703c3325734a93f))
10+
* **internal:** increase visibility of internal helper method ([141449b](https://github.com/orbcorp/orb-ruby/commit/141449b56bb7c064becf69ec548ce2d99cb1942f))
11+
312
## 1.11.1 (2025-07-28)
413

514
Full Changelog: [v1.11.0...v1.11.1](https://github.com/orbcorp/orb-ruby/compare/v1.11.0...v1.11.1)

Gemfile.lock

Lines changed: 52 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
orb-billing (1.9.0)
14+
orb-billing (1.11.2)
1515
connection_pool
1616

1717
GEM
1818
remote: https://rubygems.org/
1919
specs:
20-
activesupport (8.0.2)
20+
activesupport (8.0.2.1)
2121
base64
2222
benchmark (>= 0.3)
2323
bigdecimal
@@ -33,45 +33,50 @@ GEM
3333
addressable (2.8.7)
3434
public_suffix (>= 2.0.2, < 7.0)
3535
ast (2.4.3)
36-
async (2.24.0)
36+
async (2.27.3)
3737
console (~> 1.29)
3838
fiber-annotation
39-
io-event (~> 1.9)
39+
io-event (~> 1.11)
4040
metrics (~> 0.12)
4141
traces (~> 0.15)
42-
base64 (0.2.0)
43-
benchmark (0.4.0)
44-
bigdecimal (3.1.9)
42+
base64 (0.3.0)
43+
benchmark (0.4.1)
44+
bigdecimal (3.2.2)
4545
concurrent-ruby (1.3.5)
4646
connection_pool (2.5.3)
47-
console (1.30.2)
47+
console (1.33.0)
4848
fiber-annotation
4949
fiber-local (~> 1.1)
5050
json
5151
crack (1.0.0)
5252
bigdecimal
5353
rexml
54-
csv (3.3.4)
55-
drb (2.2.1)
54+
csv (3.3.5)
55+
drb (2.2.3)
5656
erubi (1.13.1)
57+
ffi (1.17.2-aarch64-linux-gnu)
58+
ffi (1.17.2-aarch64-linux-musl)
59+
ffi (1.17.2-arm64-darwin)
60+
ffi (1.17.2-x86_64-darwin)
5761
ffi (1.17.2-x86_64-linux-gnu)
62+
ffi (1.17.2-x86_64-linux-musl)
5863
fiber-annotation (0.2.0)
5964
fiber-local (1.1.0)
6065
fiber-storage
6166
fiber-storage (1.0.1)
6267
fileutils (1.7.3)
63-
hashdiff (1.1.2)
68+
hashdiff (1.2.0)
6469
i18n (1.14.7)
6570
concurrent-ruby (~> 1.0)
66-
io-event (1.10.0)
67-
json (2.11.3)
68-
language_server-protocol (3.17.0.4)
71+
io-event (1.11.2)
72+
json (2.13.2)
73+
language_server-protocol (3.17.0.5)
6974
lint_roller (1.1.0)
7075
listen (3.9.0)
7176
rb-fsevent (~> 0.10, >= 0.10.3)
7277
rb-inotify (~> 0.9, >= 0.9.10)
7378
logger (1.7.0)
74-
metrics (0.12.2)
79+
metrics (0.13.0)
7580
minitest (5.25.5)
7681
minitest-focus (1.4.0)
7782
minitest (>= 4, < 6)
@@ -84,54 +89,56 @@ GEM
8489
mutex_m (0.3.0)
8590
netrc (0.11.0)
8691
parallel (1.27.0)
87-
parser (3.3.8.0)
92+
parser (3.3.9.0)
8893
ast (~> 2.4.1)
8994
racc
9095
prettier_print (1.2.1)
9196
prism (1.4.0)
9297
public_suffix (6.0.2)
9398
racc (1.8.1)
9499
rainbow (3.1.1)
95-
rake (13.2.1)
100+
rake (13.3.0)
96101
rb-fsevent (0.11.2)
97102
rb-inotify (0.11.1)
98103
ffi (~> 1.0)
99-
rbi (0.3.2)
104+
rbi (0.3.6)
100105
prism (~> 1.0)
101106
rbs (>= 3.4.4)
102-
sorbet-runtime (>= 0.5.9204)
103-
rbs (3.9.2)
107+
rbs (3.9.4)
104108
logger
105109
redcarpet (3.6.1)
106-
regexp_parser (2.10.0)
110+
regexp_parser (2.11.2)
107111
rexml (3.4.1)
108-
rubocop (1.75.5)
112+
rubocop (1.79.2)
109113
json (~> 2.3)
110114
language_server-protocol (~> 3.17.0.2)
111115
lint_roller (~> 1.1.0)
112116
parallel (~> 1.10)
113117
parser (>= 3.3.0.2)
114118
rainbow (>= 2.2.2, < 4.0)
115119
regexp_parser (>= 2.9.3, < 3.0)
116-
rubocop-ast (>= 1.44.0, < 2.0)
120+
rubocop-ast (>= 1.46.0, < 2.0)
117121
ruby-progressbar (~> 1.7)
118122
unicode-display_width (>= 2.4.0, < 4.0)
119-
rubocop-ast (1.44.1)
123+
rubocop-ast (1.46.0)
120124
parser (>= 3.3.7.2)
121125
prism (~> 1.4)
122126
ruby-progressbar (1.13.0)
123127
securerandom (0.4.1)
124-
sorbet (0.5.12067)
125-
sorbet-static (= 0.5.12067)
126-
sorbet-runtime (0.5.12067)
127-
sorbet-static (0.5.12067-x86_64-linux)
128-
sorbet-static-and-runtime (0.5.12067)
129-
sorbet (= 0.5.12067)
130-
sorbet-runtime (= 0.5.12067)
131-
spoom (1.6.1)
128+
sorbet (0.5.12424)
129+
sorbet-static (= 0.5.12424)
130+
sorbet-runtime (0.5.12424)
131+
sorbet-static (0.5.12424-aarch64-linux)
132+
sorbet-static (0.5.12424-universal-darwin)
133+
sorbet-static (0.5.12424-x86_64-linux)
134+
sorbet-static-and-runtime (0.5.12424)
135+
sorbet (= 0.5.12424)
136+
sorbet-runtime (= 0.5.12424)
137+
spoom (1.6.3)
132138
erubi (>= 1.10.0)
133139
prism (>= 0.28.0)
134-
rbi (>= 0.2.3)
140+
rbi (>= 0.3.3)
141+
rexml (>= 3.2.6)
135142
sorbet-static-and-runtime (>= 0.5.10187)
136143
thor (>= 0.19.2)
137144
steep (1.10.0)
@@ -152,7 +159,7 @@ GEM
152159
terminal-table (>= 2, < 5)
153160
uri (>= 0.12.0)
154161
strscan (3.1.5)
155-
syntax_tree (6.2.0)
162+
syntax_tree (6.3.0)
156163
prettier_print (>= 1.2.0)
157164
tapioca (0.16.11)
158165
benchmark
@@ -166,11 +173,11 @@ GEM
166173
yard-sorbet
167174
terminal-table (4.0.0)
168175
unicode-display_width (>= 1.1.1, < 4)
169-
thor (1.3.2)
170-
traces (0.15.2)
176+
thor (1.4.0)
177+
traces (0.17.0)
171178
tzinfo (2.0.6)
172179
concurrent-ruby (~> 1.0)
173-
unicode-display_width (3.1.4)
180+
unicode-display_width (3.1.5)
174181
unicode-emoji (~> 4.0, >= 4.0.4)
175182
unicode-emoji (4.0.4)
176183
uri (1.0.3)
@@ -185,7 +192,14 @@ GEM
185192
yard
186193

187194
PLATFORMS
188-
x86_64-linux
195+
aarch64-linux
196+
aarch64-linux-gnu
197+
aarch64-linux-musl
198+
arm64-darwin
199+
universal-darwin
200+
x86_64-darwin
201+
x86_64-linux-gnu
202+
x86_64-linux-musl
189203

190204
DEPENDENCIES
191205
async

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
1515
<!-- x-release-please-start-version -->
1616

1717
```ruby
18-
gem "orb-billing", "~> 1.11.1"
18+
gem "orb-billing", "~> 1.11.2"
1919
```
2020

2121
<!-- x-release-please-end -->

lib/orb/internal/transport/base_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def initialize(
362362
#
363363
# @raise [Orb::Errors::APIError]
364364
# @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
365-
private def send_request(request, redirect_count:, retry_count:, send_retry_header:)
365+
def send_request(request, redirect_count:, retry_count:, send_retry_header:)
366366
url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout)
367367
input = {**request.except(:timeout), deadline: Orb::Internal::Util.monotonic_secs + timeout}
368368

lib/orb/internal/transport/pooled_net_requester.rb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,7 @@ def initialize(size: self.class::DEFAULT_MAX_CONNECTIONS)
193193
end
194194

195195
define_sorbet_constant!(:Request) do
196-
T.type_alias do
197-
{
198-
method: Symbol,
199-
url: URI::Generic,
200-
headers: T::Hash[String, String],
201-
body: T.anything,
202-
deadline: Float
203-
}
204-
end
196+
T.type_alias { {method: Symbol, url: URI::Generic, headers: T::Hash[String, String], body: T.anything, deadline: Float} }
205197
end
206198
end
207199
end

lib/orb/internal/type/array_of.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ def to_sorbet_type
148148
# @option spec [Boolean] :"nil?"
149149
def initialize(type_info, spec = {})
150150
@item_type_fn = Orb::Internal::Type::Converter.type_info(type_info || spec)
151+
@meta = Orb::Internal::Type::Converter.meta_info(type_info, spec)
151152
@nilable = spec.fetch(:nil?, false)
152153
end
153154

lib/orb/internal/type/base_model.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def fields
5252
#
5353
# @option spec [Boolean] :"nil?"
5454
private def add_field(name_sym, required:, type_info:, spec:)
55+
meta = Orb::Internal::Type::Converter.meta_info(type_info, spec)
5556
type_fn, info =
5657
case type_info
5758
in Proc | Orb::Internal::Type::Converter | Class
@@ -74,7 +75,8 @@ def fields
7475
required: required,
7576
nilable: nilable,
7677
const: const,
77-
type_fn: type_fn
78+
type_fn: type_fn,
79+
meta: meta
7880
}
7981

8082
define_method(setter) do |value|

0 commit comments

Comments
 (0)