iiif_print 3.0.7 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 563ee3f3416ae9e663e987d5404e00e787bd5d14bd56773c9c2ee02449ded518
4
- data.tar.gz: 0d3dd77e28c7a48c214cf2a6229ae3b3339ea663dfaf5de93323d116cdabdd91
3
+ metadata.gz: 8637c18807904c8f1f7206f7d00d53e45867137c9cf743dd509a8aa38cf27461
4
+ data.tar.gz: 541d635e99847c4d7441fbe5c56e0f2c343e4b3dbc05f49b9626494c73837270
5
5
  SHA512:
6
- metadata.gz: 6b50ef7b3b442f46fdea277a231aac76f5807b9f803eb9a1787fa90e0e9048705a98307ed735ef67e773b52439709d4612291647ab68108498e9f208a02d9553
7
- data.tar.gz: 625227699a8f5da39ba3985965528107cc658ac021a5db6daca1ffb052876b8bd790853e88f436d0061efe5a4b7fc077c8e673569b90b9f761e843df8a0ab68d
6
+ metadata.gz: 80b7f57b155c62157ede01b218540161bb27d28f1b0ef550527c1d62661f80f360fd5695430bf63cb6d8a97b3e7024cd256b395c940f362abb5d8acd49db7502
7
+ data.tar.gz: 2da6466a299381098b98219747e9895521a5a4e182f7e1ad8f0f72b0b93a0d0f5d5a1248198abadaf10609a278bd2f4a54b53956db8f9fb3ba90a6b65403accf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /app/samvera/hyrax-webapp
3
3
  specs:
4
- iiif_print (3.0.7)
4
+ iiif_print (3.0.9)
5
5
  blacklight_iiif_search (>= 1.0, < 3.0)
6
6
  derivative-rodeo (~> 0.5)
7
7
  hyrax (>= 2.5, < 6)
@@ -87,23 +87,24 @@ GEM
87
87
  awesome_nested_set (3.8.0)
88
88
  activerecord (>= 4.0.0, < 8.1)
89
89
  aws-eventstream (1.4.0)
90
- aws-partitions (1.1138.0)
91
- aws-sdk-core (3.227.0)
90
+ aws-partitions (1.1181.0)
91
+ aws-sdk-core (3.237.0)
92
92
  aws-eventstream (~> 1, >= 1.3.0)
93
93
  aws-partitions (~> 1, >= 1.992.0)
94
94
  aws-sigv4 (~> 1.9)
95
95
  base64
96
+ bigdecimal
96
97
  jmespath (~> 1, >= 1.6.1)
97
98
  logger
98
- aws-sdk-kms (1.108.0)
99
- aws-sdk-core (~> 3, >= 3.227.0)
99
+ aws-sdk-kms (1.117.0)
100
+ aws-sdk-core (~> 3, >= 3.234.0)
100
101
  aws-sigv4 (~> 1.5)
101
- aws-sdk-s3 (1.194.0)
102
- aws-sdk-core (~> 3, >= 3.227.0)
102
+ aws-sdk-s3 (1.203.1)
103
+ aws-sdk-core (~> 3, >= 3.234.0)
103
104
  aws-sdk-kms (~> 1)
104
105
  aws-sigv4 (~> 1.5)
105
- aws-sdk-sqs (1.98.0)
106
- aws-sdk-core (~> 3, >= 3.227.0)
106
+ aws-sdk-sqs (1.106.0)
107
+ aws-sdk-core (~> 3, >= 3.234.0)
107
108
  aws-sigv4 (~> 1.5)
108
109
  aws-sigv4 (1.12.1)
109
110
  aws-eventstream (~> 1, >= 1.0.2)
@@ -117,7 +118,7 @@ GEM
117
118
  i18n
118
119
  bcrypt (3.1.20)
119
120
  benchmark (0.3.0)
120
- bigdecimal (3.2.2)
121
+ bigdecimal (3.3.1)
121
122
  bindex (0.8.1)
122
123
  bixby (5.0.2)
123
124
  rubocop (= 1.28.2)
