feedtools 0.2.2 → 0.2.3

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.
Files changed (4) hide show
  1. data/CHANGELOG +2 -0
  2. data/lib/feed_tools.rb +5 -3
  3. data/rakefile +1 -1
  4. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ == FeedTools 0.2.3
2
+ * fixed omission of get parameters from http requests
1
3
  == FeedTools 0.2.2
2
4
  * fixed http redirection bug
3
5
  * fixed several documentation typos
@@ -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.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
- response = http.request_get(feed_uri.path, http_headers)
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
@@ -7,7 +7,7 @@ require 'rake/gempackagetask'
7
7
  require 'rake/contrib/rubyforgepublisher'
8
8
 
9
9
  PKG_NAME = 'feedtools'
10
- PKG_VERSION = '0.2.2'
10
+ PKG_VERSION = '0.2.3'
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
 
13
13
  RELEASE_NAME = "REL #{PKG_VERSION}"
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.2
7
- date: 2005-08-10
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