lib/flail.rb in flail-0.1.6 vs lib/flail.rb in flail-1.0.0
- old
+ new
@@ -4,8 +4,9 @@
require 'flail/base'
require 'flail/configuration'
require 'flail/backtrace'
require 'flail/exception'
-require 'flail/rack'
+require 'flail/rack_middleware_exception_hook'
+# Railtie is not defined in spec tests so don't require during them.
require 'flail/railtie' if defined?(::Rails::Railtie)