wrest 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wrest/native/request.rb +2 -0
- data/lib/wrest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51455c0b18f4681b9cee20ea0590da2eda62f81
|
4
|
+
data.tar.gz: ccb66169a2023c8ea46ff81c70723c81648f686b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2451343e7e117477533577c0edc11dd868561277093d4187b43d7f92ee79cd883f4ccf96b51afef8570e5795d95ab6954bdba0c3fec4c4c3ed931a00a8dd2fa4
|
7
|
+
data.tar.gz: 69b61eb2f8f8546a194df494a75f261be41e007c41570a324dc15806ee14f4d92aef4c75c1190e780ac6ecfed19f253ac30f6b283f8c918ac930531b77e959e9
|
data/lib/wrest/native/request.rb
CHANGED
@@ -91,6 +91,8 @@ module Wrest::Native
|
|
91
91
|
prefix = "#{http_request.method} #{self.hash} #{@connection.hash} #{Thread.current.object_id}"
|
92
92
|
|
93
93
|
Wrest.logger.debug "<- (#{prefix}) #{@uri.protocol}://#{@uri.host}:#{@uri.port}#{@http_request.path}"
|
94
|
+
Wrest.logger.debug "(headers) #{@http_request.headers}"
|
95
|
+
Wrest.logger.debug "(body) #{@http_request.body}"
|
94
96
|
time = Benchmark.realtime { response = Wrest::Native::Response.new( do_request ) }
|
95
97
|
Wrest.logger.debug "-> (#{prefix}) %d %s (%d bytes %.2fs)" % [response.code, response.message, response.body ? response.body.length : 0, time]
|
96
98
|
|
data/lib/wrest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sidu Ponnappa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|