simple-rss 1.2.3 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 290068b62d7bb22bbbbb7aad26c35050614689a4
4
+ data.tar.gz: 8eafbfa8bd7b223cd8a6d24e2e260aebaa941566
5
+ SHA512:
6
+ metadata.gz: 31facc5057c131752d89878d05af5b3f6e15cc1636bb6886d036b2ee946dd2dabb052d1f7a5a28b1f1650096ebb416b89ae65e791097d65c587155c15e19b484
7
+ data.tar.gz: 09ebda720962bccdcac1bbd25317ac31280df864914f069ece306c48849e1e7d78bcdaf1466be9e659114507f3d630f6b4507865053ea15e1e6121c24e324fd5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+ gem 'rake'
3
+ gem 'rspec', :require => 'spec'
4
+ gem 'rdoc'
@@ -0,0 +1,24 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.2.4)
5
+ json (1.8.1)
6
+ rake (10.1.0)
7
+ rdoc (4.0.1)
8
+ json (~> 1.4)
9
+ rspec (2.14.1)
10
+ rspec-core (~> 2.14.0)
11
+ rspec-expectations (~> 2.14.0)
12
+ rspec-mocks (~> 2.14.0)
13
+ rspec-core (2.14.5)
14
+ rspec-expectations (2.14.2)
15
+ diff-lcs (>= 1.1.3, < 2.0)
16
+ rspec-mocks (2.14.3)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ rake
23
+ rdoc
24
+ rspec
@@ -1,14 +1,16 @@
1
- == Welcome to Simple RSS
1
+ ## Welcome to Simple RSS
2
2
 
3
- Simple RSS is a simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
3
+ Simple RSS is a simple, flexible, extensible, and liberal RSS and Atom reader
4
+ for Ruby. It is designed to be backwards compatible with the standard RSS
5
+ parser, but will never do RSS generation.
4
6
 
5
- == Download
7
+ ## Download
6
8
 
7
9
  * gem install simple-rss
8
- * http://rubyforge.org/projects/simple-rss
9
- * svn co http://rufy.com/svn/simple-rss/trunk
10
+ * https://github.com/cardmagic/simple-rss
11
+ * git clone git@github.com:cardmagic/simple-rss.git
10
12
 
11
- === Usage
13
+ ### Usage
12
14
  The API is similar to Ruby's standard RSS parser:
13
15
 
14
16
  require 'rubygems'
@@ -29,16 +31,17 @@ But since the parser can read Atom feeds as easily as RSS feeds, there are optio
29
31
 
30
32
  The parser does not care about the correctness of the XML as it does not use an XML library to read the information. Thus it is flexible and allows for easy extending via:
31
33
 
32
- SimpleRSS.feed_tags << :some_new_tag
33
- SimpleRSS.item_tags << :"item+myrel" # this will extend SimpleRSS to be able to parse RSS items or ATOM entries that have a rel specified, common in many blogger feeds
34
- SimpleRSS.item_tags << :"feedburner:origLink" # this will extend SimpleRSS to be able to parse RSS items or ATOM entries that have a specific pre-tag specified, common in many feedburner feeds
35
- SimpleRSS.item_tags << :"media:content#url" # this will grab the url attribute of the media:content tag
34
+ SimpleRSS.feed_tags << :some_new_tag
35
+ SimpleRSS.item_tags << :"item+myrel" # this will extend SimpleRSS to be able to parse RSS items or ATOM entries that have a rel specified, common in many blogger feeds
36
+ SimpleRSS.item_tags << :"feedburner:origLink" # this will extend SimpleRSS to be able to parse RSS items or ATOM entries that have a specific pre-tag specified, common in many feedburner feeds
37
+ SimpleRSS.item_tags << :"media:content#url" # this will grab the url attribute of the media:content tag
38
+
39
+ ## Authors
36
40
 
37
- == Authors
38
41
  * Lucas Carlson (mailto:lucas@rufy.com)
39
42
  * Herval Freire (mailto:hervalfreire@gmail.com)
40
43
 
