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
+7 -2
View File
@@ -1,4 +1,9 @@
Foreman # Foreman
=======
## Manual
See the [man page](http://ddollar.github.com/foreman) for usage. See the [man page](http://ddollar.github.com/foreman) for usage.
## License
MIT
+1 -1
View File
@@ -1,6 +1,6 @@
module Foreman module Foreman
VERSION = "0.9.2" VERSION = "0.10.0"
class AppDoesNotExist < Exception; end class AppDoesNotExist < Exception; end
+1 -1
View File
@@ -25,7 +25,7 @@ class Foreman::Engine
@order = [] @order = []
procfile.split("\n").inject({}) do |hash, line| procfile.split("\n").inject({}) do |hash, line|
next if line.strip == "" next if line.strip == ""
name, command = line.split(" ", 2) name, command = line.split(/:? +/, 2)
process = Foreman::Process.new(name, command) process = Foreman::Process.new(name, command)
process.color = next_color process.color = next_color
@order << process.name @order << process.name