fiveruns-dash-merb 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/fiveruns/dash/merb/recipe.rb +16 -2
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -1,9 +1,23 @@
|
|
1
1
|
Fiveruns::Dash.register_recipe :merb, :url => 'http://dash.fiveruns.com' do |recipe|
|
2
|
-
recipe.time :response_time, :method => 'Merb::Request#dispatch_action'
|
3
2
|
|
4
|
-
recipe.
|
3
|
+
recipe.time :response_time, :method => 'Merb::Request#dispatch_action',
|
4
|
+
:context => lambda { |request, *args|
|
5
|
+
[
|
6
|
+
[],
|
7
|
+
[:action, "#{request.controller}##{request.params[:action]}"]
|
8
|
+
]
|
9
|
+
}
|
10
|
+
|
11
|
+
recipe.counter :requests, :incremented_by => 'Merb::Request#dispatch_action',
|
12
|
+
:context => lambda { |request, *args|
|
13
|
+
[
|
14
|
+
[],
|
15
|
+
[:action, "#{request.controller}##{request.params[:action]}"]
|
16
|
+
]
|
17
|
+
}
|
5
18
|
|
6
19
|
# Mark re-entrant so this doesn't get counted multiple times if nested
|
20
|
+
# TODO: Track context (needed for barlist 'detail')
|
7
21
|
recipe.time :render_time, :method => 'Merb::RenderMixin#render',
|
8
22
|
:reentrant => true
|
9
23
|
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FiveRuns Development Team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-20 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|