httplog 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/httplog/adapters/httpclient.rb +1 -1
- data/lib/httplog/http_log.rb +1 -1
- data/lib/httplog/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: 0f0283a8ea460acf26ec31596031de92b2194a6d
|
4
|
+
data.tar.gz: 9fab7a146f3f554ca5bbcf3e577be411f7a55e0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37042d586419e7e4d2346703678f1dbb617764e6fe057b0dc4f709ab391a8f6b85567ec0c25a9b12c14096717dd3cf61ea3de4383576aff57c659fb83983ecf3
|
7
|
+
data.tar.gz: e5e28d1e1ca12822a977debe7f56ca8388397bb8a02f21bb2c459daaccf06ea5737770e64572ba5d021f7f1aef1f448805923e995d6df18d3f4bc0221afa8992
|
data/README.md
CHANGED
@@ -109,6 +109,8 @@ With the default configuration, the log output might look like this:
|
|
109
109
|
D, [2012-11-22T18:39:46.033409 #12800] DEBUG -- : [httplog] Status: 200
|
110
110
|
D, [2012-11-22T18:39:46.033483 #12800] DEBUG -- : [httplog] Benchmark: 0.001562 seconds
|
111
111
|
|
112
|
+
* Also when using HTTPClient, make sure you include `httplog` **before** `httpclient` in your `Gemfile`.
|
113
|
+
|
112
114
|
* When using Ethon or Patron, and any library based on them (such as Typhoeus),
|
113
115
|
the TCP connection is not logged (since it's established by libcurl).
|
114
116
|
|
@@ -138,3 +140,4 @@ Thanks to these fine folks for contributing pull requests:
|
|
138
140
|
* [Marcos Hack](https://github.com/marcoshack)
|
139
141
|
* [Andrew Hammond](https://github.com/andrhamm)
|
140
142
|
* [Chris Keele](https://github.com/christhekeele)
|
143
|
+
* [Ryan Souza](https://github.com/ryansouza)
|
@@ -9,7 +9,7 @@ if defined?(::HTTPClient)
|
|
9
9
|
if log_enabled
|
10
10
|
HttpLog.log_request(req.header.request_method, req.header.request_uri)
|
11
11
|
HttpLog.log_headers(req.headers)
|
12
|
-
HttpLog.log_data(req.body)
|
12
|
+
HttpLog.log_data(req.body)
|
13
13
|
end
|
14
14
|
|
15
15
|
retryable_response = nil
|
data/lib/httplog/http_log.rb
CHANGED
data/lib/httplog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httplog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thilo Rusche
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|