libis-workflow 2.0.beta.22 → 2.0.beta.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libis/workflow/task.rb +3 -3
- data/lib/libis/workflow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e3846531cd8f6b4965289ffdffc9a60004be21
|
4
|
+
data.tar.gz: 52a91fc4e6bd9e282c32c4be332b9c414ce9b602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12908b93e8e15cbf9c6fa8e6319020a6a649333fa467d67619c98783b8aad34a8598751575eb219f01fbb3af6d9f708b986804d64ccbf24a7e499ef75b5af846
|
7
|
+
data.tar.gz: 2a4fb223c9754181cb56598a4bb5455b2fb97e5e15d250782b3af799b2c582df923a46690e590863aa00890149f970c0abe62734d09f9a311c4bd902594a63b6
|
data/lib/libis/workflow/task.rb
CHANGED
@@ -174,17 +174,17 @@ module Libis
|
|
174
174
|
end
|
175
175
|
|
176
176
|
def substatus_check(status, item, task_or_item)
|
177
|
-
if (failed = status[:FAILED] > 0
|
177
|
+
if (failed = status[:FAILED]) > 0
|
178
178
|
warn "%d sub#{task_or_item}(s) failed", item, failed
|
179
179
|
update_status(item, :FAILED)
|
180
180
|
end
|
181
181
|
|
182
|
-
if (halted = status[:ASYNC_HALT] > 0
|
182
|
+
if (halted = status[:ASYNC_HALT]) > 0
|
183
183
|
warn "%d sub#{task_or_item}(s) halted in async process", item, halted
|
184
184
|
update_status(item, :ASYNC_HALT)
|
185
185
|
end
|
186
186
|
|
187
|
-
if (waiting = status[:ASYNC_WAIT] > 0
|
187
|
+
if (waiting = status[:ASYNC_WAIT]) > 0
|
188
188
|
warn "waiting for %d sub#{task_or_item}(s) in async process", item, waiting
|
189
189
|
update_status(item, :ASYNC_WAIT)
|
190
190
|
end
|
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
module Libis
|
4
4
|
module Workflow
|
5
|
-
VERSION = '2.0.beta.
|
5
|
+
VERSION = '2.0.beta.23' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
6
6
|
end
|
7
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libis-workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.beta.
|
4
|
+
version: 2.0.beta.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|