summaryrefslogtreecommitdiff
path: root/tool/redmine-backporter.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-24 07:49:02 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-24 07:49:02 +0000
commit8ea6b7a137aafe0c1e1c5efa61fde8f0ab67a296 (patch)
treeb362bdf4a8b89315c08ebb059d7c424cec69d3fe /tool/redmine-backporter.rb
parentd289a785496fd03cc6508d30c01a841dafeedb45 (diff)
* 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
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-xtool/redmine-backporter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index d3f4c24..4c5476f 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