mobile_detect.json - Extracted the regex into an independent JSON metadata file.
mobile_detect.rb - Created a basic Ruby equivalent to the PHP library.

TODO: Add more details into the JSON to cover OS and properties as with the PHP library