git-commit-notifier 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/git-commit-notifier.gemspec +1 -1
- data/lib/diff_to_html.rb +3 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.1
|
data/git-commit-notifier.gemspec
CHANGED
data/lib/diff_to_html.rb
CHANGED
|
@@ -299,9 +299,11 @@ class DiffToHtml
|
|
|
299
299
|
if (@config["link_files"] && @config["link_files"] == "gitweb" && @config["gitweb"])
|
|
300
300
|
title += "<a href='#{@config['gitweb']['path']}?p=#{@config['gitweb']['project']};a=commitdiff;h=#{commit_info[:commit]}'>#{commit_info[:commit]}</a>"
|
|
301
301
|
else
|
|
302
|
-
title += " #{commit_info[:commit]}
|
|
302
|
+
title += " #{commit_info[:commit]}"
|
|
303
303
|
end
|
|
304
304
|
|
|
305
|
+
title += "<br />\n"
|
|
306
|
+
|
|
305
307
|
title += "<strong>Branch:</strong> #{branch}\n<br />" unless branch =~ /\/head/
|
|
306
308
|
title += "<strong>Date:</strong> #{CGI.escapeHTML commit_info[:date]}\n<br />"
|
|
307
309
|
title += "<strong>Author:</strong> #{CGI.escapeHTML(commit_info[:author])} <#{commit_info[:email]}>\n</div>"
|