Skip to content

Commit 13bd9da

Browse files
committed
Drop Ruby 2.5 and 2.6 for runtime environment
This PR makes RuboCop Rake to require Ruby 2.7+ as its runtime environment. RuboCop has supported Ruby 2.7+ for a long time, so there would be no point in only supporting RuboCop Rake for Ruby 2.6 and older.
1 parent 1f96536 commit 13bd9da

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
ruby:
20-
- "2.5"
21-
- "2.6"
2220
- "2.7"
2321
- "3.0"
2422
- "3.1"

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require:
77

88
AllCops:
99
NewCops: enable
10-
TargetRubyVersion: 2.5
10+
TargetRubyVersion: 2.7
1111

1212
InternalAffairs/NodeMatcherDirective:
1313
Enabled: false

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master (unreleased)
44

5+
* [#57](https://github.com/rubocop/rubocop-rake/pull/57): Drop support Ruby 2.5 and 2.6 for runtime environment. ([@koic][])
6+
57
## 0.6.0 (2021-06-29)
68

79
### Changes

rubocop-rake.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.summary = %q{A RuboCop plugin for Rake}
1212
spec.description = %q{A RuboCop plugin for Rake}
1313
spec.homepage = "https://github.com/rubocop/rubocop-rake"
14-
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
14+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
1515
spec.licenses = ['MIT']
1616

1717
spec.metadata = {

0 commit comments

Comments
 (0)