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[