bin/soulmate in soulmate-0.1.0 vs bin/soulmate in soulmate-0.1.1

- old
+ new

@@ -20,10 +20,10 @@ Soulmate.redis = host end opts.on("-s", "--stop-words [FILE]", "Path to file containing a list of stop words") do |fn| File.open(fn) do |file| - Soulmate.stop_words = file.readlines.map{ |l| l.strip } + Soulmate.stop_words = file.readlines.map{ |l| l.strip }.reject{ |w| w.empty? } end end opts.on("-h", "--help", "Show this message") do puts opts