libis-workflow 2.0.beta.7 → 2.0.beta.8
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/base/run.rb +1 -1
- data/lib/libis/workflow/task.rb +3 -3
- data/lib/libis/workflow/tasks/analyzer.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: b5de50bdbec1831269e20c93de425558b98664b3
|
4
|
+
data.tar.gz: de4304d9f1ba4728cb77fdf7803a21e3108ec2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb92583480199f480507dbabd8978507b331e666916771dc957807785cfe8ac5b2250fad4c5798497ca056dcbd3733bcbccc471df740eea318559c4994cbdcef
|
7
|
+
data.tar.gz: 7306f086712430b41121fda993b110c1dd39d6aa94a63b0e0629d7b8fc12733f2b9f516c9c8b6b3fbc8879e145da186bdf2a7574c8e09f8ea0cd9f694357fceb
|
data/lib/libis/workflow/task.rb
CHANGED
@@ -12,13 +12,13 @@ module Libis
|
|
12
12
|
|
13
13
|
# noinspection RubyTooManyMethodsInspection
|
14
14
|
class Task
|
15
|
-
include Base::Logger
|
15
|
+
include ::Libis::Workflow::Base::Logger
|
16
16
|
include ::Libis::Tools::ParameterContainer
|
17
17
|
|
18
18
|
attr_accessor :parent, :name, :options, :workitem, :tasks
|
19
19
|
|
20
20
|
parameter abort_on_error: false, description: 'Stop all tasks when an error occurs.'
|
21
|
-
parameter
|
21
|
+
parameter always_run: false, description: 'Run this task, even if the item failed a previous task.'
|
22
22
|
parameter subitems: false, description: 'Do not process the given item, but only the subitems.'
|
23
23
|
parameter recursive: false, description: 'Run the task on all subitems recursively.'
|
24
24
|
|
@@ -40,7 +40,7 @@ module Libis
|
|
40
40
|
|
41
41
|
check_item_type WorkItem, item
|
42
42
|
|
43
|
-
return if item.failed? unless options[:
|
43
|
+
return if item.failed? unless options[:always_run]
|
44
44
|
|
45
45
|
if options[:subitems]
|
46
46
|
log_started item
|
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
module Libis
|
4
4
|
module Workflow
|
5
|
-
VERSION = '2.0.beta.
|
5
|
+
VERSION = '2.0.beta.8' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
6
6
|
end
|
7
7
|
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.beta.
|
4
|
+
version: 2.0.beta.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|