zuora_observability 0.3.1 → 0.3.2

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: 31ace19d3c6b8092e6faaf50da3bc94e53383bb9fa34dafaee16bfa5d5d6e555
4
- data.tar.gz: 0f1761ca1c3c27fa4e42e626e689b2af9acb9b574bd6a0ce35f7b373f5f67f60
3
+ metadata.gz: d0e155a0e3bb9beba95eb17b57654ffc4bc6fde8d8e0ca5f54e959d250cd4ab6
4
+ data.tar.gz: 956004414ccfdaa6e573ed14d860e16090132303ff90827046408d579c2dda66
5
5
  SHA512:
6
- metadata.gz: e03d3fbabf4b6547844b28be303feeae46ea0966b793824b7fcafd4371551de5b436490abdf192f4046ac7ff38450e51b87b401de9e160e450d734510dba87b5
7
- data.tar.gz: c36453840bd493eb29a6f1220a3ab234079b2795d97f32a201ddda9d445fd37c6e640fc147b53e6cc303dac72112b3ac2326daa8005a6ba20a4711c85ef86ca3
6
+ metadata.gz: c566069bcbf86de2b356e01a636ee80183c3ce6347d99079f2bdb4413cc74fe9f758b5ecb0ecb34e09544d907b0a4d87ad8ddf71dcc97e5eb56df4a946d31973
7
+ data.tar.gz: 40a4ed48db44723973b7c1fcb3914d4c0b0fb76058379be879d0dab96e07487e7e1fc990aff841415bd229d1129cbec1c4fdef24f933570b6ffb32c8b440d3c0
@@ -11,10 +11,12 @@ module ZuoraObservability
11
11
 
12
12
  initializer(:rails_stdout_logging, before: :initialize_logger) do
13
13
  Rails.application.configure do
14
- config.logger = ActiveSupport::TaggedLogging.new(ZuoraObservability::Logger.custom_logger(name: 'Rails'))
14
+ config.logger = ZuoraObservability::Logger.custom_logger(name: 'Rails')
15
15
 
16
16
  next unless ZuoraObservability.configuration.json_logging
17
17
 
18
+ config.logger = ActiveSupport::TaggedLogging.new(config.logger)
19
+
18
20
  require 'lograge'
19
21
  require 'zuora_observability/logging/custom_options'
20
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraObservability
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_observability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hartley McGuire
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-03 00:00:00.000000000 Z
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -247,9 +247,6 @@ files:
247
247
  - app/controllers/zuora_observability/application_controller.rb
248
248
  - app/controllers/zuora_observability/metrics_controller.rb
249
249
  - app/helpers/zuora_observability/application_helper.rb
250
- - app/jobs/zuora_observability/application_job.rb
251
- - app/mailers/zuora_observability/application_mailer.rb
252
- - app/models/zuora_observability/application_record.rb
253
250
  - app/views/layouts/zuora_observability/application.html.erb
254
251
  - config/initializers/loggers.rb
255
252
  - config/initializers/tagged_logging.rb
@@ -1,4 +0,0 @@
1
- module ZuoraObservability
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module ZuoraObservability
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module ZuoraObservability
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end