domainatrix 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/domainatrix.rb +2 -1
- metadata +1 -1
data/lib/domainatrix.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__)) unless $LOAD_PATH.include?(File.dirname(__FILE__))
|
2
2
|
|
3
|
+
require 'uri'
|
3
4
|
require 'domainatrix/domain_parser.rb'
|
4
5
|
require 'domainatrix/url.rb'
|
5
6
|
|
6
7
|
module Domainatrix
|
7
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.3"
|
8
9
|
|
9
10
|
def self.parse(url)
|
10
11
|
@domain_parser ||= DomainParser.new("#{File.dirname(__FILE__)}/effective_tld_names.dat")
|