iiif_print 3.0.11 → 3.0.12

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: 653b6bcf6d9120cbdfa3f0fd05d4034497a9147611d275e5d3111cf75edacc67
4
- data.tar.gz: a565d045ce46175b631091b94e99160ccd8b77bccc72faf6d9c298f47dc2d8e5
3
+ metadata.gz: a4551ae83d8bd370109a2532c3bd4cbeab4e97b8cc33f6044ece488eb2e3788c
4
+ data.tar.gz: 33ca8e19b35d2b25b3bca1a032a711079313646115988e56eae71945ba7e9f04
5
5
  SHA512:
6
- metadata.gz: 005d431cee41520be5fd6035d1446e099d05efb5a756a159d941372a911d325e033b2643fe78a0ab7da1d1b8b43b31b5d43cc303b32854191e5c369cf8277635
7
- data.tar.gz: 1a3073d0662f1f7c9734cc14a3aa110d26a9ca0dde6a75b84bc953ccaac57ba9773364bcd18e925797c9d6278578812390ecf378b67dd7936b9edcebd7cc7ba3
6
+ metadata.gz: 7f38d9d98db8f547d5fb9af63e44cfb1ef5e616cc7e513d70ccee194f830668a2f259923fe7be7ba5fe19be834a46d56494e3988ac1f20fe219d6b5a0b589b94
7
+ data.tar.gz: 3630e05021abcc8dc82788c1dc88bdc7ecfbfa21214280ea291e89c3d8f23fe03740a9dcc19baa8c8c527c10b931b0256f03b762776cc53caf2c6fd45a0a0d8e
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.11)
4
+ iiif_print (3.0.12)
5
5
  blacklight_iiif_search (>= 1.0, < 3.0)
6
6
  derivative-rodeo (~> 0.5)
7
7
  hyrax (>= 2.5, < 6)
@@ -87,8 +87,8 @@ GEM
87
87
  awesome_nested_set (3.9.0)
88
88
  activerecord (>= 4.0.0, < 8.2)
89
89
  aws-eventstream (1.4.0)
90
- aws-partitions (1.1221.0)
91
- aws-sdk-core (3.242.0)
90
+ aws-partitions (1.1222.0)
91
+ aws-sdk-core (3.243.0)
92
92
  aws-eventstream (~> 1, >= 1.3.0)
93
93
  aws-partitions (~> 1, >= 1.992.0)
94
94
  aws-sigv4 (~> 1.9)
@@ -99,8 +99,8 @@ GEM
99
99
  aws-sdk-kms (1.122.0)
100
100
  aws-sdk-core (~> 3, >= 3.241.4)
101
101
  aws-sigv4 (~> 1.5)
102
- aws-sdk-s3 (1.214.0)
103
- aws-sdk-core (~> 3, >= 3.241.4)
102
+ aws-sdk-s3 (1.215.0)
103
+ aws-sdk-core (~> 3, >= 3.243.0)
104
104
  aws-sdk-kms (~> 1)
105
105
  aws-sigv4 (~> 1.5)
106
106
  aws-sdk-sqs (1.111.0)
@@ -118,7 +118,7 @@ GEM
118
118
  i18n
119
119
  bcrypt (3.1.21)
120
120
  benchmark (0.3.0)
121
- bigdecimal (3.3.1)
121
+ bigdecimal (4.0.1)
122
122
  bindex (0.8.1)
123
123
  bixby (5.0.2)
124
124
  rubocop (= 1.28.2)
@@ -492,9 +492,9 @@ GEM
492
492
  json-ld-preloaded (3.1.6)
493
493
  json-ld (~> 3.1)
494
494
  rdf (~> 3.1)
495
- json-schema (5.2.2)
495
+ json-schema (6.2.0)
496
496
  addressable (~> 2.8)
497
- bigdecimal (~> 3.1)
497
+ bigdecimal (>= 3.1, < 5)
498
498
  jwt (2.10.2)
499
499
  base64
500
500
  kaminari (1.2.2)
@@ -34,9 +34,14 @@ module IiifPrint
34
34
  # @param work_type [Class<ActiveFedora::Base>]
35
35
  # @return form for the given :work_type
36
36
  def self.decorate_form_with_adapter_logic(work_type:)
37
+ # In Hyrax flexible metadata mode, `Hyrax::FormFields(:child_works_from_pdf_splitting)`
38
+ # is a no-op but calling `"#{work_type}Form".constantize` unconditionally causes a
39
+ # circular autoload error when a model is loaded before its form.
40
+ return if Hyrax.config.try(:flexible?)
41
+
37
42
  form = "#{work_type}Form".constantize
38
43
  form.send(:include, Hyrax::FormFields(:child_works_from_pdf_splitting)) if
39
- Hyrax.config.try(:work_include_metadata?) && !Hyrax.config.try(:flexible?) && !form.included_modules.include?(Hyrax::FormFields(:child_works_from_pdf_splitting))
44
+ Hyrax.config.try(:work_include_metadata?) && !form.included_modules.include?(Hyrax::FormFields(:child_works_from_pdf_splitting))
40
45
  form
41
46
  end
42
47
 
@@ -1,3 +1,3 @@
1
1
  module IiifPrint
2
- VERSION = '3.0.11'.freeze
2
+ VERSION = '3.0.12'.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.11
4
+ version: 3.0.12
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: 2026-03-05 00:00:00.000000000 Z
17
+ date: 2026-03-06 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: blacklight_iiif_search
@@ -511,7 +511,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
511
511
  - !ruby/object:Gem::Version
512
512
  version: '0'
513
513
  requirements: []
514
- rubygems_version: 3.3.20
514
+ rubygems_version: 3.1.6
515
515
  signing_key:
516
516
  specification_version: 4
517
517
  summary: IiifPrint is a gem (Rails "engine") for Hyrax-based digital repository applications