@@ -179,7 +180,7 @@ GEM
179
180
  execjs
180
181
  coffee-script-source (1.12.2)
181
182
  concurrent-ruby (1.2.2)
182
- connection_pool (2.5.3)
183
+ connection_pool (2.5.4)
183
184
  coveralls (0.8.23)
184
185
  json (>= 1.8, < 3)
185
186
  simplecov (~> 0.16.1)
@@ -221,7 +222,7 @@ GEM
221
222
  representable (>= 2.4.0, <= 3.1.0)
222
223
  uber (< 0.2.0)
223
224
  docile (1.4.0)
224
- draper (4.0.4)
225
+ draper (4.0.5)
225
226
  actionpack (>= 5.0)
226
227
  activemodel (>= 5.0)
227
228
  activemodel-serializers-xml (>= 1.0)
@@ -299,7 +300,7 @@ GEM
299
300
  equivalent-xml (0.6.0)
300
301
  nokogiri (>= 1.4.3)
301
302
  erubi (1.12.0)
302
- ethon (0.16.0)
303
+ ethon (0.15.0)
303
304
  ffi (>= 1.15.0)
304
305
  execjs (2.9.1)
305
306
  factory_bot (4.11.1)
@@ -318,7 +319,7 @@ GEM
318
319
  jquery-rails
319
320
  font-awesome-rails (4.7.0.9)
320
321
  railties (>= 3.2, < 9.0)
321
- geocoder (1.8.5)
322
+ geocoder (1.8.6)
322
323
  base64 (>= 0.1.0)
323
324
  csv (>= 3.0.0)
324
325
  globalid (1.1.0)
@@ -339,7 +340,7 @@ GEM
339
340
  multi_json (~> 1.11)
340
341
  os (>= 0.9, < 2.0)
341
342
  signet (>= 0.16, < 2.a)
342
- haml (6.3.0)
343
+ haml (6.4.0)
343
344
  temple (>= 0.8.2)
344
345
  thor
345
346
  tilt
@@ -347,7 +348,7 @@ GEM
347
348
  hiredis (0.6.3)
348
349
  htmlentities (4.3.4)
349
350
  http_logger (1.0.1)
350
- httparty (0.23.1)
351
+ httparty (0.23.2)
351
352
  csv
352
353
  mini_mime (>= 1.0.0)
353
354
  multi_xml (>= 0.5.2)
@@ -490,7 +491,7 @@ GEM
490
491
  json-ld-preloaded (3.1.6)
491
492
  json-ld (~> 3.1)
492
493
  rdf (~> 3.1)
493
- json-schema (5.2.1)
494
+ json-schema (5.2.2)
494
495
  addressable (~> 2.8)
495
496
  bigdecimal (~> 3.1)
496
497
  jwt (2.10.2)
@@ -582,7 +583,7 @@ GEM
582
583
  mime-types (3.7.0)
583
584
  logger
584
585
  mime-types-data (~> 3.2025, >= 3.2025.0507)
585
- mime-types-data (3.2025.0729)
586
+ mime-types-data (3.2025.0924)
586
587
  mini_magick (4.13.2)
587
588
  mini_mime (1.1.5)
588
589
  mini_portile2 (2.8.5)
@@ -614,12 +615,13 @@ GEM
614
615
  nokogiri (1.15.5)
615
616
  mini_portile2 (~> 2.8.2)
616
617
  racc (~> 1.4)
617
- oauth (1.1.0)
618
- oauth-tty (~> 1.0, >= 1.0.1)
618
+ oauth (1.1.3)
619
+ base64 (~> 0.1)
620
+ oauth-tty (~> 1.0, >= 1.0.6)
619
621
  snaky_hash (~> 2.0)
620
- version_gem (~> 1.1)
621
- oauth-tty (1.0.5)
622
- version_gem (~> 1.1, >= 1.1.1)
622
+ version_gem (~> 1.1, >= 1.1.9)
623
+ oauth-tty (1.0.6)
624
+ version_gem (~> 1.1, >= 1.1.9)
623
625
  oauth2 (1.4.11)
