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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9eb1dd2a0cc68a36000e3d29254a9c35078ba8b6745282b09c07031e7a9ad0ba
4
- data.tar.gz: '02549f42301be4c3bb57534ea025e930e60cb4f8753aa9eae8ae1564d8aa27c9'
3
+ metadata.gz: eed804aaf2e6cd1c85b743b0d625fa2dc8448996bf395ecb29c1b0ba60d0b655
4
+ data.tar.gz: 172a883790b9eb3f2c3f68214a4e6014c10670ee0ad1285f814b87e4ff9f38be
5
5
  SHA512:
6
- metadata.gz: 20d3b410f88c8272d668ac26252c955bb2c152ebfde9105a33212a8f9bf5eee69260a0df81217f6300265068876db14d6a1bf252fc81346f59c9834375b2b3e1
7
- data.tar.gz: 24638809a238ecbe7ec7c387d26e9f2890a542627c91356a9a96592bd6c75268848d7ac0c95fe152185a5bde5687354579ae7e61a873ec3ef691519c70a477b1
6
+ metadata.gz: 82368e50a6b9eb2b732dabfca101a0ae5bbde981501995e472815dac0433b7f05637f983d39b1164c2252018db7c7551f8a0b84ab5a4b94b640e213483615028
7
+ data.tar.gz: a7321922ea212bf4f5c8c6df67b079d698353ee096c6739bbc08c5813d6d525a19bd3a93606383344b68c4fb1792222d5b79f465d1e3abed53dcd6fa042039aa
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '1.10.0'
6
+ VERSION = '1.11.0'
7
7
  end
8
8
  end
9
9
  end
@@ -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.10.0
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-03 00:00:00.000000000 Z
12
+ date: 2019-06-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport