Skip to content

Commit 6ed3588

Browse files
Update rubocop
1 parent 690aad6 commit 6ed3588

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.codeclimate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ version: "2"
22
plugins:
33
rubocop:
44
enabled: true
5-
channel: rubocop-0-79
5+
channel: rubocop-1-50-2
66
brakeman:
77
enabled: true

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Rails/Date:
4040
Enabled: true
4141

4242
Metrics/BlockLength:
43-
ExcludedMethods: ["describe", "context", "draw", "namespace"]
43+
AllowedMethods: ["describe", "context", "draw", "namespace"]
4444

4545
Performance:
4646
Exclude:

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ group :development, :test do
7979
gem 'pry-remote'
8080
gem 'rspec-collection_matchers'
8181
gem 'rspec-rails'
82-
gem 'rubocop', '~> 1.12.1', require: false
82+
gem 'rubocop', require: false
8383
gem 'rubocop-rails', require: false
8484
gem 'rubocop-performance', require: false
8585
gem 'rubocop-rspec', require: false

Gemfile.lock

+12-6
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ GEM
6767
ast (2.4.2)
6868
autoprefixer-rails (10.4.13.0)
6969
execjs (~> 2)
70+
base64 (0.1.1)
7071
better_errors (2.10.1)
7172
erubi (>= 1.0.0)
7273
rack (>= 0.9.0)
@@ -185,7 +186,9 @@ GEM
185186
thor (>= 0.14, < 2.0)
186187
jquery-ui-rails (6.0.1)
187188
railties (>= 3.2.16)
189+
json (2.6.3)
188190
jwt (2.7.1)
191+
language_server-protocol (3.17.0.3)
189192
launchy (2.5.2)
190193
addressable (~> 2.8)
191194
letter_opener (1.8.1)
@@ -353,15 +356,18 @@ GEM
353356
rspec-mocks (~> 3.12)
354357
rspec-support (~> 3.12)
355358
rspec-support (3.12.1)
356-
rubocop (1.12.1)
359+
rubocop (1.56.0)
360+
base64 (~> 0.1.1)
361+
json (~> 2.3)
362+
language_server-protocol (>= 3.17.0)
357363
parallel (~> 1.10)
358-
parser (>= 3.0.0.0)
364+
parser (>= 3.2.2.3)
359365
rainbow (>= 2.2.2, < 4.0)
360366
regexp_parser (>= 1.8, < 3.0)
361-
rexml
362-
rubocop-ast (>= 1.2.0, < 2.0)
367+
rexml (>= 3.2.5, < 4.0)
368+
rubocop-ast (>= 1.28.1, < 2.0)
363369
ruby-progressbar (~> 1.7)
364-
unicode-display_width (>= 1.4.0, < 3.0)
370+
unicode-display_width (>= 2.4.0, < 3.0)
365371
rubocop-ast (1.29.0)
366372
parser (>= 3.2.1.0)
367373
rubocop-performance (1.18.0)
@@ -511,7 +517,7 @@ DEPENDENCIES
511517
rollbar
512518
rspec-collection_matchers
513519
rspec-rails
514-
rubocop (~> 1.12.1)
520+
rubocop
515521
rubocop-performance
516522
rubocop-rails
517523
rubocop-rspec

0 commit comments

Comments
 (0)