624
626
  faraday (>= 0.17.3, < 3.0)
625
627
  jwt (>= 1.0, < 3.0)
@@ -952,15 +954,15 @@ GEM
952
954
  actionpack (>= 3.1)
953
955
  jquery-rails
954
956
  railties (>= 3.1)
955
- typhoeus (1.4.1)
956
- ethon (>= 0.9.0)
957
+ typhoeus (1.5.0)
958
+ ethon (>= 0.9.0, < 0.16.0)
957
959
  tzinfo (1.2.11)
958
960
  thread_safe (~> 0.1)
959
961
  uber (0.1.0)
960
962
  uglifier (4.2.0)
961
963
  execjs (>= 0.3.0, < 3)
962
964
  unicode-display_width (2.5.0)
963
- unicode-types (1.10.0)
965
+ unicode-types (1.11.0)
964
966
  valkyrie (2.2.0)
965
967
  activemodel
966
968
  activesupport
@@ -976,7 +978,7 @@ GEM
976
978
  rdf-vocab
977
979
  reform (~> 2.2)
978
980
  reform-rails
979
- version_gem (1.1.8)
981
+ version_gem (1.1.9)
980
982
  warden (1.2.9)
981
983
  rack (>= 2.0.9)
982
984
  web-console (3.7.0)
@@ -14,7 +14,7 @@ module Hyrax
14
14
  return Failure(:resource_not_persisted) unless resource.persisted?
15
15
 
16
16
  parent = IiifPrint.persistence_adapter.parent_for(resource)
17
- return Success(true) unless parent
17
+ return Success(resource) unless parent
18
18
 
19
19
  # We do not care about the results of this call; as it is conditionally looking for things
20
20
  # to destroy.
@@ -22,11 +22,11 @@ module IiifPrint
22
22
  # @return the indexer for the given :work_type
23
23
  def self.decorate_with_adapter_logic(work_type:)
24
24
  work_type.send(:include, Hyrax::Schema(:child_works_from_pdf_splitting)) unless
25
- Hyrax.config.try(:flexible?) || work_type.included_modules.include?(Hyrax::Schema(:child_works_from_pdf_splitting))
25
+ Hyrax.config.try(:work_include_metadata?) || Hyrax.config.try(:flexible?) || work_type.included_modules.include?(Hyrax::Schema(:child_works_from_pdf_splitting))
26
26
  # TODO: Use `Hyrax::ValkyrieIndexer.indexer_class_for` once changes are merged.
27
27
  indexer = "#{work_type}Indexer".constantize
28
28
  indexer.send(:include, Hyrax::Indexer(:child_works_from_pdf_splitting)) unless
29
- Hyrax.config.try(:flexible?) || indexer.included_modules.include?(Hyrax::Indexer(:child_works_from_pdf_splitting))
29
+ Hyrax.config.try(:work_include_metadata?) || Hyrax.config.try(:flexible?) || indexer.included_modules.include?(Hyrax::Indexer(:child_works_from_pdf_splitting))
30
30
  indexer
31
31
  end
32
32
 
@@ -36,7 +36,7 @@ module IiifPrint
36
36
  def self.decorate_form_with_adapter_logic(work_type:)
37
37
  form = "#{work_type}Form".constantize
38
38
  form.send(:include, Hyrax::FormFields(:child_works_from_pdf_splitting)) unless
39
- Hyrax.config.try(:flexible?) || form.included_modules.include?(Hyrax::FormFields(:child_works_from_pdf_splitting))
39
+ Hyrax.config.try(:work_include_metadata?) || Hyrax.config.try(:flexible?) || form.included_modules.include?(Hyrax::FormFields(:child_works_from_pdf_splitting))
40
40
  form
41
41
  end
42
42
 
@@ -1,3 +1,3 @@
1
1
  module IiifPrint
2
- VERSION = '3.0.7'.freeze
2
+ VERSION = '3.0.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iiif_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.7
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Upton
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2025-07-31 00:00:00.000000000 Z
17
+ date: 2025-11-12 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: blacklight_iiif_search