domain_name 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +13 -1
- data/data/effective_tld_names.dat +278 -76
- data/lib/domain_name/etld_data.rb +61 -12
- data/lib/domain_name/version.rb +1 -1
- data/test/test_domain_name.rb +20 -0
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 794382f4942ef8d71bdb49cfc861f1c570a713a5
|
4
|
+
data.tar.gz: 16f7850464c1a48970a38d9dafd900e603485054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ccfb62f362b00b6a88a8aef0e5e073f661fcb3859ebe8b194186b7b5059040f51d03ee986024884da8fe0f998c2e23bf9dd1dc12fe56d65296e0bd05c691ab1
|
7
|
+
data.tar.gz: 8940045acb8843748d3eb2936dfb1bf7bb7c32ce713408ddd24b7e1b9bddfc6622e1362338f765b4036899c14fe5b7823b1eed98e96da3b921e8101492a4ede6
|
data/Rakefile
CHANGED
@@ -29,8 +29,9 @@ task :etld_data do
|
|
29
29
|
data = ETLD_DATA_URI.read
|
30
30
|
end
|
31
31
|
puts 'eTLD database is modified.'
|
32
|
+
date = data.last_modified
|
32
33
|
File.write(ETLD_DATA_FILE, data)
|
33
|
-
File.utime Time.now,
|
34
|
+
File.utime Time.now, date, ETLD_DATA_FILE
|
34
35
|
Rake::Task[ETLD_DATA_RB].execute
|
35
36
|
rescue OpenURI::HTTPError => e
|
36
37
|
if e.io.status.first == '304' # Not Modified
|
@@ -41,6 +42,17 @@ task :etld_data do
|
|
41
42
|
end
|
42
43
|
end
|
43
44
|
|
45
|
+
namespace :etld_data do
|
46
|
+
task :commit do
|
47
|
+
load ETLD_DATA_RB
|
48
|
+
|
49
|
+
sh 'git', 'commit',
|
50
|
+
ETLD_DATA_FILE,
|
51
|
+
ETLD_DATA_RB,
|
52
|
+
'-m', 'Update the eTLD database to %s.' % DomainName::ETLD_DATA_DATE
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
44
56
|
file ETLD_DATA_RB => [
|
45
57
|
ETLD_DATA_FILE,
|
46
58
|
ETLD_DATA_RB + '.erb',
|
@@ -349,7 +349,7 @@ z.bg
|
|
349
349
|
6.bg
|
350
350
|
7.bg
|
351
351
|
8.bg
|
352
|
-
9.bg
|
352
|
+
9.bg
|
353
353
|
|
354
354
|
// bh : http://en.wikipedia.org/wiki/.bh
|
355
355
|
bh
|
@@ -787,7 +787,7 @@ org.ee
|
|
787
787
|
fie.ee
|
788
788
|
|
789
789
|
// eg : http://en.wikipedia.org/wiki/.eg
|
790
|
-
eg
|
790
|
+
eg
|
791
791
|
com.eg
|
792
792
|
edu.eg
|
793
793
|
eun.eg
|
@@ -1003,7 +1003,7 @@ org.hk
|
|
1003
1003
|
网絡.hk
|
1004
1004
|
组织.hk
|
1005
1005
|
組織.hk
|
1006
|
-
組织.hk
|
1006
|
+
組织.hk
|
1007
1007
|
|
1008
1008
|
// hm : http://en.wikipedia.org/wiki/.hm
|
1009
1009
|
hm
|
@@ -1180,9 +1180,9 @@ int.is
|
|
1180
1180
|
it
|
1181
1181
|
gov.it
|
1182
1182
|
edu.it
|
1183
|
-
// list of reserved geo-names :
|
1183
|
+
// list of reserved geo-names :
|
1184
1184
|
// http://www.nic.it/documenti/regolamenti-e-linee-guida/regolamento-assegnazione-versione-6.0.pdf
|
1185
|
-
// (There is also a list of reserved geo-names corresponding to Italian
|
1185
|
+
// (There is also a list of reserved geo-names corresponding to Italian
|
1186
1186
|
// municipalities : http://www.nic.it/documenti/appendice-c.pdf , but it is
|
1187
1187
|
// not included here.)
|
1188
1188
|
agrigento.it
|
@@ -4255,7 +4255,7 @@ bv.nl
|
|
4255
4255
|
// no : http://www.norid.no/regelverk/index.en.html
|
4256
4256
|
// The Norwegian registry has declined to notify us of updates. The web pages
|
4257
4257
|
// referenced below are the official source of the data. There is also an
|
4258
|
-
// announce mailing list:
|
4258
|
+
// announce mailing list:
|
4259
4259
|
// https://postlister.uninett.no/sympa/info/norid-diskusjon
|
4260
4260
|
no
|
4261
4261
|
// Norid generic domains : http://www.norid.no/regelverk/vedlegg-c.en.html
|
@@ -5050,16 +5050,6 @@ museum.om
|
|
5050
5050
|
net.om
|
5051
5051
|
org.om
|
5052
5052
|
pro.om
|
5053
|
-
!mediaphone.om
|
5054
|
-
!nawrastelecom.om
|
5055
|
-
!nawras.om
|
5056
|
-
!omanmobile.om
|
5057
|
-
!omanpost.om
|
5058
|
-
!omantel.om
|
5059
|
-
!rakpetroleum.om
|
5060
|
-
!siemens.om
|
5061
|
-
!songfest.om
|
5062
|
-
!statecouncil.om
|
5063
5053
|
|
5064
5054
|
// org : http://en.wikipedia.org/wiki/.org
|
5065
5055
|
org
|
@@ -6173,7 +6163,7 @@ k12.pa.us
|
|
6173
6163
|
k12.pr.us
|
6174
6164
|
k12.ri.us
|
6175
6165
|
k12.sc.us
|
6176
|
-
k12.sd.us
|
6166
|
+
// k12.sd.us Bug 934131 - South Dakota has a centralized hosting
|
6177
6167
|
k12.tn.us
|
6178
6168
|
k12.tx.us
|
6179
6169
|
k12.ut.us
|
@@ -6297,9 +6287,9 @@ lib.wi.us
|
|
6297
6287
|
lib.wv.us
|
6298
6288
|
lib.wy.us
|
6299
6289
|
|
6300
|
-
// k12.ma.us contains school districts in Massachusetts. The 4LDs are
|
6290
|
+
// k12.ma.us contains school districts in Massachusetts. The 4LDs are
|
6301
6291
|
// managed indepedently except for private (PVT), charter (CHTR) and
|
6302
|
-
// parochial (PAROCH) schools. Those are delegated dorectly to the
|
6292
|
+
// parochial (PAROCH) schools. Those are delegated dorectly to the
|
6303
6293
|
// 5LD operators. <k12-ma-hostmaster _ at _ rsuc.gweep.net>
|
6304
6294
|
pvt.k12.ma.us
|
6305
6295
|
chtr.k12.ma.us
|
@@ -6407,10 +6397,10 @@ yt
|
|
6407
6397
|
// http://nic.ae/english/arabicdomain/rules.jsp
|
6408
6398
|
امارات
|
6409
6399
|
|
6410
|
-
// xn--54b7fta0cc ("Bangla" Bangla) : BD
|
6400
|
+
// xn--54b7fta0cc ("Bangla" Bangla) : BD
|
6411
6401
|
বাংলা
|
6412
6402
|
|
6413
|
-
// xn--fiqs8s ("China" Chinese-Han-Simplified <.Zhonggou>) : CN
|
6403
|
+
// xn--fiqs8s ("China" Chinese-Han-Simplified <.Zhonggou>) : CN
|
6414
6404
|
// CNNIC
|
6415
6405
|
// http://cnnic.cn/html/Dir/2005/10/11/3218.htm
|
6416
6406
|
中国
|
@@ -6420,60 +6410,60 @@ yt
|
|
6420
6410
|
// http://cnnic.cn/html/Dir/2005/10/11/3218.htm
|
6421
6411
|
中國
|
6422
6412
|
|
6423
|
-
// xn--lgbbat1ad8j ("Algeria / Al Jazair" Arabic) : DZ
|
6413
|
+
// xn--lgbbat1ad8j ("Algeria / Al Jazair" Arabic) : DZ
|
6424
6414
|
الجزائر
|
6425
6415
|
|
6426
6416
|
// xn--wgbh1c ("Egypt" Arabic .masr) : EG
|
6427
6417
|
// http://www.dotmasr.eg/
|
6428
6418
|
مصر
|
6429
6419
|
|
6430
|
-
// xn--node ("ge" Georgian (Mkhedruli)) : GE
|
6420
|
+
// xn--node ("ge" Georgian (Mkhedruli)) : GE
|
6431
6421
|
გე
|
6432
6422
|
|
6433
6423
|
// xn--j6w193g ("Hong Kong" Chinese-Han) : HK
|
6434
6424
|
// https://www2.hkirc.hk/register/rules.jsp
|
6435
6425
|
香港
|
6436
6426
|
|
6437
|
-
// xn--h2brj9c ("Bharat" Devanagari) : IN
|
6427
|
+
// xn--h2brj9c ("Bharat" Devanagari) : IN
|
6438
6428
|
// India
|
6439
6429
|
भारत
|
6440
6430
|
|
6441
|
-
// xn--mgbbh1a71e ("Bharat" Arabic) : IN
|
6431
|
+
// xn--mgbbh1a71e ("Bharat" Arabic) : IN
|
6442
6432
|
// India
|
6443
6433
|
بھارت
|
6444
6434
|
|
6445
|
-
// xn--fpcrj9c3d ("Bharat" Telugu) : IN
|
6435
|
+
// xn--fpcrj9c3d ("Bharat" Telugu) : IN
|
6446
6436
|
// India
|
6447
6437
|
భారత్
|
6448
6438
|
|
6449
|
-
// xn--gecrj9c ("Bharat" Gujarati) : IN
|
6439
|
+
// xn--gecrj9c ("Bharat" Gujarati) : IN
|
6450
6440
|
// India
|
6451
6441
|
ભારત
|
6452
6442
|
|
6453
|
-
// xn--s9brj9c ("Bharat" Gurmukhi) : IN
|
6443
|
+
// xn--s9brj9c ("Bharat" Gurmukhi) : IN
|
6454
6444
|
// India
|
6455
6445
|
ਭਾਰਤ
|
6456
6446
|
|
6457
|
-
// xn--45brj9c ("Bharat" Bengali) : IN
|
6447
|
+
// xn--45brj9c ("Bharat" Bengali) : IN
|
6458
6448
|
// India
|
6459
6449
|
ভারত
|
6460
6450
|
|
6461
|
-
// xn--xkc2dl3a5ee0h ("India" Tamil) : IN
|
6451
|
+
// xn--xkc2dl3a5ee0h ("India" Tamil) : IN
|
6462
6452
|
// India
|
6463
6453
|
இந்தியா
|
6464
6454
|
|
6465
|
-
// xn--mgba3a4f16a ("Iran" Persian) : IR
|
6455
|
+
// xn--mgba3a4f16a ("Iran" Persian) : IR
|
6466
6456
|
ایران
|
6467
6457
|
|
6468
|
-
// xn--mgba3a4fra ("Iran" Arabic) : IR
|
6458
|
+
// xn--mgba3a4fra ("Iran" Arabic) : IR
|
6469
6459
|
ايران
|
6470
6460
|
|
6471
6461
|
// xn--mgbayh7gpa ("al-Ordon" Arabic) : JO
|
6472
|
-
// National Information Technology Center (NITC)
|
6462
|
+
// National Information Technology Center (NITC)
|
6473
6463
|
// Royal Scientific Society, Al-Jubeiha
|
6474
6464
|
الاردن
|
6475
6465
|
|
6476
|
-
// xn--3e0b707e ("Republic of Korea" Hangul) : KR
|
6466
|
+
// xn--3e0b707e ("Republic of Korea" Hangul) : KR
|
6477
6467
|
한국
|
6478
6468
|
|
6479
6469
|
// xn--fzc2c9e2c ("Lanka" Sinhalese-Sinhala) : LK
|
@@ -6484,10 +6474,10 @@ yt
|
|
6484
6474
|
// http://nic.lk
|
6485
6475
|
இலங்கை
|
6486
6476
|
|
6487
|
-
// xn--mgbc0a9azcg ("Morocco / al-Maghrib" Arabic) : MA
|
6477
|
+
// xn--mgbc0a9azcg ("Morocco / al-Maghrib" Arabic) : MA
|
6488
6478
|
المغرب
|
6489
6479
|
|
6490
|
-
// xn--mgb9awbf ("Oman" Arabic) : OM
|
6480
|
+
// xn--mgb9awbf ("Oman" Arabic) : OM
|
6491
6481
|
عمان
|
6492
6482
|
|
6493
6483
|
// xn--ygbi2ammx ("Falasteen" Arabic) : PS
|
@@ -6495,7 +6485,7 @@ yt
|
|
6495
6485
|
// http://www.pnina.ps
|
6496
6486
|
فلسطين
|
6497
6487
|
|
6498
|
-
// xn--90a3ac ("srb" Cyrillic) : RS
|
6488
|
+
// xn--90a3ac ("srb" Cyrillic) : RS
|
6499
6489
|
срб
|
6500
6490
|
|
6501
6491
|
// xn--p1ai ("rf" Russian-Cyrillic) : RU
|
@@ -6510,19 +6500,19 @@ yt
|
|
6510
6500
|
// http://www.nic.net.sa/
|
6511
6501
|
السعودية
|
6512
6502
|
|
6513
|
-
// xn--mgberp4a5d4a87g ("AlSaudiah" Arabic) variant : SA
|
6503
|
+
// xn--mgberp4a5d4a87g ("AlSaudiah" Arabic) variant : SA
|
6514
6504
|
السعودیة
|
6515
6505
|
|
6516
|
-
// xn--mgbqly7c0a67fbc ("AlSaudiah" Arabic) variant : SA
|
6506
|
+
// xn--mgbqly7c0a67fbc ("AlSaudiah" Arabic) variant : SA
|
6517
6507
|
السعودیۃ
|
6518
6508
|
|
6519
|
-
// xn--mgbqly7cvafr ("AlSaudiah" Arabic) variant : SA
|
6509
|
+
// xn--mgbqly7cvafr ("AlSaudiah" Arabic) variant : SA
|
6520
6510
|
السعوديه
|
6521
6511
|
|
6522
|
-
// xn--ogbpf8fl ("Syria" Arabic) : SY
|
6512
|
+
// xn--ogbpf8fl ("Syria" Arabic) : SY
|
6523
6513
|
سورية
|
6524
6514
|
|
6525
|
-
// xn--mgbtf8fl ("Syria" Arabic) variant : SY
|
6515
|
+
// xn--mgbtf8fl ("Syria" Arabic) variant : SY
|
6526
6516
|
سوريا
|
6527
6517
|
|
6528
6518
|
// xn--yfro4i67o Singapore ("Singapore" Chinese-Han) : SG
|
@@ -6547,13 +6537,13 @@ yt
|
|
6547
6537
|
// http://www.twnic.net/english/dn/dn_07a.htm
|
6548
6538
|
台湾
|
6549
6539
|
|
6550
|
-
// xn--nnx388a ("Taiwan") variant : TW
|
6540
|
+
// xn--nnx388a ("Taiwan") variant : TW
|
6551
6541
|
臺灣
|
6552
6542
|
|
6553
|
-
// xn--j1amh ("ukr" Cyrillic) : UA
|
6543
|
+
// xn--j1amh ("ukr" Cyrillic) : UA
|
6554
6544
|
укр
|
6555
6545
|
|
6556
|
-
// xn--mgb2ddes ("AlYemen" Arabic) : YE
|
6546
|
+
// xn--mgb2ddes ("AlYemen" Arabic) : YE
|
6557
6547
|
اليمن
|
6558
6548
|
|
6559
6549
|
// xxx : http://icmregistry.com
|
@@ -6629,96 +6619,126 @@ tattoo
|
|
6629
6619
|
// xn--fiq228c5hs : 2013-09-09 TLD Registry Limited
|
6630
6620
|
中文网
|
6631
6621
|
|
6632
|
-
// land : 2013-09-10 Pine Moon, LLC
|
6622
|
+
// land : 2013-09-10 Pine Moon, LLC
|
6633
6623
|
land
|
6634
6624
|
|
6635
|
-
// plumbing : 2013-09-10 Spring Tigers, LLC
|
6625
|
+
// plumbing : 2013-09-10 Spring Tigers, LLC
|
6636
6626
|
plumbing
|
6637
6627
|
|
6638
|
-
// contractors : 2013-09-10 Magic Woods, LLC
|
6628
|
+
// contractors : 2013-09-10 Magic Woods, LLC
|
6639
6629
|
contractors
|
6640
6630
|
|
6641
|
-
// sexy : 2013-09-11 Uniregistry,Corp.
|
6631
|
+
// sexy : 2013-09-11 Uniregistry,Corp.
|
6642
6632
|
sexy
|
6643
6633
|
|
6644
|
-
// menu : 2013-09-11 Wedding TLD2, LLC
|
6634
|
+
// menu : 2013-09-11 Wedding TLD2, LLC
|
6645
6635
|
menu
|
6646
6636
|
|
6647
|
-
// xn--rhqv96g : 2013-09-11 Stable Tone Limited
|
6637
|
+
// xn--rhqv96g : 2013-09-11 Stable Tone Limited
|
6648
6638
|
世界
|
6649
6639
|
|
6650
|
-
// uno : 2013-09-11 Dot Latin, LLC
|
6640
|
+
// uno : 2013-09-11 Dot Latin, LLC
|
6651
6641
|
uno
|
6652
6642
|
|
6653
|
-
// gallery : 2013-09-13 Sugar House, LLC
|
6643
|
+
// gallery : 2013-09-13 Sugar House, LLC
|
6654
6644
|
gallery
|
6655
6645
|
|
6656
|
-
// technology : 2013-09-13 Auburn Falls
|
6646
|
+
// technology : 2013-09-13 Auburn Falls
|
6657
6647
|
technology
|
6658
6648
|
|
6659
|
-
// xn--3bst00m : 2013-09-13 Eagle Horizon Limited
|
6649
|
+
// xn--3bst00m : 2013-09-13 Eagle Horizon Limited
|
6660
6650
|
集团
|
6661
6651
|
|
6662
|
-
// reviews : 2013-09-13 Extra Cover, LLC
|
6652
|
+
// reviews : 2013-09-13 Extra Cover, LLC
|
6663
6653
|
reviews
|
6664
6654
|
|
6665
|
-
// guide : 2013-09-13 Snow Moon, LLC
|
6655
|
+
// guide : 2013-09-13 Snow Moon, LLC
|
6666
6656
|
guide
|
6667
6657
|
|
6668
|
-
// xn--6qq986b3x1 : 2013-09-13 Tycoon Treasure Limited
|
6658
|
+
// xn--6qq986b3x1 : 2013-09-13 Tycoon Treasure Limited
|
6669
6659
|
我爱你
|
6670
6660
|
|
6671
|
-
// graphics : 2013-09-13 Over Madison, LLC
|
6661
|
+
// graphics : 2013-09-13 Over Madison, LLC
|
6672
6662
|
graphics
|
6673
6663
|
|
6674
|
-
// construction : 2013-09-13 Fox Dynamite, LLC
|
6664
|
+
// construction : 2013-09-13 Fox Dynamite, LLC
|
6675
6665
|
construction
|
6676
6666
|
|
6677
|
-
// onl : 2013-09-16 I-Registry Ltd.
|
6667
|
+
// onl : 2013-09-16 I-Registry Ltd.
|
6678
6668
|
onl
|
6679
6669
|
|
6680
|
-
// xn--q9jyb4c : 2013-09-17 Charleston Road Registry
|
6670
|
+
// xn--q9jyb4c : 2013-09-17 Charleston Road Registry
|
6681
6671
|
みんな
|
6682
6672
|
|
6683
|
-
// diamonds : 2013-09-23 John Edge, LLC
|
6673
|
+
// diamonds : 2013-09-23 John Edge, LLC
|
6684
6674
|
diamonds
|
6685
6675
|
|
6686
|
-
// kiwi : 2013-09-23 Dot Kiwi Limited
|
6676
|
+
// kiwi : 2013-09-23 Dot Kiwi Limited
|
6687
6677
|
kiwi
|
6688
6678
|
|
6689
|
-
// enterprises : 2013-09-23 Snow Oaks LLC
|
6679
|
+
// enterprises : 2013-09-23 Snow Oaks LLC
|
6690
6680
|
enterprises
|
6691
6681
|
|
6692
|
-
// today : 2013-09-23 Pearl Woods, LLC
|
6682
|
+
// today : 2013-09-23 Pearl Woods, LLC
|
6693
6683
|
today
|
6694
6684
|
|
6695
|
-
// futbol : 2013-09-23 Atomic Falls, LLC
|
6685
|
+
// futbol : 2013-09-23 Atomic Falls, LLC
|
6696
6686
|
futbol
|
6697
6687
|
|
6698
|
-
// photography : 2013-09-23 Sugar Glen, LLC
|
6688
|
+
// photography : 2013-09-23 Sugar Glen, LLC
|
6699
6689
|
photography
|
6700
6690
|
|
6701
|
-
// tips : 2013-09-23 Corn Willow, LLC
|
6691
|
+
// tips : 2013-09-23 Corn Willow, LLC
|
6702
6692
|
tips
|
6703
6693
|
|
6704
|
-
// directory : 2013-09-23 Extra Madison, LLC
|
6694
|
+
// directory : 2013-09-23 Extra Madison, LLC
|
6705
6695
|
directory
|
6706
6696
|
|
6707
|
-
// kitchen : 2013-09-23 Just Goodbye, LLC
|
6697
|
+
// kitchen : 2013-09-23 Just Goodbye, LLC
|
6708
6698
|
kitchen
|
6709
6699
|
|
6710
|
-
// xn--6frz82g : 2013-09-24 Afilias Limited
|
6700
|
+
// xn--6frz82g : 2013-09-24 Afilias Limited
|
6711
6701
|
移动
|
6712
6702
|
|
6713
|
-
// kim : 2013-09-24 Afilias Limited
|
6703
|
+
// kim : 2013-09-24 Afilias Limited
|
6714
6704
|
kim
|
6715
6705
|
|
6716
|
-
// xn--cg4bki : 2013-09-27 Samsung SDS Co., LTD
|
6706
|
+
// xn--cg4bki : 2013-09-27 Samsung SDS Co., LTD
|
6717
6707
|
삼성
|
6718
6708
|
|
6719
|
-
// monash : 2013-10-01 Monash University
|
6709
|
+
// monash : 2013-10-01 Monash University
|
6720
6710
|
monash
|
6721
6711
|
|
6712
|
+
// wed : 2013-10-02 Atgron, Inc.
|
6713
|
+
wed
|
6714
|
+
|
6715
|
+
// pink : 2013-10-02 Afilias Limited
|
6716
|
+
pink
|
6717
|
+
|
6718
|
+
// ruhr : 2013-10-02 regiodot GmbH & Co. KG
|
6719
|
+
ruhr
|
6720
|
+
|
6721
|
+
// buzz : 2013-10-03 DOTSTRATEGY CO.
|
6722
|
+
buzz
|
6723
|
+
|
6724
|
+
// careers : 2013-10-03 Wild Corner, LLC
|
6725
|
+
careers
|
6726
|
+
|
6727
|
+
// shoes : 2013-10-03 Binky Galley, LLC
|
6728
|
+
shoes
|
6729
|
+
|
6730
|
+
// xn--4gbrim : 2013-10-07 Suhub Electronic Establishment
|
6731
|
+
موقع
|
6732
|
+
|
6733
|
+
// career : 2013-10-09 dotCareer, LLC
|
6734
|
+
career
|
6735
|
+
|
6736
|
+
// otsuka : 2013-10-11 Otsuka Holdings Co. Ltd.
|
6737
|
+
otsuka
|
6738
|
+
|
6739
|
+
// xn--fiQ64b : 2013-10-14 CITIC Group Corporation
|
6740
|
+
中信
|
6741
|
+
|
6722
6742
|
// wed : 2013-10-02 Atgron, Inc.
|
6723
6743
|
wed
|
6724
6744
|
|
@@ -6749,6 +6769,184 @@ otsuka
|
|
6749
6769
|
// xn--fiQ64b : 2013-10-14 CITIC Group Corporation
|
6750
6770
|
中信
|
6751
6771
|
|
6772
|
+
// gift : 2013-10-18 Uniregistry Corp.
|
6773
|
+
gift
|
6774
|
+
|
6775
|
+
// recipes : 2013-10-18 Grand Island, LLC
|
6776
|
+
recipes
|
6777
|
+
|
6778
|
+
// coffee : 2013-10-18 Trixy Cover, LLC
|
6779
|
+
coffee
|
6780
|
+
|
6781
|
+
// luxury : 2013-10-18 Luxury Partners, LLC
|
6782
|
+
luxury
|
6783
|
+
|
6784
|
+
// domains : 2013-10-18 Sugar Cross, LLC
|
6785
|
+
domains
|
6786
|
+
|
6787
|
+
// photos : 2013-10-18 Sea Corner, LLC
|
6788
|
+
photos
|
6789
|
+
|
6790
|
+
// limo : 2013-10-18 Hidden Frostbite, LLC
|
6791
|
+
limo
|
6792
|
+
|
6793
|
+
// viajes : 2013-10-18 Black Madison, LLC
|
6794
|
+
viajes
|
6795
|
+
|
6796
|
+
// wang : 2013-10-24 Zodiac Leo Limited
|
6797
|
+
wang
|
6798
|
+
|
6799
|
+
// democrat : 2013-10-24 United TLD Holdco Ltd.
|
6800
|
+
democrat
|
6801
|
+
|
6802
|
+
// mango : 2013-10-25 PUNTO FA S.L.
|
6803
|
+
mango
|
6804
|
+
|
6805
|
+
// cab : 2013-10-25 Half Sunset, LLC
|
6806
|
+
cab
|
6807
|
+
|
6808
|
+
// support : 2013-10-25 Grand Orchard, LLC
|
6809
|
+
support
|
6810
|
+
|
6811
|
+
// dance : 2013-10-25 United TLD Holdco Ltd.
|
6812
|
+
dance
|
6813
|
+
|
6814
|
+
// nagoya : 2013-10-25 GMO Registry, Inc.
|
6815
|
+
nagoya
|
6816
|
+
|
6817
|
+
// computer : 2013-10-25 Pine Mill, LLC
|
6818
|
+
computer
|
6819
|
+
|
6820
|
+
// wien : 2013-10-28 punkt.wien GmbH
|
6821
|
+
wien
|
6822
|
+
|
6823
|
+
// berlin : 2013-10-31 dotBERLIN GmbH & Co. KG
|
6824
|
+
berlin
|
6825
|
+
|
6826
|
+
// codes : 2013-10-31 Puff Willow, LLC
|
6827
|
+
codes
|
6828
|
+
|
6829
|
+
// email : 2013-10-31 Spring Madison, LLC
|
6830
|
+
email
|
6831
|
+
|
6832
|
+
// xn--mgbab2bd : 2013-10-31 CORE Association
|
6833
|
+
بازار
|
6834
|
+
|
6835
|
+
// repair : 2013-11-07 Lone Sunset, LLC
|
6836
|
+
repair
|
6837
|
+
|
6838
|
+
// holiday : 2013-11-07 Goose Woods, LLC
|
6839
|
+
holiday
|
6840
|
+
|
6841
|
+
// center : 2013-11-07 Tin Mill, LLC
|
6842
|
+
center
|
6843
|
+
|
6844
|
+
// systems : 2013-11-07 Dash Cypress, LLC
|
6845
|
+
systems
|
6846
|
+
|
6847
|
+
// wiki : 2013-11-07 Top Level Design, LLC
|
6848
|
+
wiki
|
6849
|
+
|
6850
|
+
// ceo : 2013-11-07 CEOTLD Pty Ltd
|
6851
|
+
ceo
|
6852
|
+
|
6853
|
+
// international : 2013-11-07 Wild Way, LLC
|
6854
|
+
international
|
6855
|
+
|
6856
|
+
// solar : 2013-11-07 Ruby Town, LLC
|
6857
|
+
solar
|
6858
|
+
|
6859
|
+
// company : 2013-11-07 Silver Avenue, LLC
|
6860
|
+
company
|
6861
|
+
|
6862
|
+
// education : 2013-11-07 Brice Way, LLC
|
6863
|
+
education
|
6864
|
+
|
6865
|
+
// training : 2013-11-07 Wild Willow, LLC
|
6866
|
+
training
|
6867
|
+
|
6868
|
+
// academy : 2013-11-07 Half Oaks, LLC
|
6869
|
+
academy
|
6870
|
+
|
6871
|
+
// marketing : 2013-11-07 Fern Pass, LLC
|
6872
|
+
marketing
|
6873
|
+
|
6874
|
+
// florist : 2013-11-08 Half Cypress, LLC
|
6875
|
+
florist
|
6876
|
+
|
6877
|
+
// solutions : 2013-11-07 Silver Cover, LLC
|
6878
|
+
solutions
|
6879
|
+
|
6880
|
+
// build : 2013-11-07 Plan Bee LLC
|
6881
|
+
build
|
6882
|
+
|
6883
|
+
// institute : 2013-11-07 Outer Maple, LLC
|
6884
|
+
institute
|
6885
|
+
|
6886
|
+
// builders : 2013-11-07 Atomic Madison, LLC
|
6887
|
+
builders
|
6888
|
+
|
6889
|
+
// red : 2013-11-07 Afilias Limited
|
6890
|
+
red
|
6891
|
+
|
6892
|
+
// blue : 2013-11-07 Afilias Limited
|
6893
|
+
blue
|
6894
|
+
|
6895
|
+
// ninja : 2013-11-07 United TLD Holdco Ltd.
|
6896
|
+
ninja
|
6897
|
+
|
6898
|
+
// business : 2013-11-07 Spring Cross, LLC
|
6899
|
+
business
|
6900
|
+
|
6901
|
+
// gal : 2013-11-07 Asociación puntoGAL
|
6902
|
+
gal
|
6903
|
+
|
6904
|
+
// social : 2013-11-07 United TLD Holdco Ltd.
|
6905
|
+
social
|
6906
|
+
|
6907
|
+
// house : 2013-11-07 Sugar Park, LLC
|
6908
|
+
house
|
6909
|
+
|
6910
|
+
// camp : 2013-11-07 Delta Dynamite, LLC
|
6911
|
+
camp
|
6912
|
+
|
6913
|
+
// immobilien : 2013-11-07 United TLD Holdco Ltd.
|
6914
|
+
immobilien
|
6915
|
+
|
6916
|
+
// moda : 2013-11-07 United TLD Holdco Ltd.
|
6917
|
+
moda
|
6918
|
+
|
6919
|
+
// glass : 2013-11-07 Black Cover, LLC
|
6920
|
+
glass
|
6921
|
+
|
6922
|
+
// management : 2013-11-07 John Goodbye, LLC
|
6923
|
+
management
|
6924
|
+
|
6925
|
+
// kaufen : 2013-11-07 United TLD Holdco Ltd.
|
6926
|
+
kaufen
|
6927
|
+
|
6928
|
+
// farm : 2013-11-07 Just Maple, LLC
|
6929
|
+
farm
|
6930
|
+
|
6931
|
+
// xn--55qw42g : 2013-11-08 China Organizational Name Administration Center
|
6932
|
+
公益
|
6933
|
+
|
6934
|
+
// xn--zfr164b : 2013-11-08 China Organizational Name Administration Center
|
6935
|
+
政务
|
6936
|
+
|
6937
|
+
// club : 2013-11-08 .CLUB DOMAINS, LLC
|
6938
|
+
club
|
6939
|
+
|
6940
|
+
// voting : 2013-11-13 Valuetainment Corp.
|
6941
|
+
voting
|
6942
|
+
|
6943
|
+
// TOKYO : 2013-11-13 GMO Registry, Inc.
|
6944
|
+
TOKYO
|
6945
|
+
|
6946
|
+
// moe : 2013-11-13 Interlink Co., Ltd.
|
6947
|
+
moe
|
6948
|
+
|
6949
|
+
|
6752
6950
|
// ===END ICANN DOMAINS===
|
6753
6951
|
// ===BEGIN PRIVATE DOMAINS===
|
6754
6952
|
|
@@ -6772,7 +6970,7 @@ us-gov-west-1.compute.amazonaws.com
|
|
6772
6970
|
us-west-1.compute.amazonaws.com
|
6773
6971
|
us-west-2.compute.amazonaws.com
|
6774
6972
|
|
6775
|
-
// Amazon Elastic Beanstalk : https://aws.amazon.com/elasticbeanstalk/
|
6973
|
+
// Amazon Elastic Beanstalk : https://aws.amazon.com/elasticbeanstalk/
|
6776
6974
|
// Requested by Adam Stein <astein@amazon.com> 2013-04-02
|
6777
6975
|
elasticbeanstalk.com
|
6778
6976
|
|
@@ -6851,6 +7049,10 @@ co.ca
|
|
6851
7049
|
co.nl
|
6852
7050
|
co.no
|
6853
7051
|
|
7052
|
+
// Cupcake : https://cupcake.io/
|
7053
|
+
// Requested by Jonathan Rudenberg <jonathan@cupcake.io> 2013-10-08
|
7054
|
+
cupcake.is
|
7055
|
+
|
6854
7056
|
// DreamHost : http://www.dreamhost.com/
|
6855
7057
|
// Requested by Andrew Farmer <andrew.farmer@dreamhost.com> 2012-10-02
|
6856
7058
|
dreamhosters.com
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class DomainName
|
2
|
-
ETLD_DATA_DATE = '2013-
|
2
|
+
ETLD_DATA_DATE = '2013-11-15T16:01:28Z'
|
3
3
|
|
4
4
|
ETLD_DATA = {
|
5
5
|
"ac" => 0,
|
@@ -4563,16 +4563,6 @@ class DomainName
|
|
4563
4563
|
"net.om" => 0,
|
4564
4564
|
"org.om" => 0,
|
4565
4565
|
"pro.om" => 0,
|
4566
|
-
"mediaphone.om" => 1,
|
4567
|
-
"nawrastelecom.om" => 1,
|
4568
|
-
"nawras.om" => 1,
|
4569
|
-
"omanmobile.om" => 1,
|
4570
|
-
"omanpost.om" => 1,
|
4571
|
-
"omantel.om" => 1,
|
4572
|
-
"rakpetroleum.om" => 1,
|
4573
|
-
"siemens.om" => 1,
|
4574
|
-
"songfest.om" => 1,
|
4575
|
-
"statecouncil.om" => 1,
|
4576
4566
|
"org" => 0,
|
4577
4567
|
"pa" => 0,
|
4578
4568
|
"ac.pa" => 0,
|
@@ -5502,7 +5492,6 @@ class DomainName
|
|
5502
5492
|
"k12.pr.us" => 0,
|
5503
5493
|
"k12.ri.us" => 0,
|
5504
5494
|
"k12.sc.us" => 0,
|
5505
|
-
"k12.sd.us" => 0,
|
5506
5495
|
"k12.tn.us" => 0,
|
5507
5496
|
"k12.tx.us" => 0,
|
5508
5497
|
"k12.ut.us" => 0,
|
@@ -5792,6 +5781,65 @@ class DomainName
|
|
5792
5781
|
"career" => 0,
|
5793
5782
|
"otsuka" => 0,
|
5794
5783
|
"xn--fiq64b" => 0,
|
5784
|
+
"gift" => 0,
|
5785
|
+
"recipes" => 0,
|
5786
|
+
"coffee" => 0,
|
5787
|
+
"luxury" => 0,
|
5788
|
+
"domains" => 0,
|
5789
|
+
"photos" => 0,
|
5790
|
+
"limo" => 0,
|
5791
|
+
"viajes" => 0,
|
5792
|
+
"wang" => 0,
|
5793
|
+
"democrat" => 0,
|
5794
|
+
"mango" => 0,
|
5795
|
+
"cab" => 0,
|
5796
|
+
"support" => 0,
|
5797
|
+
"dance" => 0,
|
5798
|
+
"nagoya" => 0,
|
5799
|
+
"computer" => 0,
|
5800
|
+
"wien" => 0,
|
5801
|
+
"berlin" => 0,
|
5802
|
+
"codes" => 0,
|
5803
|
+
"email" => 0,
|
5804
|
+
"xn--mgbab2bd" => 0,
|
5805
|
+
"repair" => 0,
|
5806
|
+
"holiday" => 0,
|
5807
|
+
"center" => 0,
|
5808
|
+
"systems" => 0,
|
5809
|
+
"wiki" => 0,
|
5810
|
+
"ceo" => 0,
|
5811
|
+
"international" => 0,
|
5812
|
+
"solar" => 0,
|
5813
|
+
"company" => 0,
|
5814
|
+
"education" => 0,
|
5815
|
+
"training" => 0,
|
5816
|
+
"academy" => 0,
|
5817
|
+
"marketing" => 0,
|
5818
|
+
"florist" => 0,
|
5819
|
+
"solutions" => 0,
|
5820
|
+
"build" => 0,
|
5821
|
+
"institute" => 0,
|
5822
|
+
"builders" => 0,
|
5823
|
+
"red" => 0,
|
5824
|
+
"blue" => 0,
|
5825
|
+
"ninja" => 0,
|
5826
|
+
"business" => 0,
|
5827
|
+
"gal" => 0,
|
5828
|
+
"social" => 0,
|
5829
|
+
"house" => 0,
|
5830
|
+
"camp" => 0,
|
5831
|
+
"immobilien" => 0,
|
5832
|
+
"moda" => 0,
|
5833
|
+
"glass" => 0,
|
5834
|
+
"management" => 0,
|
5835
|
+
"kaufen" => 0,
|
5836
|
+
"farm" => 0,
|
5837
|
+
"xn--55qw42g" => 0,
|
5838
|
+
"xn--zfr164b" => 0,
|
5839
|
+
"club" => 0,
|
5840
|
+
"voting" => 0,
|
5841
|
+
"tokyo" => 0,
|
5842
|
+
"moe" => 0,
|
5795
5843
|
"cloudfront.net" => 0,
|
5796
5844
|
"compute.amazonaws.com" => 0,
|
5797
5845
|
"us-east-1.amazonaws.com" => 0,
|
@@ -5861,6 +5909,7 @@ class DomainName
|
|
5861
5909
|
"co.ca" => 0,
|
5862
5910
|
"co.nl" => 0,
|
5863
5911
|
"co.no" => 0,
|
5912
|
+
"cupcake.is" => 0,
|
5864
5913
|
"dreamhosters.com" => 0,
|
5865
5914
|
"dyndns-at-home.com" => 0,
|
5866
5915
|
"dyndns-at-work.com" => 0,
|
data/lib/domain_name/version.rb
CHANGED
data/test/test_domain_name.rb
CHANGED
@@ -105,6 +105,26 @@ class TestDomainName < Test::Unit::TestCase
|
|
105
105
|
['k12.ak.us', nil, false, 'us', true],
|
106
106
|
['test.k12.ak.us', 'test.k12.ak.us', true, 'us', true],
|
107
107
|
['www.test.k12.ak.us', 'test.k12.ak.us', true, 'us', true],
|
108
|
+
# IDN labels. (modified; currently DomainName always converts U-labels to A-labels)
|
109
|
+
['食狮.com.cn', 'xn--85x722f.com.cn', true, 'cn', true],
|
110
|
+
['食狮.公司.cn', 'xn--85x722f.xn--55qx5d.cn', true, 'cn', true],
|
111
|
+
['www.食狮.公司.cn', 'xn--85x722f.xn--55qx5d.cn', true, 'cn', true],
|
112
|
+
['shishi.公司.cn', 'shishi.xn--55qx5d.cn', true, 'cn', true],
|
113
|
+
['公司.cn', nil, false, 'cn', true],
|
114
|
+
['食狮.中国', 'xn--85x722f.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
115
|
+
['www.食狮.中国', 'xn--85x722f.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
116
|
+
['shishi.中国', 'shishi.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
117
|
+
['中国', nil, false, 'xn--fiqs8s', true],
|
118
|
+
# Same as above, but punycoded.
|
119
|
+
['xn--85x722f.com.cn', 'xn--85x722f.com.cn', true, 'cn', true],
|
120
|
+
['xn--85x722f.xn--55qx5d.cn', 'xn--85x722f.xn--55qx5d.cn', true, 'cn', true],
|
121
|
+
['www.xn--85x722f.xn--55qx5d.cn', 'xn--85x722f.xn--55qx5d.cn', true, 'cn', true],
|
122
|
+
['shishi.xn--55qx5d.cn', 'shishi.xn--55qx5d.cn', true, 'cn', true],
|
123
|
+
['xn--55qx5d.cn', nil, false, 'cn', true],
|
124
|
+
['xn--85x722f.xn--fiqs8s', 'xn--85x722f.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
125
|
+
['www.xn--85x722f.xn--fiqs8s', 'xn--85x722f.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
126
|
+
['shishi.xn--fiqs8s', 'shishi.xn--fiqs8s', true, 'xn--fiqs8s', true],
|
127
|
+
['xn--fiqs8s', nil, false, 'xn--fiqs8s', true],
|
108
128
|
].each { |hostname, domain, canonical, tld, canonical_tld|
|
109
129
|
dn = DomainName.new(hostname)
|
110
130
|
assert_equal(domain, dn.domain, hostname + ':domain')
|
metadata
CHANGED
@@ -1,89 +1,89 @@
|
|
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.15
|
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-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unf
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - <
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.0.0
|
20
|
-
- -
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 0.0.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - <
|
27
|
+
- - "<"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 1.0.0
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.0.5
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: shoulda
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 1.2.0
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 1.2.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: 0.9.2.2
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.9.2.2
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rdoc
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: 2.4.2
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: 2.4.2
|
89
89
|
description: |
|
@@ -99,9 +99,9 @@ extra_rdoc_files:
|
|
99
99
|
- LICENSE.txt
|
100
100
|
- README.md
|
101
101
|
files:
|
102
|
-
- .document
|
103
|
-
- .gitignore
|
104
|
-
- .travis.yml
|
102
|
+
- ".document"
|
103
|
+
- ".gitignore"
|
104
|
+
- ".travis.yml"
|
105
105
|
- Gemfile
|
106
106
|
- LICENSE.txt
|
107
107
|
- README.md
|
@@ -127,12 +127,12 @@ require_paths:
|
|
127
127
|
- lib
|
128
128
|
required_ruby_version: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- -
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0'
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|