Skip to content

Commit ab1adf9

Browse files
authored
Merge pull request #177 from koic/support_rubocop_plugin_system
Support RuboCop Plugin System
2 parents 701b140 + 85f0385 commit ab1adf9

File tree

11 files changed

+15
-88
lines changed

11 files changed

+15
-88
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
13+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"]
1414
gemfile:
15-
- gemfiles/rubocop_1.57.gemfile
16-
- gemfiles/rubocop_1.58.gemfile
17-
- gemfiles/rubocop_1.59.gemfile
18-
- gemfiles/rubocop_1.60.gemfile
19-
- gemfiles/rubocop_1.61.gemfile
20-
- gemfiles/rubocop_1.62.gemfile
21-
- gemfiles/rubocop_1.63.gemfile
15+
- gemfiles/rubocop_1.72.gemfile
16+
- gemfiles/rubocop_1.73.gemfile
2217
env:
2318
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
2419
runs-on: ubuntu-latest

Appraisals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
SUPPORTED_VERSIONS = %w[1.57 1.58 1.59 1.60 1.61 1.62 1.63].freeze
3+
SUPPORTED_VERSIONS = %w[1.72 1.73].freeze
44

55
SUPPORTED_VERSIONS.each do |version|
66
appraise "rubocop-#{version}" do

config/rails.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
require:
1+
plugins:
22
- rubocop-minitest
3-
- rubocop-packaging
43
- rubocop-performance
54
- rubocop-rails
65
- rubocop-md
76

7+
require:
8+
- rubocop-packaging
9+
810
AllCops:
911
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
1012
# to ignore them, so only the ones explicitly set in this file are enabled.

gemfiles/rubocop_1.59.gemfile

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

gemfiles/rubocop_1.60.gemfile

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

gemfiles/rubocop_1.61.gemfile

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

gemfiles/rubocop_1.62.gemfile

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

gemfiles/rubocop_1.63.gemfile

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

gemfiles/rubocop_1.57.gemfile renamed to gemfiles/rubocop_1.72.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ gem "bundler"
99
gem "minitest"
1010
gem "rake"
1111
gem "rails", ">= 5.2"
12-
gem "rubocop", "~> 1.57.0"
12+
gem "rubocop", "~> 1.72.0"
1313

1414
gemspec path: "../"

gemfiles/rubocop_1.58.gemfile renamed to gemfiles/rubocop_1.73.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ gem "bundler"
99
gem "minitest"
1010
gem "rake"
1111
gem "rails", ">= 5.2"
12-
gem "rubocop", "~> 1.58.0"
12+
gem "rubocop", "~> 1.73.0"
1313

1414
gemspec path: "../"

0 commit comments

Comments
 (0)