eric-fakeweb 1.2.2.2 → 1.2.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/fake_web/ext/net_http.rb +2 -2
  2. metadata +1 -1
@@ -65,7 +65,7 @@ module Net #:nodoc: all
65
65
  elsif FakeWeb.allow_net_connect?
66
66
  connect_without_fakeweb
67
67
  res = request_without_fakeweb(request, body, &block)
68
- after_unhandled_request(request, res)
68
+ after_unhandled_request(uri, request, res, @socket.full_rbuf)
69
69
  res
70
70
  else
71
71
  raise FakeWeb::NetConnectNotAllowedError,
@@ -77,7 +77,7 @@ module Net #:nodoc: all
77
77
  def connect
78
78
  end
79
79
 
80
- def after_unhandled_request(request, response)
80
+ def after_unhandled_request(uri, request, response, response_buffer)
81
81
  end
82
82
  end
83
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eric-fakeweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2.2
4
+ version: 1.2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blaine Cook