From 69941f73023e259d6ab49cd2f4362e577d72fa62 Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Sun, 12 Dec 2021 22:24:10 +0200 Subject: [PATCH] Stop running tests on EOL rubies --- .github/workflows/test.yml | 11 +---------- .rubocop.yml | 3 +++ ruby-jwt.gemspec | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0872b3d1..9f6b0dfb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "2.4" + ruby-version: "2.6" bundler-cache: true - name: Run RuboCop run: bundle exec rubocop @@ -26,9 +26,6 @@ jobs: fail-fast: false matrix: ruby: - - 2.3 - - 2.4 - - 2.5 - 2.6 - 2.7 - "3.0" @@ -38,12 +35,6 @@ jobs: - gemfiles/rbnacl.gemfile experimental: [false] include: - - ruby: 2.1 - gemfile: 'gemfiles/rbnacl.gemfile' - experimental: false - - ruby: 2.2 - gemfile: 'gemfiles/rbnacl.gemfile' - experimental: false - ruby: 2.7 coverage: "true" gemfile: 'gemfiles/rbnacl.gemfile' diff --git a/.rubocop.yml b/.rubocop.yml index 09abda53..c30de253 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,6 +3,9 @@ inherit_from: .rubocop_todo.yml AllCops: TargetRubyVersion: 2.1 +Gemspec/RequiredRubyVersion: + Enabled: false + Layout/AlignParameters: EnforcedStyle: with_fixed_indentation diff --git a/ruby-jwt.gemspec b/ruby-jwt.gemspec index b983b83e..20923cb3 100644 --- a/ruby-jwt.gemspec +++ b/ruby-jwt.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.description = 'A pure ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.' spec.homepage = 'https://github.com/jwt/ruby-jwt' spec.license = 'MIT' - spec.required_ruby_version = '>= 2.1' + spec.required_ruby_version = '>= 2.6' spec.metadata = { 'bug_tracker_uri' => 'https://github.com/jwt/ruby-jwt/issues', 'changelog_uri' => "https://github.com/jwt/ruby-jwt/blob/v#{JWT.gem_version}/CHANGELOG.md"