libis-workflow 2.0.beta.22 → 2.0.beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b4756ddb88242e6a0f79b5ebcf0fafcbb7fce61
4
- data.tar.gz: 757aa3456f5ba819372989e72f322aeb12944b4d
3
+ metadata.gz: a1e3846531cd8f6b4965289ffdffc9a60004be21
4
+ data.tar.gz: 52a91fc4e6bd9e282c32c4be332b9c414ce9b602
5
5
  SHA512:
6
- metadata.gz: d4c901a7ad657e0cc6d1654f31fd1e1eb9eacc31c3577f94bfe3212fd144cba4ab73bd748eb673c844055b4988766cf6d36a46ed7c1a3737673b2cfc177c9a64
7
- data.tar.gz: fe170084bd31d495c636c332c6537e0a807d18fc9e876d541a78d925f0c41cdd5bb3e9896648134b21a913f1150b5397f350b3df0174a97846595559249c96aa
6
+ metadata.gz: 12908b93e8e15cbf9c6fa8e6319020a6a649333fa467d67619c98783b8aad34a8598751575eb219f01fbb3af6d9f708b986804d64ccbf24a7e499ef75b5af846
7
+ data.tar.gz: 2a4fb223c9754181cb56598a4bb5455b2fb97e5e15d250782b3af799b2c582df923a46690e590863aa00890149f970c0abe62734d09f9a311c4bd902594a63b6
@@ -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.22' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
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.22
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-05 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler