envoy-proxy 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c6a64248f11bee0dcc828dfd58f77809175820a
4
- data.tar.gz: 67ec9e035d118f7d0b80ef6ddecc9da019b72597
3
+ metadata.gz: cd7f202c771ae56bbbdd8161f8270e7151589ce2
4
+ data.tar.gz: 4752dc703a61c4b7df5ce00fbc8ce834b293cf2e
5
5
  SHA512:
6
- metadata.gz: 395ebb8755c9fafc317e17778b3d45b467f654af150dc98f1fb317a55f7acb4ca426efa63e6118abcdec33486137983ae5623fbf33eec867aa3f237274f1c5dc
7
- data.tar.gz: 8cd6ed01cc0b23a387aa765914721db7116b5f72f773e907041745d21aeabcf6174ac8ffcda6c22d2be3c92b1246398ab2db0441d5386f2b272ea8c260812f0d
6
+ metadata.gz: 765f8cb6b42a5f454928758dfe892f8e66fc99ba856218c2c7258b34842726a0f10192f4c1c091241bdbd8a2497cc3cf9f3e8ddcabd5fcdb3f1dee74c983915d
7
+ data.tar.gz: ede7a398b0e28305f784c7f48d4d6099ec674c3784b91764bf1a2caa1dec9d8812cb85ad3f49504124577eb85f7fe3262107f82bb09ac4762f4ff0ad7ef25a32
data/README.md CHANGED
@@ -34,32 +34,39 @@ The ZONE specifies the domain name suffix.
34
34
 
35
35
  The client will search up from the current directory for a .envoy file. If it
36
36
  exists, it must be a YAML file containing either one hash of command line
37
- options, or an array of multiple options. This file can also contain settings
38
- which will execute a command if a local connection is refused.
39
-
40
- | Option | Description | Default |
41
- | ------------- | ----------------------- | - |
42
- | `host` | The domain name prefix | None |
43
- | `local_port` | The local port to use | None |
44
- | `local_host` | The local host to use | 127.0.0.1 |
45
- | `server_host` | The server host to use | p45.eu |
46
- | `server_port` | The server port to use | 8282 |
47
- | `tls` | Use TLS in the server connections | false |
48
- | `verbose` | Be noisy | false |
49
- | `command` | A command to run if a local connection is refused | None |
50
- | `command_delay` | Number of seconds to wait before reconnecting, after starting a command | 1 |
51
- | `dir` | A directory to change to | . |
37
+ options, or an array of multiple options. If an array is passed, the client
38
+ will proxy multiple local services.
39
+
40
+ This file can also contain settings which will execute a command if a local
41
+ connection is refused.
42
+
43
+ Option Description Default
44
+ ---------------------------------------------------------------------------
45
+ host The domain name prefix None
46
+ local_port The local port to use None
47
+ local_host The local host to use 127.0.0.1
48
+ server_host The server host to use p45.eu
49
+ server_port The server port to use 8282
50
+ tls Use TLS in the server connections false
51
+ verbose Be noisy false
52
+ command A command to run if a local connection is refused None
53
+ delay Number of seconds to wait before reconnecting, 1
54
+ after starting a command
55
+ dir A directory to change to None
52
56
 
53
57
  If no host is specified, a random one is selected by the server.
54
58
  If no local port is specified, a random one is selected by the client.
55
59
  The command is processed for % substitions against the configuration hash,
56
60
  including any randomly selected local port.
57
61
 
58
- e.g. To start a rails app, you might use this configuration:
62
+ e.g. To start a set of rails apps, you might use this configuration:
59
63
 
60
- host: my_app
61
- dir: ~/apps/my_app
62
- command: rails s -p %{local_port}
64
+ - host: backend
65
+ dir: ~/apps/backend
66
+ command: rails s -p %{local_port}
67
+ - host: frontend
68
+ dir: ~/apps/frontend
69
+ command: rails s -p %{local_port}
63
70
 
64
71
  You can still specify a constant local port, if you prefer that.
65
72
 
@@ -8,7 +8,7 @@ def default_options
8
8
  "tls" => false,
9
9
  "verbose" => false,
10
10
  "version" => Envoy::VERSION,
11
- "command_delay" => 1,
11
+ "delay" => 1,
12
12
  "dir" => "."
13
13
  }
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module Envoy
2
- VERSION = '0.0.17'
2
+ VERSION = '0.0.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envoy-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum