preservation-client 8.0.0 → 8.1.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: c187f939eb6d782795bb422308b7417f024db4c4e9d4d36e0685d7060c4150a0
4
- data.tar.gz: 9c3f855e31677b447712ba3c35d67e0ab1127b83a469fc17664be82ac0b28f70
3
+ metadata.gz: 52679fa86a95f4bcf47a2cad9aee26613bae86439a4ef3a0bb0cae6a2a392f4d
4
+ data.tar.gz: 54c90dd6cc933702c4b4e13f66af27cef44883ac4170b374e9dd79371577b6a0
5
5
  SHA512:
6
- metadata.gz: 9800102447b72c245667cd69cc90c97878a11a28663cb56012d21678355cc4e4e90dccc6e98a8481cab53ec64507e66a5968ef63d01b083b10959e79424bb54b
7
- data.tar.gz: ab270e3e62cba84ed0e560b63ab392fd48c07854b35f37abb0e0251d471d78e48df5a7cf3d8a78fb93c06a7450ea1656d99624ac1ff283e799a5f18e410c7dec
6
+ metadata.gz: aac08ec82147c622ab03f32f61138ca9dcf9ac3bb5b8823d8037b685768f492e33ce57164656ed5f667696a02821769175bf9ce424988aec29900d72e7d6f669
7
+ data.tar.gz: 15e40540086779cb3d93786ba6c0b0d17d86c8c316ea66e5785afd4f85e6dced4d01cc2a00bf5ebe263ecb2a6a05c73533f53ff05a45e5798f74cd606342f54c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- preservation-client (8.0.0)
4
+ preservation-client (8.1.0)
5
5
  activesupport (>= 4.2)
6
6
  faraday (~> 2.0)
7
7
  faraday-retry (~> 2.0)
@@ -38,7 +38,6 @@ GEM
38
38
  bigdecimal
39
39
  rexml
40
40
  diff-lcs (1.6.2)
41
- docile (1.4.1)
42
41
  drb (2.2.3)
43
42
  druid-tools (3.0.0)
44
43
  faraday (2.14.3)
@@ -53,8 +52,8 @@ GEM
53
52
  i18n (1.15.2)
54
53
  concurrent-ruby (~> 1.0)
55
54
  io-console (0.8.2)
56
- json (2.20.0)
57
- language_server-protocol (3.17.0.5)
55
+ json (2.21.1)
56
+ language_server-protocol (3.17.0.6)
58
57
  lint_roller (1.1.0)
59
58
  logger (1.7.0)
60
59
  method_source (1.1.0)
@@ -109,7 +108,7 @@ GEM
109
108
  diff-lcs (>= 1.2.0, < 2.0)
110
109
  rspec-support (~> 3.13.0)
111
110
  rspec-support (3.13.7)
112
- rubocop (1.88.0)
111
+ rubocop (1.88.2)
113
112
  json (~> 2.3)
114
113
  language_server-protocol (~> 3.17.0.2)
115
114
  lint_roller (~> 1.1.0)
@@ -120,7 +119,7 @@ GEM
120
119
  rubocop-ast (>= 1.49.0, < 2.0)
121
120
  ruby-progressbar (~> 1.7)
122
121
  unicode-display_width (>= 2.4.0, < 4.0)
123
- rubocop-ast (1.49.1)
122
+ rubocop-ast (1.50.0)
124
123
  parser (>= 3.3.7.2)
125
124
  prism (~> 1.7)
126
125
  rubocop-rake (0.7.1)
@@ -132,12 +131,7 @@ GEM
132
131
  rubocop (~> 1.86, >= 1.86.2)
133
132
  ruby-progressbar (1.13.0)
134
133
  securerandom (0.4.1)
135
- simplecov (0.22.0)
136
- docile (~> 1.1)
137
- simplecov-html (~> 0.11)
138
- simplecov_json_formatter (~> 0.1)
139
- simplecov-html (0.13.2)
140
- simplecov_json_formatter (0.1.4)
134
+ simplecov (1.0.0)
141
135
  tzinfo (2.0.6)
142
136
  concurrent-ruby (~> 1.0)
143
137
  unicode-display_width (3.2.0)
data/README.md CHANGED
@@ -115,7 +115,7 @@ Behavior notes:
115
115
 
116
116
  ### Validate the Moab
117
117
 
118
- - `client.objects.validate_moab(druid: 'ooo000oo0000')` - validates that the Moab object, used by preservationWF to ensure we have a valid Moab before replicating to various preservation endpoints
118
+ - `client.objects.validate_moab(druid: 'ooo000oo0000', lane_id: 'high)` - validates that the Moab object, used by preservationWF to ensure we have a valid Moab before replicating to various preservation endpoints
119
119
 
120
120
  ### Get difference information between passed contentMetadata.xml and files in the Moab
121
121
 
@@ -118,10 +118,11 @@ module Preservation
118
118
  # calls the endpoint to queue a ValidateMoab job for a specific druid
119
119
  # typically called by a preservationIngestWF robot
120
120
  # @param [String] druid - with or without prefix: 'druid:ab123cd4567' or 'ab123cd4567'
121
+ # @param [String, nil] lane_id - low, default, or high
121
122
  # @return [String] "ok" when job queued
122
123
  # @raise [Preservation::Client::NotFoundError] when druid is not found
123
- def validate_moab(druid:)
124
- get("objects/#{druid}/validate_moab", {}, on_data: nil)
124
+ def validate_moab(druid:, lane_id: nil)
125
+ get("objects/#{druid}/validate_moab", { 'lane-id': lane_id }.compact, on_data: nil)
125
126
  end
126
127
 
127
128
  # convenience method for retrieving latest Moab::SignatureCatalog from a Moab object,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Preservation
4
4
  class Client
5
- VERSION = '8.0.0'
5
+ VERSION = '8.1.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preservation-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0
4
+ version: 8.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naomi Dushay
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-06-29 00:00:00.000000000 Z
10
+ date: 2026-07-17 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport