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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1434b95a4b157a48f4279e2341946ed2d2ca0fd5547e88cae6b531c6be1e3bb0
4
- data.tar.gz: 947e3e3751d9e2a717d4b28278285cc825eb292a93273d97571d3cde4f77f923
3
+ metadata.gz: b1bb65eef3cffcd2819dea033cc2f596b7626b3a7d9b2b0acde0c58a7160cb1e
4
+ data.tar.gz: dd57fdb09a5aadb4689c2b20d65fada72ce224a14aa0d850a2916fd94f33c68d
5
5
  SHA512:
6
- metadata.gz: 5e5d06c952784a9bd7f0b6a610188a0e00a8415fd5ccb35bc07fe4c9426fc5de10f8975bc069d85a13f5cc6f48ab291433d9565ab1f17112fac595e4aef50660
7
- data.tar.gz: 58b30aa3c0aa2d635839019358931fec2be300a8a59078240aea4541696e9aa5445106783d8281de0a1ec0e67c81ac9c3d1a08d2c4594caf14099753eb0b3d9d
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faraday
4
- VERSION = '2.12.3'
4
+ VERSION = '2.13.0'
5
5
  end
@@ -104,6 +104,7 @@ RSpec.describe Faraday::Utils do
104
104
  min_version: nil,
105
105
  max_version: nil,
106
106
  verify_hostname: nil,
107
+ hostname: nil,
107
108
  ciphers: nil
108
109
  }
109
110
  end
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.12.3
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.12.3
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'