dor-workflow-client 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/dor-workflow-client.gemspec +3 -2
- data/lib/dor/workflow/client.rb +5 -11
- data/lib/dor/workflow/client/version.rb +1 -1
- data/lib/dor/workflow/client/workflow_routes.rb +0 -1
- data/lib/dor/{models → workflow}/response/process.rb +0 -0
- data/lib/dor/{models → workflow}/response/update.rb +0 -2
- data/lib/dor/{models → workflow}/response/workflow.rb +0 -2
- data/lib/dor/{models → workflow}/response/workflows.rb +0 -2
- metadata +26 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81786305832c21a2376a2a12c2b14079cc2f7ec8d6aeb9a9ae5d9fad34745080
|
4
|
+
data.tar.gz: 37205e5e1f36ae2f90e3610ba2b02430ed41b6a6051cf0a833e5cddc0cc95465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9671706b893217b8acf764b1d13a80f3d0e85037b383c7140d55a4af099f308a05ae38d5d12dc164b5b5cd854426b5d02271aed49d34753a2bb9e0d3efa0e2
|
7
|
+
data.tar.gz: 210b2aac7acba6e3abf2b407d6dc94759869610ca6638851b9c9d7a1695d91cd7c7f0ba7c603e600cb40e10dbafa41faaefa3356e1c21ec5d6d9e1d308ffcd43
|
data/.travis.yml
CHANGED
data/dor-workflow-client.gemspec
CHANGED
@@ -17,11 +17,12 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(spec)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
|
-
gem.add_dependency 'activesupport', '>= 3.2.1', '<
|
21
|
-
gem.add_dependency 'deprecation', '
|
20
|
+
gem.add_dependency 'activesupport', '>= 3.2.1', '< 7'
|
21
|
+
gem.add_dependency 'deprecation', '>= 0.99.0'
|
22
22
|
gem.add_dependency 'faraday', '~> 0.9', '>= 0.9.2'
|
23
23
|
gem.add_dependency 'faraday_middleware'
|
24
24
|
gem.add_dependency 'nokogiri', '~> 1.6'
|
25
|
+
gem.add_dependency 'zeitwerk', '~> 2.1'
|
25
26
|
|
26
27
|
gem.add_development_dependency 'rake'
|
27
28
|
gem.add_development_dependency 'rspec', '~> 3.3'
|
data/lib/dor/workflow/client.rb
CHANGED
@@ -3,17 +3,11 @@
|
|
3
3
|
require 'active_support'
|
4
4
|
require 'active_support/core_ext'
|
5
5
|
require 'nokogiri'
|
6
|
-
require '
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
require 'dor/workflow/client/connection_factory'
|
12
|
-
require 'dor/workflow/client/lifecycle_routes'
|
13
|
-
require 'dor/workflow/client/queues'
|
14
|
-
require 'dor/workflow/client/requestor'
|
15
|
-
require 'dor/workflow/client/version_routes'
|
16
|
-
require 'dor/workflow/client/workflow_routes'
|
6
|
+
require 'zeitwerk'
|
7
|
+
|
8
|
+
loader = Zeitwerk::Loader.new
|
9
|
+
loader.push_dir(File.absolute_path("#{__FILE__}/../../.."))
|
10
|
+
loader.setup
|
17
11
|
|
18
12
|
module Dor
|
19
13
|
module Workflow
|
@@ -32,7 +32,6 @@ module Dor
|
|
32
32
|
# it will replace the old workflow. You have the option of creating a datastream or not.
|
33
33
|
# Returns true on success. Caller must handle any exceptions.
|
34
34
|
#
|
35
|
-
# @param [String] repo The repository the object resides in. The service recoginzes "dor" and "sdr" at the moment
|
36
35
|
# @param [String] druid The id of the object
|
37
36
|
# @param [String] workflow_name The name of the workflow you want to create. This must correspond with a workflow
|
38
37
|
# name that is known by the workflow service.
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-workflow-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willy Mene
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 3.2.1
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,21 +30,21 @@ dependencies:
|
|
30
30
|
version: 3.2.1
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: deprecation
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.99.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:
|
47
|
+
version: 0.99.0
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: faraday
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,20 @@ dependencies:
|
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '1.6'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: zeitwerk
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2.1'
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '2.1'
|
96
110
|
- !ruby/object:Gem::Dependency
|
97
111
|
name: rake
|
98
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,10 +209,6 @@ files:
|
|
195
209
|
- README.md
|
196
210
|
- Rakefile
|
197
211
|
- dor-workflow-client.gemspec
|
198
|
-
- lib/dor/models/response/process.rb
|
199
|
-
- lib/dor/models/response/update.rb
|
200
|
-
- lib/dor/models/response/workflow.rb
|
201
|
-
- lib/dor/models/response/workflows.rb
|
202
212
|
- lib/dor/workflow/client.rb
|
203
213
|
- lib/dor/workflow/client/connection_factory.rb
|
204
214
|
- lib/dor/workflow/client/lifecycle_routes.rb
|
@@ -207,6 +217,10 @@ files:
|
|
207
217
|
- lib/dor/workflow/client/version.rb
|
208
218
|
- lib/dor/workflow/client/version_routes.rb
|
209
219
|
- lib/dor/workflow/client/workflow_routes.rb
|
220
|
+
- lib/dor/workflow/response/process.rb
|
221
|
+
- lib/dor/workflow/response/update.rb
|
222
|
+
- lib/dor/workflow/response/workflow.rb
|
223
|
+
- lib/dor/workflow/response/workflows.rb
|
210
224
|
- lib/dor/workflow_exception.rb
|
211
225
|
- spec/models/response/workflow_spec.rb
|
212
226
|
- spec/models/response/workflows_spec.rb
|