kindle-feeds 1.0.4 → 1.0.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/lib/kindle-feeds.rb +2 -2
- metadata +1 -1
data/lib/kindle-feeds.rb
CHANGED
|
@@ -204,7 +204,7 @@ class Section
|
|
|
204
204
|
end
|
|
205
205
|
|
|
206
206
|
class KindleFeeds
|
|
207
|
-
VERSION = "1.0.
|
|
207
|
+
VERSION = "1.0.5"
|
|
208
208
|
attr_accessor :sections
|
|
209
209
|
# config is a text file with a certain format
|
|
210
210
|
def initialize(config)
|
|
@@ -287,7 +287,7 @@ http://danielchoi.com/software/kindle-feeds.html
|
|
|
287
287
|
puts "Reading #{CONFIGFILE} for feed URLs."
|
|
288
288
|
puts
|
|
289
289
|
configfile = File.open(CONFIGFILE).readlines
|
|
290
|
-
configfile = configfile.select {|line| line !~ /^#/}.join
|
|
290
|
+
configfile = configfile.select {|line| line !~ /^#/}.join.strip
|
|
291
291
|
kf = KindleFeeds.new(configfile)
|
|
292
292
|
kf.to_html
|
|
293
293
|
end
|