Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.5.4"
".": "0.5.5"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.5.5 (2025-05-27)

Full Changelog: [v0.5.4...v0.5.5](https://github.com/orbcorp/orb-ruby/compare/v0.5.4...v0.5.5)

### Bug Fixes

* sorbet types for enums, and make tapioca detection ignore `tapioca dsl` ([f3eec68](https://github.com/orbcorp/orb-ruby/commit/f3eec68e79230db42f9fe79145cec8bf8db41041))


### Chores

* **internal:** version bump ([23ded61](https://github.com/orbcorp/orb-ruby/commit/23ded619f628e545090c27e83c591cafa26505b7))

## 0.5.4 (2025-05-23)

Full Changelog: [v0.5.3...v0.5.4](https://github.com/orbcorp/orb-ruby/compare/v0.5.3...v0.5.4)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
orb-billing (0.5.3)
orb-billing (0.5.4)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "orb-billing", "~> 0.5.4"
gem "orb-billing", "~> 0.5.5"
```

<!-- x-release-please-end -->
Expand Down
4 changes: 3 additions & 1 deletion lib/orb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

# We already ship the preferred sorbet manifests in the package itself.
# `tapioca` currently does not offer us a way to opt out of unnecessary compilation.
if Object.const_defined?(:Tapioca) && caller.chain([$PROGRAM_NAME]).chain(ARGV).grep(/tapioca/)
if Object.const_defined?(:Tapioca) &&
caller.chain([$PROGRAM_NAME]).chain(ARGV).any?(/tapioca/) &&
ARGV.none?(/dsl/)
return
end

Expand Down
6 changes: 5 additions & 1 deletion lib/orb/internal/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,12 @@ def to_sorbet_type(type)
case type
in Orb::Internal::Util::SorbetRuntimeSupport
type.to_sorbet_type
else
in Class | Module
type
in true | false
T::Boolean
else
type.class
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/orb/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Orb
VERSION = "0.5.4"
VERSION = "0.5.5"
end