slowgrowl 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/slowgrowl.rb +2 -1
- data/slowgrowl.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/slowgrowl.rb
CHANGED
@@ -39,13 +39,14 @@ module SlowGrowl
|
|
39
39
|
# :formats=>[:html], :method=>"GET", :path=>"/widgets", :status=>200, :view_runtime=>52.25706100463867,
|
40
40
|
# :db_runtime=>0}
|
41
41
|
|
42
|
+
|
42
43
|
if e[:exception]
|
43
44
|
"%s#%s.\n\n%s" % [
|
44
45
|
e[:controller], e[:action], e[:exception].join(', ')
|
45
46
|
]
|
46
47
|
else
|
47
48
|
"%s#%s (%s).\nDB: %.1f, View: %.1f" % [
|
48
|
-
e[:controller], e[:action], e[:status], e[:db_runtime], e[:view_runtime]
|
49
|
+
e[:controller], e[:action], e[:status], (e[:db_runtime] || 0), (e[:view_runtime] || 0)
|
49
50
|
]
|
50
51
|
end
|
51
52
|
|
data/slowgrowl.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'lib/platform'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{slowgrowl}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Ilya Grigorik", "Milan Dobrota"]
|