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: 191595752d82777e7edb7c18a0b3fd85953281b7c65ebb5e11f9fa3a0a36326f
4
- data.tar.gz: 9bc82207a4020fe7b8df7fcee8e35bdd30308ad1555ff060ce87ff050f641c06
3
+ metadata.gz: e0a30d1b7f951736304ef576b56e823fd2890558fd37958f165b20b7a2062898
4
+ data.tar.gz: c13f2ae91f08c494edbbf0da037e871b899232033816e0fb94e97256d0cb302b
5
5
  SHA512:
6
- metadata.gz: 8c6c9f078bef0572b9831b7e16fda71a331be9297b21c3d6dbb6c36713650dfe37ac5a4d2866977f9b4af87bbb06d0394f78a378c92fd0b60d50dd5a88feb378
7
- data.tar.gz: fbeb087ef43f055a51168af96b6eab2d0fbb0f28f95548677de7cc5d543ec042a7f757d5094ba422eb14e6215a30814663ba87f5e274d4cea0554295cf5665f3
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 = {name: "Faraday"}
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
- }.freeze
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module NetHttpPersistent
5
- VERSION = "2.2.0"
5
+ VERSION = "2.3.1"
6
6
  end
7
7
  end
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.2.0
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: 2024-09-16 00:00:00.000000000 Z
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.2.0
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.1.6
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: []