excon 0.39.4 → 0.39.5
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 +7 -0
- data/excon.gemspec +2 -2
- data/lib/excon/constants.rb +2 -1
- data/lib/excon/headers.rb +7 -7
- data/lib/excon/socket.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
|
+
MTBmMzNiNGI0ZDI1YWE0YjdjYTY1MzFkNzRhYzY3NjAxOGQ3ODUyMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWEyYWRjYmNiODVkMGM2OWNhODE2ZDdhM2JiODk0YjE5NjBhM2UwZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGNhOTk1ZTZjNzAxNTIxNGE5ZTAwMDdiMTNjMDZmOGFkOWNkOTI0Njc2Nzdi
|
10
|
+
MGRhNmYxOTgyZjUyNjQ5OTA4NjA3OWNmMGNhMzk4M2MzNWRmNWZhNTQ5N2Uz
|
11
|
+
MDNjZmJjYTg2ZDRhOThlZmE1OGU1MGVjMjRlMjY3YmFiNzZjNWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDMwMDQ3MTNiZDAxM2RjZGJhMTE4NjUzN2Q4Y2ZlNGNhNTQ4NTA2MmJiZjZl
|
14
|
+
Y2U1YmNkYWQxZGU3MTNjZWNmNTJmZjk3YzBhNjNiMzU4ZWM5YjBlOTQzMjRi
|
15
|
+
OTZlOWM1NjYzYjdkNTE3NjA1MmQ2Njg5NTM1YzBkMzE3YzUzMzk=
|
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.5'
|
17
|
+
s.date = '2014-08-14'
|
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/constants.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Excon
|
2
2
|
|
3
|
-
VERSION = '0.39.
|
3
|
+
VERSION = '0.39.5'
|
4
4
|
|
5
5
|
CR_NL = "\r\n"
|
6
6
|
|
@@ -63,6 +63,7 @@ module Excon
|
|
63
63
|
VALID_CONNECTION_KEYS = VALID_REQUEST_KEYS + [
|
64
64
|
:ciphers,
|
65
65
|
:client_key,
|
66
|
+
:client_key_pass,
|
66
67
|
:client_cert,
|
67
68
|
:certificate,
|
68
69
|
:certificate_path,
|
data/lib/excon/headers.rb
CHANGED
@@ -25,13 +25,13 @@ module Excon
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def [](key)
|
28
|
-
@downcased[key.downcase]
|
28
|
+
@downcased[key.to_s.downcase]
|
29
29
|
end
|
30
30
|
|
31
31
|
alias_method :[]=, :store
|
32
32
|
def []=(key, value)
|
33
33
|
raw_writer(key, value)
|
34
|
-
@downcased[key.downcase] = value
|
34
|
+
@downcased[key.to_s.downcase] = value
|
35
35
|
end
|
36
36
|
|
37
37
|
if SENTINEL.respond_to? :assoc
|
@@ -42,21 +42,21 @@ module Excon
|
|
42
42
|
|
43
43
|
def delete(key, &proc)
|
44
44
|
raw_delete(key, &proc)
|
45
|
-
@downcased.delete(key.downcase, &proc)
|
45
|
+
@downcased.delete(key.to_s.downcase, &proc)
|
46
46
|
end
|
47
47
|
|
48
48
|
def fetch(key, default = nil, &proc)
|
49
49
|
if proc
|
50
|
-
@downcased.fetch(key.downcase, &proc)
|
50
|
+
@downcased.fetch(key.to_s.downcase, &proc)
|
51
51
|
else
|
52
|
-
@downcased.fetch(key.downcase, default)
|
52
|
+
@downcased.fetch(key.to_s.downcase, default)
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
56
|
alias_method :has_key?, :key?
|
57
57
|
alias_method :has_key?, :member?
|
58
58
|
def has_key?(key)
|
59
|
-
raw_key?(key) || @downcased.has_key?(key.downcase)
|
59
|
+
raw_key?(key) || @downcased.has_key?(key.to_s.downcase)
|
60
60
|
end
|
61
61
|
|
62
62
|
def merge(other_hash)
|
@@ -76,7 +76,7 @@ module Excon
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def values_at(*keys)
|
79
|
-
@downcased.values_at(*keys.map {|key| key.downcase})
|
79
|
+
@downcased.values_at(*keys.map {|key| key.to_s.downcase})
|
80
80
|
end
|
81
81
|
|
82
82
|
end
|
data/lib/excon/socket.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.5
|
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-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|