tigre-client 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tigre-client/sample.rb +6 -3
- data/lib/tigre-client/version.rb +1 -1
- metadata +1 -1
data/lib/tigre-client/sample.rb
CHANGED
@@ -257,9 +257,12 @@ module Tigre
|
|
257
257
|
unless hash[:samples] && hash[:callback]
|
258
258
|
raise 'Missing parameter :samples or :callback'
|
259
259
|
end
|
260
|
-
digest = hash[:digest] || 'md5'
|
261
|
-
samples = package_array_list(hash[:samples])
|
262
|
-
|
260
|
+
hash[:digest] = hash[:digest] || 'md5'
|
261
|
+
hash[:samples] = package_array_list(hash[:samples])
|
262
|
+
|
263
|
+
Tigre.post_file_connection('/samples_for_compression', hash)
|
264
|
+
|
265
|
+
# Tigre.get_connection("/samples_for_compression?samples=#{samples}&digest=#{digest}&callback=#{hash[:callback]}&password=#{hash[:password]}")
|
263
266
|
end
|
264
267
|
|
265
268
|
end
|
data/lib/tigre-client/version.rb
CHANGED