dor-workflow-service 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +26 -135
- data/Gemfile +4 -2
- data/Rakefile +7 -4
- data/bin/console +1 -0
- data/dor-workflow-service.gemspec +11 -8
- data/lib/dor-workflow-service.rb +2 -0
- data/lib/dor/models/response/workflow.rb +26 -0
- data/lib/dor/services/workflow_service.rb +59 -40
- data/lib/dor/workflow_exception.rb +2 -0
- data/lib/dor/workflow_version.rb +3 -1
- data/spec/models/response/workflow_spec.rb +36 -0
- data/spec/plumbing_spec.rb +3 -1
- data/spec/spec_helper.rb +3 -1
- data/spec/workflow_service_spec.rb +94 -72
- metadata +72 -41
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: 2.
|
4
|
+
version: 2.5.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-01
|
12
|
+
date: 2019-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -32,53 +32,39 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '6'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
36
|
-
requirement: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.6'
|
41
|
-
type: :runtime
|
42
|
-
prerelease: false
|
43
|
-
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.6'
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: retries
|
35
|
+
name: confstruct
|
50
36
|
requirement: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
40
|
+
version: 0.2.7
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '2'
|
55
44
|
type: :runtime
|
56
45
|
prerelease: false
|
57
46
|
version_requirements: !ruby/object:Gem::Requirement
|
58
47
|
requirements:
|
59
48
|
- - ">="
|
60
49
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
50
|
+
version: 0.2.7
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2'
|
62
54
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
55
|
+
name: deprecation
|
64
56
|
requirement: !ruby/object:Gem::Requirement
|
65
57
|
requirements:
|
66
58
|
- - ">="
|
67
59
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
69
|
-
- - "<"
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '2'
|
60
|
+
version: '0'
|
72
61
|
type: :runtime
|
73
62
|
prerelease: false
|
74
63
|
version_requirements: !ruby/object:Gem::Requirement
|
75
64
|
requirements:
|
76
65
|
- - ">="
|
77
66
|
- !ruby/object:Gem::Version
|
78
|
-
version: 0
|
79
|
-
- - "<"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '2'
|
67
|
+
version: '0'
|
82
68
|
- !ruby/object:Gem::Dependency
|
83
69
|
name: faraday
|
84
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,13 +106,27 @@ dependencies:
|
|
120
106
|
- !ruby/object:Gem::Version
|
121
107
|
version: 4.a
|
122
108
|
- !ruby/object:Gem::Dependency
|
123
|
-
name:
|
109
|
+
name: nokogiri
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.6'
|
115
|
+
type: :runtime
|
116
|
+
prerelease: false
|
117
|
+
version_requirements: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '1.6'
|
122
|
+
- !ruby/object:Gem::Dependency
|
123
|
+
name: retries
|
124
124
|
requirement: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
126
|
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
|
-
type: :
|
129
|
+
type: :runtime
|
130
130
|
prerelease: false
|
131
131
|
version_requirements: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
@@ -134,21 +134,27 @@ dependencies:
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
|
-
name:
|
137
|
+
name: equivalent-xml
|
138
138
|
requirement: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
140
|
- - "~>"
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
142
|
+
version: '0.5'
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.5.1
|
143
146
|
type: :development
|
144
147
|
prerelease: false
|
145
148
|
version_requirements: !ruby/object:Gem::Requirement
|
146
149
|
requirements:
|
147
150
|
- - "~>"
|
148
151
|
- !ruby/object:Gem::Version
|
149
|
-
version: '
|
152
|
+
version: '0.5'
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 0.5.1
|
150
156
|
- !ruby/object:Gem::Dependency
|
151
|
-
name:
|
157
|
+
name: rake
|
152
158
|
requirement: !ruby/object:Gem::Requirement
|
153
159
|
requirements:
|
154
160
|
- - ">="
|
@@ -176,27 +182,49 @@ dependencies:
|
|
176
182
|
- !ruby/object:Gem::Version
|
177
183
|
version: '0'
|
178
184
|
- !ruby/object:Gem::Dependency
|
179
|
-
name:
|
185
|
+
name: rspec
|
180
186
|
requirement: !ruby/object:Gem::Requirement
|
181
187
|
requirements:
|
182
188
|
- - "~>"
|
183
189
|
- !ruby/object:Gem::Version
|
184
|
-
version: '
|
185
|
-
|
190
|
+
version: '3.3'
|
191
|
+
type: :development
|
192
|
+
prerelease: false
|
193
|
+
version_requirements: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - "~>"
|
186
196
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
197
|
+
version: '3.3'
|
198
|
+
- !ruby/object:Gem::Dependency
|
199
|
+
name: rubocop
|
200
|
+
requirement: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - "~>"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: 0.63.1
|
188
205
|
type: :development
|
189
206
|
prerelease: false
|
190
207
|
version_requirements: !ruby/object:Gem::Requirement
|
191
208
|
requirements:
|
192
209
|
- - "~>"
|
193
210
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
211
|
+
version: 0.63.1
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
name: simplecov
|
214
|
+
requirement: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
195
216
|
- - ">="
|
196
217
|
- !ruby/object:Gem::Version
|
197
|
-
version: 0
|
218
|
+
version: '0'
|
219
|
+
type: :development
|
220
|
+
prerelease: false
|
221
|
+
version_requirements: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0'
|
198
226
|
- !ruby/object:Gem::Dependency
|
199
|
-
name:
|
227
|
+
name: yard
|
200
228
|
requirement: !ruby/object:Gem::Requirement
|
201
229
|
requirements:
|
202
230
|
- - ">="
|
@@ -230,9 +258,11 @@ files:
|
|
230
258
|
- bin/console
|
231
259
|
- dor-workflow-service.gemspec
|
232
260
|
- lib/dor-workflow-service.rb
|
261
|
+
- lib/dor/models/response/workflow.rb
|
233
262
|
- lib/dor/services/workflow_service.rb
|
234
263
|
- lib/dor/workflow_exception.rb
|
235
264
|
- lib/dor/workflow_version.rb
|
265
|
+
- spec/models/response/workflow_spec.rb
|
236
266
|
- spec/plumbing_spec.rb
|
237
267
|
- spec/spec_helper.rb
|
238
268
|
- spec/workflow_service_spec.rb
|
@@ -260,6 +290,7 @@ signing_key:
|
|
260
290
|
specification_version: 4
|
261
291
|
summary: Provides convenience methods to work with the DOR Workflow Service
|
262
292
|
test_files:
|
293
|
+
- spec/models/response/workflow_spec.rb
|
263
294
|
- spec/plumbing_spec.rb
|
264
295
|
- spec/spec_helper.rb
|
265
296
|
- spec/workflow_service_spec.rb
|