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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c997fb0070b01ea8496cd8ba1a0593d9c743575c
4
- data.tar.gz: 3eda610abe2462e8ed36569ddd45c7527a589c93
3
+ metadata.gz: 6677288f2a51c3f16bdf18bb6aaeb5a82ec1fb9c
4
+ data.tar.gz: 09addd99b792834b89e11f965aff7b199ff8a5ef
5
5
  SHA512:
6
- metadata.gz: 7d93b51377e7f4566263aed88b1a7815bcd67ad60bdadd0d173dbfdb82cc10ccb7fbb6edad3b9f36444cc3ac5427194d4104c33b70c272147ac627b86c9d780d
7
- data.tar.gz: cce415b1a74572276e7c0ddab2082a71e83beafe69237ba8d731e7267906a6ceb8e97c0ae5a187752ef2efba8b9abd5c3b4dbb3cb4629f760ca842556ac15aaf
6
+ metadata.gz: 2fcd892082a9e8c1ed95422f40b546984607b6bdad12ef3c744cea456df64c2dcda21672213204e658b2c0afaff7b287b42c3fb716c62b5709234986ef17393e
7
+ data.tar.gz: 611c205913160fbf2af3bcb1de59ca2b1397764a04e2a9d2b1eaf3329da17c10e0cd851f96b8ddba9b1d9321e23dd6e851e04ceb98a0e1c0d076df34a97238cb
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module Everdeen
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  SERVER_VERSION = "0.1.0"
4
4
  end
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.0
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-23 00:00:00.000000000 Z
12
+ date: 2016-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler