Skip to content

Commit

Permalink
Merge pull request #146 from doorkeeper-gem/require-ruby-2-5
Browse files Browse the repository at this point in the history
Require at least Ruby 2.5
  • Loading branch information
toupeira authored Apr 20, 2021
2 parents 036deb3 + 5e6b05c commit 23f94f5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
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.4
TargetRubyVersion: 2.7
Exclude:
- "spec/dummy/bin/*"
- "spec/dummy/db/*"
Expand Down
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,11 @@ gemfile:
- gemfiles/doorkeeper_master.gemfile

rvm:
- 2.4
- 2.5
- 2.6
- 2.7

matrix:
exclude:
- gemfile: gemfiles/rails_6.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_master.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_6.0.gemfile
rvm: 2.4
arch: ppc64le
- gemfile: gemfiles/rails_master.gemfile
rvm: 2.4
arch: ppc64le
allow_failures:
- gemfile: gemfiles/rails_master.gemfile
- gemfile: gemfiles/doorkeeper_master.gemfile
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

- [#138] Support form_post response mode (This gem now requires Doorkeeper v5.5)
- [#146] Require at least Ruby 2.5

## v1.7.5 (2020-12-15)

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.4'
spec.required_ruby_version = '>= 2.5'

spec.add_runtime_dependency 'doorkeeper', '>= 5.5', '< 5.6'
spec.add_runtime_dependency 'json-jwt', '>= 1.11.0'
Expand Down

0 comments on commit 23f94f5

Please sign in to comment.