faraday 2.12.3 → 2.13.0
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 +4 -4
- data/lib/faraday/options/ssl_options.rb +4 -1
- data/lib/faraday/version.rb +1 -1
- data/spec/faraday/utils_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1bb65eef3cffcd2819dea033cc2f596b7626b3a7d9b2b0acde0c58a7160cb1e
|
4
|
+
data.tar.gz: dd57fdb09a5aadb4689c2b20d65fada72ce224a14aa0d850a2916fd94f33c68d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b96592916479cb638749ebdbacc44b7a622fba818fdbd92de981d47133f9f721dbf44895e877f8f7769415450dfb9d039389abcd6ad367dd6d012b3dfd56ab0
|
7
|
+
data.tar.gz: 88bfc380df8d4e4454f40e29b245ccb6832860fac481645743e1543fb5bd9e057d19a0ff5a5679fcf58abfa7c50e50069afca7c2e352b08a7f1065a8239a0f6a
|
@@ -11,6 +11,9 @@ module Faraday
|
|
11
11
|
# # @return [Boolean] whether to enable hostname verification on server certificates
|
12
12
|
# # during the handshake or not (see https://github.com/ruby/openssl/pull/60)
|
13
13
|
# #
|
14
|
+
# # @!attribute hostname
|
15
|
+
# # @return [String] Server hostname used for SNI (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLSocket.html#method-i-hostname-3D)
|
16
|
+
# #
|
14
17
|
# # @!attribute ca_file
|
15
18
|
# # @return [String] CA file
|
16
19
|
# #
|
@@ -50,7 +53,7 @@ module Faraday
|
|
50
53
|
# # @!attribute ciphers
|
51
54
|
# # @return [String] cipher list in OpenSSL format (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D)
|
52
55
|
# class SSLOptions < Options; end
|
53
|
-
SSLOptions = Options.new(:verify, :verify_hostname,
|
56
|
+
SSLOptions = Options.new(:verify, :verify_hostname, :hostname,
|
54
57
|
:ca_file, :ca_path, :verify_mode,
|
55
58
|
:cert_store, :client_cert, :client_key,
|
56
59
|
:certificate, :private_key, :verify_depth,
|
data/lib/faraday/version.rb
CHANGED
data/spec/faraday/utils_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "@technoweenie"
|
@@ -144,7 +144,7 @@ licenses:
|
|
144
144
|
- MIT
|
145
145
|
metadata:
|
146
146
|
homepage_uri: https://lostisland.github.io/faraday
|
147
|
-
changelog_uri: https://github.com/lostisland/faraday/releases/tag/v2.
|
147
|
+
changelog_uri: https://github.com/lostisland/faraday/releases/tag/v2.13.0
|
148
148
|
source_code_uri: https://github.com/lostisland/faraday
|
149
149
|
bug_tracker_uri: https://github.com/lostisland/faraday/issues
|
150
150
|
rubygems_mfa_required: 'true'
|