fiveruns-dash-merb 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 3
2
+ :patch: 4
3
3
  :major: 0
4
4
  :minor: 6
@@ -1,7 +1,16 @@
1
1
  Fiveruns::Dash.register_recipe :merb, :url => 'http://dash.fiveruns.com' do |recipe|
2
2
  recipe.time :response_time, :method => 'Merb::Request#dispatch_action'
3
+
3
4
  recipe.counter :requests, :incremented_by => 'Merb::Request#dispatch_action'
4
- recipe.time :render_time, :method => 'Merb::RenderMixin#render'
5
+
6
+ # Mark re-entrant so this doesn't get counted multiple times if nested
7
+ recipe.time :render_time, :method => 'Merb::RenderMixin#render',
8
+ :reentrant => true
9
+
10
+ # ==============
11
+ # = EXCEPTIONS =
12
+ # ==============
13
+
5
14
  merb_exceptions = Merb::ControllerExceptions.constants.map do |name|
6
15
  "Merb::ControllerExceptions::#{name}"
7
16
  end
@@ -25,4 +34,5 @@ Fiveruns::Dash.register_recipe :merb, :url => 'http://dash.fiveruns.com' do |rec
25
34
  # TODO: capture headers
26
35
  info
27
36
  end
37
+
28
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiveruns-dash-merb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - FiveRuns Development Team