Skip to content

Commit a2df26b

Browse files
authored
Merge pull request #74 from nekketsuuu/nekketsuuu-drop-old-rubies
Drop support for Ruby 2.7, 3.0, and 3.1 for CI
2 parents 7965c37 + 39c0015 commit a2df26b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Ruby ${{ matrix.ruby }}
99
strategy:
1010
matrix:
11-
ruby: ["2.7", "3.0", "3.1", "3.2"]
11+
ruby: ["3.2", "3.3"]
1212
steps:
1313
- name: Check out code
1414
uses: actions/checkout@v3
@@ -17,7 +17,6 @@ jobs:
1717
with:
1818
ruby-version: ${{ matrix.ruby }}
1919
bundler-cache: true
20-
bundler: latest
2120
- name: Ruby Tests
2221
run: bundle exec rake test
2322
- name: RuboCop

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ gemspec
88

99
gem "rubocop-shopify", require: false
1010

11-
group :deployment do
11+
group :deployment, :development do
1212
gem "rake"
1313
end
1414

15+
group :development do
16+
gem "minitest"
17+
end
18+
1519
group :test do
1620
gem "rubocop"
1721
end

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GEM
99
ast (2.4.2)
1010
json (2.7.1)
1111
language_server-protocol (3.17.0.3)
12-
minitest (5.17.0)
12+
minitest (5.26.2)
1313
parallel (1.24.0)
1414
parser (3.3.0.5)
1515
ast (~> 2.4.1)
@@ -42,10 +42,10 @@ PLATFORMS
4242

4343
DEPENDENCIES
4444
bootboot!
45-
minitest (~> 5.0)
45+
minitest
4646
rake
4747
rubocop
4848
rubocop-shopify
4949

5050
BUNDLED WITH
51-
2.5.7
51+
2.7.2

bootboot.gemspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,4 @@ Gem::Specification.new do |spec|
3030
spec.require_paths = ["lib"]
3131

3232
spec.required_ruby_version = ">= 2.7.0"
33-
34-
spec.add_development_dependency("minitest", "~> 5.0")
35-
spec.add_development_dependency("rake", "~> 10.0")
3633
end

test/bootboot_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_sync_the_gemfile_next_after_installation_of_new_gem_with_custom_bootboo
6666
Bundler.settings.set_local('bootboot_env_prefix', 'SHOPIFY')
6767
6868
if ENV['SHOPIFY_NEXT']
69-
gem 'minitest', '5.15.0'
69+
gem 'minitest', '5.26.0'
7070
end
7171
EOM
7272

@@ -79,7 +79,7 @@ def test_sync_the_gemfile_next_after_installation_of_new_gem_with_custom_bootboo
7979
env: { "SHOPIFY_NEXT" => "1" },
8080
)
8181

82-
assert_equal("5.15.0", output.strip)
82+
assert_equal("5.26.0", output.strip)
8383
end
8484
end
8585

@@ -194,7 +194,7 @@ def test_bootboot_command_initialize_the_next_lock_and_update_the_gemfile
194194

195195
File.write(file, <<-EOM, mode: "a")
196196
if ENV['DEPENDENCIES_NEXT']
197-
gem 'minitest', '5.15.0'
197+
gem 'minitest', '5.25.0'
198198
end
199199
EOM
200200

@@ -205,7 +205,7 @@ def test_bootboot_command_initialize_the_next_lock_and_update_the_gemfile
205205
env: { "DEPENDENCIES_NEXT" => "1" },
206206
)
207207

208-
assert_equal("5.15.0", output.strip)
208+
assert_equal("5.25.0", output.strip)
209209
end
210210
end
211211

0 commit comments

Comments
 (0)