From ce6eedd2f036ee0a57f5921ab4c15dc4ecc8e369 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 1 Apr 2024 02:29:19 -0700 Subject: [PATCH 1/2] Update Ruby dependencies --- Gemfile.lock | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 518cef3f..091b34a7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -121,7 +121,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - cocina-models (0.95.1) + cocina-models (0.96.0) activesupport deprecation dry-struct (~> 1.0) @@ -144,7 +144,7 @@ GEM connection_pool (2.4.1) crass (1.0.6) date (3.3.4) - debug (1.9.1) + debug (1.9.2) irb (~> 1.10) reline (>= 0.3.8) deep_merge (1.2.2) @@ -252,10 +252,10 @@ GEM 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-smtp (0.5.0) net-protocol net-ssh (7.2.1) - newrelic_rpm (9.7.1) + newrelic_rpm (9.8.0) nio4r (2.7.1) nokogiri (1.16.3-x86_64-darwin) racc (~> 1.4) @@ -327,7 +327,7 @@ GEM rdoc (6.6.3.1) psych (>= 4.0.0) regexp_parser (2.9.0) - reline (0.4.3) + reline (0.5.0) io-console (~> 0.5) rexml (3.2.6) rspec-core (3.13.0) @@ -366,18 +366,21 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.25.1) rubocop (~> 1.41) - rubocop-performance (1.20.2) + rubocop-performance (1.21.0) rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) rubocop-rails (2.24.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (2.27.1) + rubocop-rspec (2.28.0) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.28.2) + rubocop (~> 1.40) ruby-progressbar (1.13.0) simplecov (0.22.0) docile (~> 1.1) From ef77c0739e30e6549c2c75f26dd286d1eec56ad0 Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Mon, 1 Apr 2024 10:43:59 -0700 Subject: [PATCH 2/2] Add required 'what' attribute to release tags in specs This makes our test data compliant with the newly-required 'what' attribute on RelaseTags as of cocina-models v0.96.0. See: https://github.com/sul-dlss/cocina-models/commit/963673c12e7265d59bce7b276d7ed8037539948c --- spec/consumers/purl_updates_consumer_spec.rb | 4 ++-- spec/requests/v1/purls_controller_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/consumers/purl_updates_consumer_spec.rb b/spec/consumers/purl_updates_consumer_spec.rb index a8d6d416..33e2a597 100644 --- a/spec/consumers/purl_updates_consumer_spec.rb +++ b/spec/consumers/purl_updates_consumer_spec.rb @@ -11,8 +11,8 @@ .new(administrative: { hasAdminPolicy: "druid:hv992ry2431", releaseTags: [ - { to: 'Searchworks', release: true }, - { to: 'Earthworks', release: false } + { to: 'Searchworks', release: true, what: 'self' }, + { to: 'Earthworks', release: false, what: 'self' } ] }) .to_json diff --git a/spec/requests/v1/purls_controller_spec.rb b/spec/requests/v1/purls_controller_spec.rb index afdc21dd..91465ab2 100644 --- a/spec/requests/v1/purls_controller_spec.rb +++ b/spec/requests/v1/purls_controller_spec.rb @@ -15,8 +15,8 @@ .new(administrative: { hasAdminPolicy: "druid:hv992ry2431", releaseTags: [ - { to: 'Searchworks', release: true }, - { to: 'Earthworks', release: false } + { to: 'Searchworks', release: true, what: 'self' }, + { to: 'Earthworks', release: false, what: 'self' } ] }) end