From 8ea6b7a137aafe0c1e1c5efa61fde8f0ab67a296 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 24 Mar 2015 07:49:02 +0000 Subject: [PATCH] * tool/redmine-backporter.rb: now doesn't required spaces just after `!`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ tool/redmine-backporter.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3fe9ed0a36..a2f2f97fcb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 24 16:46:02 2015 NAKAMURA Usaku + + * tool/redmine-backporter.rb: now doesn't required spaces just after + `!`. + Mon Mar 23 23:18:27 2015 Nobuyoshi Nakada * dir.c (dir_close): don't raise on dobule close for consistent to diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index d3f4c240ee..4c5476fa7d 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -558,7 +558,7 @@ while true break end break unless l - cmd, args = l.strip.split(/\s+/, 2) + cmd, args = l.strip.split(/\s+|\b/, 2) next unless cmd if (!args || args.empty?) && /\A\d+\z/ =~ cmd args = cmd @@ -570,7 +570,7 @@ while true cmd = list[cmd] begin if cmd - commands[cmd].call(args.to_s) + commands[cmd].call(args) else raise CommandSyntaxError end