libis-workflow 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 584b8e1d60eca39c3f050334e697a01c9385466ee97e135e2f424f6b80e49b99
4
- data.tar.gz: 7c105c4a9685e0c12acf6ddeb6bd876e702b4b6638f50c43c593e3b74f5af492
3
+ metadata.gz: 4ef72c9683a7f9bebb2148f90748b4cee50a1de85dd165f9402b496f6e333a2b
4
+ data.tar.gz: ff04df9816596546fea49280393dd25f72dab1c29c04a86932d5b7625808239b
5
5
  SHA512:
6
- metadata.gz: 90995692a972340ef2363ccf4b74c16a8bea56b19ae8ee2ee9e9efa011e4f1b65613070d0c2186946d8f82b61a00ece8ad2a65219fa1e7e129a2bec2ddb3b4ec
7
- data.tar.gz: 967aaff3c1178c2913bc8e97a82e2bbd4a94759dcac5812999adda01d3d6b4af9a20bb51c4276490818cb097326a244a773476fc91e6bf97f6f17134c1d41c60
6
+ metadata.gz: 368a2ee404589674c477bde0a252ce7df017d0cf4b25deb072caa286a53a34d141b943d870f8e2bce160a90683ee1216daf18655c41874fb95820be7c1fc1cb6
7
+ data.tar.gz: '089c486d5d7bfb719be4442f5aff7c30bbd1691eb54a36e58f204bb429c79b2e2fbc21f9faafed5f0055d06ab32d34c54572126cd23bbb01b3d9993a2adad4f3'
@@ -240,6 +240,16 @@ module Libis
240
240
  def substatus_check(status_count, item, task_or_item)
241
241
  item_status = :DONE
242
242
 
243
+ if (not_started = status_count[:NOT_STARTED]) > 0
244
+ error "%d sub#{task_or_item}(s) not started", item, not_started
245
+ item_status = :FAILED
246
+ end
247
+
248
+ if (started = status_count[:STARTED]) > 0
249
+ error "%d sub#{task_or_item}(s) started but not done", item, started
250
+ item_status = :FAILED
251
+ end
252
+
243
253
  if (waiting = status_count[:ASYNC_WAIT]) > 0
244
254
  info "waiting for %d sub#{task_or_item}(s) in async process", item, waiting
245
255
  item_status = :ASYNC_WAIT
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Workflow
3
- VERSION = '2.1.4' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
+ VERSION = '2.1.5' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
4
4
  end
5
5
  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.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -163,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.7.8
166
+ rubygems_version: 3.1.6
168
167
  signing_key:
169
168
  specification_version: 4
170
169
  summary: LIBIS Workflow framework.