excon 0.39.2 → 0.39.3
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.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/changelog.txt +5 -0
- data/excon.gemspec +2 -2
- data/lib/excon/connection.rb +6 -0
- data/lib/excon/constants.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjUyYzk4Mzc5ZWNhZjc2ZmY1OTFhNjEwMWZjMDQyMGY2MWZmZGFhMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzhkZWViOWYyNjY1ZGRhYmVmODY4YTk0N2M5YWI3NmQ3NWUxMGFkZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTVlMTFiNjFlNDEzNWI0NGNmZWJhNmU4ODYwYmI2ZDc3ZDNhOGY0ZTllMGY1
|
10
|
+
YWQ2NWFlOGZmM2I5MjJjZWI5M2Q5MTNlNmNjNjY4M2MwMTljZDk3ZTgwNTlk
|
11
|
+
YzU5NTc2Zjg5YmMxM2U2YjY1YzAyMTQ1ZjM4NjM4MWVkNWNmZmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjI0Yzg2MDY1MWQ2YWYwMTg1MGFiYTZmOGUwOTVmMjQzZGZiZTAzNjY0Nzhi
|
14
|
+
N2EzNGU3YTRmYmJkYmRlZDllMzcyMzI2MDRlZTNiNWQyZDViNTQ4YjAzY2Q4
|
15
|
+
YzVkNzQ3ZTZiOTE4MmViZTg2NDZmZWYzY2Q3MjE0NmY1NThmZWY=
|
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.39.
|
17
|
-
s.date = '2014-08-
|
16
|
+
s.version = '0.39.3'
|
17
|
+
s.date = '2014-08-05'
|
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/connection.rb
CHANGED
@@ -399,6 +399,10 @@ module Excon
|
|
399
399
|
end
|
400
400
|
|
401
401
|
case @data[:proxy]
|
402
|
+
when nil
|
403
|
+
@data.delete(:proxy)
|
404
|
+
when Hash
|
405
|
+
# no processing needed
|
402
406
|
when String
|
403
407
|
uri = URI.parse(@data[:proxy])
|
404
408
|
unless uri.host && uri.port && uri.scheme
|
@@ -415,6 +419,8 @@ module Excon
|
|
415
419
|
if uri.user
|
416
420
|
@data[:proxy][:user] = uri.user
|
417
421
|
end
|
422
|
+
else
|
423
|
+
raise Excon::Errors::ProxyParseError, "Proxy is invalid"
|
418
424
|
end
|
419
425
|
|
420
426
|
if @data.has_key?(:proxy) && @data[:scheme] == 'http'
|
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.39.
|
4
|
+
version: 0.39.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-08-
|
13
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|