orb-billing 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/orb/internal/transport/base_client.rb +10 -2
- data/lib/orb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afcbe006d15f1b5df99ac209c4f62fbe5497f76d9b8159d009d7ae2a9c16bfe2
|
4
|
+
data.tar.gz: 65861f26b1f2a5e7dd8d76f01ec8cf6ea1271a4c39ae4066c89b2fe964f5f189
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 399451209f44f09ff418fadc8fe5d439acb89406722bec28b6087a16d0808f2b0d1f76b5f1ae188d9ea1ca681be671af2949ef238cb2b8fdf2cbd917f3cac385
|
7
|
+
data.tar.gz: a586a8b941ee21c4a25349c0d696ff5ce5b32545c8b9bb8db02737a9f71b72721b94329e79bac01e74eec62261de4d69d68584035ec84ed67f8980f0bde17a05
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.2.2 (2025-06-30)
|
4
|
+
|
5
|
+
Full Changelog: [v1.2.1...v1.2.2](https://github.com/orbcorp/orb-ruby/compare/v1.2.1...v1.2.2)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* **ci:** only run for pushes and fork pull requests ([c6f7b50](https://github.com/orbcorp/orb-ruby/commit/c6f7b5036f4a214647af2fa2854d2a6eaf52c128))
|
10
|
+
* **internal:** allow streams to also be unwrapped on a per-row basis ([d713b5f](https://github.com/orbcorp/orb-ruby/commit/d713b5f3442bb9842f109ae0cb76e70fdc52506c))
|
11
|
+
* **internal:** version bump ([0b13270](https://github.com/orbcorp/orb-ruby/commit/0b132708d6e1294f44e026b249846721e08de2af))
|
12
|
+
|
13
|
+
## 1.2.1 (2025-06-26)
|
14
|
+
|
15
|
+
Full Changelog: [v1.2.0...v1.2.1](https://github.com/orbcorp/orb-ruby/compare/v1.2.0...v1.2.1)
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* **ci:** release-doctor — report correct token name ([771d0e7](https://github.com/orbcorp/orb-ruby/commit/771d0e78feeac2df1917c2d8b474a5ec22d1c546))
|
20
|
+
|
21
|
+
|
22
|
+
### Chores
|
23
|
+
|
24
|
+
* **internal:** version bump ([fe83c70](https://github.com/orbcorp/orb-ruby/commit/fe83c7044cb534bb96990b0987c810c0803de17d))
|
25
|
+
|
3
26
|
## 1.2.0 (2025-06-26)
|
4
27
|
|
5
28
|
Full Changelog: [v1.1.0...v1.2.0](https://github.com/orbcorp/orb-ruby/compare/v1.1.0...v1.2.0)
|
data/README.md
CHANGED
@@ -468,6 +468,7 @@ module Orb
|
|
468
468
|
self.class.validate!(req)
|
469
469
|
model = req.fetch(:model) { Orb::Internal::Type::Unknown }
|
470
470
|
opts = req[:options].to_h
|
471
|
+
unwrap = req[:unwrap]
|
471
472
|
Orb::RequestOptions.validate!(opts)
|
472
473
|
request = build_request(req.except(:options), opts)
|
473
474
|
url = request.fetch(:url)
|
@@ -484,11 +485,18 @@ module Orb
|
|
484
485
|
decoded = Orb::Internal::Util.decode_content(response, stream: stream)
|
485
486
|
case req
|
486
487
|
in {stream: Class => st}
|
487
|
-
st.new(
|
488
|
+
st.new(
|
489
|
+
model: model,
|
490
|
+
url: url,
|
491
|
+
status: status,
|
492
|
+
response: response,
|
493
|
+
unwrap: unwrap,
|
494
|
+
stream: decoded
|
495
|
+
)
|
488
496
|
in {page: Class => page}
|
489
497
|
page.new(client: self, req: req, headers: response, page_data: decoded)
|
490
498
|
else
|
491
|
-
unwrapped = Orb::Internal::Util.dig(decoded,
|
499
|
+
unwrapped = Orb::Internal::Util.dig(decoded, unwrap)
|
492
500
|
Orb::Internal::Type::Converter.coerce(model, unwrapped)
|
493
501
|
end
|
494
502
|
end
|
data/lib/orb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orb-billing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|