From 5e6b05c51d0bee040a17d78180c71f468b39dc90 Mon Sep 17 00:00:00 2001 From: Markus Koller Date: Tue, 20 Apr 2021 18:48:56 +0200 Subject: [PATCH] Require at least Ruby 2.5 --- .rubocop.yml | 2 +- .travis.yml | 12 ------------ CHANGELOG.md | 1 + doorkeeper-openid_connect.gemspec | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d519d37..157167d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ require: - rubocop-rails - rubocop-rspec AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 Exclude: - "spec/dummy/bin/*" - "spec/dummy/db/*" diff --git a/.travis.yml b/.travis.yml index 0c272a0..7209518 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 61a8d54..43194e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/doorkeeper-openid_connect.gemspec b/doorkeeper-openid_connect.gemspec index ed36a0a..bf4bce8 100644 --- a/doorkeeper-openid_connect.gemspec +++ b/doorkeeper-openid_connect.gemspec @@ -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'