rfeedfinder 0.9.4 → 0.9.5

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/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.9.5 2007-09-05
2
+
3
+ * Decode html entities in input uri
4
+
1
5
  == 0.9.4 2007-09-01
2
6
 
3
7
  * Add dependencies
data/Rakefile CHANGED
@@ -70,7 +70,8 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
70
70
 
71
71
  # == Optional
72
72
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
73
- p.extra_deps = [['hpricot','>=0.6']] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
73
+ p.extra_deps = [['hpricot', '>=0.6'],
74
+ ['htmlentities', '>=4.0.0']] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
74
75
  #p.spec_extras = {} # A hash of extra values to set in the gemspec.
75
76
  end
76
77
 
@@ -2,7 +2,7 @@ module Rfeedfinder #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rfeedfinder.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'net/http'
2
2
  require 'rubygems'
3
+ require 'htmlentities'
3
4
  require 'open-uri'
4
5
  require 'hpricot'
5
6
  require 'timeout'
@@ -145,6 +146,7 @@ module Rfeedfinder
145
146
  end
146
147
 
147
148
  def feeds(uri, all=false, querySyndic8=false, _recurs=nil)
149
+ uri = HTMLEntities.decode_entities(uri)
148
150
  _recurs = [uri] if _recurs.nil?
149
151
  fulluri = makeFullURI(uri)
150
152
 
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>rfeedfinder</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rfeedfinder"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/rfeedfinder" class="numbers">0.9.4</a>
36
+ <a href="http://rubyforge.org/projects/rfeedfinder" class="numbers">0.9.5</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: rfeedfinder
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.4
7
- date: 2007-09-01 00:00:00 +02:00
6
+ version: 0.9.5
7
+ date: 2007-09-04 00:00:00 +02:00
8
8
  summary: rFeedFinder uses RSS autodiscovery, Atom autodiscovery, spidering, URL correction, and Web service queries -- whatever it takes -- to find the feed.
9
9
  require_paths:
10
10
  - lib
@@ -73,3 +73,12 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: "0.6"
75
75
  version:
76
+ - !ruby/object:Gem::Dependency
77
+ name: htmlentities
78
+ version_requirement:
79
+ version_requirements: !ruby/object:Gem::Version::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 4.0.0
84
+ version: