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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e6471949098d0c50e6ab92e66bd7ec57c0b8378442859fb9e4057e7e3df0d33
4
- data.tar.gz: 77b567112c43888b0ebf5ee72ef3502d1fedb3077328df2e8ef051001efc38d4
3
+ metadata.gz: 7fae32bce8afee0579ecade86c8a8357fa974b55e79c0d6e8e8ed0f25035617f
4
+ data.tar.gz: d30060066b2c6940594ba261ebb0f67cbd5413b482cc7433bd78ac61a73da6b7
5
5
  SHA512:
6
- metadata.gz: cb3c606da44820faf32feed3080350fb41c65bf760492fb77b1969e557d5623c8be6b1a981b7d802d7d53457bb5bd20d872b3bf0eab805ebc5cf8447d303f276
7
- data.tar.gz: 78fab6ef7c5de10a48ef0aeb708457ab779999a1e9570a115e67e57eb22dbc7faa9d1ebe048a07472fad851f79e448e8567ee3d8c0239bf286e1eb6c681fbbf9
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 #{metadata[:method]} #{metadata[:path]}", metadata)
17
+ logger.info("canonical-request #{payload[:method]} #{payload[:path]}", metadata)
18
18
  end
19
19
 
20
20
  private
@@ -1,3 +1,3 @@
1
1
  module Hickory
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hickory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - blahed