uv-rays 2.1.0 → 2.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: 90bfee69384f25d0c1ce287d91028996305ee511
4
- data.tar.gz: a5d3f82c72d591fb56f54b0d92eade0768d042bb
3
+ metadata.gz: ed95e5b5bc1bdae6d1392d2dc96f4be939cddee5
4
+ data.tar.gz: '05602795d00ee88bc9b618138739df80e817ca6e'
5
5
  SHA512:
6
- metadata.gz: 6ce208199ef4a990628aa1d82b1b2f64186fe56aedb46c84991edba1b773cc95dce94086b12fd7ef058a432daf3b127ddec6b56361cbd3649b06af5f262e3717
7
- data.tar.gz: 9851c7e265d84351307d60c29ba1e86f1dae9e0b36f4c44bc655e7afc15af74774f0f42b73decba188e9520f4fac4cbc6d15b69ceec00cd11ce575f5b9095a12
6
+ metadata.gz: 206b3d6b4571762297e8068fbd6c099365d3f0a31c39bd5828587537b51d3babf9ca91195000390b4ce7f6ac5c2fdd7895e59c48c06788a5a7caab321cbbace8
7
+ data.tar.gz: af6fa754532d8500bb01d649881532126f55c36b6b1a3f1232eb5e7fae30f198828179baeaa2eb754104cf9a702aec771030f548c42f3508af8321ff811cc8ef
@@ -39,7 +39,11 @@ module UV
39
39
  @client = client
40
40
  @request = nil
41
41
  super(host, port)
42
- use_tls(client.tls_options) if tls
42
+
43
+ if tls
44
+ opts = {host_name: host}.merge(client.tls_options)
45
+ use_tls(opts)
46
+ end
43
47
  end
44
48
 
45
49
  attr_accessor :request, :reason
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UV
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
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-04-13 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv