onebox 1.7.6 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onebox/helpers.rb +0 -2
- data/lib/onebox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01da233142275cb809b6294116b09c1b98066c39
|
4
|
+
data.tar.gz: 00e07dcdf031dc0b096d63d0d13a56a1e9769d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3170eb48911907b19d9c50692eb72bfd7eb4b7d9cc488e60d29dbf9ee86bcaca88daff818b45346545293ee23b880f6775b18866b19d45af828eae77fda66196
|
7
|
+
data.tar.gz: 994a35dc02b560d1af3360c8965600251795569019d95956e5c62f10f747d993e94ec972146d71d71151469d22a7f7d1d07ccde67be95a6f1c0fb77317b8868f
|
data/lib/onebox/helpers.rb
CHANGED
@@ -36,9 +36,7 @@ module Onebox
|
|
36
36
|
request = Net::HTTP::Get.new(uri.request_uri, headers)
|
37
37
|
start_time = Time.now
|
38
38
|
|
39
|
-
puts Onebox.options.max_download_kb
|
40
39
|
size_bytes = Onebox.options.max_download_kb * 1024
|
41
|
-
puts "size_byes: #{size_bytes}"
|
42
40
|
http.request(request) do |response|
|
43
41
|
|
44
42
|
if cookie = response.get_fields('set-cookie')
|
data/lib/onebox/version.rb
CHANGED