domainatrix 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/domainatrix/domain_parser.rb +1 -1
- data/lib/domainatrix.rb +1 -1
- metadata +1 -1
@@ -10,7 +10,7 @@ module Domainatrix
|
|
10
10
|
def read_dat_file(file_name)
|
11
11
|
File.readlines(file_name).each do |line|
|
12
12
|
line = line.strip
|
13
|
-
unless line
|
13
|
+
unless (line =~ /\/\//) || line.empty?
|
14
14
|
parts = line.split(".").reverse
|
15
15
|
|
16
16
|
sub_hash = @tlds
|
data/lib/domainatrix.rb
CHANGED