eivo-rails 0.1.10 → 0.1.11
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.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: 1f4f0468c938c28b521471531f0dda6c72d6aff0735d0e7f2fbb3b420c7a6aa3
|
4
|
+
data.tar.gz: 126c2e7b093b2d09d4bc2b94c79d2f517e05045af304c55f6d84921ecedaab36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6a35f5db36eaf1332321b82797b93c13987ace609d9e981a4554bb4b3146facb82be22833804d54db416da334b964356a86277e8b54af3a4a8a7037296b6fb
|
7
|
+
data.tar.gz: 8206c1d2286af450bfd10efbd41d46e9212d101dcda3866062943bfd0ea908693e330e3310f2dc687ab74951ec849346728c60e800e957a773caeed7b7c0fabc
|
@@ -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.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eivo-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
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
|