From 7c341f6769dde17f8c77eecc1bbc98861039f018 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Wed, 27 Apr 2022 16:35:05 +0900 Subject: [PATCH] Drop Ruby 2.5 support Follow up: https://github.com/rubocop/rubocop/pull/10577 --- .github/workflows/main.yml | 1 - .rubocop.yml | 2 +- CHANGELOG.md | 2 ++ rubocop-rspec_rails.gemspec | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e50e106..aa1619c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,6 @@ jobs: strategy: matrix: ruby: - - 2.5 - 2.6 - 2.7 - "3.0" diff --git a/.rubocop.yml b/.rubocop.yml index d7125963..42113970 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ require: AllCops: DisplayCopNames: true - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.6 NewCops: disable Exclude: - 'vendor/**/*' diff --git a/CHANGELOG.md b/CHANGELOG.md index 06ba857b..e9d24a1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +* Drop Ruby 2.5 support. ([@ydah][]) + ## 2.10.0 (2022-04-19) * Fix a false positive for `RSpec/EmptyExampleGroup` when expectations in case statement. ([@ydah][]) diff --git a/rubocop-rspec_rails.gemspec b/rubocop-rspec_rails.gemspec index e8de9393..17481913 100644 --- a/rubocop-rspec_rails.gemspec +++ b/rubocop-rspec_rails.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.version = RuboCop::RSpec::Version::STRING spec.platform = Gem::Platform::RUBY - spec.required_ruby_version = '>= 2.5.0' + spec.required_ruby_version = '>= 2.6.0' spec.require_paths = ['lib'] spec.files = Dir[