cielo24 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cielo24/version.rb +1 -1
- data/lib/cielo24/web_utils.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f88e51bd3f448a402c5f811d76dbf0f5870074a0
|
4
|
+
data.tar.gz: 9b826d4adc30c34d66b497e0b8cec264c82461f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0113e5e3ef2e0083f4732b3334ef1985e16c6418d3beac389f9eab7b4115b99006ab55bc452d37a3e0298da6ddd736e4501fe764a77720f0b08a9e0a054a0b8
|
7
|
+
data.tar.gz: fab07a40a2ab041b348d4d56dd5607f076e3313789f45e786ebb6cec5751fee714ce942d373f33eccc590912e3b50975084dca27d4b52a3d3822f91cbe2f4a4f
|
data/lib/cielo24/version.rb
CHANGED
data/lib/cielo24/web_utils.rb
CHANGED
@@ -23,6 +23,7 @@ module Cielo24
|
|
23
23
|
http_client = HTTPClient.new
|
24
24
|
http_client.cookie_manager = nil
|
25
25
|
http_client.send_timeout = 60*60*24*7 # HTTPClient default timeout set to 7 days, our own timeout handler is down below
|
26
|
+
@@LAST_URL = uri + (query.nil? ? "" : "?" + URI.encode_www_form(query))
|
26
27
|
|
27
28
|
# Timeout block:
|
28
29
|
begin
|
@@ -42,8 +43,6 @@ module Cielo24
|
|
42
43
|
rescue Timeout::Error
|
43
44
|
raise TimeoutError.new("The HTTP session has timed out.")
|
44
45
|
end
|
45
|
-
|
46
|
-
@@LAST_URL = uri + (query.nil? ? "" : "?" + URI.encode_www_form(query))
|
47
46
|
end
|
48
47
|
end
|
49
48
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cielo24
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cielo24
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|