unicorn-wrangler 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unicorn/wrangler/version.rb +1 -1
- data/lib/unicorn/wrangler.rb +1 -1
- data/spec/lib/unicorn/wrangler_spec.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c453420ee8fd0c8d01dc9226450e39d2223388c
|
4
|
+
data.tar.gz: 535e8fb3e3c75539a811f396127d3a4b00e78e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b31942c67f3e15db8fd0724b5d363cee9f5f2807be1927dea4e84981b04826ff229bbb77dbf08d31746c96ed6603be4f50b5f9eb1b438dccef7e973a920bd3
|
7
|
+
data.tar.gz: 1e8e6520147bb560d52cc49c415f1beb68188cc6d7269b71e34a7eaa45511168d8d6037d598fb835c8d1e0a94a9c6524f398b3d3ca931b49b564e52661fbeb66
|
data/lib/unicorn/wrangler.rb
CHANGED
@@ -92,6 +92,11 @@ describe Unicorn::Wrangler do
|
|
92
92
|
start_wrangler
|
93
93
|
unicorn_running?.should be_true
|
94
94
|
end
|
95
|
+
|
96
|
+
it 'launches unicorn with a new process group (so upstart does not clean it up)' do
|
97
|
+
start_wrangler
|
98
|
+
Process.getpgid(@wrangler_pid).should_not eql(Process.getpgid(unicorn_pid))
|
99
|
+
end
|
95
100
|
end
|
96
101
|
|
97
102
|
context 'when unicorn is already running' do
|