Skip to content

Commit b30d4ca

Browse files
authored
Drop Rails 7.0/7.1 and Ruby 3.1 support, add Rails 8.1 support. (#474)
* Drop Rails 7.0/7.1 and Ruby 3.1 support, add Rails 8.1 support * Exclude Ruby 3.2 from Rails master CI builds
1 parent a209730 commit b30d4ca

4 files changed

Lines changed: 5 additions & 20 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
ruby-version: ['3.1', '3.2', '3.3', '3.4']
35+
ruby-version: ['3.2', '3.3', '3.4']
3636
test: ['minitest', 'rspec']
3737
gemfile:
38-
- Gemfile.rails70
39-
- Gemfile.rails71
4038
- Gemfile.rails72
4139
- Gemfile.rails80
40+
- Gemfile.rails81
4241
- Gemfile.railsmaster
4342
- Gemfile.mongo_mapper
4443
db:
@@ -48,11 +47,7 @@ jobs:
4847
exclude:
4948
- gemfile: Gemfile.mongo_mapper
5049
db: postgresql
51-
- ruby-version: '3.1'
52-
gemfile: Gemfile.mongo_mapper
53-
- ruby-version: '3.1'
54-
gemfile: Gemfile.rails80
55-
- ruby-version: '3.1'
50+
- ruby-version: '3.2'
5651
gemfile: Gemfile.railsmaster
5752
env:
5853
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"

Gemfile.rails70

Lines changed: 0 additions & 10 deletions
This file was deleted.

Gemfile.rails71 renamed to Gemfile.rails81

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
eval_gemfile('Gemfile.global')
22

33
gem 'minitest', '~> 5.8'
4-
gem 'rails', github: 'rails/rails', branch: '7-1-stable', require: false
4+
gem 'rails', github: 'rails/rails', branch: '8-1-stable', require: false
55

66
gem 'mongoid', github: 'mongodb/mongoid'
77

enumerize.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
2222
"bug_tracker_uri" => "https://github.com/brainspec/enumerize/issues",
2323
"wiki_uri" => "https://github.com/brainspec/enumerize/wiki"
2424
}
25-
gem.required_ruby_version = '>= 2.7'
25+
gem.required_ruby_version = '>= 3.2'
2626

2727
gem.add_dependency('activesupport', '>= 3.2')
2828
end

0 commit comments

Comments
 (0)