iron_worker_ng 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/iron_worker_ng/code/base.rb +4 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
@@ -43,8 +43,10 @@ module IronWorkerNG
|
|
43
43
|
elsif args.length == 1 && args.class == String
|
44
44
|
@name = args[0]
|
45
45
|
elsif args.length == 1 && args.class == Hash
|
46
|
-
@name = args[0][:name]
|
47
|
-
|
46
|
+
@name = args[0][:name] || args[0]]['name']
|
47
|
+
|
48
|
+
worker = args[0][:worker] || args[0]['worker']
|
49
|
+
merge_worker(worker) unless worker.nil?
|
48
50
|
end
|
49
51
|
end
|
50
52
|
|
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.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -172,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
segments:
|
174
174
|
- 0
|
175
|
-
hash: -
|
175
|
+
hash: -253039331
|
176
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
177
|
none: false
|
178
178
|
requirements:
|