eivo-rails-api 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/logger.rb +4 -1
- data/eivo-rails-api.gemspec +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: 9a7fec1b66e25e2c1aef85dd8d18b1b69a83cefb4d47494fae2d73b8dec21089
|
4
|
+
data.tar.gz: 2fdae83eb7d5d86676ca3dfd077d90c2be93064e54e24800d88f7fc6e378ae59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5bf240b46c716222cd59c69ff698545c1dd009a6bd58dd51af1f81479e0815da8f91e57042d9f9551bf23e234ba67b4a07b390f24aaf5fbd86200b336146d6b
|
7
|
+
data.tar.gz: fd533ff30d8182382764fa799150c7b342d08040e9b261f5c1ff28a8e99463b6a138badf800a5ef3880e95f49ca122f50c83077dc4304611faa70b16ed9cb0ec
|
@@ -16,8 +16,11 @@ if Rails.env.staging? || Rails.env.production?
|
|
16
16
|
config.lograge.ignore_actions = ['EIVO::StatusController#index']
|
17
17
|
|
18
18
|
config.lograge.custom_options = ->(event) do
|
19
|
-
result = event.payload || {}
|
19
|
+
result = event.payload.dup || {}
|
20
20
|
|
21
|
+
result.delete(:headers)
|
22
|
+
|
23
|
+
# Removed because already present in event.payload
|
21
24
|
if result[:params]
|
22
25
|
result[:params] = result[:params].except('controller', 'action', 'format')
|
23
26
|
end
|
data/eivo-rails-api.gemspec
CHANGED