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.
@@ -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
- Tigre.get_connection("/samples_for_compression?samples=#{samples}&digest=#{digest}&callback=#{hash[:callback]}&password=#{hash[:password]}")
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
@@ -1,5 +1,5 @@
1
1
  module Tigre
2
2
  module Client
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tigre-client
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.4
5
+ version: 0.3.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcio Castilho