postrank-labs/postrank-uri — pull request #7 by dparis (2012-10-07 21:59:16+00:00)
Title: Removed dependency on domainatrix and replaced with public_suffix gem

Domainatrix has recently bumped their gem version and fixed some bugged behavior that postrank-uri was relying on. Namely, `Domainatrix.parse` when passed an invalid URI used to raise a method_missing error due to an unchecked nil when the domain wasn't seen in the valid list of TLDs. Since that has been fixed, their original intended behavior now occurs, where the invalid domain is passed through as if it were valid.

Domainatrix does not provide a stand-alone way to check the validity of a URI/domain otherwise, so I have replaced it with the seemingly better maintained public_suffix gem: https://github.com/weppos/publicsuffix-ruby

I can't guarantee that all previous behavior has been preserved, but all of the specs pass cleanly, so at least there are no known regressions.

@igrigorik If this looks good, I'd appreciate it if this could get bumped out to rubygems. Thanks!