rails_semantic_logger 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_semantic_logger/railtie.rb +5 -2
- data/lib/rails_semantic_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aa36bc6a14a428bb4e8696d67ddfec0c203528b
|
4
|
+
data.tar.gz: e35114817863fc705f24215c50ed1a287322f5cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eef57d395c3fbbc61f65d692a86bc41af8302854fdd97dc07c6edf845e6ee45bade7011235fb1bc5ece8f4314bf4ca5a8e042c8a5d54750d2fde782410fcbd2
|
7
|
+
data.tar.gz: 6d61557165ae2c19a6c5aa0c2bbc332694e24f64ea32ee3c415e9b1b0f81eb4e7814f3bb08138a66255c4335fe709623587e03abf3b88cfa00c5507c972abe67
|
@@ -86,11 +86,14 @@ module RailsSemanticLogger #:nodoc:
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
# Before any initializers run
|
89
|
+
# Before any initializers run, but after the gems have been loaded
|
90
90
|
config.before_initialize do
|
91
|
-
# Replace the Mongoid
|
91
|
+
# Replace the Mongoid Logger
|
92
92
|
Mongoid.logger = SemanticLogger[Mongoid] if defined?(Mongoid)
|
93
93
|
Moped.logger = SemanticLogger[Moped] if defined?(Moped)
|
94
|
+
|
95
|
+
# Replace the Resque Logger
|
96
|
+
Resque.logger = SemanticLogger[Resque] if defined?(Resque)
|
94
97
|
end
|
95
98
|
|
96
99
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_semantic_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic_logger
|