excon 0.16.5 → 0.16.7

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.

@@ -1,3 +1,13 @@
1
+ 0.16.7 10/17/2012
2
+ =================
3
+
4
+ fix typo in host_port per-request patch
5
+
6
+ 0.16.6 10/17/2012
7
+ =================
8
+
9
+ fix for host_port to recalculate on a per-request basis
10
+
1
11
  0.16.5 10/17/2012
2
12
  =================
3
13
 
@@ -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.16.5'
16
+ s.version = '0.16.7'
17
17
  s.date = '2012-10-17'
18
18
  s.rubyforge_project = 'excon'
19
19
 
@@ -74,6 +74,7 @@ module Excon
74
74
  def request(params, &block)
75
75
  # connection has defaults, merge in new params to override
76
76
  params = @connection.merge(params)
77
+ params[:host_port] = '' << params[:host] << ':' << params[:port].to_s
77
78
  params[:headers] = @connection[:headers].merge(params[:headers] || {})
78
79
  params[:headers]['Host'] ||= '' << params[:host_port]
79
80
 
@@ -29,7 +29,7 @@ module Excon
29
29
 
30
30
  REDACTED = 'REDACTED'
31
31
 
32
- VERSION = '0.16.5'
32
+ VERSION = '0.16.7'
33
33
 
34
34
  unless ::IO.const_defined?(:WaitReadable)
35
35
  class ::IO
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.16.5
4
+ version: 0.16.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -205,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
205
  version: '0'
206
206
  segments:
207
207
  - 0
208
- hash: 1584881564479548792
208
+ hash: 1479785423322445390
209
209
  required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  none: false
211
211
  requirements: