lib/vclog/templates/changelog.rdoc.rb in vclog-1.8.2 vs lib/vclog/templates/changelog.rdoc.rb in vclog-1.9.0
- old
+ new
@@ -7,20 +7,20 @@
date_changes.by_author.each do |author, author_changes|
out << "\n== #{date} #{author}\n"
author_changes.each do |entry|
+ msg = entry.to_s(:summary=>!options.detail)
- out << "* #{entry.message.strip}"
+ out << msg.tabto(2).sub(' ','* ')
if entry.type
out.last << " [#{entry.type}]"
end
- if options.revision
- out.last << " (##{entry.revision})"
+ if options.reference
+ out.last << " (##{entry.id})"
end
-
end
end
end