faraday-net_http 3.2.0 → 3.4.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 +3 -1
- data/lib/faraday/net_http/version.rb +1 -1
- metadata +6 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 737599a223dbac248cbbbbd9135fb6435b9fe3b340549b87c9e5176ce066e3fd
|
4
|
+
data.tar.gz: 5d7e885ac59d063f49a7fb999f1cf86ebd66aa1c0c76a5d0273bdd4992b72eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 413aabd776695183fa818a0c022e8e2b450724bcfb6b0255e1a9240ef321d3d7f58e3988c68110a669234c830a2ac2f2a1ce04ad5d1fb2afde9b23998a183e82
|
7
|
+
data.tar.gz: 5931da595d755e6c86b71387335231201706391cf6faed61d46c2ddeb2667090d6fc397d9918d82079d5db8dd125c55e760a8ae393cc9771f2408435065df8fb
|
@@ -53,7 +53,8 @@ module Faraday
|
|
53
53
|
if proxy
|
54
54
|
Net::HTTP.new(env[:url].hostname, port,
|
55
55
|
proxy[:uri].hostname, proxy[:uri].port,
|
56
|
-
proxy[:user], proxy[:password]
|
56
|
+
proxy[:user], proxy[:password],
|
57
|
+
nil, proxy[:uri].scheme == 'https')
|
57
58
|
else
|
58
59
|
Net::HTTP.new(env[:url].hostname, port, nil)
|
59
60
|
end
|
@@ -145,6 +146,7 @@ module Faraday
|
|
145
146
|
http.min_version = ssl[:min_version] if ssl[:min_version]
|
146
147
|
http.max_version = ssl[:max_version] if ssl[:max_version]
|
147
148
|
http.verify_hostname = ssl[:verify_hostname] if verify_hostname_enabled?(http, ssl)
|
149
|
+
http.ciphers = ssl[:ciphers] if ssl[:ciphers]
|
148
150
|
end
|
149
151
|
|
150
152
|
def configure_request(http, req)
|
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
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.4.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-11-13 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
|
30
16
|
requirements:
|
31
17
|
- - ">="
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 0.5.0
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: 0.5.0
|
41
27
|
description: Faraday adapter for Net::HTTP
|
42
28
|
email:
|
43
29
|
- janvanderpas@gmail.com
|
@@ -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.4.0
|
46
|
+
rubygems_mfa_required: 'true'
|
60
47
|
post_install_message:
|
61
48
|
rdoc_options: []
|
62
49
|
require_paths:
|