lib/isolator/configuration.rb in isolator-0.7.0 vs lib/isolator/configuration.rb in isolator-0.8.0
- old
+ new
@@ -26,11 +26,11 @@
@send_notifications = false
@backtrace_filter = ->(backtrace) { backtrace.take(5) }
@ignorer = Isolator::Ignorer
end
- alias raise_exceptions? raise_exceptions
- alias send_notifications? send_notifications
+ alias_method :raise_exceptions?, :raise_exceptions
+ alias_method :send_notifications?, :send_notifications
def test_env?
ENV["RACK_ENV"] == "test" || ENV["RAILS_ENV"] == "test"
end
end