public_suffix 1.3.3 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/CHANGELOG.md +7 -0
- data/LICENSE.txt +1 -1
- data/README.md +7 -9
- data/Rakefile +11 -12
- data/lib/{public_suffix/definitions.txt → definitions.txt} +412 -39
- data/lib/public_suffix.rb +1 -1
- data/lib/public_suffix/domain.rb +1 -1
- data/lib/public_suffix/errors.rb +1 -5
- data/lib/public_suffix/list.rb +2 -2
- data/lib/public_suffix/rule.rb +1 -1
- data/lib/public_suffix/version.rb +3 -3
- data/public_suffix.gemspec +7 -8
- data/test/test_helper.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e697850870e01a711f41b8884f12e29a42a2785
|
4
|
+
data.tar.gz: 4c2f86756c6ee7b7bd8077dc18743c2df71c3e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11b49ba4bb9218aca196beaa0622b60972b26690646b2d96607b28226081085c55a53ba451dd1a66ef583aa7df049f93393fb5855802c60f3b0e02bef54b0509
|
7
|
+
data.tar.gz: f63214de73aaa918bb53ed2ac6464fd599cb56320982860a830061a4b3c9c756e8a8757e7f90ab7840b387170b48f8d5417a2aa331eaacebddff9173db37e108
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Public Suffix List
|
1
|
+
# Public Suffix List
|
2
2
|
|
3
|
-
|
3
|
+
<tt>PublicSuffix</tt> is a Ruby domain name parser based on the [Public Suffix List](http://publicsuffix.org/).
|
4
4
|
|
5
5
|
[![Build Status](https://secure.travis-ci.org/weppos/publicsuffix-ruby.png)](http://travis-ci.org/weppos/publicsuffix-ruby)
|
6
6
|
|
@@ -33,11 +33,9 @@ Not convinced yet? Check out [this real world example](http://stackoverflow.com/
|
|
33
33
|
|
34
34
|
## Requirements
|
35
35
|
|
36
|
-
- Ruby >= 1.
|
36
|
+
- Ruby >= 1.9.3
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
We also support several [Ruby implementations](http://www.simonecarletti.com/code/publicsuffix/#implementations).
|
38
|
+
For an older versions of Ruby use a previous release. We also support several [Ruby implementations](http://simonecarletti.com/code/publicsuffix/#implementations).
|
41
39
|
|
42
40
|
|
43
41
|
## Installation
|
@@ -137,10 +135,10 @@ Report issues or feature requests to [GitHub Issues](https://github.com/weppos/p
|
|
137
135
|
|
138
136
|
## More
|
139
137
|
|
140
|
-
* [Homepage](http://
|
138
|
+
* [Homepage](http://simonecarletti.com/code/publicsuffix)
|
141
139
|
* [Repository](https://github.com/weppos/publicsuffix-ruby)
|
142
140
|
* [API Documentation](http://rubydoc.info/gems/public_suffix)
|
143
|
-
* [Introducing the Public Suffix List library for Ruby](http://
|
141
|
+
* [Introducing the Public Suffix List library for Ruby](http://simonecarletti.com/blog/2010/06/public-suffix-list-library-for-ruby/)
|
144
142
|
|
145
143
|
|
146
144
|
## Changelog
|
@@ -150,4 +148,4 @@ See the [CHANGELOG.md](CHANGELOG.md) file for details.
|
|
150
148
|
|
151
149
|
## License
|
152
150
|
|
153
|
-
Copyright (c) 2009-
|
151
|
+
Copyright (c) 2009-2014 Simone Carletti. This is Free Software distributed under the MIT license.
|
data/Rakefile
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'rubygems/package_task'
|
3
2
|
require 'bundler'
|
4
3
|
|
5
4
|
$:.unshift(File.dirname(__FILE__) + "/lib")
|
@@ -7,25 +6,25 @@ require 'public_suffix'
|
|
7
6
|
|
8
7
|
|
9
8
|
# Common package properties
|
10
|
-
PKG_NAME =
|
11
|
-
PKG_VERSION =
|
9
|
+
PKG_NAME = PublicSuffix::GEM
|
10
|
+
PKG_VERSION = PublicSuffix::VERSION
|
12
11
|
|
13
12
|
|
14
13
|
# Run test by default.
|
15
|
-
task :
|
14
|
+
task default: :test
|
16
15
|
|
17
16
|
|
18
17
|
spec = Gem::Specification.new do |s|
|
19
18
|
s.name = PKG_NAME
|
20
19
|
s.version = PKG_VERSION
|
21
|
-
s.summary = "Domain name parser based
|
20
|
+
s.summary = "Domain name parser based on the Public Suffix List."
|
22
21
|
s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
|
23
22
|
|
24
|
-
s.required_ruby_version = ">= 1.
|
23
|
+
s.required_ruby_version = ">= 1.9.3"
|
25
24
|
|
26
25
|
s.author = "Simone Carletti"
|
27
26
|
s.email = "weppos@weppos.net"
|
28
|
-
s.homepage = "http://
|
27
|
+
s.homepage = "http://simonecarletti.com/code/publicsuffix"
|
29
28
|
s.license = "MIT"
|
30
29
|
|
31
30
|
s.files = `git ls-files`.split("\n")
|
@@ -51,15 +50,15 @@ task :gemspec do
|
|
51
50
|
end
|
52
51
|
|
53
52
|
desc "Remove any temporary products, including gemspec"
|
54
|
-
task :
|
53
|
+
task clean: [:clobber] do
|
55
54
|
rm "#{spec.name}.gemspec" if File.file?("#{spec.name}.gemspec")
|
56
55
|
end
|
57
56
|
|
58
57
|
desc "Remove any generated file"
|
59
|
-
task :
|
58
|
+
task clobber: [:clobber_package]
|
60
59
|
|
61
60
|
desc "Package the library and generates the gemspec"
|
62
|
-
task :
|
61
|
+
task package: [:gemspec]
|
63
62
|
|
64
63
|
|
65
64
|
require 'rake/testtask'
|
@@ -85,7 +84,7 @@ namespace :yardoc do
|
|
85
84
|
end
|
86
85
|
end
|
87
86
|
|
88
|
-
task :
|
87
|
+
task clobber: "yardoc:clobber"
|
89
88
|
|
90
89
|
|
91
90
|
desc "Open an irb session preloaded with this library"
|
@@ -102,7 +101,7 @@ task :upddef do
|
|
102
101
|
|
103
102
|
DEFINITION_URL = "http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1"
|
104
103
|
|
105
|
-
File.open("lib/
|
104
|
+
File.open("lib/definitions.txt", "w+") do |f|
|
106
105
|
response = Net::HTTP.get_response(URI.parse(DEFINITION_URL))
|
107
106
|
f.write(response.body)
|
108
107
|
end
|
@@ -188,6 +188,7 @@ tur.ar
|
|
188
188
|
|
189
189
|
// arpa : http://en.wikipedia.org/wiki/.arpa
|
190
190
|
// Confirmed by registry <iana-questions@icann.org> 2008-06-18
|
191
|
+
arpa
|
191
192
|
e164.arpa
|
192
193
|
in-addr.arpa
|
193
194
|
ip6.arpa
|
@@ -212,6 +213,7 @@ or.at
|
|
212
213
|
|
213
214
|
// au : http://en.wikipedia.org/wiki/.au
|
214
215
|
// http://www.auda.org.au/
|
216
|
+
au
|
215
217
|
// 2LDs
|
216
218
|
com.au
|
217
219
|
net.au
|
@@ -490,6 +492,7 @@ org.bt
|
|
490
492
|
|
491
493
|
// bv : No registrations at this time.
|
492
494
|
// Submitted by registry <jarle@uninett.no> 2006-06-16
|
495
|
+
bv
|
493
496
|
|
494
497
|
// bw : http://en.wikipedia.org/wiki/.bw
|
495
498
|
// http://www.gobin.info/domainname/bw.doc
|
@@ -868,6 +871,7 @@ ga
|
|
868
871
|
|
869
872
|
// gb : This registry is effectively dormant
|
870
873
|
// Submitted by registry <Damien.Shaw@ja.net> 2008-06-12
|
874
|
+
gb
|
871
875
|
|
872
876
|
// gd : http://en.wikipedia.org/wiki/.gd
|
873
877
|
gd
|
@@ -885,13 +889,12 @@ pvt.ge
|
|
885
889
|
// gf : http://en.wikipedia.org/wiki/.gf
|
886
890
|
gf
|
887
891
|
|
888
|
-
// gg : http://www.channelisles.net/
|
892
|
+
// gg : http://www.channelisles.net/register-domains/
|
893
|
+
// Confirmed by registry <nigel@channelisles.net> 2013-11-28
|
889
894
|
gg
|
890
895
|
co.gg
|
891
|
-
org.gg
|
892
896
|
net.gg
|
893
|
-
|
894
|
-
gov.gg
|
897
|
+
org.gg
|
895
898
|
|
896
899
|
// gh : http://en.wikipedia.org/wiki/.gh
|
897
900
|
// see also: http://www.nic.gh/reg_now.php
|
@@ -922,6 +925,7 @@ gm
|
|
922
925
|
|
923
926
|
// gn : http://psg.com/dns/gn/gn.txt
|
924
927
|
// Submitted by registry <randy@psg.com> 2008-06-17
|
928
|
+
gn
|
925
929
|
ac.gn
|
926
930
|
com.gn
|
927
931
|
edu.gn
|
@@ -1462,13 +1466,12 @@ vi.it
|
|
1462
1466
|
viterbo.it
|
1463
1467
|
vt.it
|
1464
1468
|
|
1465
|
-
// je : http://www.channelisles.net/
|
1469
|
+
// je : http://www.channelisles.net/register-domains/
|
1470
|
+
// Confirmed by registry <nigel@channelisles.net> 2013-11-28
|
1466
1471
|
je
|
1467
1472
|
co.je
|
1468
|
-
org.je
|
1469
1473
|
net.je
|
1470
|
-
|
1471
|
-
gov.je
|
1474
|
+
org.je
|
1472
1475
|
|
1473
1476
|
// jm : http://www.com.jm/register.html
|
1474
1477
|
*.jm
|
@@ -3303,6 +3306,7 @@ edu.kn
|
|
3303
3306
|
gov.kn
|
3304
3307
|
|
3305
3308
|
// kp : http://www.kcce.kp/en_index.php
|
3309
|
+
kp
|
3306
3310
|
com.kp
|
3307
3311
|
edu.kp
|
3308
3312
|
gov.kp
|
@@ -3380,6 +3384,7 @@ org.la
|
|
3380
3384
|
|
3381
3385
|
// lb : http://en.wikipedia.org/wiki/.lb
|
3382
3386
|
// Submitted by registry <randy@psg.com> 2008-06-17
|
3387
|
+
lb
|
3383
3388
|
com.lb
|
3384
3389
|
edu.lb
|
3385
3390
|
gov.lb
|
@@ -3418,6 +3423,7 @@ hotel.lk
|
|
3418
3423
|
|
3419
3424
|
// lr : http://psg.com/dns/lr/lr.txt
|
3420
3425
|
// Submitted by registry <randy@psg.com> 2008-06-17
|
3426
|
+
lr
|
3421
3427
|
com.lr
|
3422
3428
|
edu.lr
|
3423
3429
|
gov.lr
|
@@ -5695,6 +5701,7 @@ si
|
|
5695
5701
|
|
5696
5702
|
// sj : No registrations at this time.
|
5697
5703
|
// Submitted by registry <jarle@uninett.no> 2008-06-16
|
5704
|
+
sj
|
5698
5705
|
|
5699
5706
|
// sk : http://en.wikipedia.org/wiki/.sk
|
5700
5707
|
// list of 2nd level domains ?
|
@@ -5877,6 +5884,10 @@ org.to
|
|
5877
5884
|
edu.to
|
5878
5885
|
mil.to
|
5879
5886
|
|
5887
|
+
// tp : No registrations at this time.
|
5888
|
+
// Submitted by Ryan Sleevi <ryan.sleevi@gmail.com> 2014-01-03
|
5889
|
+
tp
|
5890
|
+
|
5880
5891
|
// tr : http://en.wikipedia.org/wiki/.tr
|
5881
5892
|
*.tr
|
5882
5893
|
!nic.tr
|
@@ -5930,6 +5941,7 @@ club.tw
|
|
5930
5941
|
|
5931
5942
|
// tz : http://www.tznic.or.tz/index.php/domains
|
5932
5943
|
// Confirmed by registry <manager@tznic.or.tz> 2013-01-22
|
5944
|
+
tz
|
5933
5945
|
ac.tz
|
5934
5946
|
co.tz
|
5935
5947
|
go.tz
|
@@ -6178,7 +6190,7 @@ k12.vt.us
|
|
6178
6190
|
k12.va.us
|
6179
6191
|
k12.wa.us
|
6180
6192
|
k12.wi.us
|
6181
|
-
k12.wv.us
|
6193
|
+
// k12.wv.us Bug 947705 - Removed at request of Verne Britton <verne@wvnet.edu>
|
6182
6194
|
k12.wy.us
|
6183
6195
|
|
6184
6196
|
cc.ak.us
|
@@ -6472,6 +6484,9 @@ yt
|
|
6472
6484
|
// xn--3e0b707e ("Republic of Korea" Hangul) : KR
|
6473
6485
|
한국
|
6474
6486
|
|
6487
|
+
// xn--80ao21a ("Kaz" Kazakh) : KZ
|
6488
|
+
қаз
|
6489
|
+
|
6475
6490
|
// xn--fzc2c9e2c ("Lanka" Sinhalese-Sinhala) : LK
|
6476
6491
|
// http://nic.lk
|
6477
6492
|
ලංකා
|
@@ -6483,6 +6498,12 @@ yt
|
|
6483
6498
|
// xn--mgbc0a9azcg ("Morocco / al-Maghrib" Arabic) : MA
|
6484
6499
|
المغرب
|
6485
6500
|
|
6501
|
+
// xn--l1acc ("mon" Mongolian) : MN
|
6502
|
+
мон
|
6503
|
+
|
6504
|
+
// xn--mgbx4cd0ab ("Malaysia" Malay) : MY
|
6505
|
+
مليسيا
|
6506
|
+
|
6486
6507
|
// xn--mgb9awbf ("Oman" Arabic) : OM
|
6487
6508
|
عمان
|
6488
6509
|
|
@@ -6745,36 +6766,6 @@ otsuka
|
|
6745
6766
|
// xn--fiQ64b : 2013-10-14 CITIC Group Corporation
|
6746
6767
|
中信
|
6747
6768
|
|
6748
|
-
// wed : 2013-10-02 Atgron, Inc.
|
6749
|
-
wed
|
6750
|
-
|
6751
|
-
// pink : 2013-10-02 Afilias Limited
|
6752
|
-
pink
|
6753
|
-
|
6754
|
-
// ruhr : 2013-10-02 regiodot GmbH & Co. KG
|
6755
|
-
ruhr
|
6756
|
-
|
6757
|
-
// buzz : 2013-10-03 DOTSTRATEGY CO.
|
6758
|
-
buzz
|
6759
|
-
|
6760
|
-
// careers : 2013-10-03 Wild Corner, LLC
|
6761
|
-
careers
|
6762
|
-
|
6763
|
-
// shoes : 2013-10-03 Binky Galley, LLC
|
6764
|
-
shoes
|
6765
|
-
|
6766
|
-
// xn--4gbrim : 2013-10-07 Suhub Electronic Establishment
|
6767
|
-
موقع
|
6768
|
-
|
6769
|
-
// career : 2013-10-09 dotCareer, LLC
|
6770
|
-
career
|
6771
|
-
|
6772
|
-
// otsuka : 2013-10-11 Otsuka Holdings Co. Ltd.
|
6773
|
-
otsuka
|
6774
|
-
|
6775
|
-
// xn--fiQ64b : 2013-10-14 CITIC Group Corporation
|
6776
|
-
中信
|
6777
|
-
|
6778
6769
|
// gift : 2013-10-18 Uniregistry Corp.
|
6779
6770
|
gift
|
6780
6771
|
|
@@ -6952,6 +6943,381 @@ TOKYO
|
|
6952
6943
|
// moe : 2013-11-13 Interlink Co., Ltd.
|
6953
6944
|
moe
|
6954
6945
|
|
6946
|
+
// guitars : 2013-11-14 Uniregistry, Corp.
|
6947
|
+
guitars
|
6948
|
+
|
6949
|
+
// bargains : 2013-11-14 Half Hallow, LLC
|
6950
|
+
bargains
|
6951
|
+
|
6952
|
+
// xn--nqv7fs00ema : 2013-11-14 Public Interest Registry
|
6953
|
+
组织机构
|
6954
|
+
|
6955
|
+
// desi : 2013-11-14 Desi Networks LLC
|
6956
|
+
desi
|
6957
|
+
|
6958
|
+
// cool : 2013-11-14 Koko Lake, LLC
|
6959
|
+
cool
|
6960
|
+
|
6961
|
+
// boutique : 2013-11-14 Over Galley, LLC
|
6962
|
+
boutique
|
6963
|
+
|
6964
|
+
// pics : 2013-11-14 Uniregistry, Corp.
|
6965
|
+
pics
|
6966
|
+
|
6967
|
+
// xn--c1avg : 2013-11-14 Public Interest Registry
|
6968
|
+
орг
|
6969
|
+
|
6970
|
+
// xn--55qx5d : 2013-11-14 Computer Network Information Center of Chinese Academy of Sciences (China Internet Network Information Center)
|
6971
|
+
公司
|
6972
|
+
|
6973
|
+
// xn--io0a7i : 2013-11-14 Computer Network Information Center of Chinese Academy of Sciences (China Internet Network Information Center)
|
6974
|
+
网络
|
6975
|
+
|
6976
|
+
// cheap : 2013-11-14 Sand Cover, LLC
|
6977
|
+
cheap
|
6978
|
+
|
6979
|
+
// xn--xhq521b : 2013-11-14 Guangzhou YU Wei Information Technology Co., Ltd.
|
6980
|
+
广东
|
6981
|
+
|
6982
|
+
// photo : 2013-11-14 Uniregistry, Corp.
|
6983
|
+
photo
|
6984
|
+
|
6985
|
+
// network : 2013-11-14 Trixy Manor, LLC
|
6986
|
+
network
|
6987
|
+
|
6988
|
+
// zone : 2013-11-14 Outer Falls, LLC
|
6989
|
+
zone
|
6990
|
+
|
6991
|
+
// xn--nqv7f : 2013-11-14 Public Interest Registry
|
6992
|
+
机构
|
6993
|
+
|
6994
|
+
// link : 2013-11-14 Uniregistry, Corp.
|
6995
|
+
link
|
6996
|
+
|
6997
|
+
// QPON : 2013-11-14 dotCOOL, Inc.
|
6998
|
+
qpon
|
6999
|
+
|
7000
|
+
// xn--i1b6b1a6a2e : 2013-11-14 Public Interest Registry
|
7001
|
+
संगठन
|
7002
|
+
|
7003
|
+
// agency : 2013-11-14 Steel Falls, LLC
|
7004
|
+
agency
|
7005
|
+
|
7006
|
+
// tienda : 2013-11-14 Victor Manor, LLC
|
7007
|
+
tienda
|
7008
|
+
|
7009
|
+
// works : 2013-11-14 Little Dynamite, LLC
|
7010
|
+
works
|
7011
|
+
|
7012
|
+
// london : 2013-11-14 Dot London Domains Limited
|
7013
|
+
london
|
7014
|
+
|
7015
|
+
// watch : 2013-11-14 Sand Shadow, LLC
|
7016
|
+
watch
|
7017
|
+
|
7018
|
+
// rocks : 2013-11-14 Ruby Moon, LLC
|
7019
|
+
rocks
|
7020
|
+
|
7021
|
+
// SHIKSHA : 2013-11-14 Afilias Limited
|
7022
|
+
shiksha
|
7023
|
+
|
7024
|
+
// xn--d1acj3b : 2013-11-21 The Foundation for Network Initiatives “The Smart Internet”
|
7025
|
+
дети
|
7026
|
+
|
7027
|
+
// budapest : 2013-11-21 Top Level Domain Holdings Limited
|
7028
|
+
budapest
|
7029
|
+
|
7030
|
+
// nrw : 2013-11-21 Minds + Machines GmbH
|
7031
|
+
nrw
|
7032
|
+
|
7033
|
+
// VOTE : 2013-11-21 Monolith Registry LLC
|
7034
|
+
vote
|
7035
|
+
|
7036
|
+
// fishing : 2013-11-21 Top Level Domain Holdings Limited
|
7037
|
+
fishing
|
7038
|
+
|
7039
|
+
// expert : 2013-11-21 Magic Pass, LLC
|
7040
|
+
expert
|
7041
|
+
|
7042
|
+
// horse : 2013-11-21 Top Level Domain Holdings Limited
|
7043
|
+
horse
|
7044
|
+
|
7045
|
+
// christmas : 2013-11-21 Uniregistry, Corp.
|
7046
|
+
christmas
|
7047
|
+
|
7048
|
+
// cooking : 2013-11-21 Top Level Domain Holdings Limited
|
7049
|
+
cooking
|
7050
|
+
|
7051
|
+
// xn--czru2d : 2013-11-21 Zodiac Capricorn Limited
|
7052
|
+
商城
|
7053
|
+
|
7054
|
+
// casa : 2013-11-21 Top Level Domain Holdings Limited
|
7055
|
+
casa
|
7056
|
+
|
7057
|
+
// rich : 2013-11-21 I-REGISTRY Ltd., Niederlassung Deutschland
|
7058
|
+
rich
|
7059
|
+
|
7060
|
+
// VOTO : 2013-11-21 Monolith Registry LLC
|
7061
|
+
voto
|
7062
|
+
|
7063
|
+
// tools : 2013-11-21 Pioneer North, LLC
|
7064
|
+
tools
|
7065
|
+
|
7066
|
+
// xn--45q11c : 2013-11-21 Zodiac Scorpio Limited
|
7067
|
+
八卦
|
7068
|
+
|
7069
|
+
// praxi : 2013-12-05 Praxi S.p.A.
|
7070
|
+
praxi
|
7071
|
+
|
7072
|
+
// events : 2013-12-05 Pioneer Maple, LLC
|
7073
|
+
events
|
7074
|
+
|
7075
|
+
// flights : 2013-12-05 Fox Station, LLC
|
7076
|
+
flights
|
7077
|
+
|
7078
|
+
// report : 2013-12-05 Binky Glen, LLC
|
7079
|
+
report
|
7080
|
+
|
7081
|
+
// partners : 2013-12-05 Magic Glen, LLC
|
7082
|
+
partners
|
7083
|
+
|
7084
|
+
// neustar : 2013-12-05 NeuStar, Inc.
|
7085
|
+
neustar
|
7086
|
+
|
7087
|
+
// rentals : 2013-12-05 Big Hollow,LLC
|
7088
|
+
rentals
|
7089
|
+
|
7090
|
+
// catering : 2013-12-05 New Falls. LLC
|
7091
|
+
catering
|
7092
|
+
|
7093
|
+
// community : 2013-12-05 Fox Orchard, LLC
|
7094
|
+
community
|
7095
|
+
|
7096
|
+
// maison : 2013-12-05 Victor Frostbite, LLC
|
7097
|
+
maison
|
7098
|
+
|
7099
|
+
// parts : 2013-12-05 Sea Goodbye, LLC
|
7100
|
+
parts
|
7101
|
+
|
7102
|
+
// cleaning : 2013-12-05 Fox Shadow, LLC
|
7103
|
+
cleaning
|
7104
|
+
|
7105
|
+
// okinawa : 2013-12-05 BusinessRalliart inc.
|
7106
|
+
okinawa
|
7107
|
+
|
7108
|
+
// foundation : 2013-12-05 John Dale, LLC
|
7109
|
+
foundation
|
7110
|
+
|
7111
|
+
// properties : 2013-12-05 Big Pass, LLC
|
7112
|
+
properties
|
7113
|
+
|
7114
|
+
// vacations : 2013-12-05 Atomic Tigers, LLC
|
7115
|
+
vacations
|
7116
|
+
|
7117
|
+
// productions : 2013-12-05 Magic Birch, LLC
|
7118
|
+
productions
|
7119
|
+
|
7120
|
+
// industries : 2013-12-05 Outer House, LLC
|
7121
|
+
industries
|
7122
|
+
|
7123
|
+
// haus : 2013-12-05 Pixie Edge, LLC
|
7124
|
+
haus
|
7125
|
+
|
7126
|
+
// vision : 2013-12-05 Koko Station, LLC
|
7127
|
+
vision
|
7128
|
+
|
7129
|
+
// mormon : 2013-12-05 IRI Domain Management, LLC (""Applicant"")
|
7130
|
+
mormon
|
7131
|
+
|
7132
|
+
// cards : 2013-12-05 Foggy Hollow, LLC
|
7133
|
+
cards
|
7134
|
+
|
7135
|
+
// ink : 2013-12-05 Top Level Design, LLC
|
7136
|
+
ink
|
7137
|
+
|
7138
|
+
// villas : 2013-12-05 New Sky, LLC
|
7139
|
+
villas
|
7140
|
+
|
7141
|
+
// consulting : 2013-12-05 Pixie Station, LLC
|
7142
|
+
consulting
|
7143
|
+
|
7144
|
+
// cruises : 2013-12-05 Spring Way, LLC
|
7145
|
+
cruises
|
7146
|
+
|
7147
|
+
// krd : 2013-12-05 KRG Department of Information Technology
|
7148
|
+
krd
|
7149
|
+
|
7150
|
+
// xyz : 2013-12-05 XYZ.COM LLC
|
7151
|
+
xyz
|
7152
|
+
|
7153
|
+
// dating : 2013-12-05 Pine Fest, LLC
|
7154
|
+
dating
|
7155
|
+
|
7156
|
+
// exposed : 2013-12-05 Victor Beach, LLC
|
7157
|
+
exposed
|
7158
|
+
|
7159
|
+
// condos : 2013-12-05 Pine House, LLC
|
7160
|
+
condos
|
7161
|
+
|
7162
|
+
// eus : 2013-12-12 Puntueus Fundazioa
|
7163
|
+
eus
|
7164
|
+
|
7165
|
+
// Caravan : 2013-12-12 Caravan International, Inc.
|
7166
|
+
caravan
|
7167
|
+
|
7168
|
+
// actor : 2013-12-12 United TLD Holdco Ltd.
|
7169
|
+
actor
|
7170
|
+
|
7171
|
+
// saarland : 2013-12-12 dotSaarland GmbH
|
7172
|
+
saarland
|
7173
|
+
|
7174
|
+
// yokohama : 2013-12-12 GMO Registry, Inc.
|
7175
|
+
yokohama
|
7176
|
+
|
7177
|
+
// pub : 2013-12-12 United TLD Holdco Ltd.
|
7178
|
+
pub
|
7179
|
+
|
7180
|
+
// xn--p1acf : 2013-12-12 Rusnames Limited
|
7181
|
+
рус
|
7182
|
+
|
7183
|
+
// ren : 2013-12-12 Beijing Qianxiang Wangjing Technology Development Co., Ltd.
|
7184
|
+
ren
|
7185
|
+
|
7186
|
+
// fish : 2013-12-12 Fox Woods, LLC
|
7187
|
+
fish
|
7188
|
+
|
7189
|
+
// BAR : 2013-12-12 Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable
|
7190
|
+
bar
|
7191
|
+
|
7192
|
+
// DNP : 2013-12-13 Dai Nippon Printing Co., Ltd.
|
7193
|
+
dnp
|
7194
|
+
|
7195
|
+
// bid : 2013-12-19 dot Bid Limited
|
7196
|
+
bid
|
7197
|
+
|
7198
|
+
// supply : 2013-12-19 Half Falls, LLC
|
7199
|
+
supply
|
7200
|
+
|
7201
|
+
// Miami : 2013-12-19 Top Level Domain Holdings Limited
|
7202
|
+
miami
|
7203
|
+
|
7204
|
+
// supplies : 2013-12-19 Atomic Fields, LLC
|
7205
|
+
supplies
|
7206
|
+
|
7207
|
+
// quebec : 2013-12-19 PointQuébec Inc
|
7208
|
+
quebec
|
7209
|
+
|
7210
|
+
// MOSCOW : 2013-12-19 Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID)
|
7211
|
+
moscow
|
7212
|
+
|
7213
|
+
// globo : 2013-12-19 Globo Comunicação e Participações S.A
|
7214
|
+
globo
|
7215
|
+
|
7216
|
+
// AXA : 2013-12-19 AXA SA
|
7217
|
+
axa
|
7218
|
+
|
7219
|
+
// xn--80adxhks : 2013-12-19 Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID)
|
7220
|
+
москва
|
7221
|
+
|
7222
|
+
// xn--czrs0t : 2013-12-19 Wild Island, LLC
|
7223
|
+
商店
|
7224
|
+
|
7225
|
+
// vodka : 2013-12-19 Top Level Domain Holdings Limited
|
7226
|
+
vodka
|
7227
|
+
|
7228
|
+
// REST : 2013-12-19 Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable
|
7229
|
+
rest
|
7230
|
+
|
7231
|
+
// frogans : 2013-12-19 OP3FT
|
7232
|
+
frogans
|
7233
|
+
|
7234
|
+
// WTC : 2013-12-19 World Trade Centers Association, Inc.
|
7235
|
+
wtc
|
7236
|
+
|
7237
|
+
// rodeo : 2013-12-19 Top Level Domain Holdings Limited
|
7238
|
+
rodeo
|
7239
|
+
|
7240
|
+
// sohu : 2013-12-19 Sohu.com Limited
|
7241
|
+
sohu
|
7242
|
+
|
7243
|
+
// BEST : 2013-12-19 BestTLD Pty Ltd
|
7244
|
+
best
|
7245
|
+
|
7246
|
+
// country : 2013-12-19 Top Level Domain Holdings Limited
|
7247
|
+
country
|
7248
|
+
|
7249
|
+
// KRED : 2013-12-19 KredTLD Pty Ltd
|
7250
|
+
kred
|
7251
|
+
|
7252
|
+
// feedback : 2013-12-19 Top Level Spectrum, Inc.
|
7253
|
+
feedback
|
7254
|
+
|
7255
|
+
// work : 2013-12-19 Top Level Domain Holdings Limited
|
7256
|
+
work
|
7257
|
+
|
7258
|
+
// luxe : 2014-01-09 Top Level Domain Holdings Limited
|
7259
|
+
luxe
|
7260
|
+
|
7261
|
+
// ryukyu : 2014-01-09 BusinessRalliart inc.
|
7262
|
+
ryukyu
|
7263
|
+
|
7264
|
+
// autos : 2014-01-09 DERAutos, LLC
|
7265
|
+
autos
|
7266
|
+
|
7267
|
+
// homes : 2014-01-09 DERHomes, LLC
|
7268
|
+
homes
|
7269
|
+
|
7270
|
+
// jetzt : 2014-01-09 New TLD Company AB
|
7271
|
+
jetzt
|
7272
|
+
|
7273
|
+
// yachts : 2014-01-09 DERYachts, LLC
|
7274
|
+
yachts
|
7275
|
+
|
7276
|
+
// motorcycles : 2014-01-09 DERMotorcycles, LLC
|
7277
|
+
motorcycles
|
7278
|
+
|
7279
|
+
// mini : 2014-01-09 Bayerische Motoren Werke Aktiengesellschaft
|
7280
|
+
mini
|
7281
|
+
|
7282
|
+
// ggee : 2014-01-09 GMO Internet, Inc.
|
7283
|
+
ggee
|
7284
|
+
|
7285
|
+
// beer : 2014-01-09 Top Level Domain Holdings Limited
|
7286
|
+
beer
|
7287
|
+
|
7288
|
+
// xn--1qqw23a : 2014-01-13 Guangzhou YU Wei Information Technology Co., Ltd.
|
7289
|
+
佛山
|
7290
|
+
|
7291
|
+
// college : 2014-01-16 XYZ.COM LLC
|
7292
|
+
college
|
7293
|
+
|
7294
|
+
// ovh : 2014-01-16 OVH SAS
|
7295
|
+
ovh
|
7296
|
+
|
7297
|
+
// meet : 2014-01-16 Afilias Limited
|
7298
|
+
meet
|
7299
|
+
|
7300
|
+
// xn--ses554g : 2014-01-16 HU YI GLOBAL INFORMATION RESOURCES (HOLDING) COMPANY. HONGKONG LIMITED
|
7301
|
+
网址
|
7302
|
+
|
7303
|
+
// gop : 2014-01-16 Republican State Leadership Committee, Inc.
|
7304
|
+
gop
|
7305
|
+
|
7306
|
+
// blackfriday : 2014-01-16 Uniregistry, Corp.
|
7307
|
+
blackfriday
|
7308
|
+
|
7309
|
+
// lacaixa : 2014-01-16 CAIXA D'ESTALVIS I PENSIONS DE BARCELONA
|
7310
|
+
lacaixa
|
7311
|
+
|
7312
|
+
// xn--czr694b : 2014-01-16 HU YI GLOBAL INFORMATION RESOURCES(HOLDING) COMPANY.HONGKONG LIMITED
|
7313
|
+
商标
|
7314
|
+
|
7315
|
+
// vegas : 2014-01-16 Dot Vegas, Inc.
|
7316
|
+
vegas
|
7317
|
+
|
7318
|
+
// black : 2014-01-16 Afilias Limited
|
7319
|
+
black
|
7320
|
+
|
6955
7321
|
|
6956
7322
|
// ===END ICANN DOMAINS===
|
6957
7323
|
// ===BEGIN PRIVATE DOMAINS===
|
@@ -7406,6 +7772,7 @@ blogspot.tw
|
|
7406
7772
|
codespot.com
|
7407
7773
|
googleapis.com
|
7408
7774
|
googlecode.com
|
7775
|
+
withgoogle.com
|
7409
7776
|
|
7410
7777
|
// Heroku : https://www.heroku.com/
|
7411
7778
|
// Submitted by Tom Maher <tmaher@heroku.com> 2013-05-02
|
@@ -7423,6 +7790,12 @@ info.at
|
|
7423
7790
|
// Michau Enterprises Limited : http://www.co.pl/
|
7424
7791
|
co.pl
|
7425
7792
|
|
7793
|
+
// Microsoft : http://microsoft.com
|
7794
|
+
// Submitted by Barry Dorrans <bdorrans@microsoft.com> 2014-01-24
|
7795
|
+
azurewebsites.net
|
7796
|
+
azure-mobile.net
|
7797
|
+
cloudapp.net
|
7798
|
+
|
7426
7799
|
// NYC.mn : http://www.information.nyc.mn
|
7427
7800
|
// Submitted by Matthew Brown <mattbrown@nyc.mn> 2013-03-11
|
7428
7801
|
nyc.mn
|
data/lib/public_suffix.rb
CHANGED
data/lib/public_suffix/domain.rb
CHANGED
data/lib/public_suffix/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# Domain name parser based on the Public Suffix List.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
@@ -24,8 +24,6 @@ module PublicSuffix
|
|
24
24
|
# PublicSuffix.parse("http://www.nic.it")
|
25
25
|
# # => PublicSuffix::DomainInvalid
|
26
26
|
#
|
27
|
-
# @since 0.6.0
|
28
|
-
#
|
29
27
|
class DomainInvalid < Error
|
30
28
|
end
|
31
29
|
|
@@ -42,8 +40,6 @@ module PublicSuffix
|
|
42
40
|
# PublicSuffix.parse("www.nic.do")
|
43
41
|
# # => PublicSuffix::Domain
|
44
42
|
#
|
45
|
-
# @since 0.6.0
|
46
|
-
#
|
47
43
|
class DomainNotAllowed < DomainInvalid
|
48
44
|
end
|
49
45
|
|
data/lib/public_suffix/list.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# Domain name parser based on the Public Suffix List.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
@@ -107,7 +107,7 @@ module PublicSuffix
|
|
107
107
|
#
|
108
108
|
# @return [File]
|
109
109
|
def self.default_definition
|
110
|
-
@default_definition || File.new(File.join(File.dirname(__FILE__), "definitions.txt"), "r:utf-8")
|
110
|
+
@default_definition || File.new(File.join(File.dirname(__FILE__), "..", "definitions.txt"), "r:utf-8")
|
111
111
|
end
|
112
112
|
|
113
113
|
# Parse given +input+ treating the content as Public Suffix List.
|
data/lib/public_suffix/rule.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# Domain name parser based on the Public Suffix List.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
@@ -11,8 +11,8 @@ module PublicSuffix
|
|
11
11
|
|
12
12
|
module Version
|
13
13
|
MAJOR = 1
|
14
|
-
MINOR =
|
15
|
-
PATCH =
|
14
|
+
MINOR = 4
|
15
|
+
PATCH = 0
|
16
16
|
BUILD = nil
|
17
17
|
|
18
18
|
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
|
data/public_suffix.gemspec
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: public_suffix 1.3.2 ruby lib
|
3
2
|
|
4
3
|
Gem::Specification.new do |s|
|
5
4
|
s.name = "public_suffix"
|
6
|
-
s.version = "1.3.
|
5
|
+
s.version = "1.3.3"
|
7
6
|
|
8
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
8
|
s.authors = ["Simone Carletti"]
|
10
|
-
s.date = "
|
9
|
+
s.date = "2014-02-01"
|
11
10
|
s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
|
12
11
|
s.email = "weppos@weppos.net"
|
13
|
-
s.files = [".gemtest", ".gitignore", ".travis.yml", ".yardopts", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/
|
14
|
-
s.homepage = "http://
|
12
|
+
s.files = [".gemtest", ".gitignore", ".travis.yml", ".yardopts", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/definitions.txt", "lib/public_suffix.rb", "lib/public_suffix/domain.rb", "lib/public_suffix/errors.rb", "lib/public_suffix/list.rb", "lib/public_suffix/rule.rb", "lib/public_suffix/version.rb", "public_suffix.gemspec", "test/acceptance_test.rb", "test/test_helper.rb", "test/unit/domain_test.rb", "test/unit/errors_test.rb", "test/unit/list_test.rb", "test/unit/public_suffix_test.rb", "test/unit/rule_test.rb"]
|
13
|
+
s.homepage = "http://simonecarletti.com/code/publicsuffix"
|
15
14
|
s.licenses = ["MIT"]
|
16
15
|
s.require_paths = ["lib"]
|
17
|
-
s.required_ruby_version = Gem::Requirement.new(">= 1.
|
18
|
-
s.rubygems_version = "2.
|
19
|
-
s.summary = "Domain name parser based
|
16
|
+
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
|
17
|
+
s.rubygems_version = "2.0.14"
|
18
|
+
s.summary = "Domain name parser based on the Public Suffix List."
|
20
19
|
s.test_files = ["test/acceptance_test.rb", "test/test_helper.rb", "test/unit/domain_test.rb", "test/unit/errors_test.rb", "test/unit/list_test.rb", "test/unit/public_suffix_test.rb", "test/unit/rule_test.rb"]
|
21
20
|
|
22
21
|
if s.respond_to? :specification_version then
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: public_suffix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -68,8 +68,8 @@ files:
|
|
68
68
|
- LICENSE.txt
|
69
69
|
- README.md
|
70
70
|
- Rakefile
|
71
|
+
- lib/definitions.txt
|
71
72
|
- lib/public_suffix.rb
|
72
|
-
- lib/public_suffix/definitions.txt
|
73
73
|
- lib/public_suffix/domain.rb
|
74
74
|
- lib/public_suffix/errors.rb
|
75
75
|
- lib/public_suffix/list.rb
|
@@ -83,7 +83,7 @@ files:
|
|
83
83
|
- test/unit/list_test.rb
|
84
84
|
- test/unit/public_suffix_test.rb
|
85
85
|
- test/unit/rule_test.rb
|
86
|
-
homepage: http://
|
86
|
+
homepage: http://simonecarletti.com/code/publicsuffix
|
87
87
|
licenses:
|
88
88
|
- MIT
|
89
89
|
metadata: {}
|
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements:
|
96
96
|
- - '>='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 1.
|
98
|
+
version: 1.9.3
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - '>='
|
@@ -103,10 +103,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.0.14
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
|
-
summary: Domain name parser based
|
109
|
+
summary: Domain name parser based on the Public Suffix List.
|
110
110
|
test_files:
|
111
111
|
- test/acceptance_test.rb
|
112
112
|
- test/test_helper.rb
|