rack-mini-profiler 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack-mini-profiler might be problematic. Click here for more details.

@@ -295,7 +295,7 @@ module Rack
295
295
 
296
296
  if query_string =~ /pp=help/
297
297
  body.close if body.respond_to? :close
298
- return help(nil, client_settings)
298
+ return help(client_settings)
299
299
  end
300
300
 
301
301
  page_struct = current.page_struct
@@ -372,7 +372,7 @@ module Rack
372
372
  [200, headers, [body]]
373
373
  end
374
374
 
375
- def help(category = nil, client_settings)
375
+ def help(client_settings)
376
376
  headers = {'Content-Type' => 'text/plain'}
377
377
  body = "Append the following to your query string:
378
378
 
@@ -386,9 +386,6 @@ module Rack
386
386
  pp=disable : disable profiling for this session
387
387
  pp=enable : enable profiling for this session (if previously disabled)
388
388
  "
389
- if (category == :stacktrace)
390
- body = "pp=stacktrace requires the stacktrace gem - add gem 'stacktrace' to your Gemfile"
391
- end
392
389
 
393
390
  client_settings.write!(headers)
394
391
  [200, headers, [body]]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rack-mini-profiler"
3
- s.version = "0.1.18"
3
+ s.version = "0.1.19"
4
4
  s.summary = "Profiles loading speed for rack applications."
5
5
  s.authors = ["Aleks Totic","Sam Saffron", "Robin Ward"]
6
6
  s.description = "Page loading speed displayed on every page. Optimize while you develop, performance is a feature."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mini-profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-09-07 00:00:00.000000000 Z
14
+ date: 2012-09-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rack
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: -322245347
134
+ hash: -352003811
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  none: false
137
137
  requirements:
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  segments:
142
142
  - 0
143
- hash: -322245347
143
+ hash: -352003811
144
144
  requirements: []
145
145
  rubyforge_project:
146
146
  rubygems_version: 1.8.24