excon 0.2.7 → 0.2.8

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.

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.2.7'
16
+ s.version = '0.2.8'
17
17
  s.date = '2010-11-30'
18
18
  s.rubyforge_project = 'excon'
19
19
 
data/lib/excon.rb CHANGED
@@ -13,7 +13,7 @@ require 'excon/response'
13
13
  module Excon
14
14
 
15
15
  unless const_defined?(:VERSION)
16
- VERSION = '0.2.7'
16
+ VERSION = '0.2.8'
17
17
  end
18
18
 
19
19
  unless const_defined?(:CHUNK_SIZE)
@@ -57,7 +57,7 @@ module Excon
57
57
  for key, values in query
58
58
  for value in [*values]
59
59
  value_string = value && ('=' << CGI.escape(value.to_s))
60
- request << key.to_s << value_string << '&'
60
+ request << key.to_s << value_string.to_s << '&'
61
61
  end
62
62
  end
63
63
  request.chop! # remove trailing '&'
data/lib/excon/errors.rb CHANGED
@@ -8,6 +8,7 @@ module Excon
8
8
 
9
9
  def initialize(socket_error=nil)
10
10
  super(socket_error.message)
11
+ set_backtrace(socket_error.backtrace)
11
12
  @socket_error = socket_error
12
13
  end
13
14
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)