feedjira 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df82fcf653407746793598413fa1b78748514fb8
4
- data.tar.gz: 8a6265667aa45ef3ce86c91873bdb0c0206279dd
3
+ metadata.gz: 56dba4b7304c841ff2e72ab32bd84cf6ee0343b6
4
+ data.tar.gz: 6e9d913bca548ba6686b6a93eda55429bff17e15
5
5
  SHA512:
6
- metadata.gz: 560f045916204c4c4f9588fc2802ec2cd2ee53d987075a6f7b17edb20f4be681dfe8321589f045e25972cb5310ed439981f1e1518dd53369327e9ff120ffeca6
7
- data.tar.gz: 13d1fb86f7397ab6c0cd3409d0953c315981e30e5a63d4ba39b1048cde6c8791f835619d4344c513cacdae3eda8449c50e875d8d909ce0c6d0a727446ce2f659
6
+ metadata.gz: 5713f551eea78fd7d0f5f2ea538caa502aa39e518079593f50ba863425fbb81257b4fdd6ac416109b8fd5ef5a04c433d27423870a8d7dccf048496952b88a345
7
+ data.tar.gz: 05240d42fc374ec2b559d54de8a9d603efbdc155d60eb70d9505789348e88977dce7c48628374e70a464a4cc7c2e6185b7e241af3a0d01d1df93b62dc639f696
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Feedjira Changelog
2
2
 
3
+ ## 1.6.0
4
+
5
+ * Enhancements
6
+ * PuSH support for RSS [#256][]
7
+
8
+ [#256]: https://github.com/feedjira/feedjira/pull/256
9
+
3
10
  ## 1.5.0
4
11
 
5
12
  * Enhancements
@@ -10,9 +10,9 @@ module Feedjira
10
10
  element :description
11
11
  element :link, :as => :url
12
12
  elements :item, :as => :entries, :class => RSSEntry
13
+ elements :"atom:link", :as => :hubs, :value => :href, :with => {:rel => "hub"}
13
14
 
14
15
  attr_accessor :feed_url
15
- attr_accessor :hubs
16
16
 
17
17
  def self.able_to_parse?(xml) #:nodoc:
18
18
  (/\<rss|\<rdf/ =~ xml) && !(/feedburner/ =~ xml)
@@ -1,3 +1,3 @@
1
1
  module Feedjira
2
- VERSION = '1.5.0'
2
+ VERSION = '1.6.0'
3
3
  end
@@ -41,8 +41,9 @@ describe Feedjira::Parser::RSS do
41
41
  expect(@feed.url).to eq "http://tenderlovemaking.com"
42
42
  end
43
43
 
44
- it "should not parse hub urls" do
45
- expect(@feed.hubs).to be_nil
44
+ it "should parse the hub urls" do
45
+ expect(@feed.hubs.count).to eq 1
46
+ expect(@feed.hubs.first).to eq "http://pubsubhubbub.appspot.com/"
46
47
  end
47
48
 
48
49
  it "should provide an accessor for the feed_url" do
@@ -18,13 +18,14 @@
18
18
  <language>en</language>
19
19
  <sy:updatePeriod>hourly</sy:updatePeriod>
20
20
  <sy:updateFrequency>1</sy:updateFrequency>
21
+ <atom:link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
21
22
  <item>
22
23
  <title>Nokogiri&#8217;s Slop Feature</title>
23
24
  <link>http://tenderlovemaking.com/2008/12/04/nokogiris-slop-feature/</link>
24
25
  <comments>http://tenderlovemaking.com/2008/12/04/nokogiris-slop-feature/#comments</comments>
25
26
  <pubDate>Thu, 04 Dec 2008 17:17:49 +0000</pubDate>
26
27
  <dc:creator>Aaron Patterson</dc:creator>
27
-
28
+
28
29
  <category><![CDATA[computadora]]></category>
29
30
 
30
31
  <category><![CDATA[nokogiri]]></category>
@@ -114,7 +115,7 @@ foo.<span class="me1">extend</span><span class="br0">&#40;</span>UpperCaseResult
114
115
  <comments>http://tenderlovemaking.com/2008/11/21/cross-compiling-ruby-gems-for-win32/#comments</comments>
115
116
  <pubDate>Sat, 22 Nov 2008 04:27:02 +0000</pubDate>
116
117
  <dc:creator>Aaron Patterson</dc:creator>
117
-
118
+
118
119
  <category><![CDATA[computadora]]></category>
119
120
 
120
121
  <category><![CDATA[nokogiri]]></category>
@@ -255,7 +256,7 @@ end </span></div>
255
256
  <comments>http://tenderlovemaking.com/2008/11/18/underpant-free-excitement/#comments</comments>
256
257
  <pubDate>Tue, 18 Nov 2008 21:17:38 +0000</pubDate>
257
258
  <dc:creator>Aaron Patterson</dc:creator>
258
-
259
+
259
260
  <category><![CDATA[computadora]]></category>
260
261
 
261
262
  <category><![CDATA[nokogiri]]></category>
@@ -301,7 +302,7 @@ doc.<span class="me1">search</span><span class="br0">&#40;</span>'h3.<span class
301
302
  <comments>http://tenderlovemaking.com/2008/11/11/rubyconf-slides/#comments</comments>
302
303
  <pubDate>Wed, 12 Nov 2008 03:49:30 +0000</pubDate>
303
304
  <dc:creator>Aaron Patterson</dc:creator>
304
-
305
+
305
306
  <category><![CDATA[life]]></category>
306
307
 
307
308
  <guid isPermaLink="false">http://tenderlovemaking.com/?p=172</guid>
@@ -321,7 +322,7 @@ Enjoy!
321
322
  <comments>http://tenderlovemaking.com/2008/11/03/easily-add-growl-notifications-to-autotest/#comments</comments>
322
323
  <pubDate>Mon, 03 Nov 2008 23:06:39 +0000</pubDate>
323
324
  <dc:creator>Aaron Patterson</dc:creator>
324
-
325
+
325
326
  <category><![CDATA[computadora]]></category>
326
327
 
327
328
  <category><![CDATA[meow]]></category>
@@ -346,7 +347,7 @@ Here is a screencast. [...]]]></description>
346
347
  <comments>http://tenderlovemaking.com/2008/10/30/nokogiri-is-released/#comments</comments>
