From 1f0e74ad553997efce4ed6291a472bc8277de94a Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Mon, 4 Dec 2023 17:11:52 -0500 Subject: [PATCH 1/2] Update iiif_print version Use new config to prevent errors from trying to split reader.pdf files. --- Gemfile.lock | 2 +- config/initializers/iiif_print.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index afc62766..a8f10230 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -31,7 +31,7 @@ GIT GIT remote: https://github.com/scientist-softserv/iiif_print.git - revision: 5c5fa6880b3dc22beed738cfcba7af57b698ac36 + revision: 9f4b13098ec843f0f8c51c4bdfd0cdcc417c526d branch: main specs: iiif_print (1.0.0) diff --git a/config/initializers/iiif_print.rb b/config/initializers/iiif_print.rb index 23f3d9a9..e47eea93 100644 --- a/config/initializers/iiif_print.rb +++ b/config/initializers/iiif_print.rb @@ -95,6 +95,7 @@ collection: {} } + config.skip_splitting_pdf_files_that_end_with_these_texts = CreateDerivativesJobDecorator::NON_ARCHIVAL_PDF_SUFFIXES # rubocop:enable Metrics/LineLength end From 33c1a57fa14b2392655cce8cf07f98bdbc4f873a Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Mon, 4 Dec 2023 17:51:12 -0500 Subject: [PATCH 2/2] Update Gemfile.lock Regress json-ld version due to json-canonicalization-0.3.2 being pulled. --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a8f10230..3086bfde 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -592,10 +592,10 @@ GEM jquery-ui-rails (6.0.1) railties (>= 3.2.16) json (2.6.3) - json-canonicalization (0.3.2) - json-ld (3.2.5) + json-canonicalization (0.3.1) + json-ld (3.2.4) htmlentities (~> 4.3) - json-canonicalization (~> 0.3, >= 0.3.2) + json-canonicalization (~> 0.3) link_header (~> 0.0, >= 0.0.8) multi_json (~> 1.15) rack (>= 2.2, < 4)