Skip to content

Commit

Permalink
Bump the range of supported Ruby and Rails versions
Browse files Browse the repository at this point in the history
Ruby 3.3 is out and 2.7, 3.0 has reached the EOL:
https://www.ruby-lang.org/en/downloads/branches/

Also since Rails 6 has been dropped support for and
corresponding gemfiles are now dispensable to ci.
https://rubyonrails.org/maintenance
  • Loading branch information
naitoh committed Nov 21, 2024
1 parent ab28ba3 commit 26a2bea
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 25 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ jobs:
matrix:
os: [ ubuntu-latest ]
ruby:
- 2.7
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- head
gemfile:
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/doorkeeper_master.gemfile
steps:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rails
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
Exclude:
- "spec/dummy/bin/*"
- "spec/dummy/db/*"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Unreleased

- [#PR ID] Add your changelog entry here.
- [#215] Drop support for Ruby 2.7, 3.0 and Rails 6.

## v1.8.9 (2024-05-07)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'

# use Rails version specified by environment
ENV['rails'] ||= '6.0.0'
ENV['rails'] ||= '7.0.0'
gem 'rails', "~> #{ENV['rails']}"
gem 'rails-controller-testing'

Expand Down
2 changes: 1 addition & 1 deletion doorkeeper-openid_connect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.1'

spec.add_runtime_dependency 'doorkeeper', '>= 5.5', '< 5.8'
spec.add_runtime_dependency 'jwt', '>= 2.5'
Expand Down
9 changes: 0 additions & 9 deletions gemfiles/rails_6.0.gemfile

This file was deleted.

9 changes: 0 additions & 9 deletions gemfiles/rails_6.1.gemfile

This file was deleted.

0 comments on commit 26a2bea

Please sign in to comment.