anemone 0.6.0 → 0.6.1
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/CHANGELOG.rdoc +11 -5
- data/VERSION +1 -1
- data/lib/anemone/core.rb +1 -1
- data/lib/anemone/http.rb +3 -2
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
@@ -1,18 +1,24 @@
|
|
1
|
+
== 0.6.1 / 2011-02-24
|
2
|
+
|
3
|
+
*Bug fixes
|
4
|
+
|
5
|
+
* Fix a bug preventing SSL connections from working
|
6
|
+
|
1
7
|
== 0.6.0 / 2011-02-17
|
2
8
|
|
3
9
|
* Major enhancements
|
4
10
|
|
5
|
-
|
6
|
-
|
11
|
+
* Added support for HTTP Basic Auth with URLs containing a username and password
|
12
|
+
* Added support for anonymous HTTP proxies
|
7
13
|
|
8
14
|
* Minor enhancements
|
9
15
|
|
10
|
-
|
16
|
+
* Added read_timeout option to set the HTTP request timeout in seconds
|
11
17
|
|
12
18
|
* Bug fixes
|
13
19
|
|
14
|
-
|
15
|
-
|
20
|
+
* Don't fatal error if a page request times out
|
21
|
+
* Fix double encoding of links containing %20
|
16
22
|
|
17
23
|
== 0.5.0 / 2010-09-01
|
18
24
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.1
|
data/lib/anemone/core.rb
CHANGED
data/lib/anemone/http.rb
CHANGED
@@ -160,7 +160,7 @@ module Anemone
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def refresh_connection(url)
|
163
|
-
http = Net::HTTP
|
163
|
+
http = Net::HTTP.new(url.host, url.port, proxy_host, proxy_port)
|
164
164
|
|
165
165
|
http.read_timeout = read_timeout if !!read_timeout
|
166
166
|
|
@@ -168,7 +168,8 @@ module Anemone
|
|
168
168
|
http.use_ssl = true
|
169
169
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
170
170
|
end
|
171
|
-
|
171
|
+
|
172
|
+
@connections[url.host][url.port] = http.start
|
172
173
|
end
|
173
174
|
|
174
175
|
def verbose?
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 1
|
9
|
+
version: 0.6.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chris Kite
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-24 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|