Skip to content

Commit 1598fe8

Browse files
Merge branch 'renovate/rubocop' into 'master'
chore(deps): update rubocop See merge request xikolo/lanalytics!931
2 parents ee76bbb + 863af47 commit 1598fe8

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ group :development, :test do
7373
gem 'rspec-rails'
7474
gem 'rspec-sidekiq'
7575
gem 'rspec-teamcity', require: false
76-
gem 'rubocop', '~> 1.74.0'
76+
gem 'rubocop', '~> 1.75.0'
7777
gem 'rubocop-factory_bot', '~> 2.27.0'
7878
gem 'rubocop-performance', '~> 1.24.0'
7979
gem 'rubocop-rails', '~> 2.30.0'

Gemfile.lock

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,14 @@ GEM
254254
activerecord (>= 6.1)
255255
request_store (~> 1.4)
256256
parallel (1.26.3)
257-
parser (3.3.7.1)
257+
parser (3.3.7.4)
258258
ast (~> 2.4.1)
259259
racc
260260
pg (1.5.9)
261261
pp (0.6.2)
262262
prettyprint
263263
prettyprint (0.2.0)
264+
prism (1.4.0)
264265
psych (5.2.3)
265266
date
266267
stringio
@@ -380,19 +381,20 @@ GEM
380381
rspec-support (3.13.2)
381382
rspec-teamcity (1.0.0)
382383
rspec (>= 2.99, >= 2.14.2, < 4)
383-
rubocop (1.74.0)
384+
rubocop (1.75.1)
384385
json (~> 2.3)
385386
language_server-protocol (~> 3.17.0.2)
386387
lint_roller (~> 1.1.0)
387388
parallel (~> 1.10)
388389
parser (>= 3.3.0.2)
389390
rainbow (>= 2.2.2, < 4.0)
390391
regexp_parser (>= 2.9.3, < 3.0)
391-
rubocop-ast (>= 1.38.0, < 2.0)
392+
rubocop-ast (>= 1.43.0, < 2.0)
392393
ruby-progressbar (~> 1.7)
393394
unicode-display_width (>= 2.4.0, < 4.0)
394-
rubocop-ast (1.38.1)
395-
parser (>= 3.3.1.0)
395+
rubocop-ast (1.43.0)
396+
parser (>= 3.3.7.2)
397+
prism (~> 1.4)
396398
rubocop-factory_bot (2.27.0)
397399
lint_roller (~> 1.1)
398400
rubocop (~> 1.72, >= 1.72.1)
@@ -524,7 +526,7 @@ DEPENDENCIES
524526
rspec-rails
525527
rspec-sidekiq
526528
rspec-teamcity
527-
rubocop (~> 1.74.0)
529+
rubocop (~> 1.75.0)
528530
rubocop-factory_bot (~> 2.27.0)
529531
rubocop-performance (~> 1.24.0)
530532
rubocop-rails (~> 2.30.0)

lib/lanalytics/metric/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def resolve(name)
2121
def all
2222
Rails.root.join('lib/lanalytics/metric')
2323
.to_enum(:each_child)
24-
.map { _1.basename.to_s.split('.').first.camelize }
24+
.map { it.basename.to_s.split('.').first.camelize }
2525
.sort
26-
.reject { IGNORED_METRIC_CLASSES.include? _1 }
26+
.reject { IGNORED_METRIC_CLASSES.include? it }
2727
end
2828
end
2929

0 commit comments

Comments
 (0)