dor-services-client 14.4.0 → 14.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd7841c236c50b58fae7790f830fe16ccdf406046be4739d758bba74dd0155aa
4
- data.tar.gz: 7e6f87de10e9112ce4301ead05ca56115ecc7c956d347f3447856f7afe29882f
3
+ metadata.gz: b8ee28c0d6503ac6cc8e3c39aca64fd7d191cc6f6a7bac04ef4f7424bf92a760
4
+ data.tar.gz: cf304665caa7b4f9e5412da754e784205b493e99add1e88dede7f37d34529819
5
5
  SHA512:
6
- metadata.gz: ea9ca5c81c500d8782f89b7ec7a8efc615116e4c98d306ee6c8d16d3fd144d6b36b1a162a266adf681c2a91aa48f5bc842dbccbcfe6e334b38641b45d7524240
7
- data.tar.gz: 20ae566854c4f8eb4f95a6861f6c89d0d4594d3590d979fda9774f2a06d7c8dc1b8be5ddaa016479e54759091bba5c14da761abb48e7c01d6246990d9d395837
6
+ metadata.gz: 04f1f79f78d69c6e150e875fd962b95e61bf52f73aff4abc6471df993ff1969e5b7121e8d3e6a437329768df227ef326485361a945df827ac71ce0bc73d999e0
7
+ data.tar.gz: 4508c1c0e766235e898d40c0a7da1609ba1e203350141c0f091be66508205a07a5b530271479dd7048143b63736adbe0e8989b4492395dee2632107c0b7c711d
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor-services-client (14.4.0)
4
+ dor-services-client (14.5.0)
5
5
  activesupport (>= 4.2, < 8)
6
- cocina-models (~> 0.95.1)
6
+ cocina-models (~> 0.96.0)
7
7
  deprecation
8
8
  faraday (~> 2.0)
9
9
  faraday-retry
@@ -29,7 +29,7 @@ GEM
29
29
  base64 (0.2.0)
30
30
  bigdecimal (3.1.7)
31
31
  byebug (11.1.3)
32
- cocina-models (0.95.1)
32
+ cocina-models (0.96.0)
33
33
  activesupport
34
34
  deprecation
35
35
  dry-struct (~> 1.0)
data/README.md CHANGED
@@ -122,7 +122,7 @@ object_client.version.inventory
122
122
  object_client.version.current
123
123
  object_client.version.openable?
124
124
  # see dor-services-app openapi.yml for optional params
125
- object_client.version.open(description: 'Changed title', significance: 'minor')
125
+ object_client.version.open(description: 'Changed title')
126
126
  # see dor-services-app openapi.yml for optional params
127
127
  object_client.version.close
128
128
 
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.required_ruby_version = '>= 3.0', '< 4'
26
26
 
27
27
  spec.add_dependency 'activesupport', '>= 4.2', '< 8'
28
- spec.add_dependency 'cocina-models', '~> 0.95.1'
28
+ spec.add_dependency 'cocina-models', '~> 0.96.0'
29
29
  spec.add_dependency 'deprecation', '>= 0'
30
30
  spec.add_dependency 'faraday', '~> 2.0'
31
31
  spec.add_dependency 'faraday-retry'
@@ -15,7 +15,6 @@ module Dor
15
15
 
16
16
  # Start accession on an object (start specified workflow, assemblyWF by default, and version if needed)
17
17
  # @param params [Hash<Symbol,String>] optional parameter hash
18
- # @option params [String] :significance set significance (major/minor/patch) of version change - required
19
18
  # @option params [String] :description set description of version change - required
20
19
  # @option params [String] :opening_user_name add opening username to the event - optional
21
20
  # @option params [String] :workflow the workflow to start - defaults to 'assemblyWF'
@@ -51,7 +51,6 @@ module Dor
51
51
 
52
52
  # Open new version for an object
53
53
  # @param description [String] a description of the object version being opened - required
54
- # @param significance [String] 'major' 'minor' or 'admin' - required
55
54
  # @param opening_user_name [String] sunetid - defaults to nil
56
55
  # @param assume_accessioned [Boolean] if true, does not check whether object has been accessioned; defaults to false
57
56
  # @raise [NotFoundResponse] when the response is a 404 (object not found)
@@ -70,7 +69,6 @@ module Dor
70
69
 
71
70
  # Close current version for an object
72
71
  # @param description [String] (optional) - a description of the object version being opened
73
- # @param significance [String] (optional) - 'major' 'minor' or 'admin'
74
72
  # @param user_name [String] (optional) - sunetid
75
73
  # @param start_accession [Boolean] (optional) - whether to start accessioning workflow; defaults to true
76
74
  # @raise [NotFoundResponse] when the response is a 404 (object not found)
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '14.4.0'
6
+ VERSION = '14.5.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: 14.4.0
4
+ version: 14.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-03-25 00:00:00.000000000 Z
12
+ date: 2024-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.95.1
40
+ version: 0.96.0
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.95.1
47
+ version: 0.96.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: deprecation
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  - !ruby/object:Gem::Version
279
279
  version: '0'
280
280
  requirements: []
281
- rubygems_version: 3.4.18
281
+ rubygems_version: 3.5.6
282
282
  signing_key:
283
283
  specification_version: 4
284
284
  summary: A client for dor-services-app