http-double 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2481a69325fb8b81a08f9dcc1009239536cadaf
4
- data.tar.gz: e178067a35712c22b02e09e3bf84f71c54f88ae0
3
+ metadata.gz: 116f6648013ea37e3295b6016bfd9aa41071f574
4
+ data.tar.gz: 880a76b4fd4b9d55d8f34cd9ef97384a6ef6f592
5
5
  SHA512:
6
- metadata.gz: 50b1aa2fded59adff9de2ff499191e16d2cee124e18870daf97557b820912ec7b6b13d71182278d3b0fbdb3dc0a77122ca11f1458a819efb6be19e3e4aa9b693
7
- data.tar.gz: 3e0116b8a8470414734a885c7fc549358087e06d2d4b60466eec54cc3923b2a1cb00ad9cd21c2b6a747d58592c942b336e09f9fa25ee151a4eb0fbd52d6df5f0
6
+ metadata.gz: 9e8e86b25f9f353000daa243b718db9e3401f878066e06a861265d53171fa37408b29f19c9787e8fa4618a2e68642bb4c1892b7f5db18e61984051c43cb740f1
7
+ data.tar.gz: ccf55fd103ccb294ec67a9f20ff83da8accaa3bd54af38e984114c2bf24e18ecb01c8477642208fbfae0470c2205cb0efee214ec4eb3750529d6250697b963a5
@@ -11,6 +11,7 @@ class HttpDouble::RequestLogger
11
11
 
12
12
  def call(env)
13
13
  @app.call(env).tap do |response|
14
+ next if response[1].has_key? 'suppress-logging'
14
15
  @log << RoundTrip.new(
15
16
  Request.new(env),
16
17
  Response.new(
@@ -1,3 +1,3 @@
1
1
  module HttpDouble
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-double
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil E. Pearson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-09 00:00:00.000000000 Z
11
+ date: 2015-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra