whenauser 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,7 @@ module WhenAUser
55
55
 
56
56
  def event(env, request, status, duration)
57
57
  event = {
58
- :_domain => (status >= 400) ? 'pageerror' : 'pageview',
58
+ :_domain => (status.to_i >= 400) ? 'pageerror' : 'pageview',
59
59
  :_name => page_event_name(request),
60
60
  :status => status,
61
61
  :duration => "%.2f" % (duration * 1000)
@@ -1,3 +1,3 @@
1
1
  module WhenAUser
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whenauser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: