devver-rack-contrib 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack/contrib/perftools_profiler.rb +2 -2
- data/rack-contrib.gemspec +1 -1
- metadata +2 -2
@@ -95,7 +95,7 @@ module Rack
|
|
95
95
|
|
96
96
|
def initialize(app, options = {})
|
97
97
|
@app = app
|
98
|
-
@profiler = Profiler.new(@app, options)
|
98
|
+
@profiler = Profiler.new(@app, options.clone)
|
99
99
|
end
|
100
100
|
|
101
101
|
def call(env)
|
@@ -296,7 +296,7 @@ EOS
|
|
296
296
|
end
|
297
297
|
|
298
298
|
def response
|
299
|
-
[200, {'Content-Type' => 'text/
|
299
|
+
[200, {'Content-Type' => 'text/plain'},
|
300
300
|
[<<-EOS
|
301
301
|
Profiling is now disabled.
|
302
302
|
Visit /__data__ to view the results.
|
data/rack-contrib.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'devver-rack-contrib'
|
6
|
-
s.version = '0.9.
|
6
|
+
s.version = '0.9.7'
|
7
7
|
s.date = '2010-01-10'
|
8
8
|
|
9
9
|
s.description = "The Devver fork of rack-contrib"
|