snowplow/referer-parser — pull request #29 by rgraff (2013-06-16 03:06:42+00:00)
Title: And invalid URI should raise RefererParser::InvalidUriError instead of NameError

There's a syntax error in the rescue/raise of InvalidUriError. The syntax error causes the following error:

NameError: undefined local variable or method `error' for RefererParser::Referer:Class

Added spec and bug fix.