dor-services-client 15.40.0 → 15.41.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: f363820085b244e13a9e6fff41add6e49193678475dce3de0b1c99e8f524acd4
4
+ data.tar.gz: 0dd024a5b119ce216e47ec7c445efd626ac98832559fb8ced4b73b1c216a19b9
5
5
  SHA512:
6
- metadata.gz: eb89aca2f0c0d1db5a02dcb7055682102dd07b6dbe2c799e7cb621289fa8e287c74f459741feded6701ae118e73a440299f0c569dfd154701c8370a5463b1b78
7
- data.tar.gz: bfd64c02743b772ffc6363bf31e362a2d0653bb8a314442772aca507263567c7850d68c7d878e9d00f84d7a649631f8f08eb19bb7107f7e3f26eb7e05ba6aa47
6
+ metadata.gz: 360d6c05af0d9e562c4b59d86f5833ece6c3fbd49fb390a46592b5b83f4835bae3dbaa1319374b084bf109745255fd6cd549eef64ef46e20f9eb3804e0c8f09b
7
+ data.tar.gz: 84c492c1b023525516ed8d35ef3286f505a8b8841fb41bbdd43c5524076e1dadc32364d2a203e3f5b87ddf264c60495127992fbbdce8bf0409bb375eff741dde
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor-services-client (15.40.0)
4
+ dor-services-client (15.41.0)
5
5
  activesupport (>= 7.0.0)
6
6
  cocina-models (~> 0.116.0)
7
7
  deprecation
@@ -32,7 +32,7 @@ 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
38
  cocina-models (0.116.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)
@@ -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.41.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.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne