errlog 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/errlog.rb +4 -4
- data/lib/errlog/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: 1e34622fa375c0d03a9146d8c33a2c0de3800d6c
|
4
|
+
data.tar.gz: c5b0c688c78cb5bc0d69377c7d80f52dcba770be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a24d4280575e54d3bb551e5cb485b14507c49f6ef13496cab175b64dc962589f623d4888c8c396f88b781271d1216674c899145b52bbfa05f5bbb57b4e4f4cc
|
7
|
+
data.tar.gz: 2515dcbef0f0a7cd3bc42d703c3b1129abd3cb2f06c54b4842324341612b3c4adae16be27e81227cf5fc22f24bb0809af105b94f2eab4a561128a5015d82bc6a
|
data/lib/errlog.rb
CHANGED
@@ -61,10 +61,10 @@ module Errlog
|
|
61
61
|
if @@rails && !opts[:no_catch_logs]
|
62
62
|
if Rails.env != 'test'
|
63
63
|
@@logger = Rails.logger = ChainLogger.new Rails.logger
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
64
|
+
ActionController::Base.logger = ChainLogger.new ActionController::Base.logger
|
65
|
+
if defined?(ActiveRecord)
|
66
|
+
ActiveRecord::Base.logger = ChainLogger.new ActiveRecord::Base.logger
|
67
|
+
end
|
68
68
|
end
|
69
69
|
@@loggers_ready = true
|
70
70
|
|
data/lib/errlog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sergeych
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: boss-protocol
|