Skip to content

Commit 97ef67e

Browse files
committed
Drop 7.1 files / identifiers from the master branch
Best I can tell, the intent is to keep ONE version on master or versioned branch but for some reason 7.1 added a 7.2.beta and kept it around for a bit. I think this brings it back to the original intent. Long term: nuke the gemfiles directory. Remove gemfiles from the CI matrix. Unify.
1 parent fb35e48 commit 97ef67e

File tree

5 files changed

+4
-24
lines changed

5 files changed

+4
-24
lines changed

.github/workflows/ci.yml

-8
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,11 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ruby:
21-
- '2.7'
22-
- '3.0'
2321
- '3.1'
2422
- '3.2'
2523
- '3.3'
2624
gemfile:
27-
- gemfiles/rails-7.1.0.gemfile
2825
- gemfiles/rails-7.2.0.gemfile
29-
exclude:
30-
- ruby: '2.7'
31-
gemfile: gemfiles/rails-7.2.0.gemfile
32-
- ruby: '3.0'
33-
gemfile: gemfiles/rails-7.2.0.gemfile
3426
env:
3527
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
3628

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 2.7
2+
TargetRubyVersion: 3.1
33
SuggestExtensions: false
44
NewCops: enable
55

gemfiles/rails-7.1.0.gemfile

-12
This file was deleted.

minitest-rails.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Gem::Specification.new do |gem|
1515
["README.md", "UPDATING.md", "CHANGELOG.md", "LICENSE"]
1616
gem.require_paths = ["lib"]
1717

18-
gem.required_ruby_version = ">= 2.7.0"
18+
gem.required_ruby_version = ">= 3.1"
1919

2020
gem.add_dependency "minitest", "~> 5.20"
21-
gem.add_dependency "railties", ">= 7.1.0", "< 8.0.0"
21+
gem.add_dependency "railties", ">= 7.2.0", "< 8.0.0"
2222

2323
gem.add_development_dependency "minitest-autotest", "~> 1.1"
2424
gem.add_development_dependency "minitest-focus", "~> 1.4"

test/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Application < ::Rails::Application
2626
config.secret_key_base = "abc123"
2727
config.hosts << "www.example.com"
2828
config.eager_load = false
29-
config.load_defaults 7.1
29+
config.load_defaults 7.2
3030
end
3131
end
3232

0 commit comments

Comments
 (0)