HeSYINUvSBZfxqA-foreman 0.20.0.1 → 0.20.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,19 +1,15 @@
1
1
  # Foreman
2
2
 
3
- ## Installation
3
+ ## Getting Started
4
4
 
5
- gem install foreman
6
-
7
- ## Description
8
-
9
- http://blog.daviddollar.org/2011/05/06/introducing-foreman.html
10
-
11
- ## Manual
12
-
13
- See the [man page](http://ddollar.github.com/foreman) for usage.
5
+ bundle --local --path vendor/bundle
6
+ cp Procfile.rb.example Procfile.rb
7
+ one=lame two=fame bundle exec foreman start -f Procfile.rb
14
8
 
15
9
  ## Authorship
16
10
 
11
+ Fork by Tom Bombadil
12
+
17
13
  Created by David Dollar
18
14
 
19
15
  Patches contributed by:
@@ -17,7 +17,12 @@ class Foreman::Engine
17
17
  COLORS = [ cyan, yellow, green, magenta, red ]
18
18
 
19
19
  def initialize(procfile)
20
- @procfile = read_procfile(procfile)
20
+ @procfile =
21
+ if procfile.end_with? ".rb"
22
+ eval_procfile(procfile)
23
+ else
24
+ read_procfile(procfile)
25
+ end
21
26
  @directory = File.expand_path(File.dirname(procfile))
22
27
  end
23
28
 
@@ -170,6 +175,10 @@ private ######################################################################
170
175
  $0 = title
171
176
  end
172
177
 
178
+ def eval_procfile(procfile)
179
+ eval(read_procfile(procfile))
180
+ end
181
+
173
182
  def read_procfile(procfile)
174
183
  File.read(procfile)
175
184
  end
@@ -1,5 +1,5 @@
1
1
  module Foreman
2
2
 
3
- VERSION = "0.20.0.1"
3
+ VERSION = "0.20.0.2"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HeSYINUvSBZfxqA-foreman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 237
4
+ hash: 235
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 20
9
9
  - 0
10
- - 1
11
- version: 0.20.0.1
10
+ - 2
11
+ version: 0.20.0.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - David Dollar
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-09-02 00:00:00 +00:00
19
+ date: 2011-09-03 00:00:00 +00:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency