ruby-tls 2.3.1 → 2.3.2

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: f08d99c470a03da9d3932d21d4fdc896ea6cfb06
4
- data.tar.gz: 6500436dbffa39098612cbb5de54b0e14c9344a0
3
+ metadata.gz: 65bf7fa1fe4990b899521d6e7cece1325dfa2637
4
+ data.tar.gz: 4d5300ad133a5b2e1a6b3f4c46f6a5cb7ad4c9a2
5
5
  SHA512:
6
- metadata.gz: b97ed2ad8a534ac1516e011a7b1f3e0aca9077653bd590d303cda1775434f8e9f91bea2eabd41dd75cd227424fcdcd39be29257f5cdcafdbf2a2def8f088ad9c
7
- data.tar.gz: 3b6cf4dde116a5728c4bb29f297415a28c22a846f4dc66efb50538fbef738473acf2d803445d8c6e92104687f4f6dac7752999af2109a69f3c7236a4a296101d
6
+ metadata.gz: f07a654df823c07b10b4b9d43bbbc383dd8c02941e7b2d38bd5a44d184fcbf9be42a344b6e92acc6e9c0e8f9cd2d6f24ce2780739ba8f4da9a3a5ff1ee6b0b82
7
+ data.tar.gz: 662eb4f3fdf589307a2570d234204a144471c7a0362fe16d3ade8b206005c6b41df95269d1a5917b01bff3ea83b70a151c601b8a6ac432312e4d9e117eca2417
@@ -689,6 +689,7 @@ keystr
689
689
 
690
690
  SSL_RECEIVED_SHUTDOWN = 2
691
691
  def cleanup
692
+ return unless @ready
692
693
  @ready = false
693
694
 
694
695
  InstanceLookup.delete @ssl.address
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyTls
4
- VERSION = '2.3.1'
4
+ VERSION = '2.3.2'
5
5
  end
@@ -11,9 +11,7 @@ describe RubyTls do
11
11
  end
12
12
 
13
13
  it "succeeds when passed a supported TLS version" do
14
- expect {
15
- RubyTls::SSL::Box.new(false, nil, version: :TLS1_2)
16
- }.to raise_error(/is unsupported/)
14
+ RubyTls::SSL::Box.new(false, nil, version: :TLS1_2) if RubyTls::SSL::VERSION_SUPPORTED
17
15
  end
18
16
 
19
17
  it "should be able to send and receive encrypted comms" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-tls
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-11 00:00:00.000000000 Z
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-compiler
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.6.12
113
+ rubygems_version: 2.6.14
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Abstract TLS for Ruby