excon 1.2.9 → 1.3.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: cedd47dcd3eecd9aa3352952eac2991c875f55f906fa8c13c8b171ae8fd36e28
4
- data.tar.gz: 6437e9321cc873b57c0e729b227d8d6114e2f77691ebcef354eb839c3869871a
3
+ metadata.gz: 66ea34a2551ab2b6b952365fb9f01f215e403f36713bd9fed0c1acf5832a3186
4
+ data.tar.gz: 8504fdb3abf428cb2bf34e6d25bfb8e8f8fffc9c412fabae0794b5040b256b51
5
5
  SHA512:
6
- metadata.gz: 7d43720e58b6c69ea064dfcfc426e4a537904b513993cafde289e5ac29318ec78c8fe69b68f327c622a0a0f74ed765305c35cd22d529043e80faf85c683567ef
7
- data.tar.gz: 1a02c1166d1245ef82872533c7e8770629ea21c73985ea1948d420652f0fd852a03a86aafe332987faea3249b2b779f12c92453bb9ac2ea100a5cb238771de86
6
+ metadata.gz: 74a8ea0f546297a3d6b8e687dd08a97b578fd00ee1cbbe6fb9807fa05a4d011fb9cc1aa8eeb376283c45b5e3df39001984210ea07930ea9e981218074779db0d
7
+ data.tar.gz: fc53331b8e605c199935cf79b3bbcdfd0a1e86b049905aa2257696191ad5931f047d83d3c99c3b599c12b42adb3d86aec0457aa28ff436e267d8fba8a15c69a2
@@ -109,8 +109,8 @@ module Excon
109
109
  end
110
110
 
111
111
  if @data[:proxy]
112
- request = "CONNECT #{@data[:host]}#{port_string(@data)}#{Excon::HTTP_1_1}" \
113
- "Host: #{@data[:host]}#{port_string(@data)}#{Excon::CR_NL}"
112
+ request = "CONNECT #{@data[:host]}:#{@data[:port]}#{Excon::HTTP_1_1}" \
113
+ "Host: #{@data[:host]}:#{@data[:port]}#{Excon::CR_NL}"
114
114
 
115
115
  if @data[:proxy].has_key?(:user) || @data[:proxy].has_key?(:password)
116
116
  user, pass = Utils.unescape_form(@data[:proxy][:user].to_s), Utils.unescape_form(@data[:proxy][:password].to_s)
data/lib/excon/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Excon
4
- VERSION = '1.2.9'
4
+ VERSION = '1.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - dpiddy (Dan Peterson)