excon 0.18.3 → 0.18.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of excon might be problematic. Click here for more details.

data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.18.3)
4
+ excon (0.18.4)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/changelog.txt CHANGED
@@ -1,3 +1,8 @@
1
+ 0.18.4 02/21/2013
2
+ =================
3
+
4
+ remove ssl proxy host_port usage
5
+
1
6
  0.18.3 02/21/2013
2
7
  =================
3
8
 
data/excon.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'excon'
16
- s.version = '0.18.3'
16
+ s.version = '0.18.4'
17
17
  s.date = '2013-02-21'
18
18
  s.rubyforge_project = 'excon'
19
19
 
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
  class Connection
3
- VALID_CONNECTION_KEYS = [:body, :headers, :host, :host_port, :path, :port, :query, :scheme, :user, :password,
3
+ VALID_CONNECTION_KEYS = [:body, :headers, :host, :path, :port, :query, :scheme, :user, :password,
4
4
  :instrumentor, :instrumentor_name, :ssl_ca_file, :ssl_verify_peer, :chunk_size,
5
5
  :nonblock, :retry_limit, :connect_timeout, :read_timeout, :write_timeout, :captures,
6
6
  :exception, :expects, :mock, :proxy, :method, :idempotent, :request_block, :response_block,
@@ -29,7 +29,7 @@ module Excon
29
29
 
30
30
  REDACTED = 'REDACTED'
31
31
 
32
- VERSION = '0.18.3'
32
+ VERSION = '0.18.4'
33
33
 
34
34
  unless ::IO.const_defined?(:WaitReadable)
35
35
  class ::IO
@@ -30,8 +30,8 @@ module Excon
30
30
  end
31
31
 
32
32
  if @data[:proxy]
33
- request = 'CONNECT ' << @data[:host_port] << Excon::HTTP_1_1
34
- request << 'Host: ' << @data[:host_port] << Excon::CR_NL
33
+ request = 'CONNECT ' << @data[:host] << ':' << @data[:port] << Excon::HTTP_1_1
34
+ request << 'Host: ' << @data[:host] << ':' << @data[:port] << Excon::CR_NL
35
35
 
36
36
  if @data[:proxy][:password] || @data[:proxy][:user]
37
37
  auth = ['' << @data[:proxy][:user].to_s << ':' << @data[:proxy][:password].to_s].pack('m').delete(Excon::CR_NL)
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: 0.18.3
4
+ version: 0.18.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -229,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
229
  version: '0'
230
230
  segments:
231
231
  - 0
232
- hash: -3136841704354789367
232
+ hash: -2168094877440137455
233
233
  required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  none: false
235
235
  requirements: