git-commit-notifier 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git-commit-notifier}
8
- s.version = "0.7.0"
8
+ s.version = "0.7.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bodo Tasche"]
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]}<br />\n"
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])} &lt;#{commit_info[:email]}&gt;\n</div>"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 0
9
- version: 0.7.0
8
+ - 1
9
+ version: 0.7.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bodo Tasche