Permalink
Browse files

Include OS as well as platform

  • Loading branch information...
1 parent 0c7fd3f commit 42d942498aa3e40659bcdc3302b1b1fe6bce6985 @gshutler committed Dec 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/browser_details.rb
  2. +1 −1 lib/browser_details/version.rb
View
@@ -58,7 +58,7 @@ def call(env)
agent_details = [agent.browser]
agent_details << 'Mobile' if agent.mobile?
agent_details << agent.version
- agent_details << "(#{agent.platform})"
+ agent_details << "(#{agent.platform}, #{agent.os})"
message << agent_details.join(' ')
end
@@ -1,5 +1,5 @@
class BrowserDetails
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end

0 comments on commit 42d9424

Please sign in to comment.