eivo-rails-api 0.1.11 → 0.1.12
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 -6
- data/eivo-rails-api.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e1fe806702976c10a68369fa78dd2ce3b4fb693e80f8d37e20d592fc1871956
|
4
|
+
data.tar.gz: e652fc339b44cd44ab680cab8e510f90655bb74538bdff657cea66bf4d415f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfff26599d151a387f26500c3898993055d704360b17e2b477a172d7de775bb6cea53844057bda5ce4643f1dbabfafce143c6fdffe44527c62e651d3c891d30f
|
7
|
+
data.tar.gz: adeed7317b7c66c0c12104aec73d24fbaa4d56e69a0e702a711dc6cc37bb05dffa232457317a9397b1e05b8dd81f494f2964fb87a68e3bfbc643408094773e64
|
@@ -16,13 +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 = {
|
20
|
-
params: event.payload[:params].except('controller', 'action', 'format'),
|
21
|
-
request_id: event.payload[:request_id]
|
22
|
-
}
|
19
|
+
result = event.payload || {}
|
23
20
|
|
24
|
-
|
25
|
-
|
21
|
+
if result[:params]
|
22
|
+
result[:params] = result[:params].except('controller', 'action', 'format')
|
23
|
+
end
|
26
24
|
|
27
25
|
# https://github.com/roidrage/lograge/pull/307
|
28
26
|
if event.respond_to?(:allocations)
|
data/eivo-rails-api.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eivo-rails-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan VUKOVICH-TRIBOUHARET
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|