timber 1.1.6 → 1.1.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eedbdde12666a1140ddf56d8d94a69e21fdd447a
|
4
|
+
data.tar.gz: 687c97f7258d47d0d40fae21030b5efca5f47c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b000f04c0d0d15e9500210e886500af6bebe1dfe8fb72147b7d0b15b2858e76ccebcdb851b139c64fccd001e55764b59eca299d98ff31849899ba304c39e12c6
|
7
|
+
data.tar.gz: bcb842aec9aca3249b0ff4c572686dd39864dd79711ad36bc0acac60d6de67e989912a6bf75b318e23078620601e3578a23c2c33db52528334bd5cc231133623
|
data/lib/timber/version.rb
CHANGED
@@ -39,7 +39,7 @@ describe Timber::Probes::RailsRackLogger do
|
|
39
39
|
allow_any_instance_of(::Rails::Rack::Logger).to receive(:logger).and_return(logger)
|
40
40
|
dispatch_rails_request("/rails_rack_logger")
|
41
41
|
expect(io.string).to start_with("Started GET \"/rails_rack_logger\" for 123.456.789.10 @metadata {\"level\":\"info\",\"dt\":\"2016-09-01T12:00:00.000000Z\"")
|
42
|
-
expect(io.string).to include("\"event\":{\"server_side_app\":{\"
|
42
|
+
expect(io.string).to include("\"event\":{\"server_side_app\":{\"http_server_request\":{\"host\":\"example.org\",\"method\":\"GET\",\"path\":\"/rails_rack_logger\",\"port\":80,\"headers\":{\"remote_addr\":\"123.456.789.10\",\"request_id\":\"unique-request-id-1234\"}}}")
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|