libis-workflow 2.0.17 → 2.0.18
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 +1 -1
- 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: 23d4822077c09096f5d0ad6845bf564443f9efd9
|
4
|
+
data.tar.gz: 6f90c74d0af661472b4be36b55dee49f49c01fb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e05a9f362da3c258c6774825bb2170ed3c7d0de8c1546189c8090158748b0cf438dcd33d52dadf9fe7407d1cd50459d406ae5bd7eb82463fcdcc0c3ad29f9c2c
|
7
|
+
data.tar.gz: fe79f24b3b656ef3716585903f6a20a92f13dbd487e59a590071f11853b5873aa3335301073c26c8d78e711dbd2d8de33f22accca44c66e7044a3a6faab8b819
|
@@ -90,7 +90,7 @@ module Libis
|
|
90
90
|
# @param [Integer] max max count.
|
91
91
|
def status_progress(task, progress = 0, max = nil)
|
92
92
|
log_entry = self.status_entry(task)
|
93
|
-
|
93
|
+
log_entry ||= self.add_status_log('task' => task, 'created' => DateTime.now)
|
94
94
|
log_entry['progress'] = progress
|
95
95
|
log_entry['max'] = max if max
|
96
96
|
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.18' 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.18
|
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-04-
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|