rails/init.rb in super_exception_notifier-3.0.13 vs rails/init.rb in super_exception_notifier-3.0.14
- old
+ new
@@ -1,11 +1,14 @@
require 'rake'
require 'rake/tasklib'
require "action_mailer"
-require "exception_notification/notified_task" unless defined?(NotifiedTask)
+require "exception_notification/notified_task"
-require "exception_notification" unless defined?(ExceptionNotification)
+require "exception_notification"
+
+# To load the autoloads.
+ExceptionNotification
Object.class_eval do
include ExceptionNotification::Notifiable
end