зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
d289a78549
Коммит
8ea6b7a137
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 24 16:46:02 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* tool/redmine-backporter.rb: now doesn't required spaces just after
|
||||
`!`.
|
||||
|
||||
Mon Mar 23 23:18:27 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* dir.c (dir_close): don't raise on dobule close for consistent to
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче