lib/stackprofiler/middleware.rb in stackprofiler-0.0.1 vs lib/stackprofiler/middleware.rb in stackprofiler-0.0.2

- old
+ new

@@ -4,10 +4,10 @@ mid = Rack::Builder.new do use Rack::Deflater run WebUI end - @app = Rack::URLMap.new({'/__stackprofiler' => mid, '/' => DataCollector.new(app)}) + @app = Rack::URLMap.new({'/__stackprofiler' => mid, '/' => DataCollector.new(app, options)}) @options = options end def call(env) @app.call env