kevinelliott/agent_orange — pull request #24 by twobitlabs (2012-09-14 23:01:17+00:00)
Title: Added support for is_mobile? returning true for Google's smartphone crawler

Google has both desktop and mobile crawlers:

https://developers.google.com/webmasters/smartphone-sites/googlebot-mobile

This change makes it so is_mobile? returns true AND is_bot? returns true for the Google smartphone crawler and includes specs for both the desktop and mobile user agent. I opted to stay backwards compatible for the standard Google crawler user agent so that is_computer? continues to return false.