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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b521245aa3a734f56eabb3c7934f724a58eb077
4
- data.tar.gz: 7f8b4386e582389d4df8076d6a65bcf1b973e0f6
3
+ metadata.gz: d08b2b972eaf1186c52d9843aef02585f0f41b2c
4
+ data.tar.gz: 8dac75b9cbbc7f03bd7c90d25e293b3132810de3
5
5
  SHA512:
6
- metadata.gz: b9d4b7ae4906def2678e7bb36de1ec0ae71b469863c116524f2105f48ca0c0f4ee8698bf853636e7301f912e6aa48aa614b5412d13352096f4cf578253cd5d11
7
- data.tar.gz: 42ecc049aef93924bebed1a3bba008ecd6ee1e00f280286bd8792908b8ccb1e17a18db59a384d5f3ebe208959c440a916ced8aed90d706ce9577a2d06ebb4305
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, :action_cable].each do |name|
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
@@ -1,3 +1,3 @@
1
1
  module RailsSemanticLogger #:nodoc
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  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: 3.0.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-09 00:00:00.000000000 Z
11
+ date: 2016-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic_logger