347
348
  <pubDate>Fri, 31 Oct 2008 03:36:31 +0000</pubDate>
348
349
  <dc:creator>Aaron Patterson</dc:creator>
349
-
350
+
350
351
  <category><![CDATA[life]]></category>
351
352
 
352
353
  <guid isPermaLink="false">http://tenderlovemaking.com/?p=156</guid>
@@ -400,7 +401,7 @@ eohtml</div>
400
401
  <comments>http://tenderlovemaking.com/2008/09/08/mushrooms-beef-jerky-and-programming/#comments</comments>
401
402
  <pubDate>Mon, 08 Sep 2008 15:41:14 +0000</pubDate>
402
403
  <dc:creator>Aaron Patterson</dc:creator>
403
-
404
+
404
405
  <category><![CDATA[life]]></category>
405
406
 
406
407
  <guid isPermaLink="false">http://tenderlovemaking.com/?p=151</guid>
@@ -436,7 +437,7 @@ agent.<span class="me1">get</span><span class="br0">&#40;</span>'http://google.<
436
437
  <comments>http://tenderlovemaking.com/2008/08/04/identifying-unknown-music-with-ruby/#comments</comments>
437
438
  <pubDate>Mon, 04 Aug 2008 18:44:49 +0000</pubDate>
438
439
  <dc:creator>Aaron Patterson</dc:creator>
439
-
440
+
440
441
  <category><![CDATA[earworm]]></category>
441
442
 
442
443
  <category><![CDATA[icanhasaudio]]></category>
@@ -472,7 +473,7 @@ info = ew.<span class="me1">identify</span><span class="br0">&#40;</span>:file =
472
473
  <comments>http://tenderlovemaking.com/2008/07/08/back-home/#comments</comments>
473
474
  <pubDate>Tue, 08 Jul 2008 18:34:06 +0000</pubDate>
474
475
  <dc:creator>Aaron Patterson</dc:creator>
475
-
476
+
476
477
  <category><![CDATA[life]]></category>
477
478
 
478
479
  <guid isPermaLink="false">http://tenderlovemaking.com/?p=146</guid>
@@ -489,7 +490,7 @@ info = ew.<span class="me1">identify</span><span class="br0">&#40;</span>:file =
489
490
  <comments>http://tenderlovemaking.com/2008/06/06/meow-meow-meow-meow-meow/#comments</comments>
490
491
  <pubDate>Fri, 06 Jun 2008 19:56:52 +0000</pubDate>
491
492
  <dc:creator>Aaron Patterson</dc:creator>
492
-
493
+
493
494
  <category><![CDATA[computadora]]></category>
494
495
 
495
496
  <category><![CDATA[meow]]></category>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedjira
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-10-27 00:00:00.000000000 Z
14
+ date: 2014-12-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sax-machine