dor-services-client 15.40.0 → 15.42.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: 58e83f90657e65cb931a62f594b8f512a4f1269b992b24c65ed770fddf561348
4
- data.tar.gz: 3b360b2d1aa16501b32991f58a268b01a25d129d2e1a3091daeec577f93fd444
3
+ metadata.gz: e8fe0558a72b62ea28011cf9b10af608ff2de71db029cdca3338cf77ecade005
4
+ data.tar.gz: 60c5860287e44645fc11cad2e358ca2e5eff1f78cba1fae17b96bd7c63284d2b
5
5
  SHA512:
6
- metadata.gz: eb89aca2f0c0d1db5a02dcb7055682102dd07b6dbe2c799e7cb621289fa8e287c74f459741feded6701ae118e73a440299f0c569dfd154701c8370a5463b1b78
7
- data.tar.gz: bfd64c02743b772ffc6363bf31e362a2d0653bb8a314442772aca507263567c7850d68c7d878e9d00f84d7a649631f8f08eb19bb7107f7e3f26eb7e05ba6aa47
6
+ metadata.gz: 1b341bd460840755b90a7685cc20cd78a800ab32b7d18b3a58b704ada94c49248ee0d825a8e1c8e8f8b32e20294bfbb2df139d80171f3b91df1235a5ffc16998
7
+ data.tar.gz: e3fa51474c9002ddb1308a9256937c0030799a4b983fcb85178c655ca09b2148000e9ce7c6d38f24eaa988b048e9137fb98c6631965db7ab43d1d184b222f4a0
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor-services-client (15.40.0)
4
+ dor-services-client (15.42.0)
5
5
  activesupport (>= 7.0.0)
6
- cocina-models (~> 0.116.0)
6
+ cocina-models (~> 0.117.0)
7
7
  deprecation
8
8
  faraday (~> 2.0)
9
9
  faraday-retry
@@ -32,10 +32,10 @@ GEM
32
32
  ast (2.4.3)
33
33
  attr_extras (7.1.0)
34
34
  base64 (0.3.0)
35
- bigdecimal (4.1.1)
35
+ bigdecimal (4.1.2)
36
36
  byebug (13.0.0)
37
37
  reline (>= 0.6.0)
38
- cocina-models (0.116.0)
38
+ cocina-models (0.117.0)
39
39
  activesupport
40
40
  deprecation
41
41
  dry-struct (~> 1.0)
@@ -101,7 +101,7 @@ GEM
101
101
  concurrent-ruby (~> 1.0)
102
102
  ice_nine (0.11.2)
103
103
  io-console (0.8.2)
104
- json (2.19.3)
104
+ json (2.19.4)
105
105
  json_schemer (2.5.0)
106
106
  bigdecimal
107
107
  hana (~> 1.3)
@@ -112,7 +112,7 @@ GEM
112
112
  language_server-protocol (3.17.0.5)
113
113
  lint_roller (1.1.0)
114
114
  logger (1.7.0)
115
- minitest (6.0.3)
115
+ minitest (6.0.5)
116
116
  drb (~> 2.0)
117
117
  prism (~> 1.5)
118
118
  multi_json (1.20.1)
@@ -125,7 +125,7 @@ GEM
125
125
  nokogiri (1.19.2-x86_64-linux-gnu)
126
126
  racc (~> 1.4)
127
127
  optimist (3.2.1)
128
- parallel (2.0.1)
128
+ parallel (2.1.0)
129
129
  parser (3.3.11.1)
130
130
  ast (~> 2.4.1)
131
131
  racc
@@ -135,7 +135,7 @@ GEM
135
135
  public_suffix (7.0.5)
136
136
  racc (1.8.1)
137
137
  rainbow (3.1.1)
138
- rake (13.3.1)
138
+ rake (13.4.2)
139
139
  regexp_parser (2.12.0)
140
140
  reline (0.6.3)
141
141
  io-console (~> 0.5)
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.required_ruby_version = '>= 3.0', '< 5'
26
26
 
27
27
  spec.add_dependency 'activesupport', '>= 7.0.0'
28
- spec.add_dependency 'cocina-models', '~> 0.116.0'
28
+ spec.add_dependency 'cocina-models', '~> 0.117.0'
29
29
  spec.add_dependency 'deprecation', '>= 0'
30
30
  spec.add_dependency 'faraday', '~> 2.0'
31
31
  spec.add_dependency 'faraday-retry'
@@ -106,11 +106,13 @@ module Dor
106
106
  # @param description [String] (optional) - a description of the object version being opened
107
107
  # @param user_name [String] (optional) - sunetid
108
108
  # @param start_accession [Boolean] (optional) - whether to start accessioning workflow; defaults to true
109
+ # @param lane_id [String] (optional) - lane id to use for accessioning workflow ('low', 'default', 'high')
109
110
  # @param user_versions [String] (optional - values are none, new, or update) - create, update, or do nothing with user versions on close; defaults to none.
110
111
  # @raise [NotFoundResponse] when the response is a 404 (object not found)
111
112
  # @raise [UnexpectedResponse] when the response is not successful.
112
113
  # @return [String] a message confirming successful closing
113
114
  def close(**params)
115
+ params['lane-id'] = params.delete(:lane_id) if params.key?(:lane_id)
114
116
  resp = connection.post do |req|
115
117
  req.url close_version_path
116
118
  req.params = params.compact
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '15.40.0'
6
+ VERSION = '15.42.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.40.0
4
+ version: 15.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.116.0
33
+ version: 0.117.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.116.0
40
+ version: 0.117.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: deprecation
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  - !ruby/object:Gem::Version
308
308
  version: '0'
309
309
  requirements: []
310
- rubygems_version: 4.0.6
310
+ rubygems_version: 4.0.7
311
311
  specification_version: 4
312
312
  summary: A client for dor-services-app
313
313
  test_files: []