jnunemaker/user_agent — pull request #2 by jowl (2012-09-21 08:29:19+00:00)
Title: Add UserAgent#device_type

Adds a device_type method to the UserAgent class, which determines whether a user-agent string belongs to a computer, phone, tablet, console or misc device.