kindle-feeds 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,7 +52,14 @@
52
52
 
53
53
  <% f.entries.each_with_index do |e, n| %>
54
54
  <a name="section-<%= i %>-feed-<%= j %>-entry-<%= n %>"></a>
55
- <div style="text-align:right"><i><%= e.date_published ? e.date_published.strftime('%B %d, %Y') : nil %></i> (<%= n + 1 %>/<%= f.entries.size %>)</div>
55
+ <div style="text-align:right"><i><%= e.date_published ?
56
+ e.date_published.strftime('%B %d, %Y') : nil %></i> (<%= n + 1
57
+ %>/<%= f.entries.size %>)
58
+
59
+ <% if (n + 1) < f.entries.size %>
60
+ | <a href="#section-<%= i %>-feed-<%= j %>-entry-<%= n + 1 %>">skip to next</a>
61
+ <% end %>
62
+ </div>
56
63
  <h3><a href="<%= e.url %>"><%= e.title %></a></h3>
57
64
  <div>
58
65
  <%= e.content %>
@@ -204,7 +204,7 @@ class Section
204
204
  end
205
205
 
206
206
  class KindleFeeds
207
- VERSION = "1.0.5"
207
+ VERSION = "1.0.6"
208
208
  attr_accessor :sections
209
209
  # config is a text file with a certain format
210
210
  def initialize(config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kindle-feeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Choi