rack-perftools_profiler 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.3.0
@@ -17,12 +17,12 @@ module Rack::PerftoolsProfiler
17
17
  def self.for_env(env, profiler, middleware)
18
18
  request = Rack::Request.new(env)
19
19
  klass =
20
- case request.path
21
- when '/__start__'
20
+ case request.path_info
21
+ when %r{/__start__$}
22
22
  StartProfiling
23
- when '/__stop__'
23
+ when %r{/__stop__$}
24
24
  StopProfiling
25
- when '/__data__'
25
+ when %r{/__data__$}
26
26
  ReturnData
27
27
  else
28
28
  if ProfileOnce.has_special_param?(request)
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
- - 1
9
- version: 0.2.1
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ben Brinckerhoff
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-29 00:00:00 -07:00
17
+ date: 2010-12-31 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency