diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-06 01:19:01 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-06 01:19:01 +0000 |
commit | 57a0021095a4f94661b76238fe9fba0da56e811d (patch) | |
tree | 0501814df32905fb22b56bd31405ba4a1eedd164 /tool/redmine-backporter.rb | |
parent | 37360f82aa3e41eed4497a945dbc80a81423aacf (diff) |
add bold to headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-x | tool/redmine-backporter.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 121aa3e718..b3e8ea53c9 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -267,7 +267,7 @@ while true id = "##{i["id"]}".color(*PRIORITIES[i["priority"]["name"]]) sio = StringIO.new sio.puts <<eom -#{i["subject"]} +#{i["subject"].color(bold: true, underscore: true)} #{i["project"]["name"]} [#{i["tracker"]["name"]} #{id}] #{i["status"]["name"]} (#{i["created_on"]}) author: #{i["author"]["name"]} assigned: #{i["assigned_to"].to_h["name"]} @@ -279,17 +279,17 @@ eom #end sio.puts i["description"] sio.puts - sio.puts "= changesets" + sio.puts "= changesets".color(bold: true, underscore: true) @changesets = [] i["changesets"].each do |x| @changesets << x["revision"] - sio.puts "== #{x["revision"]} #{x["committed_on"]} #{x["user"]["name"] rescue nil}" + sio.puts "== #{x["revision"]} #{x["committed_on"]} #{x["user"]["name"] rescue nil}".color(bold: true, underscore: true) sio.puts x["comments"] end if i["journals"] && !i["journals"].empty? - sio.puts "= journals" + sio.puts "= journals".color(bold: true, underscore: true) i["journals"].each do |x| - sio.puts "== #{x["user"]["name"]} (#{x["created_on"]})" + sio.puts "== #{x["user"]["name"]} (#{x["created_on"]})".color(bold: true, underscore: true) x["details"].each do |y| sio.puts JSON(y) end |