faraday-net_http 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c53366ebb85cf1ecb84b08ee9df0381e7f0baa4ea812ed54b7b05e331ad46e2
4
- data.tar.gz: b8240151ee7dd4a35138fb86fc9609d1d18d624c7682ed0ced50cdb714006280
3
+ metadata.gz: 737599a223dbac248cbbbbd9135fb6435b9fe3b340549b87c9e5176ce066e3fd
4
+ data.tar.gz: 5d7e885ac59d063f49a7fb999f1cf86ebd66aa1c0c76a5d0273bdd4992b72eb6
5
5
  SHA512:
6
- metadata.gz: e89150856172fccf9299b9070d44b54d0d2df69ca712d74e841ddf87c372045af3bc6d89e9c591884032011fe3a2aae94caff0ff1462ac104210c3c6b3a566fb
7
- data.tar.gz: a0e6103eeb6da0f208a3760ef63dc0c5d72d0b201803bfc8f3e5815fdd99d614a45ae6aefb2dd07a7a74245c4783c2e92fa15b63f71ba812b7ee6495ff8d1c5b
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module NetHttp
5
- VERSION = '3.3.0'
5
+ VERSION = '3.4.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-net_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
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-08-26 00:00:00.000000000 Z
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.5.0
27
27
  description: Faraday adapter for Net::HTTP
28
28
  email:
29
29
  - janvanderpas@gmail.com
@@ -42,7 +42,7 @@ licenses:
42
42
  metadata:
43
43
  homepage_uri: https://github.com/lostisland/faraday-net_http
44
44
  source_code_uri: https://github.com/lostisland/faraday-net_http
45
- changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.3.0
45
+ changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.4.0
46
46
  rubygems_mfa_required: 'true'
47
47
  post_install_message:
48
48
  rdoc_options: []