faraday-net_http_persistent 2.1.0 → 2.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 191595752d82777e7edb7c18a0b3fd85953281b7c65ebb5e11f9fa3a0a36326f
|
4
|
+
data.tar.gz: 9bc82207a4020fe7b8df7fcee8e35bdd30308ad1555ff060ce87ff050f641c06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6c9f078bef0572b9831b7e16fda71a331be9297b21c3d6dbb6c36713650dfe37ac5a4d2866977f9b4af87bbb06d0394f78a378c92fd0b60d50dd5a88feb378
|
7
|
+
data.tar.gz: fbeb087ef43f055a51168af96b6eab2d0fbb0f28f95548677de7cc5d543ec042a7f757d5094ba422eb14e6215a30814663ba87f5e274d4cea0554295cf5665f3
|
@@ -56,6 +56,10 @@ module Faraday
|
|
56
56
|
raise Faraday::TimeoutError, e
|
57
57
|
end
|
58
58
|
|
59
|
+
def close
|
60
|
+
@cached_connection&.shutdown
|
61
|
+
end
|
62
|
+
|
59
63
|
private
|
60
64
|
|
61
65
|
def build_connection(env)
|
@@ -179,7 +183,8 @@ module Faraday
|
|
179
183
|
ca_file: :ca_file,
|
180
184
|
ssl_version: :version,
|
181
185
|
min_version: :min_version,
|
182
|
-
max_version: :max_version
|
186
|
+
max_version: :max_version,
|
187
|
+
verify_hostname: :verify_hostname
|
183
188
|
}.freeze
|
184
189
|
|
185
190
|
def configure_ssl(http, ssl)
|
@@ -189,7 +194,7 @@ module Faraday
|
|
189
194
|
http_set(http, :cert_store, ssl_cert_store(ssl))
|
190
195
|
|
191
196
|
SSL_CONFIGURATIONS
|
192
|
-
.select { |_, key| ssl[key] }
|
197
|
+
.select { |_, key| !ssl[key].nil? }
|
193
198
|
.each { |target, key| http_set(http, target, ssl[key]) }
|
194
199
|
end
|
195
200
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-net_http_persistent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Rogers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: net-http-persistent
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.4
|
34
|
+
- - "<"
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
36
|
+
version: '5'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 4.0.4
|
44
|
+
- - "<"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
46
|
+
version: '5'
|
41
47
|
description: Faraday adapter for NetHttpPersistent
|
42
48
|
email:
|
43
49
|
- me@mikerogers.io
|
@@ -56,7 +62,7 @@ licenses:
|
|
56
62
|
metadata:
|
57
63
|
homepage_uri: https://github.com/lostisland/faraday-net_http_persistent
|
58
64
|
source_code_uri: https://github.com/lostisland/faraday-net_http_persistent
|
59
|
-
changelog_uri: https://github.com/lostisland/faraday-net_http_persistent/releases/tag/v2.
|
65
|
+
changelog_uri: https://github.com/lostisland/faraday-net_http_persistent/releases/tag/v2.2.0
|
60
66
|
post_install_message:
|
61
67
|
rdoc_options: []
|
62
68
|
require_paths:
|