From cbb1e97d137d18d83273dcbc691d7b70148904bc Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 17 Aug 2022 12:51:14 +0900 Subject: [PATCH] Drop Ruby 2.5 runtime support Follow up https://github.com/rubocop/rubocop/pull/10577. This commit drops Ruby 2.5 runtime support. And CRuby 2.5 compatible JRuby 9.2 will be dropped and CRuby 2.6 compatible JRuby 9.3 or higher is required. --- .circleci/config.yml | 7 ++----- .rubocop.yml | 2 +- CHANGELOG.md | 2 +- rubocop-faker.gemspec | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce6af67..8efc4fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,9 +23,6 @@ jobs: workflows: build: jobs: - - rake_default: - name: Ruby 2.5 - image: cimg/ruby:2.5 - rake_default: name: Ruby 2.6 image: cimg/ruby:2.6 @@ -42,5 +39,5 @@ workflows: name: Ruby HEAD image: rubocophq/circleci-ruby-snapshot:latest # Nightly snapshot build - rake_default: - name: JRuby 9.2 - image: circleci/jruby:9.2 + name: JRuby 9.3 + image: circleci/jruby:9.3 diff --git a/.rubocop.yml b/.rubocop.yml index 3d9813a..16630b5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.6 Naming/PredicateName: # Method define macros for dynamically generated method. diff --git a/CHANGELOG.md b/CHANGELOG.md index 571303a..28e6b14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changes -* Drop support for Ruby 2.4. ([@koic][]) +* Drop support for Ruby 2.4 and 2.5. ([@koic][]) ## 1.1.0 (2020-06-11) diff --git a/rubocop-faker.gemspec b/rubocop-faker.gemspec index e980d7c..0688fd4 100644 --- a/rubocop-faker.gemspec +++ b/rubocop-faker.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = 'A RuboCop extension for Faker.' spec.homepage = 'https://github.com/koic/rubocop-faker' spec.license = 'MIT' - spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0') + spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0') spec.metadata = { 'homepage_uri' => spec.homepage,