logstasher 0.7.0 → 0.7.1

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: 1310d59f79f4794fe052862abab980070abbb608
4
- data.tar.gz: 8c3ba40e9e3cb8adf4cffe4ce1253bdda0687dc4
3
+ metadata.gz: 6a404ae100e8f031a1c09e559a953cba145d42f3
4
+ data.tar.gz: f9e819702e979195dd35c9db988f0d8958b0be23
5
5
  SHA512:
6
- metadata.gz: 8ac20d33342fb3576d7bdbdb097d251b764ec79e1ae30d38892cf4697aa3873ed3b785dbe96fb9d069857a21a51856de380daf758a9c408015ff8c4a06c31b4b
7
- data.tar.gz: a64a27166802d4538d120a8d53386c10e3fed3d64e8916da027adce0b11b91ca415a85817879df73065546b8e98466209f8c09e31b628d72f430100d3c37f632
6
+ metadata.gz: ac8b1f8298cfda5d3b36d5d7b3f584c4041729d157a70319a4809b36ddc5efc85a6eec7c6634888c99b97f8004bb9a642a1c92859a121379f160583f0bb258b2
7
+ data.tar.gz: 13bb64bf2662c52248fb24a9bbce296960d29dfefa8e5e5203f93e0f9ed75f874651c8a2f2da1f7c035529b6226acddb80754146b63ecef42e1e1f263f0d45d0
@@ -22,8 +22,6 @@ module ActionController
22
22
  logstasher_add_custom_fields_to_request_context(LogStasher.request_context)
23
23
  end
24
24
 
25
- result = super
26
-
27
25
  if self.respond_to?(:logtasher_add_custom_fields_to_payload)
28
26
  before_keys = raw_payload.keys.clone
29
27
  logtasher_add_custom_fields_to_payload(raw_payload)
@@ -32,6 +30,8 @@ module ActionController
32
30
  LogStasher.custom_fields += after_keys - before_keys
33
31
  end
34
32
 
33
+ result = super
34
+
35
35
  payload[:status] = response.status
36
36
  append_info_to_payload(payload)
37
37
  LogStasher.store.each do |key, value|
@@ -1,3 +1,3 @@
1
1
  module LogStasher
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shadab Ahmed