rss_timeline 0.1.2 → 0.1.3

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: f90326f0559e28481a8e562b58530da6e5dcead4
4
- data.tar.gz: 2e8567e7ad4ab0893850f7b60b262022b2bf2cd4
3
+ metadata.gz: 028b71dc8cf0fcaa3b625b5b79951a40b74579fd
4
+ data.tar.gz: e63713b9b91aa3640e98ca5a2fae631a413e64dc
5
5
  SHA512:
6
- metadata.gz: 26ae1063e77c262cdf4a7a7e031594c051b5df2034914bc775702e74a8f13bda9421c7897e9d1c655ca63a382e705d771a5b4b74009e1666b3ee2ac26e556477
7
- data.tar.gz: deec28d0329688a866dc06bedf6d22f1389d19a0145959dae543a98c8a7e2c959ab02dbb1c3fe0736ca94e0d21ac53ae82e58a22e4175e0bd8dd0f59f279b658
6
+ metadata.gz: 7663fc03601e0acbd205187edf4c123f66289f3d65a3e84836695eaf29b30e9158754bf2632f12a65bf825b36e482d5ce369aebd3b851d30ac9e1a06db46d63f
7
+ data.tar.gz: 8fbb45a99dec66fd895e2a2aa0d5dfd2194f91304696114f85d65703230e1c25b29e9470d176a7f3243cd73963a7670e1c8d1bdf73471991dd5de024d5cdc4be
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -52,7 +52,7 @@ class RSStimeline
52
52
  rss_cache = SimpleRSS.parse File.read(rssfile)
53
53
 
54
54
  new_rss_items = rss.items - rss_cache.items
55
- new_rss_items.each {|item| add_new item}
55
+ new_rss_items.reverse.each {|item| add_new item}
56
56
  File.write rssfile, rss.source if new_rss_items.any?
57
57
 
58
58
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rss_timeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file