iron_worker_ng 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/bin/iron_worker +5 -6
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
data/bin/iron_worker CHANGED
@@ -57,14 +57,13 @@ if command == 'codes.create'
57
57
  exit 1
58
58
  end
59
59
 
60
- if execute_features.size == 0
61
- puts opts
62
- exit 1
63
- end
64
-
65
60
  runtime = runtimes[0][:name] if runtime.nil?
66
61
 
67
- code = runtimes.find { |r| r[:name] == runtime }[:klass].new(name)
62
+ code = runtimes.find { |r| r[:name] == runtime }[:klass].new
63
+
64
+ unless name.nil?
65
+ code.name = name
66
+ end
68
67
 
69
68
  execute_features.each do |f|
70
69
  code.send(f[:name], *f[:args])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_worker_ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -1067507039
159
+ hash: 133870369
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements: