mongoid_colored_logger 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/mongoid_colored_logger/railtie.rb +1 -1
- data/mongoid_colored_logger.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -4,7 +4,7 @@ module MongoidColoredLogger
|
|
|
4
4
|
|
|
5
5
|
class Railtie < Rails::Railtie
|
|
6
6
|
initializer 'logger_decorator', :after => :initialize_logger do
|
|
7
|
-
config.mongoid.logger = MongoidColoredLogger::LoggerDecorator.new(Rails.logger)
|
|
7
|
+
config.mongoid.logger = MongoidColoredLogger::LoggerDecorator.new(Rails.logger) if Rails.env.development?
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
# Make it output to STDERR in console
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: mongoid_colored_logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Roman Shterenzon
|
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
80
80
|
requirements:
|
|
81
81
|
- - ">="
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
|
-
hash:
|
|
83
|
+
hash: -1040792392897897671
|
|
84
84
|
segments:
|
|
85
85
|
- 0
|
|
86
86
|
version: "0"
|