excon 0.19.3 → 0.19.4
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/Gemfile.lock +1 -1
- data/changelog.txt +5 -0
- data/excon.gemspec +2 -2
- data/lib/excon.rb +2 -2
- data/lib/excon/constants.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/changelog.txt
CHANGED
data/excon.gemspec
CHANGED
|
@@ -13,8 +13,8 @@ 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.19.
|
|
17
|
-
s.date = '2013-03-
|
|
16
|
+
s.version = '0.19.4'
|
|
17
|
+
s.date = '2013-03-04'
|
|
18
18
|
s.rubyforge_project = 'excon'
|
|
19
19
|
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/excon.rb
CHANGED
|
@@ -111,7 +111,7 @@ module Excon
|
|
|
111
111
|
def new(url, params = {})
|
|
112
112
|
uri_parser = params[:uri_parser] || Excon.defaults[:uri_parser]
|
|
113
113
|
uri = uri_parser.parse(url)
|
|
114
|
-
params
|
|
114
|
+
params = {
|
|
115
115
|
:host => uri.host,
|
|
116
116
|
:path => uri.path,
|
|
117
117
|
:port => uri.port.to_s,
|
|
@@ -119,7 +119,7 @@ module Excon
|
|
|
119
119
|
:scheme => uri.scheme,
|
|
120
120
|
:user => (URI.decode(uri.user) if uri.user),
|
|
121
121
|
:password => (URI.decode(uri.password) if uri.password),
|
|
122
|
-
})
|
|
122
|
+
}.merge!(params)
|
|
123
123
|
Excon::Connection.new(params)
|
|
124
124
|
end
|
|
125
125
|
|
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.19.
|
|
4
|
+
version: 0.19.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2013-03-
|
|
14
|
+
date: 2013-03-04 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activesupport
|
|
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
233
233
|
version: '0'
|
|
234
234
|
segments:
|
|
235
235
|
- 0
|
|
236
|
-
hash:
|
|
236
|
+
hash: 4599861139474558854
|
|
237
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
238
|
none: false
|
|
239
239
|
requirements:
|