synapse-easy 0.2.2 → 0.2.3

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: 579e0f061c9224b0a950391c88dfa06658911a39
4
- data.tar.gz: 759b254a0a3f172deb7bdfb82e3f6e4fb3dd7c05
3
+ metadata.gz: a8fa93abf36eb5bb8c12d01dc63dd1b055f4d422
4
+ data.tar.gz: 50e34654c5babdf03e99c2498ff4df93abcd02d1
5
5
  SHA512:
6
- metadata.gz: 190dcc846ad47354ffdf61d06f4521fb89a3f6359dc10f637cebd17104e2095c38bc7e618f3c04868ba650db3e379de81e132c0f6627a9e2dae2ef8e074c2e81
7
- data.tar.gz: a515523d02ac3d9f536b9fd9a6877b74cfd0a45dc3e11ad6026864c599bc8dd35bedc52135d16db42a15905e831c41feb94178b022462867bbcb4cc7a0403862
6
+ metadata.gz: c918c96041c5c17d135291a0856cc20e5dc9f41102bb86ec3eb69e9925ed1a41f54340914bfa43965cbe588a115a2ae1c946344d7cf915da92be1cb16adba502
7
+ data.tar.gz: 9372fc2676708c7e8ffcdacdbd73ff9d0acf36610365abb2fe5116e0d8730485f9577e9c94f7004995bce120ede13a4a6a8be0a7327ba0782a2f54cddb60059c
@@ -18,6 +18,10 @@ module Synapse
18
18
  @default_certificate ||= "/etc/ssl/private/ssl-cert-snakeoil.key crt /etc/ssl/certs/ssl-cert-snakeoil.pem" if ssl
19
19
  @certificates = params[:certificates]
20
20
  @certificates ||= []
21
+ @crt_bases = params[:crt_bases]
22
+ @crt_bases ||= []
23
+ @ca_bases = params[:ca_bases]
24
+ @ca_bases ||= []
21
25
  @ciphers = params[:ciphers]
22
26
  @ciphers ||= %W{ECDHE-ECDSA-AES256-GCM-SHA384
23
27
  ECDHE-ECDSA-AES128-GCM-SHA256
@@ -49,6 +53,14 @@ module Synapse
49
53
  @complex_bind << "crt"
50
54
  @complex_bind << "#{certificate}"
51
55
  end
56
+ crt_bases.each do |crt_base|
57
+ @complex_bind << "crt-base"
58
+ @complex_bind << "#{crt_base}"
59
+ end
60
+ ca_bases.each do |ca_base|
61
+ @complex_bind << "ca-base"
62
+ @complex_bind << "#{ca_base}"
63
+ end
52
64
  @complex_bind.compact.join(" ")
53
65
  end
54
66
  def section_options
@@ -1,5 +1,5 @@
1
1
  module Synapse
2
2
  module Easy
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapse-easy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Kaufmann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resolv-consul