rails_semantic_logger 3.0.0 → 3.0.1
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 +4 -1
- 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: d08b2b972eaf1186c52d9843aef02585f0f41b2c
|
4
|
+
data.tar.gz: 8dac75b9cbbc7f03bd7c90d25e293b3132810de3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d877c06b9d76c0b404e4c269e43b3d6e67d06c7d6e2e95f74b8d8676a94e944167d605403097886170a0c4e9d9ab841e58866ec42cd47d40afa5926190ccdbd
|
7
|
+
data.tar.gz: 30442065d1a273fde0a7166bb06b3074ac32ca7411441c8046a52386fa679bd194b28e30960651b12dbb79a11881ea8a66256ff8d776e225c0bf04f6f8340381
|
@@ -67,9 +67,12 @@ module RailsSemanticLogger #:nodoc:
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# Replace Rails loggers
|
70
|
-
[:active_record, :action_controller, :action_mailer, :action_view, :active_job
|
70
|
+
[:active_record, :action_controller, :action_mailer, :action_view, :active_job].each do |name|
|
71
71
|
ActiveSupport.on_load(name) { include SemanticLogger::Loggable }
|
72
72
|
end
|
73
|
+
[:action_cable].each do |name|
|
74
|
+
ActiveSupport.on_load(name) { self.logger = SemanticLogger['ActionCable'] }
|
75
|
+
end
|
73
76
|
end
|
74
77
|
|
75
78
|
# Support fork frameworks
|
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: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic_logger
|