changes_since 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f54efccb749c5d03ec76172fcbb188f3b343dd1
|
4
|
+
data.tar.gz: 9175935cca08e5e61cfc6ce0bc885a2b257b3626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6726da3ef54fba175e143243a70e7b7092d9dd4768203b0d3a1497e69ee1f9f698169fcbab6118f143bcb78884ffd0174988c0d0d860df990cc1c44ee3189ff9
|
7
|
+
data.tar.gz: 23bfce2003de71382f2f400df579a923e1c3cfcc7ac1d646db0c58eeea0f65dd2f59c78b7e673edfae962826c47b08a6767361b1c5f3e1f12f488c73acfcd1aa
|
@@ -89,7 +89,7 @@ module ChangesSince
|
|
89
89
|
text << "#{branch_author}|"
|
90
90
|
text << "[##{pr}|#{@repo}/pull/#{pr}]|" if @repo && pr
|
91
91
|
text << "[#{sha}|#{@repo}/commit/#{sha}]|" if sha
|
92
|
-
text << "|" if options[:risk]
|
92
|
+
text << " |" if options[:risk]
|
93
93
|
else
|
94
94
|
text = "* #{title} (#{branch_author})"
|
95
95
|
end
|
@@ -170,7 +170,7 @@ class ChangelogPrinterTest < Test::Unit::TestCase
|
|
170
170
|
should "allow a column for risk" do
|
171
171
|
printer = ChangesSince::ChangelogPrinter.new(stub, stub, { :markdown => true, :risk => true }, "repo")
|
172
172
|
commit = stub(:author => stub(:name => "NAME"), :message => "MESSAGE", :sha => "123")
|
173
|
-
printer.expects(:puts).with('|MESSAGE|NAME|[|repo/commit/]
|
173
|
+
printer.expects(:puts).with('|MESSAGE|NAME|[|repo/commit/]| |')
|
174
174
|
printer.print_message(commit)
|
175
175
|
end
|
176
176
|
end
|