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: a899a5a56807300e5e0d53ad175dca3ffa2ddc8f
4
- data.tar.gz: afbf99a64caef408798d0bbb7dab304942d92ea3
3
+ metadata.gz: eedbdde12666a1140ddf56d8d94a69e21fdd447a
4
+ data.tar.gz: 687c97f7258d47d0d40fae21030b5efca5f47c79
5
5
  SHA512:
6
- metadata.gz: 612c09797249ff5838aa2c265e3afe7dcfeb9c861b2da1325bcf6051ff21bdb4db3a25175d865b4d7857f5fcb4fb07a7ebf346f84ce5bc256b88911309bc80a3
7
- data.tar.gz: cea3d50cf67d9911ba791ded7f3a851e7a3675ea31a8fb0c8e827129292963ae981e31325cf44351c28c524bd53aa9b1b0df1f6bb1b46fe2323c1cae40d753a9
6
+ metadata.gz: b000f04c0d0d15e9500210e886500af6bebe1dfe8fb72147b7d0b15b2858e76ccebcdb851b139c64fccd001e55764b59eca299d98ff31849899ba304c39e12c6
7
+ data.tar.gz: bcb842aec9aca3249b0ff4c572686dd39864dd79711ad36bc0acac60d6de67e989912a6bf75b318e23078620601e3578a23c2c33db52528334bd5cc231133623
@@ -29,7 +29,7 @@ module Timber
29
29
  alias to_h to_hash
30
30
 
31
31
  def as_json(_options = {})
32
- {:server_side_app => {:http_request => to_hash}}
32
+ {:server_side_app => {:http_server_request => to_hash}}
33
33
  end
34
34
 
35
35
  def message
@@ -1,3 +1,3 @@
1
1
  module Timber
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
@@ -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\":{\"http_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\"}}}")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timber Technologies, Inc.