async-http 0.50.0 → 0.50.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
  SHA256:
3
- metadata.gz: 5db10f65827c5a336ba0d827f659f81411e87a65de7b2cf0ef512ce52bf4950e
4
- data.tar.gz: 50461d80e6da099e33f71a4d6a476fa25609d99c69f401374509d6daf5f29116
3
+ metadata.gz: 83f7cda6885d6c84259201b4552cd837b951a9da026c8cd56fe3a2cee194028c
4
+ data.tar.gz: aa9c18e06a6ca49b0920a7b6517973e4ba025cc52a38e5a944bcb0175e254ee7
5
5
  SHA512:
6
- metadata.gz: d61522536ff249da6c1fbecbc6493d1f401cb005ce280c1a6ce278f107399a1a2fc43bce170123a52be21da4f88940f0e8783b949bda132609dbf41400c10628
7
- data.tar.gz: fba11fe6d4b10036f288e120416efb85e6d7704ae556eeb1eb51f1d7eae7b2cb0ea3106677470d9f6024e5b9dfc0278ba54aab691f7982162f1c363bed0d1d24
6
+ metadata.gz: b26bfd436feb966d8e47fe50a7ea6df589fb5337ffc09c3b95204f1e13055ea47c77f15d46bd6c2803ba29ea7bf13173565bb8105367639d3b79c3c2c6087f72
7
+ data.tar.gz: 012357c669e5c3c211bdf1b0bcb0375db0d0b5bf853dbc7f1275cb00f2f24ca0b887f4336f2aa67ccfdfd22b95022c2249033156592ea8eeef9fce96a5384772
@@ -69,8 +69,8 @@ module Async
69
69
  @endpoint.secure?
70
70
  end
71
71
 
72
- def self.open(*args, &block)
73
- client = self.new(*args)
72
+ def self.open(*arguments, **options, &block)
73
+ client = self.new(*arguments, **options)
74
74
 
75
75
  return client unless block_given?
76
76
 
@@ -169,7 +169,8 @@ module Async
169
169
  end
170
170
 
171
171
  context.set_params(
172
- verify_mode: self.ssl_verify_mode
172
+ verify_mode: self.ssl_verify_mode,
173
+ min_version: ::OpenSSL::SSL::TLS1_2_VERSION,
173
174
  )
174
175
  end
175
176
  end
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Async
24
24
  module HTTP
25
- VERSION = "0.50.0"
25
+ VERSION = "0.50.1"
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.50.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-28 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async