moab-versioning 5.1.0 → 5.2.0

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: 6e9810b925a8e475771162b8f367bea2555e1a9e663993040f84256d1897a1bc
4
- data.tar.gz: b329ea89a3b4ba5705cb63a5201d35125772d2dc872942b0df7cf62fc3c260c6
3
+ metadata.gz: c20a012b9d9c481ddfeed15296e61aaf6648bed0cd1d0065a8b0662301e94a1b
4
+ data.tar.gz: 8d5a96d608b7334f117b5ee9faa3cbe16f82f543bd3af0d23d11371df2181d76
5
5
  SHA512:
6
- metadata.gz: 399fdfdef956fbec356495e4346b7a4114c921bf84df1f24bb1595795d045c6ef2ad5618b148c53364375ef7178fd99ac1be57a9aac4c9a2e184334387031d57
7
- data.tar.gz: 29610e9c9a72e57ca5340e5685d6582897bda53f79904bdeccc0bc62f485827eb72eff4afb86ca2258bce47052f56f204c8ec987b94bef55579002fa045caa3c
6
+ metadata.gz: 296fd7985772e8296f879e955066f7e3c71b00a6a83d9893aa124de5d900a427ca61d57b221f4227ae54210f3518111a5d99ae60db62ed9dbb25818871f8e87d
7
+ data.tar.gz: 701adc9ee529e10fd608ed890f8f8a3f978cb3ec023f58d8a75bd11a0caa6e27f4631ec4f73c9280cf8de914da855d100be3cd077f029ec91fab4b07749c627c
@@ -128,11 +128,11 @@ module Moab
128
128
  # @api external
129
129
  # @return [SignatureCatalog] The signature catalog of the digital object as of this version
130
130
  def signature_catalog
131
- if version_id > 0
132
- SignatureCatalog.read_xml_file(@version_pathname.join('manifests'))
133
- else
134
- SignatureCatalog.new(digital_object_id: @storage_object.digital_object_id)
135
- end
131
+ @signature_catalog ||= if version_id > 0
132
+ SignatureCatalog.read_xml_file(@version_pathname.join('manifests'))
133
+ else
134
+ SignatureCatalog.new(digital_object_id: @storage_object.digital_object_id)
135
+ end
136
136
  end
137
137
 
138
138
  # @api internal
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moab-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Weber
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-07-07 00:00:00.000000000 Z
14
+ date: 2022-08-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: druid-tools
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.2.32
228
+ rubygems_version: 3.3.7
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: Ruby implementation of digital object versioning toolkit used by the SULAIR