excon 0.16.8 → 0.16.9

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.16.8)
4
+ excon (0.16.9)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/README.md CHANGED
@@ -154,6 +154,12 @@ For example, if using RSpec for your test suite you can clear stubs after runnin
154
154
  Excon.stubs.clear
155
155
  end
156
156
 
157
+ You can also modify 'Excon.defaults` to set a default for all requests, so for a test suite you might do this:
158
+
159
+ before(:all) { Excon.defaults[:mock] = true }
160
+
161
+ For additional information on stubbing, read the pull request notes [here](https://github.com/geemus/excon/issues/29)
162
+
157
163
  HTTPS/SSL Issues
158
164
  ----------------
159
165
 
data/changelog.txt CHANGED
@@ -1,3 +1,9 @@
1
+ 0.16.9 11/16/2012
2
+ =================
3
+
4
+ readme cleanup/clarification around stubs
5
+ fix for reading response from ssl proxy
6
+
1
7
  0.16.8 11/12/2012
2
8
  =================
3
9
 
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.16.8'
17
- s.date = '2012-11-12'
16
+ s.version = '0.16.9'
17
+ s.date = '2012-11-16'
18
18
  s.rubyforge_project = 'excon'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -29,7 +29,7 @@ module Excon
29
29
 
30
30
  REDACTED = 'REDACTED'
31
31
 
32
- VERSION = '0.16.8'
32
+ VERSION = '0.16.9'
33
33
 
34
34
  unless ::IO.const_defined?(:WaitReadable)
35
35
  class ::IO
@@ -49,6 +49,9 @@ module Excon
49
49
 
50
50
  # write out the proxy setup request
51
51
  @socket.write(request)
52
+
53
+ # eat the proxy's connection response
54
+ Excon::Response.parse(@socket, {})
52
55
  end
53
56
 
54
57
  # convert Socket to OpenSSL::SSL::SSLSocket
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.16.8
4
+ version: 0.16.9
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: 2012-11-12 00:00:00.000000000 Z
14
+ date: 2012-11-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -222,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  version: '0'
223
223
  segments:
224
224
  - 0
225
- hash: -2891394253994794390
225
+ hash: 2997528008362648241
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements: