devver-rack-contrib 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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"
|