minato_logger 0.1.13.pre.1 → 0.1.13.pre.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: c921a8b72c56106a533f947263f1435e29e4173a1a7ad30c3ab157c3aca836df
4
- data.tar.gz: 6a7319df6ee4990190a22f309108a84821bb993ec1e89c950c23bc6491f7d200
3
+ metadata.gz: b36cadb38deedc36c5e9f51e2f8924ec2232431a38665d6b4675d14444537f03
4
+ data.tar.gz: adadd20e6af1782f4f10085d2fcc7974094ac8fcdb517c71d8ebecaedd967929
5
5
  SHA512:
6
- metadata.gz: c59a67c31e7761f92d5567806a59fc92165b8715c750a3177635da997c8ec24f486cc35f522f8b6b6832e66b5fc70678effb59b766e45758eb18958213fa644a
7
- data.tar.gz: e504115614d7fd851d6e358a59a7c1e0d32b731ed2552f64839cc5a8f3ab6b4da7eb6b0edd5a389e4dec5f0790e60bdff953249421a033582d5e0fb470e9714e
6
+ metadata.gz: b50dd26a5425582f4d5a720f4ac7215dfa30f83b801b597b428f11226dd1b226cf105c167df0c8b6dd770a30d1dd755727a4f1d1ca4e1125ce94e298c2dc1464
7
+ data.tar.gz: 2d51f2816c59f2b6733dc86c14a6d811c524331b12c2adad8213de173e14d0eef1013c3f50d689e2a7d263dbd423bf5197cc94e97455f0180babf696cb39f606
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MinatoLogger
4
+ class Railtie < ::Rails::Railtie
5
+ config.after_initialize do |app|
6
+ app.config.colorize_logging = false if Rails.env.production?
7
+ end
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MinatoLogger
4
- VERSION = "0.1.13-1"
4
+ VERSION = "0.1.13-2"
5
5
  end
data/lib/minato_logger.rb CHANGED
@@ -3,3 +3,4 @@
3
3
  require_relative "minato_logger/version"
4
4
  require_relative "minato_logger/formatters"
5
5
  require_relative "minato_logger/logger"
6
+ require_relative "minato_logger/rails" if defined?(Rails)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minato_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13.pre.1
4
+ version: 0.1.13.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ferreri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-07 00:00:00.000000000 Z
11
+ date: 2024-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -74,6 +74,7 @@ files:
74
74
  - lib/minato_logger/formatters/base_formatter.rb
75
75
  - lib/minato_logger/formatters/fluent_bit.rb
76
76
  - lib/minato_logger/logger.rb
77
+ - lib/minato_logger/rails.rb
77
78
  - lib/minato_logger/version.rb
78
79
  - minato_logger.gemspec
79
80
  - sig/minato_logger.rbs