libis-workflow 2.0.22 → 2.0.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: 8e344d72a61dc66fdedcda280fd6e4e3c34375fb
4
- data.tar.gz: f1e102557c7f0ea463bb2ccc7f12880ca7b28c41
3
+ metadata.gz: 979b56ae0ac9760a07e46d7d2cfd53e303d15c22
4
+ data.tar.gz: d648b583fb9c6206014f772e6d10e4477c38fc5d
5
5
  SHA512:
6
- metadata.gz: 810e08d9332f5b1e31172bcf0214a9f350c09fed2d58f69870a7e713bcd4a0598e9257aa45fa32de1602873601e5f36291da36748b785200df26f73ac4aa0944
7
- data.tar.gz: 68c5b4900ab55749f5058eee41d980ae6438bd15a02bea0cc0ba0900306e041ebd21717424e15a789dac5a97720cb323cfc507cbd863660d1fa69b67ecf57625
6
+ metadata.gz: 50333dbbeb840a8dbd9dccb03535644d4e468c435f619f0a9d9156dfa0b7279a096491b6b5f7fd2608c1682f30ba57c808b04933e3f292282a29019d0acfc78f
7
+ data.tar.gz: 04acf0ddf0f3f8b73d6c5cf4998190108d155a3a143265ee69d4ca6eb3519c2d4d9ef9b58bb595f74f7b03be53a5f4f53440808bd45d1d7bc604213842a1bbbe
@@ -46,10 +46,10 @@ module Libis
46
46
  when :retry
47
47
  if item.check_status(:DONE, self.namepath)
48
48
  debug 'Retry: skipping task %s because it has finished successfully.', item, self.namepath
49
- return
49
+ return item
50
50
  end
51
51
  when :failed
52
- return
52
+ return item
53
53
  else
54
54
  end
55
55
 
@@ -60,7 +60,7 @@ module Libis
60
60
  case item.status(self.namepath)
61
61
  when :DONE
62
62
  self.action = :run
63
- return
63
+ return item
64
64
  when :ASYNC_WAIT
65
65
  self.action = :retry
66
66
  when :ASYNC_HALT
@@ -68,7 +68,7 @@ module Libis
68
68
  when :FAILED
69
69
  break
70
70
  else
71
- return
71
+ return item
72
72
  end
73
73
 
74
74
  self.action = :retry
@@ -95,6 +95,8 @@ module Libis
95
95
  ensure
96
96
  item.save!
97
97
 
98
+ item
99
+
98
100
  end
99
101
 
100
102
  def names
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Workflow
3
- VERSION = '2.0.22' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
+ VERSION = '2.0.23' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.22
4
+ version: 2.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser