lib/rack/insight/app.rb in rack-insight-0.6.2 vs lib/rack/insight/app.rb in rack-insight-0.6.3

- old
+ new

@@ -1,26 +1,28 @@ -require 'rack' +require "rack" +require "rack/toolbar" require "digest/sha1" require "rack/insight/logging" require "rack/insight/config" require "rack/insight/filtered_backtrace" require "rack/insight/options" -require 'rack/insight/magic_insight' -require 'rack/insight/default_invocation' +require "rack/insight/magic_insight" +require "rack/insight/default_invocation" require "rack/insight/panel" require "rack/insight/panel_app" require "rack/insight/params_signature" require "rack/insight/rack_static_bug_avoider" require "rack/insight/redirect_interceptor" require "rack/insight/render" +require "rack/insight/path_match_filters" require "rack/insight/toolbar" require "rack/insight/enable-button" require "rack/insight/path-filter" -require 'rack/insight/request-recorder' -require 'rack/insight/instrumentation/setup' -require 'rack/insight/panels-content' -require 'rack/insight/panels-header' +require "rack/insight/request-recorder" +require "rack/insight/instrumentation/setup" +require "rack/insight/panels-content" +require "rack/insight/panels-header" module Rack::Insight class App include Rack::Insight::Options include Rack::Insight::Logging @@ -84,10 +86,10 @@ return (toolbar_requested? && ip_authorized? && password_authorized?) end def build_normal_stack builder = Rack::Builder.new - builder.use EnableButton, self + builder.use EnableButton builder.run Rack::Cascade.new([ asset_mapped(Rack::Builder.new), @base_app ]) @normal_stack = builder.to_app end def build_debug_stack