libis-workflow 2.0.35 → 2.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/libis/workflow/status.rb +2 -4
- data/lib/libis/workflow/version.rb +1 -1
- data/lib/libis/workflow/work_item.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 391021b367fd4a087777f80abc4cc98b7602ac012207155bec4bf0c2f1cd9f9f
|
4
|
+
data.tar.gz: 053a3ee71843fec6efcc98d0beb00dec6c5cd9c6a140b2e5f589384b9172e299
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ca558020759c70cb7acd8e0b241f08e6b17b0f391a9616c726760c9ea1ecd89cc6782b8a4570b826c9daef03be984b17a36c15ae15aa047b599f433b6c10445
|
7
|
+
data.tar.gz: 7b426682ab3e15e292215fda755307028d9a5c6abc4ca3facad3f619f46f53a4394b67c607c6bd362eac67edbb31e7d184cf5271af780e7f965f52b0737c5c9e
|
data/README.md
CHANGED
@@ -36,8 +36,7 @@ module Libis
|
|
36
36
|
end
|
37
37
|
log_entry['status'] = status
|
38
38
|
log_entry['updated'] = DateTime.now
|
39
|
-
|
40
|
-
self.save!
|
39
|
+
self.save_log_entry(log_entry)
|
41
40
|
end
|
42
41
|
|
43
42
|
# Get last known status symbol for a given task
|
@@ -94,8 +93,7 @@ module Libis
|
|
94
93
|
log_entry['progress'] = progress ? progress : (log_entry['progress'] || 0) + 1
|
95
94
|
log_entry['max'] = max if max
|
96
95
|
log_entry['updated'] = DateTime.now
|
97
|
-
|
98
|
-
self.save!
|
96
|
+
self.save_log_entry(log_entry)
|
99
97
|
end
|
100
98
|
|
101
99
|
protected
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Libis
|
2
2
|
module Workflow
|
3
|
-
VERSION = '2.0.
|
3
|
+
VERSION = '2.0.36' 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.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|