gray_logger 0.11.10 → 0.11.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,8 @@ module GrayLogger
27
27
  EOMEVAL
28
28
 
29
29
  send(method_name, args)
30
+ else
31
+ super
30
32
  end
31
33
  end
32
34
 
@@ -53,6 +53,8 @@ module GrayLogger
53
53
  rescue => e
54
54
  proxied_logger.error(e.backtrace.join("\n"))
55
55
  end
56
+ else
57
+ super
56
58
  end
57
59
  end
58
60
  end
@@ -1,3 +1,7 @@
1
+ # to use this you need to call this in a Rails initializer.
2
+ #
3
+ # ActionController::Base.send(:include, GrayLogger::RailsModules::ActionControllerCatcher)
4
+ #
1
5
  module GrayLogger
2
6
  module RailsModules
3
7
  module ActionControllerCatcher
@@ -20,4 +24,5 @@ module GrayLogger
20
24
  end
21
25
  end
22
26
 
23
- ActionController::Base.send(:include, GrayLogger::RailsModules::ActionControllerCatcher)
27
+
28
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gray_logger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 39
4
+ hash: 37
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 10
10
- version: 0.11.10
9
+ - 11
10
+ version: 0.11.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Behr
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-22 00:00:00 Z
18
+ date: 2012-11-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: gelf