sapience 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/sapience/rails.rb +3 -3
- data/lib/sapience/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0803dd38f93ede1b7a868dfdc41f63d64ae4a245
|
4
|
+
data.tar.gz: ee1c5c5fee410d23477c87f62f3430e646e299a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb2695701ee496b716a8d6bd5647b663af5b2cbfc5c7e24c01364a210060c08a5feab50d6809d91c6fe79132c6c6592b6b1a9fca0671216ee4b17e35bd6dbcc0
|
7
|
+
data.tar.gz: 56f895348d5e890a747a1a68543fdd02b32e47cb3a03934a8b133bd55f8a03b3567f1440e927ffde33b86eb5f518c291e7989523e060e3e19f95355a24244dd1
|
data/CHANGELOG.md
CHANGED
data/lib/sapience/rails.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
require "sapience"
|
2
|
-
require "sapience/extensions/action_controller/live"
|
2
|
+
require "sapience/extensions/action_controller/live" if defined?(ActionController::Live)
|
3
3
|
require "sapience/extensions/action_controller/log_subscriber"
|
4
4
|
require "sapience/extensions/action_dispatch/debug_exceptions"
|
5
5
|
require "sapience/extensions/action_view/streaming_template_renderer"
|
6
|
-
require "sapience/extensions/active_record/log_subscriber"
|
6
|
+
require "sapience/extensions/active_record/log_subscriber" if defined?(ActiveRecord)
|
7
7
|
require "sapience/extensions/rails/rack/logger"
|
8
8
|
require "sapience/extensions/rails/rack/logger_info_as_debug"
|
9
9
|
require "sapience/extensions/action_view/log_subscriber"
|
@@ -64,7 +64,7 @@ module Sapience
|
|
64
64
|
Bugsnag.configure { |config| config.logger = Sapience[Bugsnag] } if defined?(Bugsnag)
|
65
65
|
Sapience::Extensions::ActionController::LogSubscriber.attach_to :action_controller
|
66
66
|
# Sapience::Extensions::ActiveSupport::MailerLogSubscriber.attach_to :action_mailer
|
67
|
-
Sapience::Extensions::ActiveRecord::LogSubscriber.attach_to :active_record
|
67
|
+
Sapience::Extensions::ActiveRecord::LogSubscriber.attach_to :active_record if defined?(ActiveRecord)
|
68
68
|
Sapience::Extensions::ActionView::LogSubscriber.attach_to :action_view
|
69
69
|
# Sapience::Extensions::ActiveJob::LogSubscriber.attach_to :active_job
|
70
70
|
end
|
data/lib/sapience/version.rb
CHANGED