iron_worker_ng 0.6.4 → 0.6.5
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/client.rb +8 -8
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
@@ -163,18 +163,18 @@ module IronWorkerNG
|
|
163
163
|
private
|
164
164
|
|
165
165
|
def params_for_legacy(code_name, params)
|
166
|
-
|
166
|
+
if params.class == String
|
167
|
+
params = JSON.parse(params)
|
168
|
+
end
|
167
169
|
|
168
|
-
|
169
|
-
attrs = {}
|
170
|
+
attrs = {}
|
170
171
|
|
171
|
-
|
172
|
-
|
173
|
-
end
|
174
|
-
|
175
|
-
attrs = attrs.to_json
|
172
|
+
params.keys.each do |k|
|
173
|
+
attrs['@' + k.to_s] = params[k]
|
176
174
|
end
|
177
175
|
|
176
|
+
attrs = attrs.to_json
|
177
|
+
|
178
178
|
{:class_name => code_name, :attr_encoded => Base64.encode64(attrs), :sw_config => {:project_id => project_id, :token => token}}.to_json
|
179
179
|
end
|
180
180
|
end
|
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.6.
|
4
|
+
version: 0.6.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
segments:
|
146
146
|
- 0
|
147
|
-
hash:
|
147
|
+
hash: 534277437
|
148
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|