Skip to content

Commit c57fc62

Browse files
authored
Merge pull request #312 from github/copilot/fix-311
Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix
2 parents 6b725a5 + 9ba2d39 commit c57fc62

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ test/tmp
1212
test/version_tmp
1313
tmp
1414
bin/
15+
vendor/
1516

1617
# YARD artifacts
1718
.yardoc

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
rubocop-github (0.25.0)
5-
rubocop (>= 1.72)
5+
rubocop (>= 1.76)
66
rubocop-performance (>= 1.24)
77
rubocop-rails (>= 2.23)
88

@@ -74,18 +74,18 @@ GEM
7474
rainbow (3.1.1)
7575
rake (13.2.1)
7676
regexp_parser (2.10.0)
77-
rubocop (1.75.7)
77+
rubocop (1.76.0)
7878
json (~> 2.3)
7979
language_server-protocol (~> 3.17.0.2)
8080
lint_roller (~> 1.1.0)
8181
parallel (~> 1.10)
8282
parser (>= 3.3.0.2)
8383
rainbow (>= 2.2.2, < 4.0)
8484
regexp_parser (>= 2.9.3, < 3.0)
85-
rubocop-ast (>= 1.44.0, < 2.0)
85+
rubocop-ast (>= 1.45.0, < 2.0)
8686
ruby-progressbar (~> 1.7)
8787
unicode-display_width (>= 2.4.0, < 4.0)
88-
rubocop-ast (1.44.1)
88+
rubocop-ast (1.45.0)
8989
parser (>= 3.3.7.2)
9090
prism (~> 1.4)
9191
rubocop-performance (1.25.0)

config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ Naming/MethodName:
818818
Naming/MethodParameterName:
819819
Enabled: false
820820

821-
Naming/PredicateName:
821+
Naming/PredicatePrefix:
822822
Enabled: false
823823

824824
Naming/RescuedExceptionsVariableName:

rubocop-github.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020

2121
s.required_ruby_version = ">= 3.1.0"
2222

23-
s.add_dependency "rubocop", ">= 1.72"
23+
s.add_dependency "rubocop", ">= 1.76"
2424
s.add_dependency "rubocop-performance", ">= 1.24"
2525
s.add_dependency "rubocop-rails", ">= 2.23"
2626

0 commit comments

Comments
 (0)