Compare commits

...

3 Commits

Author SHA1 Message Date
David Dollar
e6b61801b1 0.10.0 2010-12-13 18:05:41 -05:00
David Dollar
dc231f072b allow optional colon after process name 2010-12-13 18:05:06 -05:00
David Dollar
b77b23b306 declare license 2010-11-16 17:47:53 -05:00
3 changed files with 9 additions and 4 deletions

View File

@@ -1,4 +1,9 @@
Foreman
=======
# Foreman
## Manual
See the [man page](http://ddollar.github.com/foreman) for usage.
## License
MIT

View File

@@ -1,6 +1,6 @@
module Foreman
VERSION = "0.9.2"
VERSION = "0.10.0"
class AppDoesNotExist < Exception; end

View File

@@ -25,7 +25,7 @@ class Foreman::Engine
@order = []
procfile.split("\n").inject({}) do |hash, line|
next if line.strip == ""
name, command = line.split(" ", 2)
name, command = line.split(/:? +/, 2)
process = Foreman::Process.new(name, command)
process.color = next_color
@order << process.name