orb-billing 0.5.3 → 0.5.4
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 +13 -0
- data/README.md +1 -1
- data/lib/orb/internal/util.rb +3 -1
- 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: 53290586e1325effc936a864ffdca13f0365aeb720897b87581148b5a0dc1251
|
4
|
+
data.tar.gz: a734cbfb59fe1527fbfc6187057d7c94ad491924f95dd80dbef792bd1dbd7841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e405f620ae6654e9ee44aadd9d47de94df790a8384fde15c35d07c31cbfe6f273cd90e3343e083b6a2a89dd8804ab9e126e87fae91f95dd60b10555f712b7cea
|
7
|
+
data.tar.gz: '039505f54e061b96bf058f23bc3798314b634dd7d3c3f421752451d81f8c282d58b09657295b263b6eab1139f47f6e7adccae8173225f408c38add810528137f'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.5.4 (2025-05-23)
|
4
|
+
|
5
|
+
Full Changelog: [v0.5.3...v0.5.4](https://github.com/orbcorp/orb-ruby/compare/v0.5.3...v0.5.4)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* prevent rubocop from mangling `===` to `is_a?` check ([dcff731](https://github.com/orbcorp/orb-ruby/commit/dcff7318aec9cfaa21b7a82849d9df89d82e3ecb))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** version bump ([853de30](https://github.com/orbcorp/orb-ruby/commit/853de30e4985aea443239b02ad9ce92ae6ff6ce9))
|
15
|
+
|
3
16
|
## 0.5.3 (2025-05-22)
|
4
17
|
|
5
18
|
Full Changelog: [v0.5.2...v0.5.3](https://github.com/orbcorp/orb-ruby/compare/v0.5.2...v0.5.3)
|
data/README.md
CHANGED
data/lib/orb/internal/util.rb
CHANGED
@@ -600,11 +600,12 @@ module Orb
|
|
600
600
|
#
|
601
601
|
# @return [Object]
|
602
602
|
def encode_content(headers, body)
|
603
|
+
# rubocop:disable Style/CaseEquality
|
603
604
|
content_type = headers["content-type"]
|
604
605
|
case [content_type, body]
|
605
606
|
in [Orb::Internal::Util::JSON_CONTENT, Hash | Array | -> { primitive?(_1) }]
|
606
607
|
[headers, JSON.generate(body)]
|
607
|
-
in [Orb::Internal::Util::JSONL_CONTENT, Enumerable] unless
|
608
|
+
in [Orb::Internal::Util::JSONL_CONTENT, Enumerable] unless Orb::Internal::Type::FileInput === body
|
608
609
|
[headers, body.lazy.map { JSON.generate(_1) }]
|
609
610
|
in [%r{^multipart/form-data}, Hash | Orb::Internal::Type::FileInput]
|
610
611
|
boundary, strio = encode_multipart_streaming(body)
|
@@ -619,6 +620,7 @@ module Orb
|
|
619
620
|
else
|
620
621
|
[headers, body]
|
621
622
|
end
|
623
|
+
# rubocop:enable Style/CaseEquality
|
622
624
|
end
|
623
625
|
|
624
626
|
# @api private
|
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: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|