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.
@@ -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
- * Added support for HTTP Basic Auth with URLs containing a username and password
6
- * Added support for anonymous HTTP proxies
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
- * Added read_timeout option to set the HTTP request timeout in seconds
16
+ * Added read_timeout option to set the HTTP request timeout in seconds
11
17
 
12
18
  * Bug fixes
13
19
 
14
- * Don't fatal error if a page request times out
15
- * Fix double encoding of links containing %20
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.5.0
1
+ 0.6.1
@@ -9,7 +9,7 @@ require 'anemone/storage/base'
9
9
 
10
10
  module Anemone
11
11
 
12
- VERSION = '0.6.0';
12
+ VERSION = '0.6.1';
13
13
 
14
14
  #
15
15
  # Convenience method to start a crawl
@@ -160,7 +160,7 @@ module Anemone
160
160
  end
161
161
 
162
162
  def refresh_connection(url)
163
- http = Net::HTTP::Proxy(proxy_host, proxy_port)
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
- @connections[url.host][url.port] = http.start(url.host, url.port)
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
- - 0
9
- version: 0.6.0
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 00:00:00 -06:00
17
+ date: 2011-02-24 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency