lib/revision/info.rb in revision-1.4.0 vs lib/revision/info.rb in revision-1.4.1
- old
+ new
@@ -119,10 +119,10 @@
end
# Prefixes the entry with an empty line, then prefixes each line with comment chars
# and converts the line entries to a single string
def format_changelog_entry(entry_lines)
- entry_lines.unshift('').map { |line| "#{@comment_prefix} #{line}"}.join("\n")
+ entry_lines.unshift('').map { |line| "#{@comment_prefix} #{line}".rstrip()}.join("\n")
end
def get_changelog_entry
entry_lines = []
entry_lines << "Version #{self} (#{Time.now.strftime("%d %b %Y")})"