task-orchestrator 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -34,9 +34,9 @@ module Orchestrator
34
34
  options.reset = false
35
35
  parser.on( '--reset', 'Do not use state file if it exists' ) { |reset| options.reset = true }
36
36
 
37
- parser.on( '--args ARGS,', 'extra args for interpolation as arg1=val1[,arg2=val2[]]' ) do |a|
38
- a.split(',').each do |x|
39
- arg,val = x.split('=')
37
+ parser.on( '--args ARGS,', Array, 'extra args for interpolation as arg1=val1,arg2=val2,...]' ) do |extra_args|
38
+ extra_args.each do |extra_arg|
39
+ arg,val = extra_arg.split('=')
40
40
  options.args.instance_variable_set("@#{arg}".to_sym,val)
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Orchestrator
2
- VERSION ||= '0.0.1'
2
+ VERSION ||= '0.0.2'
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -79,11 +79,11 @@ description: Simple task orchestration framework driven by Yaml config files
79
79
  email:
80
80
  - lolitushka@gmail.com
81
81
  executables:
82
- - orchestrator.rb
82
+ - orchestrator
83
83
  extensions: []
84
84
  extra_rdoc_files: []
85
85
  files:
86
- - bin/orchestrator.rb
86
+ - bin/orchestrator
87
87
  - lib/orchestrator.rb
88
88
  - lib/orchestrator/task.rb
89
89
  - lib/orchestrator/version.rb
@@ -110,18 +110,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  - - ! '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
- segments:
114
- - 0
115
- hash: -2708732489028219220
116
113
  required_rubygems_version: !ruby/object:Gem::Requirement
117
114
  none: false
118
115
  requirements:
119
116
  - - ! '>='
120
117
  - !ruby/object:Gem::Version
121
118
  version: '0'
122
- segments:
123
- - 0
124
- hash: -2708732489028219220
125
119
  requirements: []
126
120
  rubyforge_project:
127
121
  rubygems_version: 1.8.24