hickory 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hickory/log_subscribers/action_controller.rb +2 -2
- data/lib/hickory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fae32bce8afee0579ecade86c8a8357fa974b55e79c0d6e8e8ed0f25035617f
|
4
|
+
data.tar.gz: d30060066b2c6940594ba261ebb0f67cbd5413b482cc7433bd78ac61a73da6b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4d641c78f459b5e3addf77292802b417aad206e28f7a35b5477ef11540833df4f0e7365734938be3631ea0dc7245ee00dbc958c916a5b6ebc776e5bd3b94e8
|
7
|
+
data.tar.gz: 05b1202f1bee25a83d2cefc749505d5c68eae7865fe76f358873aa6b3f97361c9c6c2f031ad2aa685db9bbaa1794b9448d7ab4f403b71d8d838c45ef2faec94f
|
@@ -7,14 +7,14 @@ module Hickory
|
|
7
7
|
payload = event.payload
|
8
8
|
default_keys = %i[method format controller action user_id request_id]
|
9
9
|
|
10
|
-
metadata = payload.slice(default_keys).tap { |data|
|
10
|
+
metadata = payload.slice(*default_keys).tap { |data|
|
11
11
|
data.merge!(uri(payload))
|
12
12
|
data.merge!(runtimes(event, payload))
|
13
13
|
data.merge!(status(payload))
|
14
14
|
data.merge!(params(payload))
|
15
15
|
}
|
16
16
|
|
17
|
-
logger.info("canonical-request #{
|
17
|
+
logger.info("canonical-request #{payload[:method]} #{payload[:path]}", metadata)
|
18
18
|
end
|
19
19
|
|
20
20
|
private
|
data/lib/hickory/version.rb
CHANGED