dor-services-client 15.19.0 → 15.19.1

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: 88d6f936117de488ef45de6d9ddef62c028738be16590a0f20582983467947f9
4
- data.tar.gz: e4dc44e393e678e752e88eb8e3d62b3ebca60ca18653c7d42482c5ad02c90e9a
3
+ metadata.gz: 4114ac9d54c635344a05f5f2568bb5ba34253bc4bce9b582022b875b603336b9
4
+ data.tar.gz: edb4e3a047e0dabf506e4e89e03b7f59527627b77520a9def8d2d3daa9ded9a1
5
5
  SHA512:
6
- metadata.gz: ffd0bb4a713b05adf80b07b0a8b984cf8e754bf8111524d9cc1ee7bd60b62879d0d9ab835b0e0debbc4a3078cb388aecfe68bc87b1e29372bb441c81cf0f0d00
7
- data.tar.gz: ec1d08c70b186eb960df664792e77354e9377f42545fd95cd4a0a7ad0e55ea46ffe52d9754642b224999905b64aaf17e31ce53f036c342e076343b2403110166
6
+ metadata.gz: 4c7ef185c5e7608ec875ac216a089be50c472c648dcc826ab59455e69785844a82007da5b0abd0a3cddc5acb24f9195fc5ee8f79134ebff9af0f671a211c53f2
7
+ data.tar.gz: a0eec5090500cf1dab6884ecf159d5de33f90d9947f7f55c61b5c365b520b2731e370c8ec5b07dc51f95bb65077d94c509919f35c4a6fb2dfec814813c0fd805
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor-services-client (15.19.0)
4
+ dor-services-client (15.19.1)
5
5
  activesupport (>= 7.0.0)
6
6
  cocina-models (~> 0.105.0)
7
7
  deprecation
@@ -96,21 +96,21 @@ GEM
96
96
  i18n (1.14.7)
97
97
  concurrent-ruby (~> 1.0)
98
98
  ice_nine (0.11.2)
99
- json (2.12.2)
99
+ json (2.13.0)
100
100
  jsonpath (1.1.5)
101
101
  multi_json
102
102
  language_server-protocol (3.17.0.5)
103
103
  lint_roller (1.1.0)
104
104
  logger (1.7.0)
105
105
  minitest (5.25.5)
106
- multi_json (1.16.0)
106
+ multi_json (1.17.0)
107
107
  net-http (0.6.0)
108
108
  uri
109
- nokogiri (1.18.8-arm64-darwin)
109
+ nokogiri (1.18.9-arm64-darwin)
110
110
  racc (~> 1.4)
111
- nokogiri (1.18.8-x86_64-darwin)
111
+ nokogiri (1.18.9-x86_64-darwin)
112
112
  racc (~> 1.4)
113
- nokogiri (1.18.8-x86_64-linux-gnu)
113
+ nokogiri (1.18.9-x86_64-linux-gnu)
114
114
  racc (~> 1.4)
115
115
  openapi_parser (1.0.0)
116
116
  optimist (3.2.1)
@@ -151,7 +151,7 @@ GEM
151
151
  rubocop-ast (>= 1.45.1, < 2.0)
152
152
  ruby-progressbar (~> 1.7)
153
153
  unicode-display_width (>= 2.4.0, < 4.0)
154
- rubocop-ast (1.45.1)
154
+ rubocop-ast (1.46.0)
155
155
  parser (>= 3.3.7.2)
156
156
  prism (~> 1.4)
157
157
  rubocop-rspec (3.6.0)
@@ -163,13 +163,13 @@ GEM
163
163
  docile (~> 1.1)
164
164
  simplecov-html (~> 0.11)
165
165
  simplecov_json_formatter (~> 0.1)
166
- simplecov-html (0.13.1)
166
+ simplecov-html (0.13.2)
167
167
  simplecov_json_formatter (0.1.4)
168
168
  super_diff (0.16.0)
169
169
  attr_extras (>= 6.2.4)
170
170
  diff-lcs
171
171
  patience_diff
172
- thor (1.3.2)
172
+ thor (1.4.0)
173
173
  tzinfo (2.0.6)
174
174
  concurrent-ruby (~> 1.0)
175
175
  unicode-display_width (3.1.4)
@@ -203,4 +203,4 @@ DEPENDENCIES
203
203
  webmock
204
204
 
205
205
  BUNDLED WITH
206
- 2.6.9
206
+ 2.7.0
@@ -19,7 +19,7 @@ module Dor
19
19
  # Retrieves the process status of the given workflow for the given object identifier
20
20
  # @return [String,nil] status
21
21
  def status
22
- doc = object_workflow_client.find.xml
22
+ doc = object_workflow_client.find.ng_xml
23
23
 
24
24
  processes = doc.root.xpath("//process[@name='#{process}']")
25
25
  process = processes.max { |a, b| a.attr('version').to_i <=> b.attr('version').to_i }
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '15.19.0'
6
+ VERSION = '15.19.1'
7
7
  end
8
8
  end
9
9
  end
@@ -61,6 +61,10 @@ module Dor
61
61
  incomplete_processes_for(version: latest_version)
62
62
  end
63
63
 
64
+ def ng_xml
65
+ @ng_xml ||= Nokogiri::XML(@xml)
66
+ end
67
+
64
68
  attr_reader :xml
65
69
 
66
70
  private
@@ -78,10 +82,6 @@ module Dor
78
82
  ng_xml.xpath("/workflow/process[@name = '#{name}']")
79
83
  end
80
84
 
81
- def ng_xml
82
- @ng_xml ||= Nokogiri::XML(@xml)
83
- end
84
-
85
85
  def to_process(node)
86
86
  attributes = node ? node.attributes.to_h { |k, v| [k.to_sym, v.value] } : {}
87
87
  Process.new(parent: self, **attributes)
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.19.0
4
+ version: 15.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  - Michael Giarlo
9
+ autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 1980-01-02 00:00:00.000000000 Z
12
+ date: 2025-07-21 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
@@ -220,6 +221,7 @@ dependencies:
220
221
  - - ">="
221
222
  - !ruby/object:Gem::Version
222
223
  version: '0'
224
+ description:
223
225
  email:
224
226
  - jcoyne@justincoyne.com
225
227
  - leftwing@alumni.rutgers.edu
@@ -275,6 +277,7 @@ homepage: https://github.com/sul-dlss/dor-services-client
275
277
  licenses: []
276
278
  metadata:
277
279
  rubygems_mfa_required: 'true'
280
+ post_install_message:
278
281
  rdoc_options: []
279
282
  require_paths:
280
283
  - lib
@@ -292,7 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
295
  - !ruby/object:Gem::Version
293
296
  version: '0'
294
297
  requirements: []
295
- rubygems_version: 3.6.9
298
+ rubygems_version: 3.5.11
299
+ signing_key:
296
300
  specification_version: 4
297
301
  summary: A client for dor-services-app
298
302
  test_files: []