foreman 0.52.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/foreman/engine.rb +4 -1
- data/lib/foreman/process.rb +4 -2
- data/lib/foreman/version.rb +1 -1
- metadata +10 -3
data/lib/foreman/engine.rb
CHANGED
@@ -256,7 +256,10 @@ private
|
|
256
256
|
1.upto(formation[@names[process]]) do |n|
|
257
257
|
reader, writer = create_pipe
|
258
258
|
begin
|
259
|
-
pid = process.run(:output => writer, :env => {
|
259
|
+
pid = process.run(:output => writer, :env => {
|
260
|
+
"HOME" => process.cwd,
|
261
|
+
"PORT" => port_for(process, n).to_s
|
262
|
+
})
|
260
263
|
writer.puts "started with pid #{pid}"
|
261
264
|
rescue Errno::ENOENT
|
262
265
|
writer.puts "unknown command: #{process.command}"
|
data/lib/foreman/process.rb
CHANGED
data/lib/foreman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70298717948140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.13.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70298717948140
|
25
25
|
description: Process manager for applications with multiple components
|
26
26
|
email: ddollar@gmail.com
|
27
27
|
executables:
|
@@ -121,12 +121,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- - ! '>='
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
hash: 3078355139139106032
|
124
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
128
|
none: false
|
126
129
|
requirements:
|
127
130
|
- - ! '>='
|
128
131
|
- !ruby/object:Gem::Version
|
129
132
|
version: '0'
|
133
|
+
segments:
|
134
|
+
- 0
|
135
|
+
hash: 3078355139139106032
|
130
136
|
requirements: []
|
131
137
|
rubyforge_project:
|
132
138
|
rubygems_version: 1.8.11
|
@@ -134,3 +140,4 @@ signing_key:
|
|
134
140
|
specification_version: 3
|
135
141
|
summary: Process manager for applications with multiple components
|
136
142
|
test_files: []
|
143
|
+
has_rdoc:
|