conflow 0.4.1 → 0.4.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +4 -4
- data/lib/conflow/flow/job_handler.rb +1 -1
- data/lib/conflow/version.rb +1 -1
- 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: 1a5fd0855064090060660454b6b80848447b5a56aa1c4eb97d19c4e8374f5aba
|
|
4
|
+
data.tar.gz: 4adedced19368e74cb42d227e6fdbd44b47ab94cc0d4e6f686021a75fe27aa8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca765edb42cb621e9acdf371c5616dcbf2fd8029553555ac655eb5da24d56ead5537293830019bcbd1f980fe2ef37870f432f04edf168e13ccd548f6bab74688
|
|
7
|
+
data.tar.gz: 29960275080a161bb4b7bb65273e026f51250ae2c5866e136d20cf03a0154251524466b4e479a7cff34675044a96b7f57006e021c5d8dd67725bf174b93a390a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
conflow (0.4.
|
|
4
|
+
conflow (0.4.2)
|
|
5
5
|
redis (~> 4.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -22,7 +22,7 @@ GEM
|
|
|
22
22
|
coderay (~> 1.1.0)
|
|
23
23
|
method_source (~> 0.9.0)
|
|
24
24
|
rainbow (3.0.0)
|
|
25
|
-
rake (12.3.
|
|
25
|
+
rake (12.3.1)
|
|
26
26
|
redis (4.0.1)
|
|
27
27
|
rspec (3.7.0)
|
|
28
28
|
rspec-core (~> 3.7.0)
|
|
@@ -37,7 +37,7 @@ GEM
|
|
|
37
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
38
|
rspec-support (~> 3.7.0)
|
|
39
39
|
rspec-support (3.7.1)
|
|
40
|
-
rubocop (0.
|
|
40
|
+
rubocop (0.54.0)
|
|
41
41
|
parallel (~> 1.10)
|
|
42
42
|
parser (>= 2.5)
|
|
43
43
|
powerpack (~> 0.1)
|
|
@@ -45,7 +45,7 @@ GEM
|
|
|
45
45
|
ruby-progressbar (~> 1.7)
|
|
46
46
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
47
47
|
ruby-progressbar (1.9.0)
|
|
48
|
-
simplecov (0.16.
|
|
48
|
+
simplecov (0.16.1)
|
|
49
49
|
docile (~> 1.1)
|
|
50
50
|
json (>= 1.8, < 3)
|
|
51
51
|
simplecov-html (~> 0.10.0)
|
|
@@ -32,7 +32,7 @@ module Conflow
|
|
|
32
32
|
# @param job [Conflow::Job] job to be marked as finished
|
|
33
33
|
# @param result [Object] result of the job
|
|
34
34
|
def finish(job, result = nil)
|
|
35
|
-
job.result = result if result
|
|
35
|
+
job.result = result if result.is_a?(Hash) && result.any?
|
|
36
36
|
call_script(Conflow::Redis::CompleteJobScript, job)
|
|
37
37
|
queue_available_jobs
|
|
38
38
|
destroy! if finished?
|
data/lib/conflow/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conflow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michał Begejowicz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|