feedtools 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/feed_tools.rb +5 -3
- data/rakefile +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/feed_tools.rb
CHANGED
@@ -25,7 +25,7 @@ FEED_TOOLS_ENV = ENV['FEED_TOOLS_ENV'] ||
|
|
25
25
|
ENV['RAILS_ENV'] ||
|
26
26
|
'production' # :nodoc:
|
27
27
|
|
28
|
-
FEED_TOOLS_VERSION = "0.2.
|
28
|
+
FEED_TOOLS_VERSION = "0.2.3"
|
29
29
|
|
30
30
|
$:.unshift(File.dirname(__FILE__))
|
31
31
|
$:.unshift(File.dirname(__FILE__) + "/../../activerecord/lib")
|
@@ -784,8 +784,10 @@ module FeedTools
|
|
784
784
|
http_headers['Host'] += ":#{feed_uri.port}" if feed_uri.port
|
785
785
|
|
786
786
|
Net::HTTP.start(feed_uri.host, (feed_uri.port or 80)) do |http|
|
787
|
-
|
788
|
-
|
787
|
+
final_uri = feed_uri.path
|
788
|
+
final_uri += ('?' + feed_uri.query) if feed_uri.query
|
789
|
+
response = http.request_get(final_uri, http_headers)
|
790
|
+
|
789
791
|
case response
|
790
792
|
when Net::HTTPSuccess
|
791
793
|
# We've reached the final destination, process all previous
|
data/rakefile
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: feedtools
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2005-08-
|
6
|
+
version: 0.2.3
|
7
|
+
date: 2005-08-11
|
8
8
|
summary: "Parsing, generation, and caching system for xml news feeds."
|
9
9
|
require_paths:
|
10
10
|
- lib
|