domainatrix icon indicating copy to clipboard operation
domainatrix copied to clipboard

Out of date domain list data (was: Version in gemspec wrong)

Open jamiecobbett opened this issue 14 years ago • 5 comments

It says 0.0.9, but I think it should be 0.0.10.

This prevented me from fully using Bundler's git option.

jamiecobbett avatar Aug 16 '11 11:08 jamiecobbett

+1 for this - the domain list data being out of data is preventing correct parsing of top level domains like .do

larsklevan avatar Sep 14 '11 15:09 larsklevan

another +1 for this.

we actually just ran into a similar issue with an out of date domain list.

wireframe avatar Sep 14 '11 19:09 wireframe

+1 — Can we get this pulled in, pretty please?

coreyward avatar Oct 12 '11 21:10 coreyward

+1

danielnc avatar Mar 21 '12 14:03 danielnc

As a temporary workaround for supporting newer TLDs, you can use:

d = Domainatrix::DomainParser.new("path/to/updated_effective_tld_names.dat")
d.parse("http://abc.do")
# => {:public_suffix=>"do", :domain=>"abc", :subdomain=>"", :scheme=>"http", :host=>"abc.do", :path=>"", :url=>"http://abc.do"}

6 avatar Sep 21 '12 20:09 6