Skip to content

Commit 0ae6cdf

Browse files
committed
Drop Ruby 2.6 runtime support
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
1 parent 70a97b1 commit 0ae6cdf

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
strategy:
2828
matrix:
2929
ruby:
30-
- "2.6"
3130
- "2.7"
3231
- "3.0"
3332
- "3.1"

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require:
88

99
AllCops:
1010
DisplayCopNames: true
11-
TargetRubyVersion: 2.6
11+
TargetRubyVersion: 2.7
1212
NewCops: disable
1313
Exclude:
1414
- 'vendor/**/*'

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Fix an error for `RSpec/Rails/HaveHttpStatus` with comparison with strings containing non-numeric characters. ([@ydah])
77
- Fix an error for `RSpec/MatchArray` when `match_array` with no argument. ([@ydah])
88
- Add support `a_block_changing` and `changing` for `RSpec/ChangeByZero`. ([@ydah])
9+
- Drop Ruby 2.6 support. ([@ydah])
910

1011
## 2.20.0 (2023-04-18)
1112

rubocop-rspec.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121

2222
spec.version = RuboCop::RSpec::Version::STRING
2323
spec.platform = Gem::Platform::RUBY
24-
spec.required_ruby_version = '>= 2.6.0'
24+
spec.required_ruby_version = '>= 2.7.0'
2525

2626
spec.require_paths = ['lib']
2727
spec.files = Dir[

0 commit comments

Comments
 (0)