Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Include OS as well as platform

  • Loading branch information...
commit 42d942498aa3e40659bcdc3302b1b1fe6bce6985 1 parent 0c7fd3f
Garry Shutler authored December 27, 2012
2  lib/browser_details.rb
@@ -58,7 +58,7 @@ def call(env)
58 58
       agent_details = [agent.browser]
59 59
       agent_details << 'Mobile' if agent.mobile?
60 60
       agent_details << agent.version
61  
-      agent_details << "(#{agent.platform})"
  61
+      agent_details << "(#{agent.platform}, #{agent.os})"
62 62
 
63 63
       message << agent_details.join(' ')
64 64
     end
2  lib/browser_details/version.rb
... ...
@@ -1,5 +1,5 @@
1 1
 class BrowserDetails
2 2
 
3  
-  VERSION = "0.0.3"
  3
+  VERSION = "0.0.4"
4 4
 
5 5
 end

0 notes on commit 42d9424

Please sign in to comment.
Something went wrong with that request. Please try again.