everdeen 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/everdeen/server.rb +6 -2
- data/lib/everdeen/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: 6677288f2a51c3f16bdf18bb6aaeb5a82ec1fb9c
|
4
|
+
data.tar.gz: 09addd99b792834b89e11f965aff7b199ff8a5ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fcd892082a9e8c1ed95422f40b546984607b6bdad12ef3c744cea456df64c2dcda21672213204e658b2c0afaff7b287b42c3fb716c62b5709234986ef17393e
|
7
|
+
data.tar.gz: 611c205913160fbf2af3bcb1de59ca2b1397764a04e2a9d2b1eaf3329da17c10e0cd851f96b8ddba9b1d9321e23dd6e851e04ceb98a0e1c0d076df34a97238cb
|
data/lib/everdeen/server.rb
CHANGED
@@ -10,12 +10,14 @@ module Everdeen
|
|
10
10
|
server
|
11
11
|
end
|
12
12
|
|
13
|
-
attr_reader :proxy_port, :control_port, :stderr
|
13
|
+
attr_reader :proxy_port, :control_port, :stderr, :ca_cert_path, :ca_key_path
|
14
14
|
|
15
15
|
def initialize(opts = {})
|
16
16
|
@proxy_port = opts.fetch(:proxy_port)
|
17
17
|
@control_port = opts.fetch(:control_port)
|
18
18
|
@stderr = opts.fetch(:stderr, Tempfile.new("everdeen"))
|
19
|
+
@ca_cert_path = opts.fetch(:ca_cert_path, nil)
|
20
|
+
@ca_key_path = opts.fetch(:ca_key_path, nil)
|
19
21
|
end
|
20
22
|
|
21
23
|
def start
|
@@ -50,7 +52,9 @@ module Everdeen
|
|
50
52
|
@pipe = IO.popen([
|
51
53
|
Everdeen.bin_path,
|
52
54
|
"-proxy-addr=#{proxy_addr}",
|
53
|
-
"-control-addr=#{control_addr}"
|
55
|
+
"-control-addr=#{control_addr}",
|
56
|
+
"-ca-cert-path=#{ca_cert_path}",
|
57
|
+
"-ca-key-path=#{ca_key_path}"
|
54
58
|
], err: stderr)
|
55
59
|
end
|
56
60
|
|
data/lib/everdeen/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: everdeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Upton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-06-
|
12
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|