ddollar-rack-profile 0.3.0 → 0.4.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
data/lib/rack/profile.rb CHANGED
@@ -12,12 +12,14 @@ class Rack::Profile
12
12
 
13
13
  def call(env)
14
14
  RubyProf.start
15
- app.call(env)
15
+ response = app.call(env)
16
16
  results = RubyProf.stop
17
17
 
18
18
  write_output results, :html, RubyProf::GraphHtmlPrinter
19
19
  write_output results, :text, RubyProf::FlatPrinter
20
20
  write_output results, :tree, RubyProf::CallTreePrinter
21
+
22
+ response
21
23
  end
22
24
 
23
25
  private ######################################################################
data/rack-profile.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rack-profile}
5
- s.version = "0.3.0"
5
+ s.version = "0.4.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["David Dollar"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddollar-rack-profile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Dollar