libis-workflow 2.0.28 → 2.0.29
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/status.rb +2 -7
- 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: d2d49ea18050014ac64b6c23b97dded2f5595641
|
4
|
+
data.tar.gz: 6da973b5eee84b3eb25598200bb76f757c94fc7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25dc30ef7485f9d7636547048dce41c3cdd81a940d955b9391c0cdbbcbbdef03b80fe808ecbc5d9462bf57cd5ff8e7b150a8674a5b228b101ef17db80d2833ec
|
7
|
+
data.tar.gz: c819b43d37ef7ee39c1043719fb2d4b6f2ab11d52f5b311a62a1733b05aeee6da0817ceabd67d729f79a84cc16757c6a5c98f61c1cd77e86cc36d5e50f9a4136
|
@@ -27,13 +27,8 @@ module Libis
|
|
27
27
|
def set_status(task, status)
|
28
28
|
task = task.namepath if task.is_a?(Libis::Workflow::Task)
|
29
29
|
log_entry = self.status_entry(task)
|
30
|
-
|
31
|
-
|
32
|
-
unless status(task) == :ASYNC_WAIT
|
33
|
-
log_entry = self.add_status_log('task' => task, 'status' => status, 'created' => DateTime.now)
|
34
|
-
end
|
35
|
-
else
|
36
|
-
log_entry ||= self.add_status_log('task' => task, 'status' => status, 'created' => DateTime.now)
|
30
|
+
if log_entry.nil? || status == :STARTED
|
31
|
+
log_entry = self.add_status_log('task' => task, 'status' => status, 'created' => DateTime.now)
|
37
32
|
end
|
38
33
|
log_entry['status'] = status
|
39
34
|
log_entry['updated'] = DateTime.now
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Libis
|
2
2
|
module Workflow
|
3
|
-
VERSION = '2.0.
|
3
|
+
VERSION = '2.0.29' 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.0.
|
4
|
+
version: 2.0.29
|
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-
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|