snowplow/referer-parser — pull request #80 by kreynolds (2014-08-27 19:35:29+00:00)
Title: Complete ruby refactor

I made two small changes to the result ... there is no longer any special meaning to 'internal', thats just a categorization you add to your own database file. As such, if an internal match is found, :known will be true and the Source will be set to the name you give it .. this seemed more intuitive to me anyway.

Major summary:
1) Can load yaml, json, as a remote or local file, or any combination of the two at the same time. The database can also be modified in real time without a reinstantiation with #update
2) Designed to be instantiated once and reused. Its thread safe and can be used as a global variable if desired
3) Runs through and passes all automatically-generated tests (internal-related changes excepted)
4) Treats www.domain.com and domain.com the same (this seemed to be fine, makes it much faster/more efficient)
5) Handles the path specifically though this currently seems to only be necessary with orange.fr/webmail. This means that foo.com/bar and foo.com/bar/snee could actually be two completely different sources though thats unlikely in common practice.
6) Added the spec tasks to the Rakefile so `bundle exec rake` will now run the tests as one would expect

I did not change the version though I tried to set up all of the copyright notices correctly.