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

ruby-changes:38210

From: usa <ko1@a...>
Date: Mon, 13 Apr 2015 17:25:40 +0900 (JST)
Subject: [ruby-changes:38210] usa:r50291 (trunk): * tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note

usa	2015-04-13 17:25:34 +0900 (Mon, 13 Apr 2015)

  New Revision: 50291

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

  Log:
    * tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note
      without the ticket number.

  Modified files:
    trunk/tool/redmine-backporter.rb
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 50290)
+++ tool/redmine-backporter.rb	(revision 50291)
@@ -422,7 +422,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L422
   },
 
   "done" => proc{|args|
-    raise CommandSyntaxError unless /\A(\d+)?(?: -- +(.*))?\z/ =~ args
+    raise CommandSyntaxError unless /\A(\d+)?(?:\s*-- +(.*))?\z/ =~ args
     notes = $2
     notes.strip! if notes
     if $1

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

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