Skip to content

Commit f6dcfea

Browse files
authored
Merge pull request #648 from Shopify/mangara-bump-deps-2025-11-20
Restrict Tapioca and Sorbet versions
2 parents 14371d1 + 26c244f commit f6dcfea

File tree

2 files changed

+39
-29
lines changed

2 files changed

+39
-29
lines changed

Gemfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,17 @@ gem "rake"
3939
gem "csv" # required for Ruby 3.4+
4040
gem "mutex_m" # Required for Ruby 3.4+
4141

42+
ruby_version = Gem::Version.new(RUBY_VERSION)
43+
if ruby_version >= Gem::Version.new("3.2")
44+
tapioca_version = ">= 0.17.9" # Fixes incompatibility with Sorbet >= 0.6.12698
45+
sorbet_version = ">= 0.6.12698"
46+
else
47+
tapioca_version = ">= 0.10.0"
48+
sorbet_version = "< 0.6.12698"
49+
end
50+
4251
# for unit testing optional sorbet support
43-
gem "sorbet-runtime"
44-
gem "tapioca"
52+
gem "sorbet-runtime", sorbet_version
53+
gem "tapioca", tapioca_version
4554

4655
gem "logger"

Gemfile.lock

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ GEM
5858
bigdecimal (3.2.2)
5959
builder (3.3.0)
6060
coderay (1.1.3)
61-
commander (5.0.0)
62-
highline (~> 3.0.0)
6361
concurrent-ruby (1.3.5)
6462
connection_pool (2.5.3)
6563
crass (1.0.6)
@@ -72,7 +70,6 @@ GEM
7270
erubi (1.13.1)
7371
globalid (1.2.1)
7472
activesupport (>= 6.1)
75-
highline (3.0.1)
7673
i18n (1.14.7)
7774
concurrent-ruby (~> 1.0)
7875
io-console (0.8.1)
@@ -96,18 +93,14 @@ GEM
9693
mustermann (3.0.3)
9794
ruby2_keywords (~> 0.0.1)
9895
mutex_m (0.3.0)
96+
netrc (0.11.0)
9997
nokogiri (1.18.9-arm64-darwin)
10098
racc (~> 1.4)
10199
nokogiri (1.18.9-x86_64-darwin)
102100
racc (~> 1.4)
103101
nokogiri (1.18.9-x86_64-linux-gnu)
104102
racc (~> 1.4)
105103
parallel (1.27.0)
106-
parlour (9.1.2)
107-
commander (~> 5.0)
108-
parser
109-
rainbow (~> 3.0)
110-
sorbet-runtime (>= 0.5)
111104
parser (3.3.8.0)
112105
ast (~> 2.4.1)
113106
racc
@@ -151,7 +144,7 @@ GEM
151144
zeitwerk (~> 2.6)
152145
rainbow (3.1.1)
153146
rake (13.3.1)
154-
rbi (0.3.6)
147+
rbi (0.3.7)
155148
prism (~> 1.0)
156149
rbs (>= 3.4.4)
157150
rbs (4.0.0.dev.4)
@@ -169,6 +162,7 @@ GEM
169162
regexp_parser (2.10.0)
170163
reline (0.6.2)
171164
io-console (~> 0.5)
165+
require-hooks (0.2.2)
172166
resque (2.7.0)
173167
mono_logger (~> 1)
174168
multi_json (~> 1.0)
@@ -208,15 +202,15 @@ GEM
208202
rack-protection (= 4.1.1)
209203
rack-session (>= 2.0.0, < 3)
210204
tilt (~> 2.0)
211-
sorbet (0.6.12690)
212-
sorbet-static (= 0.6.12690)
213-
sorbet-runtime (0.6.12690)
214-
sorbet-static (0.6.12690-universal-darwin)
215-
sorbet-static (0.6.12690-x86_64-linux)
216-
sorbet-static-and-runtime (0.6.12690)
217-
sorbet (= 0.6.12690)
218-
sorbet-runtime (= 0.6.12690)
219-
spoom (1.7.5)
205+
sorbet (0.6.12780)
206+
sorbet-static (= 0.6.12780)
207+
sorbet-runtime (0.6.12780)
208+
sorbet-static (0.6.12780-universal-darwin)
209+
sorbet-static (0.6.12780-x86_64-linux)
210+
sorbet-static-and-runtime (0.6.12780)
211+
sorbet (= 0.6.12780)
212+
sorbet-runtime (= 0.6.12780)
213+
spoom (1.7.9)
220214
erubi (>= 1.10.0)
221215
prism (>= 0.28.0)
222216
rbi (>= 0.3.3)
@@ -225,13 +219,17 @@ GEM
225219
sorbet-static-and-runtime (>= 0.5.10187)
226220
thor (>= 0.19.2)
227221
stringio (3.1.7)
228-
tapioca (0.4.13)
229-
parlour (>= 2.1.0)
230-
pry (>= 0.12.2)
231-
sorbet-runtime
232-
sorbet-static (>= 0.4.4471)
233-
spoom
234-
thor (>= 0.19.2)
222+
tapioca (0.17.9)
223+
benchmark
224+
bundler (>= 2.2.25)
225+
netrc (>= 0.11.0)
226+
parallel (>= 1.21.0)
227+
rbi (>= 0.3.7)
228+
require-hooks (>= 0.2.2)
229+
sorbet-static-and-runtime (>= 0.5.11087)
230+
spoom (>= 1.7.9)
231+
thor (>= 1.2.0)
232+
yard-sorbet
235233
thor (1.4.0)
236234
tilt (2.6.1)
237235
timeout (0.4.3)
@@ -244,6 +242,9 @@ GEM
244242
uri (1.0.3)
245243
useragent (0.16.11)
246244
yard (0.9.37)
245+
yard-sorbet (0.9.0)
246+
sorbet-runtime
247+
yard
247248
zeitwerk (2.7.3)
248249

249250
PLATFORMS
@@ -269,8 +270,8 @@ DEPENDENCIES
269270
resque
270271
rubocop-shopify
271272
sidekiq
272-
sorbet-runtime
273-
tapioca
273+
sorbet-runtime (>= 0.6.12698)
274+
tapioca (>= 0.17.9)
274275
yard
275276

276277
BUNDLED WITH

0 commit comments

Comments
 (0)