lib/domainatrix.rb in domainatrix-0.0.2 vs lib/domainatrix.rb in domainatrix-0.0.3

- old
+ new

@@ -1,11 +1,12 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) unless $LOAD_PATH.include?(File.dirname(__FILE__)) +require 'uri' require 'domainatrix/domain_parser.rb' require 'domainatrix/url.rb' module Domainatrix - VERSION = "0.0.2" + VERSION = "0.0.3" def self.parse(url) @domain_parser ||= DomainParser.new("#{File.dirname(__FILE__)}/effective_tld_names.dat") Url.new(@domain_parser.parse(url)) end \ No newline at end of file