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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 046f939f85c0fbdb9e429913a6d9016d67233f1bb2ecf85c94bfdb1c3b7737ed
4
- data.tar.gz: 0105134177a44d30a99f0d98b184fe26e00bf8c57dae02b1212841e7188f6217
3
+ metadata.gz: 53290586e1325effc936a864ffdca13f0365aeb720897b87581148b5a0dc1251
4
+ data.tar.gz: a734cbfb59fe1527fbfc6187057d7c94ad491924f95dd80dbef792bd1dbd7841
5
5
  SHA512:
6
- metadata.gz: fc454ca6fff2c9effb81eafeee563b7c1d59f86be00e9921fa650fd063abba8235de362a9b4b0cab292c28008029fb21952931c3531f9a6af297cabb7ea7df89
7
- data.tar.gz: 25066c2618830848109dc606b7d0befc10de1ae5f8957b65905a8c997ff2c7221f77c21e580202055f9b375544bc67a7a9ef107ee30551f4cf21d2fff7c98de4
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
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "orb-billing", "~> 0.5.3"
18
+ gem "orb-billing", "~> 0.5.4"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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 body.is_a?(Orb::Internal::Type::FileInput)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "0.5.3"
4
+ VERSION = "0.5.4"
5
5
  end
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.3
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-22 00:00:00.000000000 Z
11
+ date: 2025-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool