dor-workflow-service 1.7.6 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.rubocop_todo.yml +5 -54
- data/.travis.yml +2 -0
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/dor-workflow-service.gemspec +18 -17
- data/lib/dor-workflow-service.rb +1 -1
- data/lib/dor/services/workflow_service.rb +134 -94
- data/lib/dor/workflow_version.rb +1 -1
- data/spec/plumbing_spec.rb +18 -0
- data/spec/spec_helper.rb +0 -3
- data/spec/workflow_service_spec.rb +162 -153
- metadata +48 -32
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-workflow-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willy Mene
|
@@ -9,144 +9,158 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ! '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 3.2.1
|
21
|
-
- -
|
21
|
+
- - <
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '5'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 3.2.1
|
31
|
-
- -
|
31
|
+
- - <
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: nokogiri
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.6.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
47
|
version: 1.6.0
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rest-client
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.7'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.7'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: retries
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
62
76
|
- !ruby/object:Gem::Dependency
|
63
77
|
name: confstruct
|
64
78
|
requirement: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ! '>='
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: 0.2.7
|
69
|
-
- -
|
83
|
+
- - <
|
70
84
|
- !ruby/object:Gem::Version
|
71
85
|
version: '2'
|
72
86
|
type: :runtime
|
73
87
|
prerelease: false
|
74
88
|
version_requirements: !ruby/object:Gem::Requirement
|
75
89
|
requirements:
|
76
|
-
- -
|
90
|
+
- - ! '>='
|
77
91
|
- !ruby/object:Gem::Version
|
78
92
|
version: 0.2.7
|
79
|
-
- -
|
93
|
+
- - <
|
80
94
|
- !ruby/object:Gem::Version
|
81
95
|
version: '2'
|
82
96
|
- !ruby/object:Gem::Dependency
|
83
97
|
name: rake
|
84
98
|
requirement: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
|
-
- -
|
100
|
+
- - ! '>='
|
87
101
|
- !ruby/object:Gem::Version
|
88
102
|
version: '0'
|
89
103
|
type: :development
|
90
104
|
prerelease: false
|
91
105
|
version_requirements: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
|
-
- -
|
107
|
+
- - ! '>='
|
94
108
|
- !ruby/object:Gem::Version
|
95
109
|
version: '0'
|
96
110
|
- !ruby/object:Gem::Dependency
|
97
111
|
name: rspec
|
98
112
|
requirement: !ruby/object:Gem::Requirement
|
99
113
|
requirements:
|
100
|
-
- -
|
114
|
+
- - ~>
|
101
115
|
- !ruby/object:Gem::Version
|
102
116
|
version: '3.3'
|
103
117
|
type: :development
|
104
118
|
prerelease: false
|
105
119
|
version_requirements: !ruby/object:Gem::Requirement
|
106
120
|
requirements:
|
107
|
-
- -
|
121
|
+
- - ~>
|
108
122
|
- !ruby/object:Gem::Version
|
109
123
|
version: '3.3'
|
110
124
|
- !ruby/object:Gem::Dependency
|
111
125
|
name: yard
|
112
126
|
requirement: !ruby/object:Gem::Requirement
|
113
127
|
requirements:
|
114
|
-
- -
|
128
|
+
- - ! '>='
|
115
129
|
- !ruby/object:Gem::Version
|
116
130
|
version: '0'
|
117
131
|
type: :development
|
118
132
|
prerelease: false
|
119
133
|
version_requirements: !ruby/object:Gem::Requirement
|
120
134
|
requirements:
|
121
|
-
- -
|
135
|
+
- - ! '>='
|
122
136
|
- !ruby/object:Gem::Version
|
123
137
|
version: '0'
|
124
138
|
- !ruby/object:Gem::Dependency
|
125
139
|
name: redcarpet
|
126
140
|
requirement: !ruby/object:Gem::Requirement
|
127
141
|
requirements:
|
128
|
-
- -
|
142
|
+
- - ! '>='
|
129
143
|
- !ruby/object:Gem::Version
|
130
144
|
version: '0'
|
131
145
|
type: :development
|
132
146
|
prerelease: false
|
133
147
|
version_requirements: !ruby/object:Gem::Requirement
|
134
148
|
requirements:
|
135
|
-
- -
|
149
|
+
- - ! '>='
|
136
150
|
- !ruby/object:Gem::Version
|
137
151
|
version: '0'
|
138
152
|
- !ruby/object:Gem::Dependency
|
139
153
|
name: equivalent-xml
|
140
154
|
requirement: !ruby/object:Gem::Requirement
|
141
155
|
requirements:
|
142
|
-
- -
|
156
|
+
- - ~>
|
143
157
|
- !ruby/object:Gem::Version
|
144
158
|
version: 0.5.1
|
145
159
|
type: :development
|
146
160
|
prerelease: false
|
147
161
|
version_requirements: !ruby/object:Gem::Requirement
|
148
162
|
requirements:
|
149
|
-
- -
|
163
|
+
- - ~>
|
150
164
|
- !ruby/object:Gem::Version
|
151
165
|
version: 0.5.1
|
152
166
|
description: Enables Ruby manipulation of the DOR Workflow Service via its REST API
|
@@ -157,12 +171,12 @@ executables:
|
|
157
171
|
extensions: []
|
158
172
|
extra_rdoc_files: []
|
159
173
|
files:
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
174
|
+
- .gitignore
|
175
|
+
- .rspec
|
176
|
+
- .rubocop.yml
|
177
|
+
- .rubocop_todo.yml
|
178
|
+
- .travis.yml
|
179
|
+
- .yardopts
|
166
180
|
- Gemfile
|
167
181
|
- LICENSE.txt
|
168
182
|
- README.md
|
@@ -174,6 +188,7 @@ files:
|
|
174
188
|
- lib/dor-workflow-service.rb
|
175
189
|
- lib/dor/services/workflow_service.rb
|
176
190
|
- lib/dor/workflow_version.rb
|
191
|
+
- spec/plumbing_spec.rb
|
177
192
|
- spec/spec_helper.rb
|
178
193
|
- spec/workflow_service_spec.rb
|
179
194
|
homepage: https://consul.stanford.edu/display/DOR/DOR+services#DORservices-initializeworkflow
|
@@ -185,12 +200,12 @@ require_paths:
|
|
185
200
|
- lib
|
186
201
|
required_ruby_version: !ruby/object:Gem::Requirement
|
187
202
|
requirements:
|
188
|
-
- -
|
203
|
+
- - ! '>='
|
189
204
|
- !ruby/object:Gem::Version
|
190
205
|
version: '0'
|
191
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
207
|
requirements:
|
193
|
-
- -
|
208
|
+
- - ! '>='
|
194
209
|
- !ruby/object:Gem::Version
|
195
210
|
version: '0'
|
196
211
|
requirements: []
|
@@ -200,6 +215,7 @@ signing_key:
|
|
200
215
|
specification_version: 4
|
201
216
|
summary: Provides convenience methods to work with the DOR Workflow Service
|
202
217
|
test_files:
|
218
|
+
- spec/plumbing_spec.rb
|
203
219
|
- spec/spec_helper.rb
|
204
220
|
- spec/workflow_service_spec.rb
|
205
221
|
has_rdoc:
|