AS::Notification is an extraction of ActiveSupport::Notifications from Rails.
$ gem install as-notifications
- Change module name from
ActiveSupport::NotificationstoAS::Notificationsto avoid conflicts with activesupport - Change
requirecalls foractive_support/notificationstoas/notifications - Disable loading
load_pathsfile in tests - Revert rails/rails@45448a5
changes to avoid
thread_safegem dependency
- Adjust
test/notifications/instrumenter_test.rbandtest/abstract_unit.rbto unbreak the tests on Ruby 1.8. - Include
define_singleton_methodandpublic_sendbackports to makeActiveSupport::PerThreadRegistrywork on Ruby 1.8.