wrest 2.1.5 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c51455c0b18f4681b9cee20ea0590da2eda62f81
4
- data.tar.gz: ccb66169a2023c8ea46ff81c70723c81648f686b
3
+ metadata.gz: 562de2694002d7c559a501ddb1647cb1ef0019c7
4
+ data.tar.gz: 770fae5f5c6c2510c93c261d8f1423ec5bc14511
5
5
  SHA512:
6
- metadata.gz: 2451343e7e117477533577c0edc11dd868561277093d4187b43d7f92ee79cd883f4ccf96b51afef8570e5795d95ab6954bdba0c3fec4c4c3ed931a00a8dd2fa4
7
- data.tar.gz: 69b61eb2f8f8546a194df494a75f261be41e007c41570a324dc15806ee14f4d92aef4c75c1190e780ac6ecfed19f253ac30f6b283f8c918ac930531b77e959e9
6
+ metadata.gz: 4089745bb2c50011174f00a3fb66140c251a7efb070bd6d281e5a3b475fcb191fd3e15dd39848cf551979017809dfd45ccd56f5b3c304a70ecd8554f579956fc
7
+ data.tar.gz: 3ce73ea70764603bb3e4b74f705a89a334a1c29ade161dfa0b4097fa157c680f87742197f4a503fce05a4b992b1c091c45b53329b1fe74f74ad76b3681513432
data/CHANGELOG CHANGED
@@ -2,6 +2,9 @@ Features under the section marked 'Current' are completed but pending release as
2
2
 
3
3
  Features under a numbered section are complete and available in the Wrest gem.
4
4
 
5
+ == 2.1.6
6
+ * Logging payload by default
7
+
5
8
  == 2.1.4
6
9
  * Making cache keys include query params
7
10
 
@@ -91,10 +91,9 @@ 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}"
96
94
  time = Benchmark.realtime { response = Wrest::Native::Response.new( do_request ) }
97
95
  Wrest.logger.debug "-> (#{prefix}) %d %s (%d bytes %.2fs)" % [response.code, response.message, response.body ? response.body.length : 0, time]
96
+ Wrest.logger.debug "#{response.body}"
98
97
 
99
98
  execute_callback_if_any(response)
100
99
 
@@ -8,5 +8,5 @@
8
8
  # See the License for the specific language governing permissions and limitations under the License.
9
9
 
10
10
  module Wrest
11
- VERSION = "2.1.5"
11
+ VERSION = "2.1.6"
12
12
  end
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.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidu Ponnappa