metova-logger 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: c234a58e7e19c384fc2f85f51b058b0c96d5e9b8
4
- data.tar.gz: 3e082eb8a0cd6119c194d12b3ccb70ce4b5cf3e3
3
+ metadata.gz: 46ffaf9ecf28c8c12cbfdc08537a41e1be9677f6
4
+ data.tar.gz: 16ce356bebf6b089f485206636d4b19e5ec2c4c8
5
5
  SHA512:
6
- metadata.gz: 51514fa181ba90692b7cb382e767d9620d623388584421ae8bb05bf22f61b5e305f7ca3426f811ad759df77ab426ed77017b9b1f0ca71f15d38906cc3a647917
7
- data.tar.gz: a890be3b54aff9640b11dad4d21843efd27923d2b5911b9bbbc1dd9950bde8cda5c11a86f0d21718992435c5924bbcd1936ed08671567e27a8fd32f23e0f933a
6
+ metadata.gz: faf399f5bb7382f5e3063a5e36078284ba509b855be35c19c1cd065e3cefe14cec18eabfcac7da6e4f9da519baebceb2335f7fd5b0e4ff81d129a15af2b5c584
7
+ data.tar.gz: 991cd1c28b5a02c93eca3b45d0f3bec6d87e5a4907f49a4ce865075a1998c619cf08d6d508812ab5c5817fd5821584ed0dda84b1573c0599f2b1f012f137c17c
@@ -5,9 +5,11 @@ module Metova
5
5
  module Logger
6
6
  class Railtie < ::Rails::Railtie
7
7
 
8
- config.log_tags = [
9
- lambda { |request| request.uuid[0..15] }
10
- ]
8
+ initializer 'metova.logger' do |app|
9
+ app.config.log_tags = [
10
+ lambda { |req| req.uuid[0..15] }
11
+ ]
12
+ end
11
13
 
12
14
  config.lograge.enabled = true
13
15
  config.lograge.custom_options = lambda do |event|
@@ -1,5 +1,5 @@
1
1
  module Metova
2
2
  module Logger
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metova-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman