dor-services-client 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dor/services/client/version.rb +1 -1
- data/lib/dor/services/client/workflow.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed804aaf2e6cd1c85b743b0d625fa2dc8448996bf395ecb29c1b0ba60d0b655
|
4
|
+
data.tar.gz: 172a883790b9eb3f2c3f68214a4e6014c10670ee0ad1285f814b87e4ff9f38be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82368e50a6b9eb2b732dabfca101a0ae5bbde981501995e472815dac0433b7f05637f983d39b1164c2252018db7c7551f8a0b84ab5a4b94b640e213483615028
|
7
|
+
data.tar.gz: a7321922ea212bf4f5c8c6df67b079d698353ee096c6739bbc08c5813d6d525a19bd3a93606383344b68c4fb1792222d5b79f465d1e3abed53dcd6fa042039aa
|
@@ -5,6 +5,9 @@ module Dor
|
|
5
5
|
class Client
|
6
6
|
# API calls that are about workflow
|
7
7
|
class Workflow < VersionedService
|
8
|
+
extend Deprecation
|
9
|
+
self.deprecation_horizon = 'dor-service-client version 2.0'
|
10
|
+
|
8
11
|
# @param object_identifier [String] the pid for the object
|
9
12
|
def initialize(connection:, version:, object_identifier:)
|
10
13
|
super(connection: connection, version: version)
|
@@ -21,6 +24,7 @@ module Dor
|
|
21
24
|
end
|
22
25
|
raise UnexpectedResponse, "#{resp.reason_phrase}: #{resp.status} (#{resp.body})" unless resp.success?
|
23
26
|
end
|
27
|
+
deprecation_deprecate create: 'Create will be removed. Use dor-workflow-service instead'
|
24
28
|
|
25
29
|
private
|
26
30
|
|
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: 1.
|
4
|
+
version: 1.11.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: 2019-06-
|
12
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|