terminal-shop 3.8.1 → 3.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 599e129d7291d6af08b3d81afb02569f0b59daf1db3ab1b9e0aab5eb8420c8b1
4
- data.tar.gz: 80ac8c28092fb302019fc19c536258f4fae23ce8777108dde50898fe49f6572e
3
+ metadata.gz: 41fcab0609f88656acc669df7df980989c1609b24b7306d8f7c30f9e97e9eac9
4
+ data.tar.gz: d5850ccac8a5e91a86b80a985157334f2bc72f1ae885dc053e42427f31c2c3c7
5
5
  SHA512:
6
- metadata.gz: 1214379df3ea55463a0e23d01249c474ad3ca6e29c70d127e153787a59cbb82552ec12818867948f7a90774fff3fe571d22c09a2d7c6a6c31b7ad8048f1f57c6
7
- data.tar.gz: '0592dcc2f02b159ea20773cd02caaf9c3d49d9a6ed27ff72b8e824455f30468f608f649e8bb4f97d7821a55c5ede02908920aa1b7b5ecb9f61774c73d40fe722'
6
+ metadata.gz: 6ba022a40568b20c6c00db48686dc9889f7626147ea6b0fdb8969339f219830aca9245e71c5644fa7a479d877b236c75b21bbb20621173634e75301f660297fd
7
+ data.tar.gz: d175060efb7964cdb573a0b2dca76a682f47df0fe9797192e61ff228ff1fcc1e3fab5db3693333bf585f3aadde7eac3f6027b0b1212510ab62d0a50684b7c820
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.8.2 (2025-05-28)
4
+
5
+ Full Changelog: [v3.8.1...v3.8.2](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.8.1...v3.8.2)
6
+
7
+ ### Bug Fixes
8
+
9
+ * sorbet types for enums, and make tapioca detection ignore `tapioca dsl` ([30f6f4a](https://github.com/terminaldotshop/terminal-sdk-ruby/commit/30f6f4a26d4fb2075d067c8aa673686512dcd68b))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** version bump ([730fe7b](https://github.com/terminaldotshop/terminal-sdk-ruby/commit/730fe7b769330586248eae9ec45fd35b3a60c3e1))
15
+
3
16
  ## 3.8.1 (2025-05-24)
4
17
 
5
18
  Full Changelog: [v3.8.0...v3.8.1](https://github.com/terminaldotshop/terminal-sdk-ruby/compare/v3.8.0...v3.8.1)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "terminal-shop", "~> 3.8.1"
20
+ gem "terminal-shop", "~> 3.8.2"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -875,8 +875,12 @@ module TerminalShop
875
875
  case type
876
876
  in TerminalShop::Internal::Util::SorbetRuntimeSupport
877
877
  type.to_sorbet_type
878
- else
878
+ in Class | Module
879
879
  type
880
+ in true | false
881
+ T::Boolean
882
+ else
883
+ type.class
880
884
  end
881
885
  end
882
886
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TerminalShop
4
- VERSION = "3.8.1"
4
+ VERSION = "3.8.2"
5
5
  end
data/lib/terminal_shop.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: terminal-shop
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.1
4
+ version: 3.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terminal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-25 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