domain_name 0.5.13 → 0.5.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/effective_tld_names.dat +211 -17
- data/lib/domain_name/etld_data.rb +91 -16
- data/lib/domain_name/version.rb +1 -1
- data/test/test_domain_name.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4150b1c90644e705df82ad0c47a319239009563c
|
4
|
+
data.tar.gz: b15089e98d074c505627f1228f985e4fed076c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc7e302a80b5daa13ecf34a6c407fdc41740457444a8b67e542c20b8cd88c34f44cc95cdda4623eb748b9f5ba15adbbe22eeceef1f54d96646250755e9292837
|
7
|
+
data.tar.gz: df224784963f1d4cc112f12c77d778223ebd6bb30cbee8e86390bf884d5d30eee86ea45b523d78e1effee823d9ebbeba48c451a78e602c6699d8ce8e8c3ad4ef
|
@@ -175,17 +175,16 @@ it.ao
|
|
175
175
|
// aq : http://en.wikipedia.org/wiki/.aq
|
176
176
|
aq
|
177
177
|
|
178
|
-
// ar :
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
!uba.ar
|
178
|
+
// ar : https://nic.ar/normativa-vigente.xhtml
|
179
|
+
ar
|
180
|
+
com.ar
|
181
|
+
edu.ar
|
182
|
+
gob.ar
|
183
|
+
int.ar
|
184
|
+
mil.ar
|
185
|
+
net.ar
|
186
|
+
org.ar
|
187
|
+
tur.ar
|
189
188
|
|
190
189
|
// arpa : http://en.wikipedia.org/wiki/.arpa
|
191
190
|
// Confirmed by registry <iana-questions@icann.org> 2008-06-18
|
@@ -4231,13 +4230,16 @@ other.nf
|
|
4231
4230
|
store.nf
|
4232
4231
|
|
4233
4232
|
// ng : http://psg.com/dns/ng/
|
4234
|
-
|
4235
|
-
ac.ng
|
4233
|
+
ng
|
4236
4234
|
com.ng
|
4237
4235
|
edu.ng
|
4238
|
-
|
4236
|
+
name.ng
|
4239
4237
|
net.ng
|
4240
4238
|
org.ng
|
4239
|
+
sch.ng
|
4240
|
+
gov.ng
|
4241
|
+
mil.ng
|
4242
|
+
mobi.ng
|
4241
4243
|
|
4242
4244
|
// ni : http://www.nic.ni/dominios.htm
|
4243
4245
|
*.ni
|
@@ -5038,7 +5040,16 @@ nu
|
|
5038
5040
|
*.nz
|
5039
5041
|
|
5040
5042
|
// om : http://en.wikipedia.org/wiki/.om
|
5041
|
-
|
5043
|
+
om
|
5044
|
+
co.om
|
5045
|
+
com.om
|
5046
|
+
edu.om
|
5047
|
+
gov.om
|
5048
|
+
med.om
|
5049
|
+
museum.om
|
5050
|
+
net.om
|
5051
|
+
org.om
|
5052
|
+
pro.om
|
5042
5053
|
!mediaphone.om
|
5043
5054
|
!nawrastelecom.om
|
5044
5055
|
!nawras.om
|
@@ -5742,8 +5753,13 @@ store.st
|
|
5742
5753
|
// su : http://en.wikipedia.org/wiki/.su
|
5743
5754
|
su
|
5744
5755
|
|
5745
|
-
// sv : http://www.svnet.org.sv/
|
5746
|
-
|
5756
|
+
// sv : http://www.svnet.org.sv/niveldos.pdf
|
5757
|
+
sv
|
5758
|
+
com.sv
|
5759
|
+
edu.sv
|
5760
|
+
gob.sv
|
5761
|
+
org.sv
|
5762
|
+
red.sv
|
5747
5763
|
|
5748
5764
|
// sx : http://en.wikipedia.org/wiki/.sx
|
5749
5765
|
// Confirmed by registry <jcvignes@openregistry.com> 2012-05-31
|
@@ -6555,6 +6571,184 @@ xxx
|
|
6555
6571
|
// zw : http://en.wikipedia.org/wiki/.zw
|
6556
6572
|
*.zw
|
6557
6573
|
|
6574
|
+
|
6575
|
+
// xn--80asehdb : 2013-07-14 CORE Association
|
6576
|
+
онлайн
|
6577
|
+
|
6578
|
+
// xn--80aswg : 2013-07-14 CORE Association
|
6579
|
+
сайт
|
6580
|
+
|
6581
|
+
// xn--ngbc5azd : 2013-07-14 International Domain Registry Pty. Ltd.
|
6582
|
+
شبكة
|
6583
|
+
|
6584
|
+
// xn--unup4y : 2013-07-14 Spring Fields, LLC
|
6585
|
+
游戏
|
6586
|
+
|
6587
|
+
// xn--vhquv : 2013-08-28 Dash McCook, LLC
|
6588
|
+
企业
|
6589
|
+
|
6590
|
+
// camera : 2013-08-28 Atomic Maple, LLC
|
6591
|
+
camera
|
6592
|
+
|
6593
|
+
// clothing : 2013-08-28 Steel Lake, LLC
|
6594
|
+
clothing
|
6595
|
+
|
6596
|
+
// lighting : 2013-08-28 John McCook, LLC
|
6597
|
+
lighting
|
6598
|
+
|
6599
|
+
// singles : 2013-08-28 Fern Madison, LLC
|
6600
|
+
singles
|
6601
|
+
|
6602
|
+
// ventures : 2013-08-28 Binky Lake, LLC
|
6603
|
+
ventures
|
6604
|
+
|
6605
|
+
// voyage : 2013-08-28 Ruby House, LLC
|
6606
|
+
voyage
|
6607
|
+
|
6608
|
+
// guru : 2013-08-28 Pioneer Cypress, LLC
|
6609
|
+
guru
|
6610
|
+
|
6611
|
+
// holdings : 2013-08-28 John Madison, LLC
|
6612
|
+
holdings
|
6613
|
+
|
6614
|
+
// equipment : 2013-08-28 Corn Station, LLC
|
6615
|
+
equipment
|
6616
|
+
|
6617
|
+
// bike : 2013-08-28 Grand Hollow, LLC
|
6618
|
+
bike
|
6619
|
+
|
6620
|
+
// estate : 2013-08-28 Trixy Park, LLC
|
6621
|
+
estate
|
6622
|
+
|
6623
|
+
// tattoo : 2013-08-30 Uniregistry,Corp.
|
6624
|
+
tattoo
|
6625
|
+
|
6626
|
+
// xn--3ds443g : 2013-09-09 TLD Registry Limited
|
6627
|
+
在线
|
6628
|
+
|
6629
|
+
// xn--fiq228c5hs : 2013-09-09 TLD Registry Limited
|
6630
|
+
中文网
|
6631
|
+
|
6632
|
+
// land : 2013-09-10 Pine Moon, LLC
|
6633
|
+
land
|
6634
|
+
|
6635
|
+
// plumbing : 2013-09-10 Spring Tigers, LLC
|
6636
|
+
plumbing
|
6637
|
+
|
6638
|
+
// contractors : 2013-09-10 Magic Woods, LLC
|
6639
|
+
contractors
|
6640
|
+
|
6641
|
+
// sexy : 2013-09-11 Uniregistry,Corp.
|
6642
|
+
sexy
|
6643
|
+
|
6644
|
+
// menu : 2013-09-11 Wedding TLD2, LLC
|
6645
|
+
menu
|
6646
|
+
|
6647
|
+
// xn--rhqv96g : 2013-09-11 Stable Tone Limited
|
6648
|
+
世界
|
6649
|
+
|
6650
|
+
// uno : 2013-09-11 Dot Latin, LLC
|
6651
|
+
uno
|
6652
|
+
|
6653
|
+
// gallery : 2013-09-13 Sugar House, LLC
|
6654
|
+
gallery
|
6655
|
+
|
6656
|
+
// technology : 2013-09-13 Auburn Falls
|
6657
|
+
technology
|
6658
|
+
|
6659
|
+
// xn--3bst00m : 2013-09-13 Eagle Horizon Limited
|
6660
|
+
集团
|
6661
|
+
|
6662
|
+
// reviews : 2013-09-13 Extra Cover, LLC
|
6663
|
+
reviews
|
6664
|
+
|
6665
|
+
// guide : 2013-09-13 Snow Moon, LLC
|
6666
|
+
guide
|
6667
|
+
|
6668
|
+
// xn--6qq986b3x1 : 2013-09-13 Tycoon Treasure Limited
|
6669
|
+
我爱你
|
6670
|
+
|
6671
|
+
// graphics : 2013-09-13 Over Madison, LLC
|
6672
|
+
graphics
|
6673
|
+
|
6674
|
+
// construction : 2013-09-13 Fox Dynamite, LLC
|
6675
|
+
construction
|
6676
|
+
|
6677
|
+
// onl : 2013-09-16 I-Registry Ltd.
|
6678
|
+
onl
|
6679
|
+
|
6680
|
+
// xn--q9jyb4c : 2013-09-17 Charleston Road Registry
|
6681
|
+
みんな
|
6682
|
+
|
6683
|
+
// diamonds : 2013-09-23 John Edge, LLC
|
6684
|
+
diamonds
|
6685
|
+
|
6686
|
+
// kiwi : 2013-09-23 Dot Kiwi Limited
|
6687
|
+
kiwi
|
6688
|
+
|
6689
|
+
// enterprises : 2013-09-23 Snow Oaks LLC
|
6690
|
+
enterprises
|
6691
|
+
|
6692
|
+
// today : 2013-09-23 Pearl Woods, LLC
|
6693
|
+
today
|
6694
|
+
|
6695
|
+
// futbol : 2013-09-23 Atomic Falls, LLC
|
6696
|
+
futbol
|
6697
|
+
|
6698
|
+
// photography : 2013-09-23 Sugar Glen, LLC
|
6699
|
+
photography
|
6700
|
+
|
6701
|
+
// tips : 2013-09-23 Corn Willow, LLC
|
6702
|
+
tips
|
6703
|
+
|
6704
|
+
// directory : 2013-09-23 Extra Madison, LLC
|
6705
|
+
directory
|
6706
|
+
|
6707
|
+
// kitchen : 2013-09-23 Just Goodbye, LLC
|
6708
|
+
kitchen
|
6709
|
+
|
6710
|
+
// xn--6frz82g : 2013-09-24 Afilias Limited
|
6711
|
+
移动
|
6712
|
+
|
6713
|
+
// kim : 2013-09-24 Afilias Limited
|
6714
|
+
kim
|
6715
|
+
|
6716
|
+
// xn--cg4bki : 2013-09-27 Samsung SDS Co., LTD
|
6717
|
+
삼성
|
6718
|
+
|
6719
|
+
// monash : 2013-10-01 Monash University
|
6720
|
+
monash
|
6721
|
+
|
6722
|
+
// wed : 2013-10-02 Atgron, Inc.
|
6723
|
+
wed
|
6724
|
+
|
6725
|
+
// pink : 2013-10-02 Afilias Limited
|
6726
|
+
pink
|
6727
|
+
|
6728
|
+
// ruhr : 2013-10-02 regiodot GmbH & Co. KG
|
6729
|
+
ruhr
|
6730
|
+
|
6731
|
+
// buzz : 2013-10-03 DOTSTRATEGY CO.
|
6732
|
+
buzz
|
6733
|
+
|
6734
|
+
// careers : 2013-10-03 Wild Corner, LLC
|
6735
|
+
careers
|
6736
|
+
|
6737
|
+
// shoes : 2013-10-03 Binky Galley, LLC
|
6738
|
+
shoes
|
6739
|
+
|
6740
|
+
// xn--4gbrim : 2013-10-07 Suhub Electronic Establishment
|
6741
|
+
موقع
|
6742
|
+
|
6743
|
+
// career : 2013-10-09 dotCareer, LLC
|
6744
|
+
career
|
6745
|
+
|
6746
|
+
// otsuka : 2013-10-11 Otsuka Holdings Co. Ltd.
|
6747
|
+
otsuka
|
6748
|
+
|
6749
|
+
// xn--fiQ64b : 2013-10-14 CITIC Group Corporation
|
6750
|
+
中信
|
6751
|
+
|
6558
6752
|
// ===END ICANN DOMAINS===
|
6559
6753
|
// ===BEGIN PRIVATE DOMAINS===
|
6560
6754
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class DomainName
|
2
|
-
ETLD_DATA_DATE = '2013-
|
2
|
+
ETLD_DATA_DATE = '2013-10-16T07:01:24Z'
|
3
3
|
|
4
4
|
ETLD_DATA = {
|
5
5
|
"ac" => 0,
|
@@ -147,16 +147,15 @@ class DomainName
|
|
147
147
|
"pb.ao" => 0,
|
148
148
|
"it.ao" => 0,
|
149
149
|
"aq" => 0,
|
150
|
-
"ar" =>
|
151
|
-
"
|
152
|
-
"
|
153
|
-
"
|
154
|
-
"
|
155
|
-
"
|
156
|
-
"
|
157
|
-
"
|
158
|
-
"
|
159
|
-
"uba.ar" => 1,
|
150
|
+
"ar" => 0,
|
151
|
+
"com.ar" => 0,
|
152
|
+
"edu.ar" => 0,
|
153
|
+
"gob.ar" => 0,
|
154
|
+
"int.ar" => 0,
|
155
|
+
"mil.ar" => 0,
|
156
|
+
"net.ar" => 0,
|
157
|
+
"org.ar" => 0,
|
158
|
+
"tur.ar" => 0,
|
160
159
|
"arpa" => 1,
|
161
160
|
"e164.arpa" => 0,
|
162
161
|
"in-addr.arpa" => 0,
|
@@ -3776,13 +3775,16 @@ class DomainName
|
|
3776
3775
|
"info.nf" => 0,
|
3777
3776
|
"other.nf" => 0,
|
3778
3777
|
"store.nf" => 0,
|
3779
|
-
"ng" =>
|
3780
|
-
"ac.ng" => 0,
|
3778
|
+
"ng" => 0,
|
3781
3779
|
"com.ng" => 0,
|
3782
3780
|
"edu.ng" => 0,
|
3783
|
-
"
|
3781
|
+
"name.ng" => 0,
|
3784
3782
|
"net.ng" => 0,
|
3785
3783
|
"org.ng" => 0,
|
3784
|
+
"sch.ng" => 0,
|
3785
|
+
"gov.ng" => 0,
|
3786
|
+
"mil.ng" => 0,
|
3787
|
+
"mobi.ng" => 0,
|
3786
3788
|
"ni" => -1,
|
3787
3789
|
"nl" => 0,
|
3788
3790
|
"bv.nl" => 0,
|
@@ -4551,7 +4553,16 @@ class DomainName
|
|
4551
4553
|
"com.nr" => 0,
|
4552
4554
|
"nu" => 0,
|
4553
4555
|
"nz" => -1,
|
4554
|
-
"om" =>
|
4556
|
+
"om" => 0,
|
4557
|
+
"co.om" => 0,
|
4558
|
+
"com.om" => 0,
|
4559
|
+
"edu.om" => 0,
|
4560
|
+
"gov.om" => 0,
|
4561
|
+
"med.om" => 0,
|
4562
|
+
"museum.om" => 0,
|
4563
|
+
"net.om" => 0,
|
4564
|
+
"org.om" => 0,
|
4565
|
+
"pro.om" => 0,
|
4555
4566
|
"mediaphone.om" => 1,
|
4556
4567
|
"nawrastelecom.om" => 1,
|
4557
4568
|
"nawras.om" => 1,
|
@@ -5150,7 +5161,12 @@ class DomainName
|
|
5150
5161
|
"saotome.st" => 0,
|
5151
5162
|
"store.st" => 0,
|
5152
5163
|
"su" => 0,
|
5153
|
-
"sv" =>
|
5164
|
+
"sv" => 0,
|
5165
|
+
"com.sv" => 0,
|
5166
|
+
"edu.sv" => 0,
|
5167
|
+
"gob.sv" => 0,
|
5168
|
+
"org.sv" => 0,
|
5169
|
+
"red.sv" => 0,
|
5154
5170
|
"sx" => 0,
|
5155
5171
|
"gov.sx" => 0,
|
5156
5172
|
"sy" => 0,
|
@@ -5717,6 +5733,65 @@ class DomainName
|
|
5717
5733
|
"za" => -1,
|
5718
5734
|
"zm" => -1,
|
5719
5735
|
"zw" => -1,
|
5736
|
+
"xn--80asehdb" => 0,
|
5737
|
+
"xn--80aswg" => 0,
|
5738
|
+
"xn--ngbc5azd" => 0,
|
5739
|
+
"xn--unup4y" => 0,
|
5740
|
+
"xn--vhquv" => 0,
|
5741
|
+
"camera" => 0,
|
5742
|
+
"clothing" => 0,
|
5743
|
+
"lighting" => 0,
|
5744
|
+
"singles" => 0,
|
5745
|
+
"ventures" => 0,
|
5746
|
+
"voyage" => 0,
|
5747
|
+
"guru" => 0,
|
5748
|
+
"holdings" => 0,
|
5749
|
+
"equipment" => 0,
|
5750
|
+
"bike" => 0,
|
5751
|
+
"estate" => 0,
|
5752
|
+
"tattoo" => 0,
|
5753
|
+
"xn--3ds443g" => 0,
|
5754
|
+
"xn--fiq228c5hs" => 0,
|
5755
|
+
"land" => 0,
|
5756
|
+
"plumbing" => 0,
|
5757
|
+
"contractors" => 0,
|
5758
|
+
"sexy" => 0,
|
5759
|
+
"menu" => 0,
|
5760
|
+
"xn--rhqv96g" => 0,
|
5761
|
+
"uno" => 0,
|
5762
|
+
"gallery" => 0,
|
5763
|
+
"technology" => 0,
|
5764
|
+
"xn--3bst00m" => 0,
|
5765
|
+
"reviews" => 0,
|
5766
|
+
"guide" => 0,
|
5767
|
+
"xn--6qq986b3xl" => 0,
|
5768
|
+
"graphics" => 0,
|
5769
|
+
"construction" => 0,
|
5770
|
+
"onl" => 0,
|
5771
|
+
"xn--q9jyb4c" => 0,
|
5772
|
+
"diamonds" => 0,
|
5773
|
+
"kiwi" => 0,
|
5774
|
+
"enterprises" => 0,
|
5775
|
+
"today" => 0,
|
5776
|
+
"futbol" => 0,
|
5777
|
+
"photography" => 0,
|
5778
|
+
"tips" => 0,
|
5779
|
+
"directory" => 0,
|
5780
|
+
"kitchen" => 0,
|
5781
|
+
"xn--6frz82g" => 0,
|
5782
|
+
"kim" => 0,
|
5783
|
+
"xn--cg4bki" => 0,
|
5784
|
+
"monash" => 0,
|
5785
|
+
"wed" => 0,
|
5786
|
+
"pink" => 0,
|
5787
|
+
"ruhr" => 0,
|
5788
|
+
"buzz" => 0,
|
5789
|
+
"careers" => 0,
|
5790
|
+
"shoes" => 0,
|
5791
|
+
"xn--4gbrim" => 0,
|
5792
|
+
"career" => 0,
|
5793
|
+
"otsuka" => 0,
|
5794
|
+
"xn--fiq64b" => 0,
|
5720
5795
|
"cloudfront.net" => 0,
|
5721
5796
|
"compute.amazonaws.com" => 0,
|
5722
5797
|
"us-east-1.amazonaws.com" => 0,
|
data/lib/domain_name/version.rb
CHANGED
data/test/test_domain_name.rb
CHANGED
@@ -89,12 +89,12 @@ class TestDomainName < Test::Unit::TestCase
|
|
89
89
|
['city.kobe.jp', 'city.kobe.jp', true, 'jp', true],
|
90
90
|
['www.city.kobe.jp', 'city.kobe.jp', true, 'jp', true],
|
91
91
|
# TLD with a wildcard rule and exceptions.
|
92
|
-
['
|
93
|
-
['test.
|
94
|
-
['b.test.
|
95
|
-
['a.b.test.
|
96
|
-
['
|
97
|
-
['www.
|
92
|
+
['ck', nil, false, 'ck', true],
|
93
|
+
['test.ck', nil, false, 'ck', true],
|
94
|
+
['b.test.ck', 'b.test.ck', true, 'ck', true],
|
95
|
+
['a.b.test.ck', 'b.test.ck', true, 'ck', true],
|
96
|
+
['www.ck', 'www.ck', true, 'ck', true],
|
97
|
+
['www.www.ck', 'www.ck', true, 'ck', true],
|
98
98
|
# US K12.
|
99
99
|
['us', nil, false, 'us', true],
|
100
100
|
['test.us', 'test.us', true, 'us', true],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domain_name
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unf
|