Skip to content

Commit f46dfc0

Browse files
committed
move ruby min support version to 2.4
Signed-off-by: Philip Li <[email protected]>
1 parent 93f2def commit f46dfc0

File tree

4 files changed

+7
-142
lines changed

4 files changed

+7
-142
lines changed

.github/workflows/code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
ruby-version: ['2.0', '2.5', '2.7', '3.2']
24+
ruby-version: ['2.4', '2.5', '2.7', '3.2']
2525

2626
steps:
2727
- uses: actions/checkout@v3

.rubocop.2.0.yml

Lines changed: 0 additions & 138 deletions
This file was deleted.

.rubocop.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require: rubocop-performance
2+
13
AllCops:
24
NewCops: disable
35
SuggestExtensions: false
@@ -160,6 +162,6 @@ Naming/MethodParameterName:
160162
Naming/HeredocDelimiterNaming:
161163
Enabled: false
162164

163-
# # Required Ruby version: 2.4
164-
# Performance/RegexpMatch:
165-
# Enabled: false
165+
# Required Ruby version: 2.4
166+
Performance/RegexpMatch:
167+
Enabled: false

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ group :test do
1212
gem 'ci_reporter_rspec'
1313
gem 'rspec'
1414
gem 'rubocop'
15+
gem 'rubocop-performance', require: false
1516
gem 'simplecov'
1617
gem 'simplecov-rcov'
1718
end

0 commit comments

Comments
 (0)