Merge pull request #329 from kentaro/permit-underscore-in-procfile

Permit hyphen for command name in Procfile
This commit is contained in:
David Dollar
2013-04-14 08:32:24 -07:00
8 changed files with 70 additions and 5 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