faraday-net_http_persistent 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0a30d1b7f951736304ef576b56e823fd2890558fd37958f165b20b7a2062898
|
4
|
+
data.tar.gz: c13f2ae91f08c494edbbf0da037e871b899232033816e0fb94e97256d0cb302b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86e56512f0345a2987dcd3d35df59e755890c6e7d96fb00295f15a02f97ade28d46555c1211163d7d8a565214cb024f8fe12add1cd60d4bb51fd8ba41bb997f8
|
7
|
+
data.tar.gz: fb29b818366aba5ce542eef1193c709d37635a6eee329a7730cd16670deb51ee1244255f8513022a18796f12d970ca2a8b373665f3382ff726fab114d20b163c
|
@@ -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,13 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Rogers
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: faraday
|
@@ -62,8 +61,7 @@ licenses:
|
|
62
61
|
metadata:
|
63
62
|
homepage_uri: https://github.com/lostisland/faraday-net_http_persistent
|
64
63
|
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.
|
66
|
-
post_install_message:
|
64
|
+
changelog_uri: https://github.com/lostisland/faraday-net_http_persistent/releases/tag/v2.3.1
|
67
65
|
rdoc_options: []
|
68
66
|
require_paths:
|
69
67
|
- lib
|
@@ -78,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
76
|
- !ruby/object:Gem::Version
|
79
77
|
version: '0'
|
80
78
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
82
|
-
signing_key:
|
79
|
+
rubygems_version: 3.6.7
|
83
80
|
specification_version: 4
|
84
81
|
summary: Faraday adapter for NetHttpPersistent
|
85
82
|
test_files: []
|