whenauser 0.6.3 → 0.6.4

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.
@@ -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: