lib/augury/fortune.rb in augury-1.1.0 vs lib/augury/fortune.rb in augury-1.1.1

- old
+ new

@@ -54,10 +54,11 @@ text.gsub!(transform[0], transform[1]) end WordWrap.ww text, @config.fetch(:width, 72) end author = @config[:attribution] ? "\n-- #{@twitter.user(@username).name}\n" : '' - formatted.join("#{author}%\n") + text = formatted.join("#{author}%\n") + text + author if author end def write_fortune # Write out the file begin