0.0
No commit activity in last 3 years
No release in over 3 years
rails plugin around the broswcap gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 2.2.0

Runtime

~> 0.1.0
~> 0.5.0
~> 0.4.0
~> 3.0.0
 Project Readme

Browscap

Using the excellent http://github.com/lfittl/browscap parser as a rail plugin

run rake browscap:update to get the new browscap.ini from http://browsers.garykeith.com

Known Issues

Ruby 1.9:

The file is ISO-8859-1

The hex escape char \xdf in

Line 3553

[Der gro\xdfe BilderSauger*]
Parent=Image Crawlers
Browser=Gallery Grabber

makes the current version of browscap choke. I have monkey patched browscap so it should be fine.

Also Line 5228

[www.substancia.com AutoHTTPAgent (ver *)]
Parent=Version Checkers
Browser=Substância

the 'â' make inifile < 0.4.0 choke.

The lib requires inifile >= 0.4.0 so this should be fine tpp.

How To

ApplicationController now have a current_browser method. That's it.

Notes

This is my first rails plugin and it does not quite feels right, I'm sure there is plenty of possible improvements / refactoring.

Please send me an message or pull requests if you think so, I'm happy to learn.

TODO

Copyright (c) 2010 [Gilles Devaux], released under the MIT license