slowgrowl 0.1.2 → 0.1.3

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/slowgrowl.rb +2 -1
  3. data/slowgrowl.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -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
 
@@ -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.2"
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"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ilya Grigorik