Permit underscore for command name in Procfile.

This commit is contained in:
Kentaro Kuribayashi
2013-02-21 11:30:59 +09:00
parent 4e84b92536
commit 5ef8bbdbe3
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ private
def parse(filename)
File.read(filename).gsub("\r\n","\n").split("\n").map do |line|
if line =~ /^([A-Za-z0-9_]+):\s*(.+)$/
if line =~ /^([A-Za-z0-9_-]+):\s*(.+)$/
[$1, $2]
end
end.compact