41
- Inspired by Blagg (http://www.raelity.org/lang/perl/blagg) from Rael Dornfest.
44
+ Inspired by [Blagg](http://www.raelity.org/lang/perl/blagg) from Rael Dornfest.
42
45
 
43
46
  This library is released under the terms of the GNU LGPL.
44
47
 
data/Rakefile CHANGED
@@ -1,10 +1,11 @@
1
1
  require 'rubygems'
2
+ require 'bundler/setup'
2
3
  require 'rake'
3
4
  require 'rake/testtask'
4
- require 'rake/rdoctask'
5
- require 'rake/gempackagetask'
5
+ require 'rdoc/task'
6
+ require 'rubygems/package_task'
6
7
  require 'rake/contrib/rubyforgepublisher'
7
- require File.dirname(__FILE__) + '/lib/simple-rss'
8
+ require './lib/simple-rss'
8
9
 
9
10
  PKG_VERSION = SimpleRSS::VERSION
10
11
  PKG_NAME = "simple-rss"
@@ -23,7 +24,7 @@ task :default => [ :test ]
23
24
  # Run the unit tests
24
25
  desc "Run all unit tests"
25
26
  Rake::TestTask.new("test") { |t|
26
- t.libs << "lib"
27
+ t.libs << ["lib", "test"]
27
28
  t.pattern = 'test/*/*_test.rb'
28
29
  t.verbose = true
29
30
  }
@@ -73,10 +74,10 @@ spec = Gem::Specification.new do |s|
73
74
 
74
75
  s.author = "Lucas Carlson"
75
76
  s.email = "lucas@rufy.com"
76
- s.homepage = "http://simple-rss.rubyforge.org/"
77
+ s.homepage = "https://github.com/cardmagic/simple-rss"
77
78
  end
78
79
 
79
- Rake::GemPackageTask.new(spec) do |pkg|
80
+ Gem::PackageTask.new(spec) do |pkg|
80
81
  pkg.need_zip = true
81
82
  pkg.need_tar = true
82
83
  end
@@ -2,7 +2,7 @@ require 'cgi'
2
2
  require 'time'
3
3
 
4
4
  class SimpleRSS
5
- VERSION = "1.2.3"
5
+ VERSION = "1.3.0"
6
6
 
7
7
  attr_reader :items, :source
8
8
  alias :entries :items
@@ -91,7 +91,7 @@ class SimpleRSS
91
91
  if $2 || $3
92
92
  tag_cleaned = clean_tag(tag)
93
93
  instance_variable_set("@#{ tag_cleaned }", clean_content(tag, $2, $3))
94
- self.class.send(:attr_reader, tag_cleaned)
94
+ self.class.class_eval("attr_reader :#{ tag_cleaned }")
95
95
  end
96
96
  end
97
97
 
@@ -152,7 +152,7 @@ class SimpleRSS
152
152
  end
153
153
 
154
154
  def unescape(content)
155
- if content =~ /([^-_.!~*'()a-zA-Z\d;\/?:@&=+$,\[\]]%)/n then
155
+ if content.force_encoding("binary") =~ /([^-_.!~*'()a-zA-Z\d;\/?:@&=+$,\[\]]%)/n then
156
156
  CGI.unescape(content).gsub(/(<!\[CDATA\[|\]\]>)/,'').strip
157
157
  else
158
158
  content.gsub(/(<!\[CDATA\[|\]\]>)/,'').strip
@@ -161,4 +161,4 @@ class SimpleRSS
161
161
  end
162
162
 
163
163
  class SimpleRSSError < StandardError
164
- end
164
+ end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../test_helper'
1
+ require 'test_helper'
2
2
  class BaseTest < Test::Unit::TestCase
3
3
  def setup
4
4
  @rss09 = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/rss09.rdf')
@@ -69,4 +69,4 @@ class BaseTest < Test::Unit::TestCase
69
69
  def test_bad_feed
70
70
  assert_raise(SimpleRSSError) { SimpleRSS.parse(open(File.dirname(__FILE__) + '/../data/not-rss.xml')) }
71
71
  end
72
- end
72
+ end
@@ -0,0 +1,465 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rss version="2.0"
3
+ xmlns:media="http://search.yahoo.com/mrss/"
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:creativeCommons="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html"
6
+ xmlns:flickr="urn:flickr:" >
7
+ <channel>
8
+
9
+
10
+ <title>Uploads from herval</title>
11
+ <link>http://www.flickr.com/photos/herval/</link>
12
+ <description></description>
13
+ <pubDate>Sat, 05 Jun 2010 07:41:10 -0700</pubDate>
14
+ <lastBuildDate>Sat, 05 Jun 2010 07:41:10 -0700</lastBuildDate>
15
+ <generator>http://www.flickr.com/</generator>
16
+ <image>
17
+ <url>http://farm1.static.flickr.com/10/buddyicons/38685293@N00.jpg?1163805574#38685293@N00</url>
18
+ <title>Uploads from herval</title>
19
+ <link>http://www.flickr.com/photos/herval/</link>
20
+ </image>
21
+
22
+ <item>
23
+ <title>Woof?</title>
24
+ <link>http://www.flickr.com/photos/herval/4671960608/</link>
25
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
26
+
27
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671960608/&quot; title=&quot;Woof?&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4040/4671960608_954d2297bc_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;Woof?&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
28
+
29
+ </description>
30
+ <pubDate>Sat, 05 Jun 2010 07:41:10 -0700</pubDate>
31
+ <dc:date.Taken>2010-05-14T12:50:22-08:00</dc:date.Taken>
32
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
33
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671960608</guid>
34
+ <media:content url="http://farm5.static.flickr.com/4040/4671960608_10cb945d5c_o.jpg"
35
+ type="image/jpeg"
36
+ height="3168"
37
+ width="4752"/>
38
+ <media:title>Woof?</media:title>
39
+ <media:thumbnail url="http://farm5.static.flickr.com/4040/4671960608_954d2297bc_s.jpg" height="75" width="75" />
40
+ <media:credit role="photographer">herval</media:credit>
41
+ <media:category scheme="urn:flickr:tags">pets frodo</media:category>
42
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
43
+ </item>
44
+
45
+ <item>
46
+ <title>Nostalgia...</title>
47
+ <link>http://www.flickr.com/photos/herval/4671333397/</link>
48
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
49
+
50
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671333397/&quot; title=&quot;Nostalgia...&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4015/4671333397_168fc15434_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Nostalgia...&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
51
+
52
+ </description>
53
+ <pubDate>Sat, 05 Jun 2010 07:40:01 -0700</pubDate>
54
+ <dc:date.Taken>2010-01-29T14:48:45-08:00</dc:date.Taken>
55
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
56
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671333397</guid>
57
+ <media:content url="http://farm5.static.flickr.com/4015/4671333397_0cff01b08e_o.jpg"
58
+ type="image/jpeg"
59
+ height="1200"
60
+ width="1600"/>
61
+ <media:title>Nostalgia...</media:title>
62
+ <media:thumbnail url="http://farm5.static.flickr.com/4015/4671333397_168fc15434_s.jpg" height="75" width="75" />
63
+ <media:credit role="photographer">herval</media:credit>
64
+ <media:category scheme="urn:flickr:tags">atari gadgets</media:category>
65
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
66
+ </item>
67
+ <item>
68
+ <title>Priest vs Rat</title>
69
+ <link>http://www.flickr.com/photos/herval/4671957076/</link>
70
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
71
+
72
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671957076/&quot; title=&quot;Priest vs Rat&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4016/4671957076_d1c92be2fc_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Priest vs Rat&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
73
+
74
+ </description>
75
+ <pubDate>Sat, 05 Jun 2010 07:39:36 -0700</pubDate>
76
+ <dc:date.Taken>2009-12-28T05:10:35-08:00</dc:date.Taken>
77
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
78
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671957076</guid>
79
+ <media:content url="http://farm5.static.flickr.com/4016/4671957076_3bf7653933_o.jpg"
80
+ type="image/jpeg"
81
+ height="2736"
82
+ width="3648"/>
83
+ <media:title>Priest vs Rat</media:title>
84
+ <media:thumbnail url="http://farm5.static.flickr.com/4016/4671957076_d1c92be2fc_s.jpg" height="75" width="75" />
85
+ <media:credit role="photographer">herval</media:credit>
86
+ <media:category scheme="urn:flickr:tags">toys miniatures warhammer</media:category>
87
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
88
+ </item>
89
+ <item>
90
+ <title>Daily Grind</title>
91
+ <link>http://www.flickr.com/photos/herval/4671322569/</link>
92
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
93
+
94
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671322569/&quot; title=&quot;Daily Grind&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4030/4671322569_4db1dbd92c_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Daily Grind&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
95
+
96
+ </description>
97
+ <pubDate>Sat, 05 Jun 2010 07:35:08 -0700</pubDate>
98
+ <dc:date.Taken>2009-03-21T16:14:26-08:00</dc:date.Taken>
99
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
100
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671322569</guid>
101
+ <media:content url="http://farm5.static.flickr.com/4030/4671322569_02befef44a_o.jpg"
102
+ type="image/jpeg"
103
+ height="3648"
104
+ width="2736"/>
105
+ <media:title>Daily Grind</media:title>
106
+ <media:thumbnail url="http://farm5.static.flickr.com/4030/4671322569_4db1dbd92c_s.jpg" height="75" width="75" />
107
+ <media:credit role="photographer">herval</media:credit>
108
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
109
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
110
+ </item>
111
+ <item>
112
+ <title>2800 bucks for a... rocket?</title>
113
+ <link>http://www.flickr.com/photos/herval/4671944552/</link>
114
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
115
+
116
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671944552/&quot; title=&quot;2800 bucks for a... rocket?&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4062/4671944552_ab9ce00759_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;2800 bucks for a... rocket?&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
117
+
118
+ </description>
119
+ <pubDate>Sat, 05 Jun 2010 07:33:59 -0700</pubDate>
120
+ <dc:date.Taken>2009-03-21T16:09:37-08:00</dc:date.Taken>
121
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
122
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671944552</guid>
123
+ <media:content url="http://farm5.static.flickr.com/4062/4671944552_5664dc1ae8_o.jpg"
124
+ type="image/jpeg"
125
+ height="3648"
126
+ width="2736"/>
127
+ <media:title>2800 bucks for a... rocket?</media:title>
128
+ <media:thumbnail url="http://farm5.static.flickr.com/4062/4671944552_ab9ce00759_s.jpg" height="75" width="75" />
129
+ <media:credit role="photographer">herval</media:credit>
130
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
131
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
132
+ </item>
133
+ <item>
134
+ <title>Era um pexão desss tamain, seu pádi!</title>
135
+ <link>http://www.flickr.com/photos/herval/4671942836/</link>
136
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
137
+
138
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671942836/&quot; title=&quot;Era um pexão desss tamain, seu pádi!&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4002/4671942836_a77fa26653_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Era um pexão desss tamain, seu pádi!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
139
+
140
+ </description>
141
+ <pubDate>Sat, 05 Jun 2010 07:33:10 -0700</pubDate>
142
+ <dc:date.Taken>2009-03-21T16:02:22-08:00</dc:date.Taken>
143
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
144
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671942836</guid>
145
+ <media:content url="http://farm5.static.flickr.com/4002/4671942836_79421bb6fa_o.jpg"
146
+ type="image/jpeg"
147
+ height="3648"
148
+ width="2736"/>
149
+ <media:title>Era um pexão desss tamain, seu pádi!</media:title>
150
+ <media:thumbnail url="http://farm5.static.flickr.com/4002/4671942836_a77fa26653_s.jpg" height="75" width="75" />
151
+ <media:credit role="photographer">herval</media:credit>
152
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
153
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
154
+ </item>
155
+ <item>
156
+ <title>Jazz</title>
157
+ <link>http://www.flickr.com/photos/herval/4671941140/</link>
158
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
159
+
160
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671941140/&quot; title=&quot;Jazz&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4043/4671941140_3fdc1969c1_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Jazz&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
161
+
162
+ </description>
163
+ <pubDate>Sat, 05 Jun 2010 07:32:19 -0700</pubDate>
164
+ <dc:date.Taken>2009-03-21T15:56:49-08:00</dc:date.Taken>
165
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
166
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671941140</guid>
167
+ <media:content url="http://farm5.static.flickr.com/4043/4671941140_9251c74fe3_o.jpg"
168
+ type="image/jpeg"
169
+ height="3648"
170
+ width="2736"/>
171
+ <media:title>Jazz</media:title>
172
+ <media:thumbnail url="http://farm5.static.flickr.com/4043/4671941140_3fdc1969c1_s.jpg" height="75" width="75" />
173
+ <media:credit role="photographer">herval</media:credit>
174
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
175
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
176
+ </item>
177
+ <item>
178
+ <title>RIP</title>
179
+ <link>http://www.flickr.com/photos/herval/4671315019/</link>
180
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
181
+
182
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671315019/&quot; title=&quot;RIP&quot;&gt;&lt;img src=&quot;http://farm2.static.flickr.com/1276/4671315019_4f76fd9d6b_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;RIP&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
183
+
184
+ </description>
185
+ <pubDate>Sat, 05 Jun 2010 07:31:29 -0700</pubDate>
186
+ <dc:date.Taken>2009-03-21T15:56:34-08:00</dc:date.Taken>
187
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
188
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671315019</guid>
189
+ <media:content url="http://farm2.static.flickr.com/1276/4671315019_2ec5e9175b_o.jpg"
190
+ type="image/jpeg"
191
+ height="3648"
192
+ width="2736"/>
193
+ <media:title>RIP</media:title>
194
+ <media:thumbnail url="http://farm2.static.flickr.com/1276/4671315019_4f76fd9d6b_s.jpg" height="75" width="75" />
195
+ <media:credit role="photographer">herval</media:credit>
196
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
197
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
198
+ </item>
199
+ <item>
200
+ <title>Squirrel!</title>
201
+ <link>http://www.flickr.com/photos/herval/4671936958/</link>
202
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
203
+
204
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671936958/&quot; title=&quot;Squirrel!&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4062/4671936958_d0081a624e_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Squirrel!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
205
+
206
+ </description>
207
+ <pubDate>Sat, 05 Jun 2010 07:30:22 -0700</pubDate>
208
+ <dc:date.Taken>2009-03-21T15:56:18-08:00</dc:date.Taken>
209
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
210
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671936958</guid>
211
+ <media:content url="http://farm5.static.flickr.com/4062/4671936958_596431f1b2_o.jpg"
212
+ type="image/jpeg"
213
+ height="3648"
214
+ width="2736"/>
215
+ <media:title>Squirrel!</media:title>
216
+ <media:thumbnail url="http://farm5.static.flickr.com/4062/4671936958_d0081a624e_s.jpg" height="75" width="75" />
217
+ <media:credit role="photographer">herval</media:credit>
218
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
219
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
220
+ </item>
221
+ <item>
222
+ <title>We didn't start the fire!</title>
223
+ <link>http://www.flickr.com/photos/herval/4671310347/</link>
224
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
225
+
226
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4671310347/&quot; title=&quot;We didn't start the fire!&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4058/4671310347_6a9562ce7d_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;We didn't start the fire!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
227
+
228
+ </description>
229
+ <pubDate>Sat, 05 Jun 2010 07:29:22 -0700</pubDate>
230
+ <dc:date.Taken>2009-03-21T15:54:11-08:00</dc:date.Taken>
231
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
232
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4671310347</guid>
233
+ <media:content url="http://farm5.static.flickr.com/4058/4671310347_c7bc22a014_o.jpg"
234
+ type="image/jpeg"
235
+ height="2736"
236
+ width="3648"/>
237
+ <media:title>We didn't start the fire!</media:title>
238
+ <media:thumbnail url="http://farm5.static.flickr.com/4058/4671310347_6a9562ce7d_s.jpg" height="75" width="75" />
239
+ <media:credit role="photographer">herval</media:credit>
240
+ <media:category scheme="urn:flickr:tags">toys lausanne</media:category>
241
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
242
+ </item>
243
+ <item>
244
+ <title>I can haz colorful buttons?</title>
245
+ <link>http://www.flickr.com/photos/herval/4629471316/</link>
246
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
247
+
248
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629471316/&quot; title=&quot;I can haz colorful buttons?&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4045/4629471316_9a930391d8_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;I can haz colorful buttons?&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
249
+
250
+ </description>
251
+ <pubDate>Sat, 22 May 2010 08:13:39 -0700</pubDate>
252
+ <dc:date.Taken>2010-04-27T20:15:23-08:00</dc:date.Taken>
253
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
254
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629471316</guid>
255
+ <media:content url="http://farm5.static.flickr.com/4045/4629471316_da84443625_o.jpg"
256
+ type="image/jpeg"
257
+ height="3168"
258
+ width="4752"/>
259
+ <media:title>I can haz colorful buttons?</media:title>
260
+ <media:thumbnail url="http://farm5.static.flickr.com/4045/4629471316_9a930391d8_s.jpg" height="75" width="75" />
261
+ <media:credit role="photographer">herval</media:credit>
262
+ <media:category scheme="urn:flickr:tags">pets dogs frodo</media:category>
263
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
264
+ </item>
265
+ <item>
266
+ <title>Day Off</title>
267
+ <link>http://www.flickr.com/photos/herval/4629467180/</link>
268
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
269
+
270
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629467180/&quot; title=&quot;Day Off&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3350/4629467180_1e86e00d89_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Day Off&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
271
+
272
+ </description>
273
+ <pubDate>Sat, 22 May 2010 08:11:38 -0700</pubDate>
274
+ <dc:date.Taken>2010-03-31T18:38:31-08:00</dc:date.Taken>
275
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
276
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629467180</guid>
277
+ <media:content url="http://farm4.static.flickr.com/3350/4629467180_dcfe2e5bbc_o.jpg"
278
+ type="image/jpeg"
279
+ height="1200"
280
+ width="1600"/>
281
+ <media:title>Day Off</media:title>
282
+ <media:thumbnail url="http://farm4.static.flickr.com/3350/4629467180_1e86e00d89_s.jpg" height="75" width="75" />
283
+ <media:credit role="photographer">herval</media:credit>
284
+ <media:category scheme="urn:flickr:tags">pets dogs frodo</media:category>
285
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
286
+ </item>
287
+ <item>
288
+ <title>Skaven Mutant</title>
289
+ <link>http://www.flickr.com/photos/herval/4628865501/</link>
290
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
291
+
292
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4628865501/&quot; title=&quot;Skaven Mutant&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4019/4628865501_9314a7f9bf_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;Skaven Mutant&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
293
+
294
+ </description>
295
+ <pubDate>Sat, 22 May 2010 08:11:15 -0700</pubDate>
296
+ <dc:date.Taken>2010-02-09T12:03:31-08:00</dc:date.Taken>
297
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
298
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4628865501</guid>
299
+ <media:content url="http://farm5.static.flickr.com/4019/4628865501_de763d3511_o.jpg"
300
+ type="image/jpeg"
301
+ height="3168"
302
+ width="4752"/>
303
+ <media:title>Skaven Mutant</media:title>
304
+ <media:thumbnail url="http://farm5.static.flickr.com/4019/4628865501_9314a7f9bf_s.jpg" height="75" width="75" />
305
+ <media:credit role="photographer">herval</media:credit>
306
+ <media:category scheme="urn:flickr:tags">toys miniatures warhammer</media:category>
307
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
308
+ </item>
309
+ <item>
310
+ <title>Treefolk</title>
311
+ <link>http://www.flickr.com/photos/herval/4628863247/</link>
312
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
313
+
314
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4628863247/&quot; title=&quot;Treefolk&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4011/4628863247_fbecba8b95_m.jpg&quot; width=&quot;160&quot; height=&quot;240&quot; alt=&quot;Treefolk&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
315
+
316
+ </description>
317
+ <pubDate>Sat, 22 May 2010 08:10:15 -0700</pubDate>
318
+ <dc:date.Taken>2010-02-09T11:57:34-08:00</dc:date.Taken>
319
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
320
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4628863247</guid>
321
+ <media:content url="http://farm5.static.flickr.com/4011/4628863247_b0a2f267ae_o.jpg"
322
+ type="image/jpeg"
323
+ height="4752"
324
+ width="3168"/>
325
+ <media:title>Treefolk</media:title>
326
+ <media:thumbnail url="http://farm5.static.flickr.com/4011/4628863247_fbecba8b95_s.jpg" height="75" width="75" />
327
+ <media:credit role="photographer">herval</media:credit>
328
+ <media:category scheme="urn:flickr:tags">toys miniatures warhammer</media:category>
329
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
330
+ </item>
331
+ <item>
332
+ <title>Wag the Dog</title>
333
+ <link>http://www.flickr.com/photos/herval/4629462208/</link>
334
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
335
+
336
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629462208/&quot; title=&quot;Wag the Dog&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3183/4629462208_cac54ea81c_m.jpg&quot; width=&quot;160&quot; height=&quot;240&quot; alt=&quot;Wag the Dog&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
337
+
338
+ </description>
339
+ <pubDate>Sat, 22 May 2010 08:09:18 -0700</pubDate>
340
+ <dc:date.Taken>2010-02-09T09:31:59-08:00</dc:date.Taken>
341
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
342
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629462208</guid>
343
+ <media:content url="http://farm4.static.flickr.com/3183/4629462208_942712c4c6_o.jpg"
344
+ type="image/jpeg"
345
+ height="4752"
346
+ width="3168"/>
347
+ <media:title>Wag the Dog</media:title>
348
+ <media:thumbnail url="http://farm4.static.flickr.com/3183/4629462208_cac54ea81c_s.jpg" height="75" width="75" />
349
+ <media:credit role="photographer">herval</media:credit>
350
+ <media:category scheme="urn:flickr:tags">pets dogs frodo</media:category>
351
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
352
+ </item>
353
+ <item>
354
+ <title>Salonu Flower</title>
355
+ <link>http://www.flickr.com/photos/herval/4629460214/</link>
356
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
357
+
358
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629460214/&quot; title=&quot;Salonu Flower&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3371/4629460214_b6652b15fb_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Salonu Flower&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
359
+
360
+ </description>
361
+ <pubDate>Sat, 22 May 2010 08:08:27 -0700</pubDate>
362
+ <dc:date.Taken>2009-11-01T15:15:52-08:00</dc:date.Taken>
363
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
364
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629460214</guid>
365
+ <media:content url="http://farm4.static.flickr.com/3371/4629460214_0d40d5bf30_o.jpg"
366
+ type="image/jpeg"
367
+ height="2592"
368
+ width="1944"/>
369
+ <media:title>Salonu Flower</media:title>
370
+ <media:thumbnail url="http://farm4.static.flickr.com/3371/4629460214_b6652b15fb_s.jpg" height="75" width="75" />
371
+ <media:credit role="photographer">herval</media:credit>
372
+ <media:category scheme="urn:flickr:tags">girls saopaulo michelle</media:category>
373
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
374
+ </item>
375
+ <item>
376
+ <title>Michelle Poppins</title>
377
+ <link>http://www.flickr.com/photos/herval/4629458716/</link>
378
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
379
+
380
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629458716/&quot; title=&quot;Michelle Poppins&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4001/4629458716_71b5fa1d06_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Michelle Poppins&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
381
+
382
+ </description>
383
+ <pubDate>Sat, 22 May 2010 08:07:49 -0700</pubDate>
384
+ <dc:date.Taken>2009-03-29T22:22:49-08:00</dc:date.Taken>
385
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
386
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629458716</guid>
387
+ <media:content url="http://farm5.static.flickr.com/4001/4629458716_d36319ace7_o.jpg"
388
+ type="image/jpeg"
389
+ height="3648"
390
+ width="2736"/>
391
+ <media:title>Michelle Poppins</media:title>
392
+ <media:thumbnail url="http://farm5.static.flickr.com/4001/4629458716_71b5fa1d06_s.jpg" height="75" width="75" />
393
+ <media:credit role="photographer">herval</media:credit>
394
+ <media:category scheme="urn:flickr:tags">girls salzburg michelle</media:category>
395
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
396
+ </item>
397
+ <item>
398
+ <title>Minancora</title>
399
+ <link>http://www.flickr.com/photos/herval/4629420374/</link>
400
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
401
+
402
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629420374/&quot; title=&quot;Minancora&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3396/4629420374_9425d896b3_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Minancora&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
403
+
404
+ </description>
405
+ <pubDate>Sat, 22 May 2010 07:49:12 -0700</pubDate>
406
+ <dc:date.Taken>2010-04-24T14:30:56-08:00</dc:date.Taken>
407
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
408
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629420374</guid>
409
+ <media:content url="http://farm4.static.flickr.com/3396/4629420374_c7e9d02277_o.jpg"
410
+ type="image/jpeg"
411
+ height="1600"
412
+ width="1200"/>
413
+ <media:title>Minancora</media:title>
414
+ <media:thumbnail url="http://farm4.static.flickr.com/3396/4629420374_9425d896b3_s.jpg" height="75" width="75" />
415
+ <media:credit role="photographer">herval</media:credit>
416
+ <media:category scheme="urn:flickr:tags">vintage posters</media:category>
417
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
418
+ </item>
419
+ <item>
420
+ <title>Biotônico Fontoura</title>
421
+ <link>http://www.flickr.com/photos/herval/4628818099/</link>
422
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
423
+
424
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4628818099/&quot; title=&quot;Biotônico Fontoura&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3338/4628818099_8030072577_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Biotônico Fontoura&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
425
+
426
+ </description>
427
+ <pubDate>Sat, 22 May 2010 07:48:51 -0700</pubDate>
428
+ <dc:date.Taken>2010-04-24T14:30:50-08:00</dc:date.Taken>
429
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
430
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4628818099</guid>
431
+ <media:content url="http://farm4.static.flickr.com/3338/4628818099_49673282f4_o.jpg"
432
+ type="image/jpeg"
433
+ height="1600"
434
+ width="1200"/>
435
+ <media:title>Biotônico Fontoura</media:title>
436
+ <media:thumbnail url="http://farm4.static.flickr.com/3338/4628818099_8030072577_s.jpg" height="75" width="75" />
437
+ <media:credit role="photographer">herval</media:credit>
438
+ <media:category scheme="urn:flickr:tags">vintage posters</media:category>
439
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
440
+ </item>
441
+ <item>
442
+ <title>Kodak</title>
443
+ <link>http://www.flickr.com/photos/herval/4629419090/</link>
444
+ <description> &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/herval/&quot;&gt;herval&lt;/a&gt; posted a photo:&lt;/p&gt;
445
+
446
+ &lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/herval/4629419090/&quot; title=&quot;Kodak&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4056/4629419090_ced5e88c49_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;Kodak&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
447
+
448
+ </description>
449
+ <pubDate>Sat, 22 May 2010 07:48:31 -0700</pubDate>
450
+ <dc:date.Taken>2010-04-24T14:30:40-08:00</dc:date.Taken>
451
+ <author flickr:profile="http://www.flickr.com/people/herval/">nobody@flickr.com (herval)</author>
452
+ <guid isPermaLink="false">tag:flickr.com,2004:/photo/4629419090</guid>
453
+ <media:content url="http://farm5.static.flickr.com/4056/4629419090_4cf091f4b7_o.jpg"
454
+ type="image/jpeg"
455
+ height="1600"
456
+ width="1200"/>
457
+ <media:title>Kodak</media:title>
458
+ <media:thumbnail url="http://farm5.static.flickr.com/4056/4629419090_ced5e88c49_s.jpg" height="75" width="75" />
459
+ <media:credit role="photographer">herval</media:credit>
460
+ <media:category scheme="urn:flickr:tags">vintage posters</media:category>
461
+ <creativeCommons:license>http://creativecommons.org/licenses/by/2.0/deed.en</creativeCommons:license>
462
+ </item>
463
+
464
+ </channel>
465
+ </rss>
metadata CHANGED
@@ -1,66 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: simple-rss
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Lucas Carlson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2010-07-06 00:00:00 -07:00
13
- default_executable:
11
+ date: 2013-12-16 00:00:00.000000000 Z
14
12
  dependencies: []
15
-
16
- description: A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
13
+ description: |2
14
+ A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
17
15
  email: lucas@rufy.com
18
16
  executables: []
19
-
20
17
  extensions: []
21
-
22
18
  extra_rdoc_files: []
23
-
24
- files:
25
- - install.rb
19
+ files:
26
20
  - lib/simple-rss.rb
27
- - LICENSE
28
- - Rakefile
29
- - README
30
- - simple-rss.gemspec
31
21
  - test/base/base_test.rb
32
22
  - test/data/atom.xml
23
+ - test/data/media_rss.xml
33
24
  - test/data/not-rss.xml
34
25
  - test/data/rss09.rdf
35
26
  - test/data/rss20.xml
36
27
  - test/test_helper.rb
37
- has_rdoc: true
38
- homepage: http://github.com/cardmagic/simple-rss
28
+ - Gemfile
29
+ - Gemfile.lock
30
+ - LICENSE
31
+ - README.markdown
32
+ - Rakefile
33
+ homepage: https://github.com/cardmagic/simple-rss
39
34
  licenses: []
40
-
35
+ metadata: {}
41
36
  post_install_message:
42
37
  rdoc_options: []
43
-
44
- require_paths:
38
+ require_paths:
45
39
  - lib
46
- required_ruby_version: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: "0"
51
- version:
52
- required_rubygems_version: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
57
- version:
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
58
50
  requirements: []
59
-
60
51
  rubyforge_project:
61
- rubygems_version: 1.3.5
52
+ rubygems_version: 2.0.3
62
53
  signing_key:
63
- specification_version: 3
64
- summary: A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
54
+ specification_version: 4
55
+ summary: A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby.
56
+ It is designed to be backwards compatible with the standard RSS parser, but will
57
+ never do RSS generation.
65
58
  test_files: []
66
-
data/install.rb DELETED
@@ -1,40 +0,0 @@
1
- require 'rbconfig'
2
- require 'find'
3
- require 'ftools'
4
-
5
- include Config
6
-
7
- # this was adapted from rdoc's install.rb by ways of Log4r
8
-
9
- $sitedir = CONFIG["sitelibdir"]
10
- unless $sitedir
11
- version = CONFIG["MAJOR"] + "." + CONFIG["MINOR"]
12
- $libdir = File.join(CONFIG["libdir"], "ruby", version)
13
- $sitedir = $:.find {|x| x =~ /site_ruby/ }
14
- if !$sitedir
15
- $sitedir = File.join($libdir, "site_ruby")
16
- elsif $sitedir !~ Regexp.quote(version)
17
- $sitedir = File.join($sitedir, version)
18
- end
19
- end
20
-
21
- makedirs = %w{ shipping }
22
- makedirs.each {|f| File::makedirs(File.join($sitedir, *f.split(/\//)))}
23
-
24
- Dir.chdir("lib")
25
- begin
26
- require 'rubygems'
27
- require 'rake'
28
- rescue LoadError
29
- puts
30
- puts "Please install Gem and Rake from http://rubyforge.org/projects/rubygems and http://rubyforge.org/projects/rake"
31
- puts
32
- exit(-1)
33
- end
34
-
35
- files = FileList["**/*"]
36
-
37
- # File::safe_unlink *deprecated.collect{|f| File.join($sitedir, f.split(/\//))}
38
- files.each {|f|
39
- File::install(f, File.join($sitedir, *f.split(/\//)), 0644, true)
40
- }
@@ -1,12 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.name = "simple-rss"
3
- s.version = "1.2.3"
4
- s.date = "2010-07-06"
5
- s.summary = "A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation."
6
- s.email = "lucas@rufy.com"
7
- s.homepage = "http://github.com/cardmagic/simple-rss"
8
- s.description = "A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation."
9
- s.has_rdoc = true
10
- s.authors = ["Lucas Carlson"]
11
- s.files = ["install.rb", "lib", "lib/simple-rss.rb", "LICENSE", "Rakefile", "README", "simple-rss.gemspec", "test", "test/base", "test/base/base_test.rb", "test/data", "test/data/atom.xml", "test/data/not-rss.xml", "test/data/rss09.rdf", "test/data/rss20.xml", "test/test_helper.rb"]
12
- end