From 4ecbbf84107073eb0e6752c49810341cfdb28dfe Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Sun, 29 Sep 2024 11:35:58 +0300 Subject: [PATCH] update rubocop --- Gemfile.lock | 17 +++++++---------- spec/rails_helper.rb | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0deb19727..cd4c68da1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -344,8 +344,8 @@ GEM os (1.1.4) package_json (0.1.0) pagy (8.1.2) - parallel (1.25.1) - parser (3.3.4.0) + parallel (1.26.3) + parser (3.3.5.0) ast (~> 2.4.1) racc pg (1.5.6) @@ -435,8 +435,7 @@ GEM actionpack (>= 5.2) railties (>= 5.2) retriable (3.1.2) - rexml (3.3.6) - strscan + rexml (3.3.8) rotp (6.3.0) rqrcode (2.2.0) chunky_png (~> 1.0) @@ -459,18 +458,17 @@ GEM rspec-mocks (~> 3.13) rspec-support (~> 3.13) rspec-support (3.13.1) - rubocop (1.65.0) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + rubocop-ast (1.32.3) parser (>= 3.3.1.0) rubocop-performance (1.21.0) rubocop (>= 1.48.1, < 2.0) @@ -519,7 +517,6 @@ GEM stringio (3.1.1) strip_attributes (1.13.0) activemodel (>= 3.0, < 8.0) - strscan (3.1.0) thor (1.3.2) timeout (0.4.1) trailblazer-option (0.1.2) @@ -536,7 +533,7 @@ GEM tzinfo-data (1.2024.1) tzinfo (>= 1.0.0) uber (0.1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) uniform_notifier (1.16.0) warden (1.2.9) rack (>= 2.0.9) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index ce6dd9854..ae5913b85 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -35,7 +35,7 @@ js_errors: true) end -Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } +Rails.root.glob('spec/support/**/*.rb').each { |f| require f } begin ActiveRecord::Migration.maintain_test_schema!