Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6b61801b1 | ||
|
|
dc231f072b | ||
|
|
b77b23b306 |
+7
-2
@@ -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
@@ -1,6 +1,6 @@
|
|||||||
module Foreman
|
module Foreman
|
||||||
|
|
||||||
VERSION = "0.9.2"
|
VERSION = "0.10.0"
|
||||||
|
|
||||||
class AppDoesNotExist < Exception; end
|
class AppDoesNotExist < Exception; end
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user