task-orchestrator 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,10 +31,10 @@ module Orchestrator
31
31
  @state = (@options.statefile && File.exist?(@options.statefile) && !@options.reset) ? YAML.load_file(@options.statefile) : @settings['orchestrator'][@options.name]
32
32
 
33
33
  @options.email = false unless @state.has_key?('email')
34
- @options.email_on_success = (@options.email and @state['email'].has_key?('on_success')) ? @state['email']['on_success']) : true
34
+ @options.email_on_success = (@options.email and @state['email'].has_key?('on_success')) ? @state['email']['on_success'] : true
35
35
 
36
36
  @options.sms = false unless @state.has_key?('sms')
37
- @options.sms_on_success = (@options.sms and @state['sms'].has_key?('on_success')) ? @state['sms']['on_success']) : false
37
+ @options.sms_on_success = (@options.sms and @state['sms'].has_key?('on_success')) ? @state['sms']['on_success'] : false
38
38
  end
39
39
 
40
40
  def invalid(reason)
@@ -1,3 +1,3 @@
1
1
  module Orchestrator
2
- VERSION ||= '0.0.4'
2
+ VERSION ||= '0.0.5'
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.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: