excon 0.16.5 → 0.16.7
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.
- data/changelog.txt +10 -0
- data/excon.gemspec +1 -1
- data/lib/excon/connection.rb +1 -0
- data/lib/excon/constants.rb +1 -1
- metadata +2 -2
data/changelog.txt
CHANGED
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.16.
|
|
16
|
+
s.version = '0.16.7'
|
|
17
17
|
s.date = '2012-10-17'
|
|
18
18
|
s.rubyforge_project = 'excon'
|
|
19
19
|
|
data/lib/excon/connection.rb
CHANGED
|
@@ -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
|
|
data/lib/excon/constants.rb
CHANGED
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.
|
|
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:
|
|
208
|
+
hash: 1479785423322445390
|
|
209
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
none: false
|
|
211
211
|
requirements:
|