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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTI3MWJmMGU1ZTg0OTg2ZWIwOTAyNzM4MTk2NWJkOTIwZjgwOGFkZg==
4
+ MTBmMzNiNGI0ZDI1YWE0YjdjYTY1MzFkNzRhYzY3NjAxOGQ3ODUyMw==
5
5
  data.tar.gz: !binary |-
6
- MmZkOTNlY2Q4MzU1NmVhYmNjZWU3NmYyYzZkNTFiMTliM2M1ZWNmMQ==
6
+ YWEyYWRjYmNiODVkMGM2OWNhODE2ZDdhM2JiODk0YjE5NjBhM2UwZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTYyYTE2YTRhNjcyZTBhZTQ4ODhkYjI2MDAwN2U3NWZjYTBlYjhkYTFjMjdj
10
- ZTc3NjJlNmNmZmIxNzY5ZmYwNjA1ZWNhYjhlNmU5ZjAxNTg3YjQwNTgwYmFj
11
- OTc2Mjc3MGE3ODU0MTM4N2YxMDA5MmY3NjQ0OGYwZWEyNDYxNWI=
9
+ MGNhOTk1ZTZjNzAxNTIxNGE5ZTAwMDdiMTNjMDZmOGFkOWNkOTI0Njc2Nzdi
10
+ MGRhNmYxOTgyZjUyNjQ5OTA4NjA3OWNmMGNhMzk4M2MzNWRmNWZhNTQ5N2Uz
11
+ MDNjZmJjYTg2ZDRhOThlZmE1OGU1MGVjMjRlMjY3YmFiNzZjNWY=
12
12
  data.tar.gz: !binary |-
13
- NjE0MmRlMjM2OGM4MzkzNTc1YjU1OTU2NGY5YmNhMDIwNjdlNGFlNjUzMzRi
14
- NzdmNjAxMzVhMTkxNjllM2EwYWU4OGU3NDBlN2NjNmM0NDIxNTY1NTU1OTAz
15
- MWYyYTg5NTFlMjUwYzRhMDlkYWYxYTUyYTk5YWI3N2U5MjM4MzI=
13
+ ZDMwMDQ3MTNiZDAxM2RjZGJhMTE4NjUzN2Q4Y2ZlNGNhNTQ4NTA2MmJiZjZl
14
+ Y2U1YmNkYWQxZGU3MTNjZWNmNTJmZjk3YzBhNjNiMzU4ZWM5YjBlOTQzMjRi
15
+ OTZlOWM1NjYzYjdkNTE3NjA1MmQ2Njg5NTM1YzBkMzE3YzUzMzk=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.39.4)
4
+ excon (0.39.5)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,3 +1,10 @@
1
+ 0.39.5 09/14/2014
2
+ =================
3
+
4
+ fix double delegation error
5
+ make client_key_pass valid connection key
6
+ cast headers to_s to fix historical symbol usage
7
+
1
8
  0.39.4 08/08/2014
2
9
  =================
3
10
 
@@ -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.4'
17
- s.date = '2014-08-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
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
 
3
- VERSION = '0.39.4'
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,
@@ -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
@@ -17,7 +17,7 @@ module Excon
17
17
 
18
18
  attr_reader :remote_ip
19
19
 
20
- def_delegators(:@socket, :close, :close)
20
+ def_delegators(:@socket, :close)
21
21
 
22
22
  def initialize(data = {})
23
23
  @data = data
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
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-08 00:00:00.000000000 Z
13
+ date: 2014-08-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport