From 1ae3606165eb46217d6c4304d90e0c852b1255d0 Mon Sep 17 00:00:00 2001 From: sul-devops-team Date: Mon, 15 Jul 2024 02:53:00 -0700 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 abec2ad3b..3d2c726d1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -163,7 +163,7 @@ GEM activesupport diff-lcs (1.5.1) diffy (3.4.2) - dlss-capistrano (5.1.1) + dlss-capistrano (5.2.0) bcrypt_pbkdf capistrano (~> 3.0) capistrano-bundle_audit (>= 0.3.0) @@ -238,11 +238,11 @@ GEM activesupport (>= 6.1) graphiql-rails (1.10.0) railties - graphql (2.3.7) + graphql (2.3.8) base64 hashdiff (1.1.0) hashie (5.0.0) - honeybadger (5.13.2) + honeybadger (5.14.0) http-cookie (1.0.6) domain_name (~> 0.5) i18n (1.14.5) @@ -349,7 +349,7 @@ GEM openapi_parser (1.0.0) optimist (3.1.0) parallel (1.25.1) - parser (3.3.3.0) + parser (3.3.4.0) ast (~> 2.4.1) racc patience_diff (1.2.0) @@ -370,11 +370,11 @@ GEM public_suffix (6.0.0) puma (6.4.2) nio4r (~> 2.0) - purl_fetcher-client (1.5.3) + purl_fetcher-client (1.5.4) activesupport faraday (~> 2.1) racc (1.8.0) - rack (3.1.6) + rack (3.1.7) rack-console (1.4.1) rack (~> 3.0) rack-test @@ -451,13 +451,13 @@ GEM rspec-support (3.13.1) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.64.1) + rubocop (1.65.0) 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 (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) @@ -476,7 +476,7 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (3.0.2) + rubocop-rspec (3.0.3) rubocop (~> 1.61) rubocop-rspec_rails (2.30.0) rubocop (~> 1.61) From 7add6c96da22182c24b8395ea61c259e0d78efb6 Mon Sep 17 00:00:00 2001 From: Laura Wrubel Date: Mon, 15 Jul 2024 08:08:09 -0400 Subject: [PATCH 2/2] Rubocop tweaks --- app/services/cocina/to_datacite/form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/cocina/to_datacite/form.rb b/app/services/cocina/to_datacite/form.rb index 60ed17c35..76c461ae9 100644 --- a/app/services/cocina/to_datacite/form.rb +++ b/app/services/cocina/to_datacite/form.rb @@ -43,7 +43,7 @@ def resource_type if subtypes.blank? self_deposit_type(self_deposit_form) else - subtypes.filter_map { |subtype| subtype if subtype != resource_type_general }.compact.join('; ') + subtypes.select { |subtype| subtype if subtype != resource_type_general }.join('; ') end end end