faraday-net_http_persistent 2.2.0 → 2.3.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: f0b25e05ab410cbcbabe4c2ffef6bdebbf17b816ab0585299ccfc2ab6e84a6f2
|
4
|
+
data.tar.gz: 633f9198253455e34c773e4fc9c1bd0de5f19c464b57fe49181ea422c8e77cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de8e7458abed9d8503ba67b4241d64a4b02baa528b316e0e10394dbfe40cfdb0a8a9ba9b71c5dd204c2a8a7c89aed6a529013aa52ee158335962fb46cadb3b01
|
7
|
+
data.tar.gz: bed233f50fd228cac2044a5a57892f368d76f779c29b41514abbd3190a10d89ccc08968aa85a9c7b40f8cf44bb014cb1ef7a83a1c1d018b0479538d7307731be
|
@@ -132,7 +132,8 @@ module Faraday
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def init_options
|
135
|
-
options = {
|
135
|
+
options = {}
|
136
|
+
options[:name] = @connection_options.fetch(:name, "Faraday")
|
136
137
|
options[:pool_size] = @connection_options[:pool_size] if @connection_options.key?(:pool_size)
|
137
138
|
options
|
138
139
|
end
|
@@ -185,7 +186,13 @@ module Faraday
|
|
185
186
|
min_version: :min_version,
|
186
187
|
max_version: :max_version,
|
187
188
|
verify_hostname: :verify_hostname
|
188
|
-
}
|
189
|
+
}
|
190
|
+
|
191
|
+
if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new("2.11.0")
|
192
|
+
SSL_CONFIGURATIONS[:ciphers] = :ciphers
|
193
|
+
end
|
194
|
+
|
195
|
+
SSL_CONFIGURATIONS.freeze
|
189
196
|
|
190
197
|
def configure_ssl(http, ssl)
|
191
198
|
return unless ssl
|
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.3.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: 2024-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -62,7 +62,7 @@ licenses:
|
|
62
62
|
metadata:
|
63
63
|
homepage_uri: https://github.com/lostisland/faraday-net_http_persistent
|
64
64
|
source_code_uri: https://github.com/lostisland/faraday-net_http_persistent
|
65
|
-
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.3.0
|
66
66
|
post_install_message:
|
67
67
|
rdoc_options: []
|
68
68
|
require_paths:
|