semantic_logger_ecs_addon 0.1.6 → 0.1.10

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: ba75d521a4ff9817c0f359bf045b0cb1387cfc9d9c04655761c550cba1e3a064
4
- data.tar.gz: 0e9625582f4f182129e8791dff144b2f46d36db717dd293b677ba1aac4787451
3
+ metadata.gz: 1677a75a257917ecbb954b3ee5bccecc0c3a7299d81b9bf03948fb015c7eb43a
4
+ data.tar.gz: 4a11524cc91d6a095943ad2a83cb2635c53df165c9b8cfcfff68343d3a749e20
5
5
  SHA512:
6
- metadata.gz: fe0fe150b4eef28b9df59b1ca9964e72b18d340308eeac146e75c3a57363b830e4eb82d7a74f28e384dce1c139bfb3284e759e718f4ac0520183b111421619b6
7
- data.tar.gz: 4f4fcfcc2836b2a8d6018aee71b802b136091888104350649a0cbcd5bf975e4106a75a762e89e5366cb2b7aab91dd0aa230d76fc75cc58de3846db4f1f23d9ff
6
+ metadata.gz: 239a689dbb7161c6d8e85cd9f9bf1f3818a2d54f6f8141d60793fe8305821d6499dfebcee734c07788b09c7d8db4037b244b74a1fd229e06159e2970fb7deceb
7
+ data.tar.gz: 24d90fe68301ce67a7c8a57c785d5d90eee7527a8f28b919cba6b9f0c8870532ec56d0af5744a2fcb07a3f51433a5f9c30fe8d95d5e6b1f4c2934a8a77a9070e
checksums.yaml.gz.sig CHANGED
Binary file
@@ -5,7 +5,7 @@ module SemanticLoggerEcsAddon
5
5
  module Identity
6
6
  NAME = "semantic_logger_ecs_addon"
7
7
  LABEL = "Semantic Logger Ecs Addon"
8
- VERSION = "0.1.6"
8
+ VERSION = "0.1.10"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  SUMMARY = "A semantic logger formatter that formats the logs according to Elastic Common Schema, adds APM trace data if ElasticAPM is enabled and instruments sequel logs for rails if available."
11
11
  end
@@ -0,0 +1,3 @@
1
+ require "rails_semantic_logger/sequel/log_subscriber" if defined? ActiveSupport::LogSubscriber
2
+ require "sequel/database" if defined?(ActiveSupport::Notifications)
3
+ require "sequel/railties/controller_runtime" if defined?(ActionController)
@@ -2,17 +2,11 @@
2
2
 
3
3
  require "pathname"
4
4
  require "zeitwerk"
5
- if defined?(Sequel)
6
- if defined? ActiveSupport::LogSubscriber
7
- require_relative "rails_semantic_logger/sequel/log_subscriber"
8
- end
9
- if defined?(ActiveSupport::Notifications)
10
- require_relative "sequel/database/active_support_notification"
11
- end
12
- require_relative "sequel/railties/controller_runtime" if defined?(ActionController)
13
- end
14
5
 
15
6
  loader = Zeitwerk::Loader.for_gem
7
+ loader.ignore "rails_semantic_logger"
8
+ loader.ignore "sequel"
9
+ loader.ignore "semantic_logger_ecs_addon/sequel.rb"
16
10
  loader.setup
17
11
 
18
12
  # Main namespace.
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "sequel/database/logging"
4
- require "active_support/notifications"
5
4
 
6
5
  module Sequel
7
6
  class Database
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_logger_ecs_addon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sajeev Ramasamy
@@ -34,7 +34,7 @@ cert_chain:
34
34
  vYrYpx2LhW5Xd0nPdr4aI+5BUqGdI7Ypl3BqNHZljUUlieiWu7rU0MhIZgQ1lIMa
35
35
  pQreMxz5itbb+2KmpdBlkm8nuRoFv0jrL5LR+7+UBRknGsHXaEQQcQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2021-08-23 00:00:00.000000000 Z
37
+ date: 2021-11-02 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: request_store
@@ -95,9 +95,10 @@ files:
95
95
  - lib/semantic_logger_ecs_addon/formatters/json.rb
96
96
  - lib/semantic_logger_ecs_addon/formatters/raw.rb
97
97
  - lib/semantic_logger_ecs_addon/identity.rb
98
+ - lib/semantic_logger_ecs_addon/sequel.rb
98
99
  - lib/semantic_logger_ecs_addon/utils/backtrace_cleaner.rb
99
100
  - lib/semantic_logger_ecs_addon/utils/hash.rb
100
- - lib/sequel/database/active_support_notification.rb
101
+ - lib/sequel/database.rb
101
102
  - lib/sequel/railties/controller_runtime.rb
102
103
  homepage: https://github.com/thorion3006/semantic_logger_ecs_addon
103
104
  licenses:
metadata.gz.sig CHANGED
Binary file