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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc567c39e544349f3d849bf2cd79f2845f603561
4
- data.tar.gz: 8332ec1f868d0e4e206f33b16bdd5ca3eae14ea9
3
+ metadata.gz: b5de50bdbec1831269e20c93de425558b98664b3
4
+ data.tar.gz: de4304d9f1ba4728cb77fdf7803a21e3108ec2bb
5
5
  SHA512:
6
- metadata.gz: 14724c697bf6f105a036e5a65a25c80b40211c17b305af93543f5fe50793f6052b6b1091658940344bdf87a8fd85a2f54a172c234c2bf4e09e167a6eb6719d96
7
- data.tar.gz: 3eca54647e04e308127023247c13cdbd4017616692f964f955d99c723c757eb3aea03ce83983f7ca63c6beb64d4866ff6778d4ff66d3b62edb67c231fc666a15
6
+ metadata.gz: fb92583480199f480507dbabd8978507b331e666916771dc957807785cfe8ac5b2250fad4c5798497ca056dcbd3733bcbccc471df740eea318559c4994cbdcef
7
+ data.tar.gz: 7306f086712430b41121fda993b110c1dd39d6aa94a63b0e0629d7b8fc12733f2b9f516c9c8b6b3fbc8879e145da186bdf2a7574c8e09f8ea0cd9f694357fceb
@@ -48,7 +48,7 @@ module Libis
48
48
  self.status = :STARTED
49
49
 
50
50
  self.tasks.each do |task|
51
- next if self.failed? and not task.options[:allways_run]
51
+ next if self.failed? and not task.options[:always_run]
52
52
  task.run self
53
53
  end
54
54
 
@@ -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 allways_run: false, description: 'Run this task, even if the item failed a previous task.'
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[:allways_run]
43
+ return if item.failed? unless options[:always_run]
44
44
 
45
45
  if options[:subitems]
46
46
  log_started item
@@ -9,7 +9,7 @@ module Libis
9
9
  class Analyzer < Task
10
10
 
11
11
  def default_options
12
- { quiet: true, allways_run: true }
12
+ { quiet: true, always_run: true }
13
13
  end
14
14
 
15
15
  def run(item)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Libis
4
4
  module Workflow
5
- VERSION = '2.0.beta.7' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
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.7
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-15 00:00:00.000000000 Z
11
+ date: 2015-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler