orb-billing 0.5.4 → 0.5.5

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: 53290586e1325effc936a864ffdca13f0365aeb720897b87581148b5a0dc1251
4
- data.tar.gz: a734cbfb59fe1527fbfc6187057d7c94ad491924f95dd80dbef792bd1dbd7841
3
+ metadata.gz: c8f8963482bbf7d53f0eca5aaf33903328ef6b33c07568c87f55e254c60c995b
4
+ data.tar.gz: 76f59da8f86eaf4b8309ec94b885fed6a786efa65d18c6b093955342509831eb
5
5
  SHA512:
6
- metadata.gz: e405f620ae6654e9ee44aadd9d47de94df790a8384fde15c35d07c31cbfe6f273cd90e3343e083b6a2a89dd8804ab9e126e87fae91f95dd60b10555f712b7cea
7
- data.tar.gz: '039505f54e061b96bf058f23bc3798314b634dd7d3c3f421752451d81f8c282d58b09657295b263b6eab1139f47f6e7adccae8173225f408c38add810528137f'
6
+ metadata.gz: a3b0c5cbf887d115e30a9032023ad9c89c88304c9a4b0c06341a8d6e50becea33718a88bf2440b897df6501b89dc4998fd3d2c10fed32d67c71e63e323d0ecf7
7
+ data.tar.gz: 45017934cba07aeae4300210d8a9436dc615d60aeb36fd5afcc69a2a9ef15876e8e2a40700b87db217de92c58bc33b755ef1ae93454855c7c3cf5e7a4d3a5f0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.5 (2025-05-27)
4
+
5
+ Full Changelog: [v0.5.4...v0.5.5](https://github.com/orbcorp/orb-ruby/compare/v0.5.4...v0.5.5)
6
+
7
+ ### Bug Fixes
8
+
9
+ * sorbet types for enums, and make tapioca detection ignore `tapioca dsl` ([f3eec68](https://github.com/orbcorp/orb-ruby/commit/f3eec68e79230db42f9fe79145cec8bf8db41041))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** version bump ([23ded61](https://github.com/orbcorp/orb-ruby/commit/23ded619f628e545090c27e83c591cafa26505b7))
15
+
3
16
  ## 0.5.4 (2025-05-23)
4
17
 
5
18
  Full Changelog: [v0.5.3...v0.5.4](https://github.com/orbcorp/orb-ruby/compare/v0.5.3...v0.5.4)
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.4"
18
+ gem "orb-billing", "~> 0.5.5"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -873,8 +873,12 @@ module Orb
873
873
  case type
874
874
  in Orb::Internal::Util::SorbetRuntimeSupport
875
875
  type.to_sorbet_type
876
- else
876
+ in Class | Module
877
877
  type
878
+ in true | false
879
+ T::Boolean
880
+ else
881
+ type.class
878
882
  end
879
883
  end
880
884
  end
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.4"
4
+ VERSION = "0.5.5"
5
5
  end
data/lib/orb.rb CHANGED
@@ -20,7 +20,9 @@ require "uri"
20
20
 
21
21
  # We already ship the preferred sorbet manifests in the package itself.
22
22
  # `tapioca` currently does not offer us a way to opt out of unnecessary compilation.
23
- if Object.const_defined?(:Tapioca) && caller.chain([$PROGRAM_NAME]).chain(ARGV).grep(/tapioca/)
23
+ if Object.const_defined?(:Tapioca) &&
24
+ caller.chain([$PROGRAM_NAME]).chain(ARGV).any?(/tapioca/) &&
25
+ ARGV.none?(/dsl/)
24
26
  return
25
27
  end
26
28
 
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
4
+ version: 0.5.5
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-23 00:00:00.000000000 Z
11
+ date: 2025-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool