kindle-feeds 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kindle-feeds.rb +2 -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.4"
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
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Choi