diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-24 07:49:02 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-24 07:49:02 +0000 |
commit | 8ea6b7a137aafe0c1e1c5efa61fde8f0ab67a296 (patch) | |
tree | b362bdf4a8b89315c08ebb059d7c424cec69d3fe /tool | |
parent | d289a785496fd03cc6508d30c01a841dafeedb45 (diff) | |
download | ruby-8ea6b7a137aafe0c1e1c5efa61fde8f0ab67a296.tar.gz |
* 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')
-rwxr-xr-x | tool/redmine-backporter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |