tigre-client 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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