[前][次][番号順一覧][スレッド一覧]

ruby-changes:37079

From: naruse <ko1@a...>
Date: Tue, 6 Jan 2015 10:19:16 +0900 (JST)
Subject: [ruby-changes:37079] naruse:r49160 (trunk): add bold to headers

naruse	2015-01-06 10:19:01 +0900 (Tue, 06 Jan 2015)

  New Revision: 49160

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49160

  Log:
    add bold to headers

  Modified files:
    trunk/tool/redmine-backporter.rb
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 49159)
+++ tool/redmine-backporter.rb	(revision 49160)
@@ -267,7 +267,7 @@ while true https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L267
     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 https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L279
     #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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]