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.2 is out and 2.6 has reached the EOL:
https://www.ruby-lang.org/en/downloads/branches/

Also since Rails 5 has been dropped support for and
corresponding gemfiles are now dispensable to ci.
  • Loading branch information
sato11 committed Feb 1, 2023
1 parent fb5977d commit b810c44
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 27 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,16 @@ jobs:
matrix:
os: [ ubuntu-latest ]
ruby:
- 2.6
- 2.7
- '3.0'
- '3.1'
- '3.2'
- head
gemfile:
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/doorkeeper_master.gemfile
exclude:
- ruby: 3.0
gemfile: gemfiles/rails_5_2.gemfile
- ruby: 2.6
gemfile: gemfiles/rails_7_0.gemfile
steps:
- name: Repo checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- [#PR ID] Add your changelog entry here.
- [#186] Simplify gem configuration reusing Doorkeeper configuration option DSL (thanks to @nbulaj).
- [#182] Drop support for Ruby 2.6 and Rails 5.

## v1.8.4 (2023-02-01)

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.6'
spec.required_ruby_version = '>= 2.7'

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

This file was deleted.

9 changes: 0 additions & 9 deletions gemfiles/rails_5.2.gemfile

This file was deleted.

0 comments on commit b810c44

Please sign in to comment.