From 9df0930139b8b9d119b9de0cf50c48e8c539ca1c Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 15 Jan 2024 02:29:36 -0800 Subject: [PATCH 1/2] Update Ruby dependencies --- Gemfile.lock | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index dc6ae9a1c..40761fdc7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,7 +55,7 @@ GEM activejob (7.0.8) activesupport (= 7.0.8) globalid (>= 0.3.6) - activejob-status (1.0.0) + activejob-status (1.0.1) activejob (>= 6.0) activesupport (>= 6.0) activemodel (7.0.8) @@ -79,7 +79,7 @@ GEM activerecord (>= 6.0, < 7.1) addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) - airbrussh (1.5.0) + airbrussh (1.5.1) sshkit (>= 1.6.1, != 1.7.0) ast (2.4.2) autoprefixer-rails (10.4.16.0) @@ -88,10 +88,10 @@ GEM babel-transpiler (0.7.0) babel-source (>= 4.0, < 6) execjs (~> 2.0) - base64 (0.2.0) bcrypt (3.1.20) - bibtex-ruby (6.0.0) + bibtex-ruby (6.1.0) latex-decode (~> 0.0) + racc (~> 1.7) bigdecimal (3.1.5) bindex (0.8.1) blacklight (7.35.0) @@ -164,7 +164,7 @@ GEM blacklight (>= 7.25.2, < 9) deprecation view_component (>= 2.54, < 4) - bootsnap (1.17.0) + bootsnap (1.17.1) msgpack (~> 1.2) bootstrap (4.6.2) autoprefixer-rails (>= 9.1.0) @@ -270,7 +270,7 @@ GEM capistrano-one_time_key capistrano-shared_configs docile (1.4.0) - domain_name (0.6.20231109) + domain_name (0.6.20240107) dor-rights-auth (1.8.0) nokogiri dot-properties (0.1.4) @@ -388,9 +388,9 @@ GEM mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) io-console (0.7.1) - irb (1.11.0) + irb (1.11.1) rdoc - reline (>= 0.3.8) + reline (>= 0.4.2) iso-639 (0.3.6) jbuilder (2.11.5) actionview (>= 5.0.0) @@ -456,7 +456,7 @@ GEM mini_magick (4.12.0) mini_mime (1.1.5) minitar (0.9) - minitest (5.20.0) + minitest (5.21.1) mods (3.0.4) edtf (~> 3.0) iso-639 @@ -473,7 +473,8 @@ GEM multipart-post (2.3.0) mutex_m (0.2.0) mysql2 (0.5.5) - namae (1.1.1) + namae (1.2.0) + racc (~> 1.7) net-imap (0.4.9.1) date net-protocol @@ -483,11 +484,12 @@ GEM timeout net-scp (4.0.0) net-ssh (>= 2.6.5, < 8.0.0) + net-sftp (4.0.0) + net-ssh (>= 5.0.0, < 8.0.0) net-smtp (0.4.0.1) net-protocol net-ssh (7.2.1) - newrelic_rpm (9.6.0) - base64 + newrelic_rpm (9.7.0) nio4r (2.7.0) nokogiri (1.16.0-x86_64-darwin) racc (~> 1.4) @@ -512,7 +514,7 @@ GEM activerecord (>= 5.2) request_store (~> 1.1) parallel (1.24.0) - parser (3.3.0.2) + parser (3.3.0.3) ast (~> 2.4.1) racc parslet (2.0.0) @@ -585,7 +587,7 @@ GEM redis-client (>= 0.17.0) redis-client (0.19.1) connection_pool - regexp_parser (2.8.3) + regexp_parser (2.9.0) reline (0.4.2) io-console (~> 0.5) representable (3.2.0) @@ -632,11 +634,11 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.59.0) + rubocop (1.60.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) @@ -647,9 +649,9 @@ GEM parser (>= 3.2.1.0) rubocop-capybara (2.20.0) rubocop (~> 1.41) - rubocop-factory_bot (2.25.0) - rubocop (~> 1.33) - rubocop-performance (1.20.1) + rubocop-factory_bot (2.25.1) + rubocop (~> 1.41) + rubocop-performance (1.20.2) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) rubocop-rails (2.23.1) @@ -734,9 +736,10 @@ GEM sprockets (>= 3.0.0) sqlite3 (1.7.0-x86_64-darwin) sqlite3 (1.7.0-x86_64-linux) - sshkit (1.21.7) + sshkit (1.22.0) mutex_m net-scp (>= 1.1.2) + net-sftp (>= 2.1.2) net-ssh (>= 2.8.0) ssrf_filter (1.1.2) stanford-mods (3.3.9) @@ -788,7 +791,7 @@ GEM unf_ext (0.0.9.1) unicode-display_width (2.5.0) version_gem (1.1.3) - view_component (2.82.0) + view_component (2.83.0) activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) From 5765a7f2ef05edaf6a2574e8312bb39f6ca961a2 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 16 Jan 2024 07:27:09 -0600 Subject: [PATCH 2/2] Autocorrect rubocop updates --- lib/traject/bibtex_reader.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/traject/bibtex_reader.rb b/lib/traject/bibtex_reader.rb index 9229c6d12..30caf2c2c 100644 --- a/lib/traject/bibtex_reader.rb +++ b/lib/traject/bibtex_reader.rb @@ -12,8 +12,8 @@ def initialize(input_stream, settings) end # @return [BibTeX::Entry] - def each(&block) - bibliography.bibliography.each(&block) + def each(...) + bibliography.bibliography.each(...) end def count