faraday-net_http 3.1.1 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/faraday/adapter/net_http.rb +5 -1
- data/lib/faraday/net_http/version.rb +1 -1
- metadata +5 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c53366ebb85cf1ecb84b08ee9df0381e7f0baa4ea812ed54b7b05e331ad46e2
|
4
|
+
data.tar.gz: b8240151ee7dd4a35138fb86fc9609d1d18d624c7682ed0ced50cdb714006280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89150856172fccf9299b9070d44b54d0d2df69ca712d74e841ddf87c372045af3bc6d89e9c591884032011fe3a2aae94caff0ff1462ac104210c3c6b3a566fb
|
7
|
+
data.tar.gz: a0e6103eeb6da0f208a3760ef63dc0c5d72d0b201803bfc8f3e5815fdd99d614a45ae6aefb2dd07a7a74245c4783c2e92fa15b63f71ba812b7ee6495ff8d1c5b
|
@@ -133,7 +133,10 @@ module Faraday
|
|
133
133
|
http.verify_mode = ssl_verify_mode(ssl)
|
134
134
|
http.cert_store = ssl_cert_store(ssl)
|
135
135
|
|
136
|
-
|
136
|
+
cert, *extra_chain_cert = ssl[:client_cert]
|
137
|
+
http.cert = cert if cert
|
138
|
+
http.extra_chain_cert = extra_chain_cert if extra_chain_cert.any?
|
139
|
+
|
137
140
|
http.key = ssl[:client_key] if ssl[:client_key]
|
138
141
|
http.ca_file = ssl[:ca_file] if ssl[:ca_file]
|
139
142
|
http.ca_path = ssl[:ca_path] if ssl[:ca_path]
|
@@ -142,6 +145,7 @@ module Faraday
|
|
142
145
|
http.min_version = ssl[:min_version] if ssl[:min_version]
|
143
146
|
http.max_version = ssl[:max_version] if ssl[:max_version]
|
144
147
|
http.verify_hostname = ssl[:verify_hostname] if verify_hostname_enabled?(http, ssl)
|
148
|
+
http.ciphers = ssl[:ciphers] if ssl[:ciphers]
|
145
149
|
end
|
146
150
|
|
147
151
|
def configure_request(http, req)
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-net_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan van der Pas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: faraday
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.5'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '2.5'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: net-http
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,7 +42,8 @@ licenses:
|
|
56
42
|
metadata:
|
57
43
|
homepage_uri: https://github.com/lostisland/faraday-net_http
|
58
44
|
source_code_uri: https://github.com/lostisland/faraday-net_http
|
59
|
-
changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.
|
45
|
+
changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.3.0
|
46
|
+
rubygems_mfa_required: 'true'
|
60
47
|
post_install_message:
|
61
48
|
rdoc_options: []
|
62
49
|
require_paths:
|
@@ -72,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
59
|
- !ruby/object:Gem::Version
|
73
60
|
version: '0'
|
74
61
|
requirements: []
|
75
|
-
rubygems_version: 3.5.
|
62
|
+
rubygems_version: 3.5.11
|
76
63
|
signing_key:
|
77
64
|
specification_version: 4
|
78
65
|
summary: Faraday adapter for Net::HTTP
|