Skip to content

Commit

Permalink
Drop Ruby 2.6 runtime support
Browse files Browse the repository at this point in the history
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support:

https://www.ruby-lang.org/en/downloads/branches/
https://docs.rubocop.org/rubocop/compatibility.html#support-matrix

Follow up: rubocop/rubocop#11791
  • Loading branch information
ydah committed Apr 24, 2023
1 parent 641dd9e commit 0299d55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
strategy:
matrix:
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require:

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
NewCops: disable
Exclude:
- 'vendor/**/*'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Edge (Unreleased)

- Drop Ruby 2.6 support. ([@ydah])

## 2.18.0 (2023-04-21)

- Fix an offense message for `Capybara/SpecificFinders`. ([@ydah])
Expand Down
2 changes: 1 addition & 1 deletion rubocop-capybara.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|

spec.version = RuboCop::Capybara::Version::STRING
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = '>= 2.6.0'
spec.required_ruby_version = '>= 2.7.0'

spec.require_paths = ['lib']
spec.files = Dir[
Expand Down

0 comments on commit 0299d55

Please sign in to comment.