libis-workflow 2.1.6 → 2.1.7

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
  SHA256:
3
- metadata.gz: 27ae10e41a3a147effde1d6c4778236dc1d4e6671684d8e9b08d5b1684e01a7a
4
- data.tar.gz: 1e21e8addccd4e08fcb795b9bfb64ff6e64e2489b9c8749ac79c3f65d475a315
3
+ metadata.gz: b9f56cd10757aa347d9853590fdbb493513c3ca8e5fc626388d4b08f5f95fe26
4
+ data.tar.gz: 4b4f623194705edca7496bebba401d89a039386cbd499c3ef22e5ce289b664c1
5
5
  SHA512:
6
- metadata.gz: e36b676594edeba060efdc8cdabf325684c93b3c8d669188e6d4c2fe710e9fdf8c6c83c28b4fe3f1710362f799f0d3cf738410fe014f5258af68a739ea343f9d
7
- data.tar.gz: 4c15558469b3790923aeacb1bea1da6b08bfc3b6b0c2fa871430c79f5189e05578db4d98ff4c648be3d31d39d8899bfbc6675bd3db2fc7f068a8d4f1b3462022
6
+ metadata.gz: e6faece7fc2cf155034716ab5d393f9b147b3c52bb16b0f3138d5c35ed927b9b6a721d5e0dfde2aea38bd2cf4d748dba83c2b32e3f6690883d2d96dd4d366bf5
7
+ data.tar.gz: c8e9c07728e6319a7536156e2d2e2b4c9e6891c53d14c69ba35194a86e5cdc4f118143bc5920b77f95dd2667415f082033e8756905aded19924fcc71d29fb1ae
@@ -60,7 +60,7 @@ module Libis
60
60
  (parameter(:retry_count) + 1).times do
61
61
 
62
62
  i = run_item(item)
63
- item = i if i.is_a?(Libis::Workflow::WorkItem)
63
+ item = i if i.is_a?(Libis::Workflow::Base::WorkItem)
64
64
 
65
65
  # noinspection RubyScope
66
66
  case item.status(namepath)
@@ -218,7 +218,7 @@ module Libis
218
218
  raise Libis::WorkflowAbort, "#{e.message} @ #{e.backtrace.first}"
219
219
 
220
220
  else
221
- item = new_item if new_item.is_a?(Libis::Workflow::WorkItem)
221
+ item = new_item if new_item.is_a?(Libis::Workflow::Base::WorkItem)
222
222
  parent_item.status_progress(namepath, i + 1)
223
223
 
224
224
  ensure
@@ -50,7 +50,7 @@ module Libis
50
50
  end
51
51
  info 'Running subtask (%d/%d): %s', item, i+1, tasks.size, task.name
52
52
  new_item = task.run item
53
- item = new_item if new_item.is_a?(Libis::Workflow::WorkItem)
53
+ item = new_item if new_item.is_a?(Libis::Workflow::Base::WorkItem)
54
54
  item.status_progress(self.namepath, i+1)
55
55
  item_status = item.status(task.namepath)
56
56
  status_count[item_status] += 1
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Workflow
3
- VERSION = '2.1.6' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
+ VERSION = '2.1.7' 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.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-19 00:00:00.000000000 Z
11
+ date: 2023-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake