domain_name 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/data/effective_tld_names.dat +54 -11
- data/lib/domain_name/etld_data.rb +46 -10
- data/lib/domain_name/version.rb +1 -1
- 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: e65bc86b41a834c6333234ab68e3fa8469efe01e
|
4
|
+
data.tar.gz: 06e93a778d8c94d30e551e59e777b547a061554f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7575b5522eda23c4f8171d44286195b30d97b28b77a747dd80389b7b15a6eaaf7aacc1728d6744403518791b3ed2dcff85824e956ed57d6dedb33ca4c508eb22
|
7
|
+
data.tar.gz: 158c47e31a8a952556dec57d6d6a8dbb85cf51a40b5a758bbcb7c4ac7835ab564a7c8bdbdcf91d4643e23cf87fd887903dcb9d412d99e364a61dd1518f748fb1
|
data/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'uri'
|
3
3
|
|
4
|
-
ETLD_DATA_URI = URI('
|
4
|
+
ETLD_DATA_URI = URI('https://publicsuffix.org/list/effective_tld_names.dat')
|
5
5
|
ETLD_DATA_FILE = 'data/effective_tld_names.dat'
|
6
6
|
ETLD_DATA_RB = 'lib/domain_name/etld_data.rb'
|
7
7
|
|
@@ -180,6 +180,7 @@ ar
|
|
180
180
|
com.ar
|
181
181
|
edu.ar
|
182
182
|
gob.ar
|
183
|
+
gov.ar
|
183
184
|
int.ar
|
184
185
|
mil.ar
|
185
186
|
net.ar
|
@@ -222,7 +223,6 @@ edu.au
|
|
222
223
|
gov.au
|
223
224
|
asn.au
|
224
225
|
id.au
|
225
|
-
csiro.au
|
226
226
|
// Historic 2LDs (closed to new registration, but sites still exist)
|
227
227
|
info.au
|
228
228
|
conf.au
|
@@ -245,7 +245,7 @@ sa.edu.au
|
|
245
245
|
tas.edu.au
|
246
246
|
vic.edu.au
|
247
247
|
wa.edu.au
|
248
|
-
act.gov.au
|
248
|
+
// act.gov.au Bug 984824 - Removed at request of Greg Tankard
|
249
249
|
// nsw.gov.au Bug 547985 - Removed at request of <Shae.Donelan@services.nsw.gov.au>
|
250
250
|
// nt.gov.au Bug 940478 - Removed at request of Greg Connors <Greg.Connors@nt.gov.au>
|
251
251
|
qld.gov.au
|
@@ -292,6 +292,7 @@ rs.ba
|
|
292
292
|
// bb : http://en.wikipedia.org/wiki/.bb
|
293
293
|
bb
|
294
294
|
biz.bb
|
295
|
+
co.bb
|
295
296
|
com.bb
|
296
297
|
edu.bb
|
297
298
|
gov.bb
|
@@ -299,6 +300,7 @@ info.bb
|
|
299
300
|
net.bb
|
300
301
|
org.bb
|
301
302
|
store.bb
|
303
|
+
tv.bb
|
302
304
|
|
303
305
|
// bd : http://en.wikipedia.org/wiki/.bd
|
304
306
|
*.bd
|
@@ -5146,7 +5148,24 @@ com.nr
|
|
5146
5148
|
nu
|
5147
5149
|
|
5148
5150
|
// nz : http://en.wikipedia.org/wiki/.nz
|
5149
|
-
|
5151
|
+
// Confirmed by registry <jay@nzrs.net.nz> 2014-05-19
|
5152
|
+
nz
|
5153
|
+
ac.nz
|
5154
|
+
co.nz
|
5155
|
+
cri.nz
|
5156
|
+
geek.nz
|
5157
|
+
gen.nz
|
5158
|
+
govt.nz
|
5159
|
+
health.nz
|
5160
|
+
iwi.nz
|
5161
|
+
kiwi.nz
|
5162
|
+
maori.nz
|
5163
|
+
mil.nz
|
5164
|
+
māori.nz
|
5165
|
+
net.nz
|
5166
|
+
org.nz
|
5167
|
+
parliament.nz
|
5168
|
+
school.nz
|
5150
5169
|
|
5151
5170
|
// om : http://en.wikipedia.org/wiki/.om
|
5152
5171
|
om
|
@@ -5613,7 +5632,6 @@ oryol.ru
|
|
5613
5632
|
palana.ru
|
5614
5633
|
penza.ru
|
5615
5634
|
perm.ru
|
5616
|
-
pskov.ru
|
5617
5635
|
ptz.ru
|
5618
5636
|
rnd.ru
|
5619
5637
|
ryazan.ru
|
@@ -6440,16 +6458,24 @@ edu.vc
|
|
6440
6458
|
|
6441
6459
|
// ve : https://registro.nic.ve/
|
6442
6460
|
// Confirmed by registry 2012-10-04
|
6461
|
+
// Updated 2014-05-20 - Bug 940478
|
6443
6462
|
ve
|
6463
|
+
arts.ve
|
6444
6464
|
co.ve
|
6445
6465
|
com.ve
|
6446
6466
|
e12.ve
|
6447
6467
|
edu.ve
|
6468
|
+
firm.ve
|
6469
|
+
gob.ve
|
6448
6470
|
gov.ve
|
6449
6471
|
info.ve
|
6472
|
+
int.ve
|
6450
6473
|
mil.ve
|
6451
6474
|
net.ve
|
6452
6475
|
org.ve
|
6476
|
+
rec.ve
|
6477
|
+
store.ve
|
6478
|
+
tec.ve
|
6453
6479
|
web.ve
|
6454
6480
|
|
6455
6481
|
// vg : http://en.wikipedia.org/wiki/.vg
|
@@ -6482,8 +6508,12 @@ pro.vn
|
|
6482
6508
|
health.vn
|
6483
6509
|
|
6484
6510
|
// vu : http://en.wikipedia.org/wiki/.vu
|
6485
|
-
//
|
6511
|
+
// http://www.vunic.vu/
|
6486
6512
|
vu
|
6513
|
+
com.vu
|
6514
|
+
edu.vu
|
6515
|
+
net.vu
|
6516
|
+
org.vu
|
6487
6517
|
|
6488
6518
|
// wf : http://www.afnic.fr/medias/documents/AFNIC-naming-policy2012.pdf
|
6489
6519
|
wf
|
@@ -6609,7 +6639,14 @@ yt
|
|
6609
6639
|
فلسطين
|
6610
6640
|
|
6611
6641
|
// xn--90a3ac ("srb" Cyrillic) : RS
|
6642
|
+
// http://www.rnids.rs/en/the-.срб-domain
|
6612
6643
|
срб
|
6644
|
+
пр.срб
|
6645
|
+
орг.срб
|
6646
|
+
обр.срб
|
6647
|
+
од.срб
|
6648
|
+
упр.срб
|
6649
|
+
ак.срб
|
6613
6650
|
|
6614
6651
|
// xn--p1ai ("rf" Russian-Cyrillic) : RU
|
6615
6652
|
// http://www.cctld.ru/en/docs/rulesrf.php
|
@@ -7663,20 +7700,22 @@ reise
|
|
7663
7700
|
cloudfront.net
|
7664
7701
|
|
7665
7702
|
// Amazon Elastic Compute Cloud: https://aws.amazon.com/ec2/
|
7666
|
-
// Submitted by Osman Surkatty <osmans@amazon.com>
|
7667
|
-
compute.amazonaws.com
|
7668
|
-
us-east-1.amazonaws.com
|
7669
|
-
compute-1.amazonaws.com
|
7670
|
-
z-1.compute-1.amazonaws.com
|
7671
|
-
z-2.compute-1.amazonaws.com
|
7703
|
+
// Submitted by Osman Surkatty <osmans@amazon.com> 2014-05-20
|
7672
7704
|
ap-northeast-1.compute.amazonaws.com
|
7673
7705
|
ap-southeast-1.compute.amazonaws.com
|
7674
7706
|
ap-southeast-2.compute.amazonaws.com
|
7707
|
+
cn-north-1.compute.amazonaws.cn
|
7708
|
+
compute.amazonaws.cn
|
7709
|
+
compute.amazonaws.com
|
7710
|
+
compute-1.amazonaws.com
|
7675
7711
|
eu-west-1.compute.amazonaws.com
|
7676
7712
|
sa-east-1.compute.amazonaws.com
|
7713
|
+
us-east-1.amazonaws.com
|
7677
7714
|
us-gov-west-1.compute.amazonaws.com
|
7678
7715
|
us-west-1.compute.amazonaws.com
|
7679
7716
|
us-west-2.compute.amazonaws.com
|
7717
|
+
z-1.compute-1.amazonaws.com
|
7718
|
+
z-2.compute-1.amazonaws.com
|
7680
7719
|
|
7681
7720
|
// Amazon Elastic Beanstalk : https://aws.amazon.com/elasticbeanstalk/
|
7682
7721
|
// Submitted by Adam Stein <astein@amazon.com> 2013-04-02
|
@@ -8153,6 +8192,10 @@ azurewebsites.net
|
|
8153
8192
|
azure-mobile.net
|
8154
8193
|
cloudapp.net
|
8155
8194
|
|
8195
|
+
// One Fold Media : http://www.onefoldmedia.com/
|
8196
|
+
// Submitted by Eddie Jones <eddie@onefoldmedia.com> 2014-06-10
|
8197
|
+
nid.io
|
8198
|
+
|
8156
8199
|
// NYC.mn : http://www.information.nyc.mn
|
8157
8200
|
// Submitted by Matthew Brown <mattbrown@nyc.mn> 2013-03-11
|
8158
8201
|
nyc.mn
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class DomainName
|
2
|
-
ETLD_DATA_DATE = '2014-
|
2
|
+
ETLD_DATA_DATE = '2014-06-11T15:26:13Z'
|
3
3
|
|
4
4
|
ETLD_DATA = {
|
5
5
|
"ac" => 0,
|
@@ -151,6 +151,7 @@ class DomainName
|
|
151
151
|
"com.ar" => 0,
|
152
152
|
"edu.ar" => 0,
|
153
153
|
"gob.ar" => 0,
|
154
|
+
"gov.ar" => 0,
|
154
155
|
"int.ar" => 0,
|
155
156
|
"mil.ar" => 0,
|
156
157
|
"net.ar" => 0,
|
@@ -179,7 +180,6 @@ class DomainName
|
|
179
180
|
"gov.au" => 0,
|
180
181
|
"asn.au" => 0,
|
181
182
|
"id.au" => 0,
|
182
|
-
"csiro.au" => 0,
|
183
183
|
"info.au" => 0,
|
184
184
|
"conf.au" => 0,
|
185
185
|
"oz.au" => 0,
|
@@ -199,7 +199,6 @@ class DomainName
|
|
199
199
|
"tas.edu.au" => 0,
|
200
200
|
"vic.edu.au" => 0,
|
201
201
|
"wa.edu.au" => 0,
|
202
|
-
"act.gov.au" => 0,
|
203
202
|
"qld.gov.au" => 0,
|
204
203
|
"sa.gov.au" => 0,
|
205
204
|
"tas.gov.au" => 0,
|
@@ -234,6 +233,7 @@ class DomainName
|
|
234
233
|
"rs.ba" => 0,
|
235
234
|
"bb" => 0,
|
236
235
|
"biz.bb" => 0,
|
236
|
+
"co.bb" => 0,
|
237
237
|
"com.bb" => 0,
|
238
238
|
"edu.bb" => 0,
|
239
239
|
"gov.bb" => 0,
|
@@ -241,6 +241,7 @@ class DomainName
|
|
241
241
|
"net.bb" => 0,
|
242
242
|
"org.bb" => 0,
|
243
243
|
"store.bb" => 0,
|
244
|
+
"tv.bb" => 0,
|
244
245
|
"bd" => -1,
|
245
246
|
"be" => 0,
|
246
247
|
"ac.be" => 0,
|
@@ -4650,7 +4651,23 @@ class DomainName
|
|
4650
4651
|
"net.nr" => 0,
|
4651
4652
|
"com.nr" => 0,
|
4652
4653
|
"nu" => 0,
|
4653
|
-
"nz" =>
|
4654
|
+
"nz" => 0,
|
4655
|
+
"ac.nz" => 0,
|
4656
|
+
"co.nz" => 0,
|
4657
|
+
"cri.nz" => 0,
|
4658
|
+
"geek.nz" => 0,
|
4659
|
+
"gen.nz" => 0,
|
4660
|
+
"govt.nz" => 0,
|
4661
|
+
"health.nz" => 0,
|
4662
|
+
"iwi.nz" => 0,
|
4663
|
+
"kiwi.nz" => 0,
|
4664
|
+
"maori.nz" => 0,
|
4665
|
+
"mil.nz" => 0,
|
4666
|
+
"xn--mori-qsa.nz" => 0,
|
4667
|
+
"net.nz" => 0,
|
4668
|
+
"org.nz" => 0,
|
4669
|
+
"parliament.nz" => 0,
|
4670
|
+
"school.nz" => 0,
|
4654
4671
|
"om" => 0,
|
4655
4672
|
"co.om" => 0,
|
4656
4673
|
"com.om" => 0,
|
@@ -5056,7 +5073,6 @@ class DomainName
|
|
5056
5073
|
"palana.ru" => 0,
|
5057
5074
|
"penza.ru" => 0,
|
5058
5075
|
"perm.ru" => 0,
|
5059
|
-
"pskov.ru" => 0,
|
5060
5076
|
"ptz.ru" => 0,
|
5061
5077
|
"rnd.ru" => 0,
|
5062
5078
|
"ryazan.ru" => 0,
|
@@ -5733,15 +5749,22 @@ class DomainName
|
|
5733
5749
|
"mil.vc" => 0,
|
5734
5750
|
"edu.vc" => 0,
|
5735
5751
|
"ve" => 0,
|
5752
|
+
"arts.ve" => 0,
|
5736
5753
|
"co.ve" => 0,
|
5737
5754
|
"com.ve" => 0,
|
5738
5755
|
"e12.ve" => 0,
|
5739
5756
|
"edu.ve" => 0,
|
5757
|
+
"firm.ve" => 0,
|
5758
|
+
"gob.ve" => 0,
|
5740
5759
|
"gov.ve" => 0,
|
5741
5760
|
"info.ve" => 0,
|
5761
|
+
"int.ve" => 0,
|
5742
5762
|
"mil.ve" => 0,
|
5743
5763
|
"net.ve" => 0,
|
5744
5764
|
"org.ve" => 0,
|
5765
|
+
"rec.ve" => 0,
|
5766
|
+
"store.ve" => 0,
|
5767
|
+
"tec.ve" => 0,
|
5745
5768
|
"web.ve" => 0,
|
5746
5769
|
"vg" => 0,
|
5747
5770
|
"vi" => 0,
|
@@ -5764,6 +5787,10 @@ class DomainName
|
|
5764
5787
|
"pro.vn" => 0,
|
5765
5788
|
"health.vn" => 0,
|
5766
5789
|
"vu" => 0,
|
5790
|
+
"com.vu" => 0,
|
5791
|
+
"edu.vu" => 0,
|
5792
|
+
"net.vu" => 0,
|
5793
|
+
"org.vu" => 0,
|
5767
5794
|
"wf" => 0,
|
5768
5795
|
"ws" => 0,
|
5769
5796
|
"com.ws" => 0,
|
@@ -5800,6 +5827,12 @@ class DomainName
|
|
5800
5827
|
"xn--mgb9awbf" => 0,
|
5801
5828
|
"xn--ygbi2ammx" => 0,
|
5802
5829
|
"xn--90a3ac" => 0,
|
5830
|
+
"xn--o1ac.xn--90a3ac" => 0,
|
5831
|
+
"xn--c1avg.xn--90a3ac" => 0,
|
5832
|
+
"xn--90azh.xn--90a3ac" => 0,
|
5833
|
+
"xn--d1at.xn--90a3ac" => 0,
|
5834
|
+
"xn--o1ach.xn--90a3ac" => 0,
|
5835
|
+
"xn--80au.xn--90a3ac" => 0,
|
5803
5836
|
"xn--p1ai" => 0,
|
5804
5837
|
"xn--wgbl6a" => 0,
|
5805
5838
|
"xn--mgberp4a5d4ar" => 0,
|
@@ -6145,19 +6178,21 @@ class DomainName
|
|
6145
6178
|
"sca" => 0,
|
6146
6179
|
"reise" => 0,
|
6147
6180
|
"cloudfront.net" => 0,
|
6148
|
-
"compute.amazonaws.com" => 0,
|
6149
|
-
"us-east-1.amazonaws.com" => 0,
|
6150
|
-
"compute-1.amazonaws.com" => 0,
|
6151
|
-
"z-1.compute-1.amazonaws.com" => 0,
|
6152
|
-
"z-2.compute-1.amazonaws.com" => 0,
|
6153
6181
|
"ap-northeast-1.compute.amazonaws.com" => 0,
|
6154
6182
|
"ap-southeast-1.compute.amazonaws.com" => 0,
|
6155
6183
|
"ap-southeast-2.compute.amazonaws.com" => 0,
|
6184
|
+
"cn-north-1.compute.amazonaws.cn" => 0,
|
6185
|
+
"compute.amazonaws.cn" => 0,
|
6186
|
+
"compute.amazonaws.com" => 0,
|
6187
|
+
"compute-1.amazonaws.com" => 0,
|
6156
6188
|
"eu-west-1.compute.amazonaws.com" => 0,
|
6157
6189
|
"sa-east-1.compute.amazonaws.com" => 0,
|
6190
|
+
"us-east-1.amazonaws.com" => 0,
|
6158
6191
|
"us-gov-west-1.compute.amazonaws.com" => 0,
|
6159
6192
|
"us-west-1.compute.amazonaws.com" => 0,
|
6160
6193
|
"us-west-2.compute.amazonaws.com" => 0,
|
6194
|
+
"z-1.compute-1.amazonaws.com" => 0,
|
6195
|
+
"z-2.compute-1.amazonaws.com" => 0,
|
6161
6196
|
"elasticbeanstalk.com" => 0,
|
6162
6197
|
"elb.amazonaws.com" => 0,
|
6163
6198
|
"s3.amazonaws.com" => 0,
|
@@ -6561,6 +6596,7 @@ class DomainName
|
|
6561
6596
|
"azurewebsites.net" => 0,
|
6562
6597
|
"azure-mobile.net" => 0,
|
6563
6598
|
"cloudapp.net" => 0,
|
6599
|
+
"nid.io" => 0,
|
6564
6600
|
"nyc.mn" => 0,
|
6565
6601
|
"operaunite.com" => 0,
|
6566
6602
|
"outsystemscloud.com" => 0,
|
data/lib/domain_name/version.rb
CHANGED
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.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unf
|