public_suffix_service 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +5 -5
- data/Rakefile +13 -3
- data/lib/public_suffix_service/definitions.dat +346 -12
- data/lib/public_suffix_service/version.rb +1 -1
- data/public_suffix_service.gemspec +3 -3
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
= Public Suffix Service
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<b>Public Suffix Service</b> is a Ruby domain name parser based on the {Public Suffix List}[http://publicsuffix.org].
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
== What is the Public Suffix List?
|
|
7
7
|
|
|
8
|
-
The
|
|
8
|
+
The <b>Public Suffix Service</b> is a cross-vendor initiative to provide an accurate list of domain name suffixes.
|
|
9
9
|
|
|
10
|
-
The
|
|
10
|
+
The Public Suffix Service is an initiative of the Mozilla Project, but is maintained as a community resource. It is available for use in any software, but was originally created to meet the needs of browser manufacturers.
|
|
11
11
|
|
|
12
12
|
A "public suffix" is one under which Internet users can directly register names. Some examples of public suffixes are ".com", ".co.uk" and "pvt.k12.wy.us". The Public Suffix List is a list of all known public suffixes.
|
|
13
13
|
|
|
@@ -43,7 +43,7 @@ Successfully tested with the following interpreters
|
|
|
43
43
|
|
|
44
44
|
== Installation
|
|
45
45
|
|
|
46
|
-
The best way to install
|
|
46
|
+
The best way to install Public Suffix Service< is via {RubyGems}[http://www.rubygems.org].
|
|
47
47
|
|
|
48
48
|
$ gem install public_suffix_service
|
|
49
49
|
|
|
@@ -122,4 +122,4 @@ See the CHANGELOG.rdoc file for details.
|
|
|
122
122
|
== License
|
|
123
123
|
|
|
124
124
|
Copyright (c) 2009-2010 Simone Carletti,
|
|
125
|
-
|
|
125
|
+
Public Suffix Service is released under the MIT license.
|
data/Rakefile
CHANGED
|
@@ -137,7 +137,17 @@ task :publish_rdoc => [:clobber_rdoc, :rdoc] do
|
|
|
137
137
|
sh "rsync -avz --delete rdoc/ #{ENV["username"]}@code:/var/www/apps/code/#{PKG_NAME}/api"
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
desc <<-DESC
|
|
141
|
+
Downloads the Public Suffix List file from the repository \
|
|
142
|
+
and stores it locally.
|
|
143
|
+
DESC
|
|
144
|
+
task :download_definitions do
|
|
145
|
+
require "net/http"
|
|
146
|
+
|
|
147
|
+
DEFINITION_URL = "http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1"
|
|
148
|
+
|
|
149
|
+
File.open("lib/public_suffix_service/definitions.dat", "w+") do |f|
|
|
150
|
+
response = Net::HTTP.get_response(URI.parse(DEFINITION_URL))
|
|
151
|
+
f.write(response.body)
|
|
152
|
+
end
|
|
143
153
|
end
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
// Gervase Markham <gerv@gerv.net>
|
|
24
24
|
// Pamela Greene <pamg.bugs@gmail.com>
|
|
25
25
|
// David Triendl <david@triendl.name>
|
|
26
|
+
// Jothan Frakes <jothan@gmail.com>
|
|
26
27
|
// The kind representatives of many TLD registries
|
|
27
28
|
//
|
|
28
29
|
// Alternatively, the contents of this file may be used under the terms of
|
|
@@ -708,6 +709,10 @@ za.com
|
|
|
708
709
|
// Requested by Yngve Pettersen <yngve@opera.com> 2009-11-26
|
|
709
710
|
operaunite.com
|
|
710
711
|
|
|
712
|
+
// Requested by Eduardo Vela <evn@google.com> 2010-09-06
|
|
713
|
+
appspot.com
|
|
714
|
+
blogspot.com
|
|
715
|
+
|
|
711
716
|
// coop : http://en.wikipedia.org/wiki/.coop
|
|
712
717
|
coop
|
|
713
718
|
|
|
@@ -931,6 +936,7 @@ edu.gi
|
|
|
931
936
|
org.gi
|
|
932
937
|
|
|
933
938
|
// gl : http://en.wikipedia.org/wiki/.gl
|
|
939
|
+
// http://nic.gl
|
|
934
940
|
gl
|
|
935
941
|
|
|
936
942
|
// gm : http://www.nic.gm/htmlpages%5Cgm-policy.htm
|
|
@@ -1088,7 +1094,16 @@ utazas.hu
|
|
|
1088
1094
|
video.hu
|
|
1089
1095
|
|
|
1090
1096
|
// id : http://en.wikipedia.org/wiki/.id
|
|
1091
|
-
|
|
1097
|
+
// see also: https://register.pandi.or.id/
|
|
1098
|
+
.id
|
|
1099
|
+
.ac.id
|
|
1100
|
+
.co.id
|
|
1101
|
+
.go.id
|
|
1102
|
+
.mil.id
|
|
1103
|
+
.net.id
|
|
1104
|
+
.or.id
|
|
1105
|
+
.sch.id
|
|
1106
|
+
.web.id
|
|
1092
1107
|
|
|
1093
1108
|
// ie : http://en.wikipedia.org/wiki/.ie
|
|
1094
1109
|
ie
|
|
@@ -1178,7 +1193,11 @@ int.is
|
|
|
1178
1193
|
it
|
|
1179
1194
|
gov.it
|
|
1180
1195
|
edu.it
|
|
1181
|
-
// geo-names
|
|
1196
|
+
// list of reserved geo-names :
|
|
1197
|
+
// http://www.nic.it/documenti/regolamenti-e-linee-guida/regolamento-assegnazione-versione-6.0.pdf
|
|
1198
|
+
// (There is also a list of reserved geo-names corresponding to Italian
|
|
1199
|
+
// municipalities : http://www.nic.it/documenti/appendice-c.pdf , but it is
|
|
1200
|
+
// not included here.)
|
|
1182
1201
|
agrigento.it
|
|
1183
1202
|
ag.it
|
|
1184
1203
|
alessandria.it
|
|
@@ -1199,8 +1218,17 @@ avellino.it
|
|
|
1199
1218
|
av.it
|
|
1200
1219
|
bari.it
|
|
1201
1220
|
ba.it
|
|
1202
|
-
|
|
1203
|
-
|
|
1221
|
+
andria-barletta-trani.it
|
|
1222
|
+
andriabarlettatrani.it
|
|
1223
|
+
trani-barletta-andria.it
|
|
1224
|
+
tranibarlettaandria.it
|
|
1225
|
+
barletta-trani-andria.it
|
|
1226
|
+
barlettatraniandria.it
|
|
1227
|
+
andria-trani-barletta.it
|
|
1228
|
+
andriatranibarletta.it
|
|
1229
|
+
trani-andria-barletta.it
|
|
1230
|
+
traniandriabarletta.it
|
|
1231
|
+
bt.it
|
|
1204
1232
|
belluno.it
|
|
1205
1233
|
bl.it
|
|
1206
1234
|
benevento.it
|
|
@@ -1228,6 +1256,11 @@ caltanissetta.it
|
|
|
1228
1256
|
cl.it
|
|
1229
1257
|
campobasso.it
|
|
1230
1258
|
cb.it
|
|
1259
|
+
carboniaiglesias.it
|
|
1260
|
+
carbonia-iglesias.it
|
|
1261
|
+
iglesias-carbonia.it
|
|
1262
|
+
iglesiascarbonia.it
|
|
1263
|
+
ci.it
|
|
1231
1264
|
caserta.it
|
|
1232
1265
|
ce.it
|
|
1233
1266
|
catania.it
|
|
@@ -1246,11 +1279,16 @@ crotone.it
|
|
|
1246
1279
|
kr.it
|
|
1247
1280
|
cuneo.it
|
|
1248
1281
|
cn.it
|
|
1282
|
+
dell-ogliastra.it
|
|
1283
|
+
dellogliastra.it
|
|
1284
|
+
ogliastra.it
|
|
1285
|
+
og.it
|
|
1249
1286
|
enna.it
|
|
1250
1287
|
en.it
|
|
1251
|
-
fermo.it
|
|
1252
1288
|
ferrara.it
|
|
1253
1289
|
fe.it
|
|
1290
|
+
fermo.it
|
|
1291
|
+
fm.it
|
|
1254
1292
|
firenze.it
|
|
1255
1293
|
florence.it
|
|
1256
1294
|
fi.it
|
|
@@ -1258,6 +1296,8 @@ foggia.it
|
|
|
1258
1296
|
fg.it
|
|
1259
1297
|
forli-cesena.it
|
|
1260
1298
|
forlicesena.it
|
|
1299
|
+
cesena-forli.it
|
|
1300
|
+
cesenaforli.it
|
|
1261
1301
|
fc.it
|
|
1262
1302
|
frosinone.it
|
|
1263
1303
|
fr.it
|
|
@@ -1296,9 +1336,16 @@ mantova.it
|
|
|
1296
1336
|
mn.it
|
|
1297
1337
|
massa-carrara.it
|
|
1298
1338
|
massacarrara.it
|
|
1339
|
+
carrara-massa.it
|
|
1340
|
+
carraramassa.it
|
|
1299
1341
|
ms.it
|
|
1300
1342
|
matera.it
|
|
1301
1343
|
mt.it
|
|
1344
|
+
medio-campidano.it
|
|
1345
|
+
mediocampidano.it
|
|
1346
|
+
campidano-medio.it
|
|
1347
|
+
campidanomedio.it
|
|
1348
|
+
vs.it
|
|
1302
1349
|
messina.it
|
|
1303
1350
|
me.it
|
|
1304
1351
|
milano.it
|
|
@@ -1307,6 +1354,12 @@ mi.it
|
|
|
1307
1354
|
modena.it
|
|
1308
1355
|
mo.it
|
|
1309
1356
|
monza.it
|
|
1357
|
+
monza-brianza.it
|
|
1358
|
+
monzabrianza.it
|
|
1359
|
+
monzaebrianza.it
|
|
1360
|
+
monzaedellabrianza.it
|
|
1361
|
+
monza-e-della-brianza.it
|
|
1362
|
+
mb.it
|
|
1310
1363
|
napoli.it
|
|
1311
1364
|
naples.it
|
|
1312
1365
|
na.it
|
|
@@ -1331,6 +1384,8 @@ pescara.it
|
|
|
1331
1384
|
pe.it
|
|
1332
1385
|
pesaro-urbino.it
|
|
1333
1386
|
pesarourbino.it
|
|
1387
|
+
urbino-pesaro.it
|
|
1388
|
+
urbinopesaro.it
|
|
1334
1389
|
pu.it
|
|
1335
1390
|
piacenza.it
|
|
1336
1391
|
pc.it
|
|
@@ -1377,6 +1432,11 @@ sondrio.it
|
|
|
1377
1432
|
so.it
|
|
1378
1433
|
taranto.it
|
|
1379
1434
|
ta.it
|
|
1435
|
+
tempio-olbia.it
|
|
1436
|
+
tempioolbia.it
|
|
1437
|
+
olbia-tempio.it
|
|
1438
|
+
olbiatempio.it
|
|
1439
|
+
ot.it
|
|
1380
1440
|
teramo.it
|
|
1381
1441
|
te.it
|
|
1382
1442
|
terni.it
|
|
@@ -1630,6 +1690,14 @@ org.kn
|
|
|
1630
1690
|
edu.kn
|
|
1631
1691
|
gov.kn
|
|
1632
1692
|
|
|
1693
|
+
// kp : http://www.kcce.kp/en_index.php
|
|
1694
|
+
com.kp
|
|
1695
|
+
edu.kp
|
|
1696
|
+
gov.kp
|
|
1697
|
+
org.kp
|
|
1698
|
+
rep.kp
|
|
1699
|
+
tra.kp
|
|
1700
|
+
|
|
1633
1701
|
// kr : http://en.wikipedia.org/wiki/.kr
|
|
1634
1702
|
// see also: http://domain.nida.or.kr/eng/registration.jsp
|
|
1635
1703
|
kr
|
|
@@ -3370,6 +3438,16 @@ nu
|
|
|
3370
3438
|
|
|
3371
3439
|
// om : http://en.wikipedia.org/wiki/.om
|
|
3372
3440
|
*.om
|
|
3441
|
+
!mediaphone.om
|
|
3442
|
+
!nawrastelecom.om
|
|
3443
|
+
!nawras.om
|
|
3444
|
+
!omanmobile.om
|
|
3445
|
+
!omanpost.om
|
|
3446
|
+
!omantel.om
|
|
3447
|
+
!rakpetroleum.om
|
|
3448
|
+
!siemens.om
|
|
3449
|
+
!songfest.om
|
|
3450
|
+
!statecouncil.om
|
|
3373
3451
|
|
|
3374
3452
|
// org : http://en.wikipedia.org/wiki/.org
|
|
3375
3453
|
org
|
|
@@ -3635,6 +3713,9 @@ poznan.pl
|
|
|
3635
3713
|
wroc.pl
|
|
3636
3714
|
zakopane.pl
|
|
3637
3715
|
|
|
3716
|
+
// co.pl : Mainseek Sp. z o.o. http://www.co.pl
|
|
3717
|
+
co.pl
|
|
3718
|
+
|
|
3638
3719
|
// pn : http://www.government.pn/PnRegistry/policies.htm
|
|
3639
3720
|
pn
|
|
3640
3721
|
gov.pn
|
|
@@ -4017,6 +4098,12 @@ org.sn
|
|
|
4017
4098
|
perso.sn
|
|
4018
4099
|
univ.sn
|
|
4019
4100
|
|
|
4101
|
+
// so : http://www.soregistry.com/
|
|
4102
|
+
so
|
|
4103
|
+
com.so
|
|
4104
|
+
net.so
|
|
4105
|
+
org.so
|
|
4106
|
+
|
|
4020
4107
|
// sr : http://en.wikipedia.org/wiki/.sr
|
|
4021
4108
|
sr
|
|
4022
4109
|
|
|
@@ -4152,6 +4239,7 @@ mil.to
|
|
|
4152
4239
|
|
|
4153
4240
|
// tr : http://en.wikipedia.org/wiki/.tr
|
|
4154
4241
|
*.tr
|
|
4242
|
+
!nic.tr
|
|
4155
4243
|
// Used by government in the TRNC
|
|
4156
4244
|
// http://en.wikipedia.org/wiki/.nc.tr
|
|
4157
4245
|
gov.nc.tr
|
|
@@ -4352,7 +4440,184 @@ wy.us
|
|
|
4352
4440
|
// The registrar notes several more specific domains available in each state,
|
|
4353
4441
|
// such as state.*.us, dst.*.us, etc., but resolution of these is somewhat
|
|
4354
4442
|
// haphazard; in some states these domains resolve as addresses, while in others
|
|
4355
|
-
// only subdomains are
|
|
4443
|
+
// only subdomains are available, or even nothing at all. We include the
|
|
4444
|
+
// most common ones where it's clear that different sites are different
|
|
4445
|
+
// entities.
|
|
4446
|
+
k12.ak.us
|
|
4447
|
+
k12.al.us
|
|
4448
|
+
k12.ar.us
|
|
4449
|
+
k12.as.us
|
|
4450
|
+
k12.az.us
|
|
4451
|
+
k12.ca.us
|
|
4452
|
+
k12.co.us
|
|
4453
|
+
k12.ct.us
|
|
4454
|
+
k12.dc.us
|
|
4455
|
+
k12.de.us
|
|
4456
|
+
k12.fl.us
|
|
4457
|
+
k12.ga.us
|
|
4458
|
+
k12.gu.us
|
|
4459
|
+
k12.hi.us
|
|
4460
|
+
k12.ia.us
|
|
4461
|
+
k12.id.us
|
|
4462
|
+
k12.il.us
|
|
4463
|
+
k12.in.us
|
|
4464
|
+
k12.ks.us
|
|
4465
|
+
k12.ky.us
|
|
4466
|
+
k12.la.us
|
|
4467
|
+
k12.ma.us
|
|
4468
|
+
k12.md.us
|
|
4469
|
+
k12.me.us
|
|
4470
|
+
k12.mi.us
|
|
4471
|
+
k12.mn.us
|
|
4472
|
+
k12.mo.us
|
|
4473
|
+
k12.ms.us
|
|
4474
|
+
k12.mt.us
|
|
4475
|
+
k12.nc.us
|
|
4476
|
+
k12.nd.us
|
|
4477
|
+
k12.ne.us
|
|
4478
|
+
k12.nh.us
|
|
4479
|
+
k12.nj.us
|
|
4480
|
+
k12.nm.us
|
|
4481
|
+
k12.nv.us
|
|
4482
|
+
k12.ny.us
|
|
4483
|
+
k12.oh.us
|
|
4484
|
+
k12.ok.us
|
|
4485
|
+
k12.or.us
|
|
4486
|
+
k12.pa.us
|
|
4487
|
+
k12.pr.us
|
|
4488
|
+
k12.ri.us
|
|
4489
|
+
k12.sc.us
|
|
4490
|
+
k12.sd.us
|
|
4491
|
+
k12.tn.us
|
|
4492
|
+
k12.tx.us
|
|
4493
|
+
k12.ut.us
|
|
4494
|
+
k12.vi.us
|
|
4495
|
+
k12.vt.us
|
|
4496
|
+
k12.va.us
|
|
4497
|
+
k12.wa.us
|
|
4498
|
+
k12.wi.us
|
|
4499
|
+
k12.wv.us
|
|
4500
|
+
k12.wy.us
|
|
4501
|
+
|
|
4502
|
+
cc.ak.us
|
|
4503
|
+
cc.al.us
|
|
4504
|
+
cc.ar.us
|
|
4505
|
+
cc.as.us
|
|
4506
|
+
cc.az.us
|
|
4507
|
+
cc.ca.us
|
|
4508
|
+
cc.co.us
|
|
4509
|
+
cc.ct.us
|
|
4510
|
+
cc.dc.us
|
|
4511
|
+
cc.de.us
|
|
4512
|
+
cc.fl.us
|
|
4513
|
+
cc.ga.us
|
|
4514
|
+
cc.gu.us
|
|
4515
|
+
cc.hi.us
|
|
4516
|
+
cc.ia.us
|
|
4517
|
+
cc.id.us
|
|
4518
|
+
cc.il.us
|
|
4519
|
+
cc.in.us
|
|
4520
|
+
cc.ks.us
|
|
4521
|
+
cc.ky.us
|
|
4522
|
+
cc.la.us
|
|
4523
|
+
cc.ma.us
|
|
4524
|
+
cc.md.us
|
|
4525
|
+
cc.me.us
|
|
4526
|
+
cc.mi.us
|
|
4527
|
+
cc.mn.us
|
|
4528
|
+
cc.mo.us
|
|
4529
|
+
cc.ms.us
|
|
4530
|
+
cc.mt.us
|
|
4531
|
+
cc.nc.us
|
|
4532
|
+
cc.nd.us
|
|
4533
|
+
cc.ne.us
|
|
4534
|
+
cc.nh.us
|
|
4535
|
+
cc.nj.us
|
|
4536
|
+
cc.nm.us
|
|
4537
|
+
cc.nv.us
|
|
4538
|
+
cc.ny.us
|
|
4539
|
+
cc.oh.us
|
|
4540
|
+
cc.ok.us
|
|
4541
|
+
cc.or.us
|
|
4542
|
+
cc.pa.us
|
|
4543
|
+
cc.pr.us
|
|
4544
|
+
cc.ri.us
|
|
4545
|
+
cc.sc.us
|
|
4546
|
+
cc.sd.us
|
|
4547
|
+
cc.tn.us
|
|
4548
|
+
cc.tx.us
|
|
4549
|
+
cc.ut.us
|
|
4550
|
+
cc.vi.us
|
|
4551
|
+
cc.vt.us
|
|
4552
|
+
cc.va.us
|
|
4553
|
+
cc.wa.us
|
|
4554
|
+
cc.wi.us
|
|
4555
|
+
cc.wv.us
|
|
4556
|
+
cc.wy.us
|
|
4557
|
+
|
|
4558
|
+
lib.ak.us
|
|
4559
|
+
lib.al.us
|
|
4560
|
+
lib.ar.us
|
|
4561
|
+
lib.as.us
|
|
4562
|
+
lib.az.us
|
|
4563
|
+
lib.ca.us
|
|
4564
|
+
lib.co.us
|
|
4565
|
+
lib.ct.us
|
|
4566
|
+
lib.dc.us
|
|
4567
|
+
lib.de.us
|
|
4568
|
+
lib.fl.us
|
|
4569
|
+
lib.ga.us
|
|
4570
|
+
lib.gu.us
|
|
4571
|
+
lib.hi.us
|
|
4572
|
+
lib.ia.us
|
|
4573
|
+
lib.id.us
|
|
4574
|
+
lib.il.us
|
|
4575
|
+
lib.in.us
|
|
4576
|
+
lib.ks.us
|
|
4577
|
+
lib.ky.us
|
|
4578
|
+
lib.la.us
|
|
4579
|
+
lib.ma.us
|
|
4580
|
+
lib.md.us
|
|
4581
|
+
lib.me.us
|
|
4582
|
+
lib.mi.us
|
|
4583
|
+
lib.mn.us
|
|
4584
|
+
lib.mo.us
|
|
4585
|
+
lib.ms.us
|
|
4586
|
+
lib.mt.us
|
|
4587
|
+
lib.nc.us
|
|
4588
|
+
lib.nd.us
|
|
4589
|
+
lib.ne.us
|
|
4590
|
+
lib.nh.us
|
|
4591
|
+
lib.nj.us
|
|
4592
|
+
lib.nm.us
|
|
4593
|
+
lib.nv.us
|
|
4594
|
+
lib.ny.us
|
|
4595
|
+
lib.oh.us
|
|
4596
|
+
lib.ok.us
|
|
4597
|
+
lib.or.us
|
|
4598
|
+
lib.pa.us
|
|
4599
|
+
lib.pr.us
|
|
4600
|
+
lib.ri.us
|
|
4601
|
+
lib.sc.us
|
|
4602
|
+
lib.sd.us
|
|
4603
|
+
lib.tn.us
|
|
4604
|
+
lib.tx.us
|
|
4605
|
+
lib.ut.us
|
|
4606
|
+
lib.vi.us
|
|
4607
|
+
lib.vt.us
|
|
4608
|
+
lib.va.us
|
|
4609
|
+
lib.wa.us
|
|
4610
|
+
lib.wi.us
|
|
4611
|
+
lib.wv.us
|
|
4612
|
+
lib.wy.us
|
|
4613
|
+
|
|
4614
|
+
// k12.ma.us contains school districts in Massachusetts. The 4LDs are
|
|
4615
|
+
// managed indepedently except for private (PVT), charter (CHTR) and
|
|
4616
|
+
// parochial (PAROCH) schools. Those are delegated dorectly to the
|
|
4617
|
+
// 5LD operators. <k12-ma-hostmaster _ at _ rsuc.gweep.net>
|
|
4618
|
+
pvt.k12.ma.us
|
|
4619
|
+
chtr.k12.ma.us
|
|
4620
|
+
paroch.k12.ma.us
|
|
4356
4621
|
|
|
4357
4622
|
// uy : http://www.antel.com.uy/
|
|
4358
4623
|
*.uy
|
|
@@ -4421,18 +4686,87 @@ org.ws
|
|
|
4421
4686
|
gov.ws
|
|
4422
4687
|
edu.ws
|
|
4423
4688
|
|
|
4424
|
-
//
|
|
4689
|
+
// IDN ccTLDs
|
|
4690
|
+
// Please sort by ISO 3166 ccTLD, then punicode string
|
|
4691
|
+
// when submitting patches and follow this format:
|
|
4692
|
+
// <Punicode> ("<english word>" <language>) : <ISO 3166 ccTLD>
|
|
4693
|
+
// [optional sponsoring org]
|
|
4694
|
+
// <URL>
|
|
4695
|
+
|
|
4696
|
+
// xn--mgbaam7a8h ("Emerat" Arabic) : AE
|
|
4697
|
+
//http://nic.ae/english/arabicdomain/rules.jsp
|
|
4425
4698
|
امارات
|
|
4426
4699
|
|
|
4427
|
-
// xn--
|
|
4428
|
-
|
|
4700
|
+
// xn--fiqs8s ("China" Chinese-Han-Simplified <.Zhonggou>) : CN
|
|
4701
|
+
// CNNIC
|
|
4702
|
+
// http://cnnic.cn/html/Dir/2005/10/11/3218.htm
|
|
4703
|
+
中国
|
|
4429
4704
|
|
|
4430
|
-
// xn--
|
|
4431
|
-
|
|
4705
|
+
// xn--fiqz9s ("China" Chinese-Han-Traditional <.Zhonggou>) : CN
|
|
4706
|
+
// CNNIC
|
|
4707
|
+
// http://cnnic.cn/html/Dir/2005/10/11/3218.htm
|
|
4708
|
+
中國
|
|
4432
4709
|
|
|
4433
|
-
// xn--wgbh1c (Egypt) :
|
|
4710
|
+
// xn--wgbh1c ("Egypt" Arabic .masr) : EG
|
|
4711
|
+
// http://www.dotmasr.eg/
|
|
4434
4712
|
مصر
|
|
4435
4713
|
|
|
4714
|
+
// xn--j6w193g ("Hong Kong" Chinese-Han) : HK
|
|
4715
|
+
// https://www2.hkirc.hk/register/rules.jsp
|
|
4716
|
+
香港
|
|
4717
|
+
|
|
4718
|
+
//xn--mgbayh7gpa ("al-Ordon" Arabic) JO
|
|
4719
|
+
//National Information Technology Center (NITC)
|
|
4720
|
+
//Royal Scientific Society, Al-Jubeiha
|
|
4721
|
+
الاردن
|
|
4722
|
+
|
|
4723
|
+
// xn--fzc2c9e2c ("Lanka" Sinhalese-Sinhala) : LK
|
|
4724
|
+
// http://nic.lk
|
|
4725
|
+
ලංකා
|
|
4726
|
+
|
|
4727
|
+
// xn--xkc2al3hye2a ("Ilangai" Tamil) : LK
|
|
4728
|
+
// http://nic.lk
|
|
4729
|
+
இலங்கை
|
|
4730
|
+
|
|
4731
|
+
// xn--ygbi2ammx ("Falasteen" Arabic) : PS
|
|
4732
|
+
// The Palestinian National Internet Naming Authority (PNINA)
|
|
4733
|
+
// http://www.pnina.ps
|
|
4734
|
+
فلسطين
|
|
4735
|
+
|
|
4736
|
+
// xn--p1ai ("rf" Russian-Cyrillic) : RU
|
|
4737
|
+
// http://www.cctld.ru/en/docs/rulesrf.php
|
|
4738
|
+
рф
|
|
4739
|
+
|
|
4740
|
+
// xn--wgbl6a ("Qatar" Arabic) : QA
|
|
4741
|
+
// http://www.ict.gov.qa/
|
|
4742
|
+
قطر
|
|
4743
|
+
|
|
4744
|
+
// xn--mgberp4a5d4ar ("AlSaudiah" Arabic) : SA
|
|
4745
|
+
// http://www.nic.net.sa/
|
|
4746
|
+
السعودية
|
|
4747
|
+
|
|
4748
|
+
// xn--yfro4i67o Singapore ("Singapore" Chinese-Han) : SG
|
|
4749
|
+
新加坡
|
|
4750
|
+
|
|
4751
|
+
// xn--clchc0ea0b2g2a9gcd ("Singapore" Tamil) : SG
|
|
4752
|
+
சிங்கப்பூர்
|
|
4753
|
+
|
|
4754
|
+
// xn--o3cw4h ("Thai" Thai) : TH
|
|
4755
|
+
// http://www.thnic.co.th
|
|
4756
|
+
ไทย
|
|
4757
|
+
|
|
4758
|
+
// xn--pgbs0dh ("Tunis") : TN
|
|
4759
|
+
// http://nic.tn
|
|
4760
|
+
تونس
|
|
4761
|
+
|
|
4762
|
+
// xn--kpry57d ("Taiwan" Chinese-Han-Traditional) : TW
|
|
4763
|
+
// http://www.twnic.net/english/dn/dn_07a.htm
|
|
4764
|
+
台灣
|
|
4765
|
+
|
|
4766
|
+
// xn--kprw13d ("Taiwan" Chinese-Han-Simplified) : TW
|
|
4767
|
+
// http://www.twnic.net/english/dn/dn_07a.htm
|
|
4768
|
+
台湾
|
|
4769
|
+
|
|
4436
4770
|
// ye : http://www.y.net.ye/services/domain_name.htm
|
|
4437
4771
|
*.ye
|
|
4438
4772
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{public_suffix_service}
|
|
5
|
-
s.version = "0.
|
|
5
|
+
s.version = "0.5.0"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Simone Carletti"]
|
|
9
|
-
s.date = %q{2010-
|
|
10
|
-
s.description = %q{ Intelligent
|
|
9
|
+
s.date = %q{2010-09-13}
|
|
10
|
+
s.description = %q{ Intelligent domain name parser based in the Public Suffic List. PublicSuffixService can parse and decompose a domain name into top level domain, domain and subdomains.
|
|
11
11
|
}
|
|
12
12
|
s.email = %q{weppos@weppos.net}
|
|
13
13
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc"]
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: public_suffix_service
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.5.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Simone Carletti
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-09-
|
|
18
|
+
date: 2010-09-15 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|