task-orchestrator 0.0.16 → 0.0.17

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.
data/README.md CHANGED
@@ -31,3 +31,4 @@ Or install it yourself as:
31
31
  3. Commit your changes (`git commit -am 'Add some feature'`)
32
32
  4. Push to the branch (`git push origin my-new-feature`)
33
33
  5. Create new Pull Request
34
+ 6. Go to 1
@@ -410,7 +410,7 @@ EOF
410
410
  running_threads = 0
411
411
 
412
412
  step['scripts'].each_index do |index|
413
- next if step['scripts'][index].has_key?('status') and step['scripts'][index]['status'] == 'OK'
413
+ next if step['scripts'][index].has_key?('status') and ['OK','SKIPED'].find_index(step['scripts'][index]['status'])
414
414
  if step['scripts'][index].has_key?('condition') and 'OK' != run_command(step['scripts'][index]['condition'], 0)
415
415
  step['scripts'][index]['status'] = "SKIPED"
416
416
  save_state
@@ -443,7 +443,7 @@ EOF
443
443
 
444
444
  step['scripts'].each_index do |index|
445
445
  failures = 0
446
- next if step['scripts'][index].has_key?('status') and step['scripts'][index]['status'] == 'OK'
446
+ next if step['scripts'][index].has_key?('status') and ['OK','SKIPED'].find_index(step['scripts'][index]['status'])
447
447
  if step['scripts'][index].has_key?('condition') and 'OK' != run_command(step['scripts'][index]['condition'], 0)
448
448
  step['scripts'][index]['status'] = "SKIPED"
449
449
  save_state
@@ -1,3 +1,3 @@
1
1
  module Orchestrator
2
- VERSION ||= '0.0.16'
2
+ VERSION ||= '0.0.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: task-orchestrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-12 00:00:00.000000000 Z
12
+ date: 2014-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pony