synapse-easy 0.2.4 → 0.2.5

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: 709d256b0f9c1a900fc94656de4a3eccee06c05f
4
- data.tar.gz: 0e45070296962c9256a223b5484bd9746115233a
3
+ metadata.gz: 1e1e2d69ec6052e36312f5185f1e0fcb2a840453
4
+ data.tar.gz: 5bd0bf94d56a7f72c08e08b3a2d2f93414b2d022
5
5
  SHA512:
6
- metadata.gz: 96f4781e6d5fbc6b23e6fb7ea15ec2986306351656ab1c61ac9988d6559a304d6bf26b4dcc6411d703bdf3481befb6f2dc17cc008be675db1a9116f8eeec55b4
7
- data.tar.gz: 8970ad9b90d2dce8628c6502107d07fc437157e613055b7b09128aee4a751f0409e7712404c82b9a16668b66c8588629399eb735d3c97f030e97576773999730
6
+ metadata.gz: 0aee89b855b28bbef73a474c84bc5b318b792cc37623872338bafee692a5221af33cd556011c8f8ba965e0d235506f1f5c165ef262d966b630370c9ca144b3e3
7
+ data.tar.gz: a8c8aaf05000ec5590142f082a83ead86ca0ef398d5ede6709d82b481a40702987296036857c8820279eb8c8814911df0eda167cd6aaff2381ade4faafb8b4c7
@@ -5,7 +5,7 @@ module Synapse
5
5
  module Section
6
6
  class Http < Tcp
7
7
  attr_accessor :protocol, :ssl, :default_certificate, :certificates,
8
- :ciphers, :secure_cookies, :strict_security, :crt_bases, :ca_bases
8
+ :ciphers, :secure_cookies, :strict_security
9
9
  def initialize params={}
10
10
  super
11
11
  @mode = :http
@@ -18,10 +18,6 @@ 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 ||= []
25
21
  @ciphers = params[:ciphers]
26
22
  @ciphers ||= %W{ECDHE-ECDSA-AES256-GCM-SHA384
27
23
  ECDHE-ECDSA-AES128-GCM-SHA256
@@ -53,14 +49,6 @@ module Synapse
53
49
  @complex_bind << "crt"
54
50
  @complex_bind << "#{certificate}"
55
51
  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
64
52
  @complex_bind.compact.join(" ")
65
53
  end
66
54
  def section_options
@@ -1,5 +1,5 @@
1
1
  module Synapse
2
2
  module Easy
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapse-easy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Kaufmann