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 CHANGED
@@ -1 +1 @@
1
- 0.2.3
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
- merge_worker(args[0][:worker]) unless args[0][:worker].nil?
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.3
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: -824880365
175
+ hash: -253039331
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  none: false
178
178
  requirements: