From 837965d481e1fa8507009a04b08c05b30ee2a68a Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 4 Dec 2023 02:34:21 -0800 Subject: [PATCH 1/2] Update Ruby dependencies --- Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2793b6f4..9eaae1b5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -139,7 +139,7 @@ GEM irb (>= 1.5.0) reline (>= 0.3.1) deep_merge (1.2.2) - device_detector (1.1.1) + device_detector (1.1.2) devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -238,13 +238,13 @@ GEM activesupport (>= 3.0) nokogiri (>= 1.6) io-console (0.6.0) - irb (1.9.1) + irb (1.10.0) rdoc reline (>= 0.3.8) jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) - json (2.6.3) + json (2.7.0) jwt (2.7.1) kaminari (1.2.2) activesupport (>= 4.1.0) @@ -280,7 +280,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.20.0) - net-imap (0.4.6) + net-imap (0.4.7) date net-protocol net-pop (0.1.2) @@ -292,7 +292,7 @@ GEM net-smtp (0.4.0) net-protocol net-ssh (7.2.0) - nio4r (2.6.1) + nio4r (2.7.0) nokogiri (1.15.5-x86_64-darwin) racc (~> 1.4) nokogiri (1.15.5-x86_64-linux) @@ -362,7 +362,7 @@ GEM redis-client (0.18.0) connection_pool regexp_parser (2.8.2) - reline (0.4.0) + reline (0.4.1) io-console (~> 0.5) request_store (1.5.1) rack (>= 1.4) @@ -388,7 +388,7 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.57.2) + rubocop (1.58.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -396,7 +396,7 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.30.0) @@ -449,7 +449,7 @@ GEM sshkit (1.21.6) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) - stringio (3.0.9) + stringio (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) thor (1.3.0) From 01b43b156317c6773296fa4f9f820cf5a30fcc3f Mon Sep 17 00:00:00 2001 From: Cory Lown Date: Mon, 4 Dec 2023 08:41:09 -0500 Subject: [PATCH 2/2] Add rubocop:disable Style/HashEachMethods comment --- app/jobs/marc_profiling_job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/jobs/marc_profiling_job.rb b/app/jobs/marc_profiling_job.rb index e14ef652..b628a2d0 100644 --- a/app/jobs/marc_profiling_job.rb +++ b/app/jobs/marc_profiling_job.rb @@ -22,9 +22,11 @@ def add(item) @sample[j] = [@size_so_far, item] if @wanted > j end + # rubocop:disable Style/HashEachMethods def each @sample.sort.each { |_idx, it| yield(it) } end + # rubocop:enable Style/HashEachMethods end # Tally up some statistics about the MARC records in the file: