multi_process 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multi_process/process/rails.rb +5 -1
- data/lib/multi_process/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ed246c253f6ea4749f55ee0fecb88362b14f4ee
|
4
|
+
data.tar.gz: 3dc45356e8af8de981bf7aa55ba01e15d0e94af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1d41519fa0047ed43402b2999183dcf5a38f75a1ed21081d81c3720877c4186d60fc66e845050bc28a4b3e1d9d2edae05f68cc4e57376a5e1601dd0adf5d471
|
7
|
+
data.tar.gz: b12e9cd8912107d2e0cf63401c7c11dbd0a20c92573ecf5a1c9191e8191dcccecaba7742049f85d5ee49b64e3b39b576ded43e903ca7417528c98c1bb5b9f3b6
|
@@ -24,7 +24,11 @@ class MultiProcess::Process
|
|
24
24
|
self.server = opts[:server] if opts[:server]
|
25
25
|
self.port = opts[:port] if opts[:port]
|
26
26
|
|
27
|
-
super
|
27
|
+
super *server_command, opts
|
28
|
+
end
|
29
|
+
|
30
|
+
def server_command
|
31
|
+
['rails', 'server', server, '--port', port].reject(&:nil?).map(&:to_s)
|
28
32
|
end
|
29
33
|
|
30
34
|
def server=(server)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multi_process
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|