Skip to content

Commit 4f3fb0a

Browse files
authored
Merge pull request #95 from Shopify/at-bump-bundler
Bump Bundler
2 parents d0d73ad + 83191a8 commit 4f3fb0a

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

Gemfile.lock

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,21 @@ GEM
4949
sorbet-static (= 0.5.6398)
5050
sorbet-runtime (0.5.6398)
5151
sorbet-static (0.5.6398-universal-darwin-14)
52+
sorbet-static (0.5.6398-universal-darwin-15)
53+
sorbet-static (0.5.6398-universal-darwin-16)
54+
sorbet-static (0.5.6398-universal-darwin-17)
55+
sorbet-static (0.5.6398-universal-darwin-18)
56+
sorbet-static (0.5.6398-universal-darwin-19)
57+
sorbet-static (0.5.6398-universal-darwin-20)
58+
sorbet-static (0.5.6398-x86_64-linux)
5259
thor (1.1.0)
5360
unicode-display_width (1.7.0)
5461

5562
PLATFORMS
5663
ruby
5764

5865
DEPENDENCIES
59-
bundler (~> 1.17)
66+
bundler (>= 2.2.10)
6067
minitest (~> 5.0)
6168
pry-byebug
6269
rake (~> 13.0.1)
@@ -65,4 +72,4 @@ DEPENDENCIES
6572
spoom!
6673

6774
BUNDLED WITH
68-
1.17.3
75+
2.2.24

lib/spoom/cli/coverage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def timeline
9191

9292
snapshot = T.let(nil, T.nilable(Spoom::Coverage::Snapshot))
9393
if options[:bundle_install]
94-
Bundler.with_clean_env do
94+
Bundler.with_unbundled_env do
9595
next unless bundle_install(path, sha)
9696
snapshot = Spoom::Coverage.snapshot(path: path, sorbet_bin: sorbet)
9797
end

spoom.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
2828

2929
spec.metadata['allowed_push_host'] = "https://rubygems.org"
3030

31-
spec.add_development_dependency("bundler", "~> 1.17")
31+
spec.add_development_dependency("bundler", ">= 2.2.10")
3232
spec.add_development_dependency("rake", "~> 13.0.1")
3333
spec.add_development_dependency("minitest", "~> 5.0")
3434

test/spoom/sorbet/run_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_run_srb_from_bundler
2323
source 'https://rubygems.org'
2424
gem 'sorbet'
2525
GEM
26-
Bundler.with_clean_env do
26+
Bundler.with_unbundled_env do
2727
_, _, status = @project.bundle_install
2828
assert(status)
2929

@@ -37,7 +37,7 @@ def test_run_srb_from_bundler
3737

3838
def test_run_srb_from_bundler_not_found
3939
@project.gemfile("source 'https://rubygems.org'")
40-
Bundler.with_clean_env do
40+
Bundler.with_unbundled_env do
4141
_, _, status = @project.bundle_install
4242
assert(status)
4343

@@ -47,7 +47,7 @@ def test_run_srb_from_bundler_not_found
4747
end
4848

4949
def test_run_sorbet_from_path
50-
Bundler.with_clean_env do
50+
Bundler.with_unbundled_env do
5151
out, status = Spoom::Sorbet.srb(
5252
"-h",
5353
path: @project.path,
@@ -72,7 +72,7 @@ def test_run_sorbet_from_path
7272
end
7373

7474
def test_run_sorbet_tc_from_path
75-
Bundler.with_clean_env do
75+
Bundler.with_unbundled_env do
7676
out, status = Spoom::Sorbet.srb_tc(
7777
path: @project.path,
7878
capture_err: true,

test/spoom/sorbet/version_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def teardown
1818

1919
def test_srb_version_return_nil_if_srb_not_installed
2020
@project.gemfile("")
21-
Bundler.with_clean_env do
21+
Bundler.with_unbundled_env do
2222
version = Spoom::Sorbet.srb_version(path: @project.path, capture_err: true)
2323
assert_nil(version)
2424
end

0 commit comments

Comments
 (0)