public_suffix 3.1.1 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +12 -0
- data/.travis.yml +1 -7
- data/CHANGELOG.md +12 -0
- data/README.md +16 -16
- data/data/list.txt +60 -25
- data/lib/public_suffix/version.rb +1 -1
- data/public_suffix.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c833634f92938709935d0e9d84835711bca81f9d0686ad98d6906bf8d7b8df8
|
4
|
+
data.tar.gz: 1ffe584402aeb2e8739e64a4d36819989677806767e894ad86f91fa4dc1094ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1173525725822d8bcb3dc15fc94e3d6492063a7a04da5a0c3793cc6c00416643cdf27e4092157280999c133faa175c907c6ef00aa97503110a02f3ad7a4ec075
|
7
|
+
data.tar.gz: 0a6ca9384dd752c617aa74a5e59aa13ca460207863df2067f37cf039a40c8efaea509f10948328a029d19952951085d8e33ece3bbb7ed3f1ec0bdc3b0d2dbaae
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# These are supported funding model platforms
|
2
|
+
|
3
|
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4
|
+
patreon: # Replace with a single Patreon username
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
7
|
+
tidelift: "rubygems/public_suffix"
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
11
|
+
otechie: # Replace with a single Otechie username
|
12
|
+
custom: # Replace with a single custom sponsorship URL
|
data/.travis.yml
CHANGED
@@ -5,6 +5,7 @@ rvm:
|
|
5
5
|
- 2.4
|
6
6
|
- 2.5
|
7
7
|
- 2.6
|
8
|
+
- 2.7
|
8
9
|
- jruby-9.1.5.0
|
9
10
|
- ruby-head
|
10
11
|
|
@@ -15,13 +16,6 @@ cache:
|
|
15
16
|
- bundler
|
16
17
|
|
17
18
|
matrix:
|
18
|
-
include:
|
19
|
-
- rvm: 2.1
|
20
|
-
before_install:
|
21
|
-
- gem install bundler -v '< 2.0'
|
22
|
-
- rvm: 2.2
|
23
|
-
before_install:
|
24
|
-
- gem install bundler -v '< 2.0'
|
25
19
|
allow_failures:
|
26
20
|
- rvm: ruby-head
|
27
21
|
- rvm: jruby-9.1.5.0
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,23 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
3
|
|
4
|
+
#### Release 4.0.1
|
5
|
+
|
6
|
+
- CHANGED: Updated definitions.
|
7
|
+
|
8
|
+
|
9
|
+
#### Release 4.0.0
|
10
|
+
|
11
|
+
- CHANGED: Minimum Ruby version is 2.3
|
12
|
+
|
13
|
+
|
4
14
|
#### Release 3.1.1
|
5
15
|
|
6
16
|
- CHANGED: Updated definitions.
|
7
17
|
- CHANGED: Rolled back support for Ruby 2.3 (GH-161, GH-162)
|
8
18
|
|
19
|
+
IMPORTANT: 3.x is the latest version compatible with Ruby 2.1 and Ruby 2.2.
|
20
|
+
|
9
21
|
|
10
22
|
#### Release 3.1.0
|
11
23
|
|
data/README.md
CHANGED
@@ -3,13 +3,20 @@
|
|
3
3
|
<tt>PublicSuffix</tt> is a Ruby domain name parser based on the [Public Suffix List](https://publicsuffix.org/).
|
4
4
|
|
5
5
|
[![Build Status](https://travis-ci.org/weppos/publicsuffix-ruby.svg?branch=master)](https://travis-ci.org/weppos/publicsuffix-ruby)
|
6
|
+
[![Tidelift dependencies](https://tidelift.com/badges/github/weppos/publicsuffix-ruby)](https://tidelift.com/subscription/pkg/rubygems-public-suffix?utm_source=rubygems-public-suffix&utm_medium=referral&utm_campaign=readme)
|
6
7
|
|
7
8
|
|
8
|
-
##
|
9
|
+
## Links
|
9
10
|
|
10
|
-
-
|
11
|
+
- [Homepage](https://simonecarletti.com/code/publicsuffix-ruby)
|
12
|
+
- [Repository](https://github.com/weppos/publicsuffix-ruby)
|
13
|
+
- [API Documentation](https://rubydoc.info/gems/public_suffix)
|
14
|
+
- [Introducing the Public Suffix List library for Ruby](https://simonecarletti.com/blog/2010/06/public-suffix-list-library-for-ruby/)
|
15
|
+
|
16
|
+
|
17
|
+
## Requirements
|
11
18
|
|
12
|
-
For an older versions of Ruby use a previous release.
|
19
|
+
<tt>PublicSuffix</tt> requires **Ruby >= 2.3**. For an older versions of Ruby use a previous release.
|
13
20
|
|
14
21
|
|
15
22
|
## Installation
|
@@ -17,7 +24,7 @@ For an older versions of Ruby use a previous release.
|
|
17
24
|
You can install the gem manually:
|
18
25
|
|
19
26
|
```shell
|
20
|
-
|
27
|
+
gem install public_suffix
|
21
28
|
```
|
22
29
|
|
23
30
|
Or use Bundler and define it as a dependency in your `Gemfile`:
|
@@ -173,21 +180,14 @@ Not convinced yet? Check out [this real world example](https://stackoverflow.com
|
|
173
180
|
No. <tt>PublicSuffix</tt> comes with a bundled list. It does not make any HTTP requests to parse or validate a domain.
|
174
181
|
|
175
182
|
|
176
|
-
##
|
183
|
+
## Support
|
177
184
|
|
178
|
-
|
185
|
+
Library documentation is auto-generated from the [README](https://github.com/weppos/publicsuffix-ruby/blob/master/README.md) and the source code, and it's available at https://rubydoc.info/gems/public_suffix.
|
179
186
|
|
180
|
-
|
187
|
+
- The PublicSuffix bug tracker is here: https://github.com/weppos/publicsuffix-ruby/issues
|
188
|
+
- The PublicSuffix code repository is here: https://github.com/weppos/publicsuffix-ruby. Contributions are welcome! Please include tests and/or feature coverage for every patch, and create a topic branch for every separate change you make.
|
181
189
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
## More
|
186
|
-
|
187
|
-
- [Homepage](https://simonecarletti.com/code/publicsuffix-ruby)
|
188
|
-
- [Repository](https://github.com/weppos/publicsuffix-ruby)
|
189
|
-
- [API Documentation](http://rubydoc.info/gems/public_suffix)
|
190
|
-
- [Introducing the Public Suffix List library for Ruby](https://simonecarletti.com/blog/2010/06/public-suffix-list-library-for-ruby/)
|
190
|
+
[Consider subscribing to Tidelift which provides Enterprise support for this project](https://tidelift.com/subscription/pkg/rubygems-public-suffix?utm_source=rubygems-public-suffix&utm_medium=referral&utm_campaign=readme) as part of the Tidelift Subscription. Tidelift subscriptions also help the maintainers by funding the project, which in turn allows us to ship releases, bugfixes, and security updates more often.
|
191
191
|
|
192
192
|
|
193
193
|
## Changelog
|
data/data/list.txt
CHANGED
@@ -240,6 +240,8 @@ vic.au
|
|
240
240
|
wa.au
|
241
241
|
// 3LDs
|
242
242
|
act.edu.au
|
243
|
+
catholic.edu.au
|
244
|
+
eq.edu.au
|
243
245
|
nsw.edu.au
|
244
246
|
nt.edu.au
|
245
247
|
qld.edu.au
|
@@ -255,6 +257,9 @@ sa.gov.au
|
|
255
257
|
tas.gov.au
|
256
258
|
vic.gov.au
|
257
259
|
wa.gov.au
|
260
|
+
// 4LDs
|
261
|
+
education.tas.edu.au
|
262
|
+
schools.nsw.edu.au
|
258
263
|
|
259
264
|
// aw : https://en.wikipedia.org/wiki/.aw
|
260
265
|
aw
|
@@ -4334,8 +4339,6 @@ niepce.museum
|
|
4334
4339
|
norfolk.museum
|
4335
4340
|
north.museum
|
4336
4341
|
nrw.museum
|
4337
|
-
nuernberg.museum
|
4338
|
-
nuremberg.museum
|
4339
4342
|
nyc.museum
|
4340
4343
|
nyny.museum
|
4341
4344
|
oceanographic.museum
|
@@ -7012,7 +7015,7 @@ xxx
|
|
7012
7015
|
// ye : http://www.y.net.ye/services/domain_name.htm
|
7013
7016
|
*.ye
|
7014
7017
|
|
7015
|
-
// za :
|
7018
|
+
// za : https://www.zadna.org.za/content/page/domain-information/
|
7016
7019
|
ac.za
|
7017
7020
|
agric.za
|
7018
7021
|
alt.za
|
@@ -7024,6 +7027,7 @@ law.za
|
|
7024
7027
|
mil.za
|
7025
7028
|
net.za
|
7026
7029
|
ngo.za
|
7030
|
+
nic.za
|
7027
7031
|
nis.za
|
7028
7032
|
nom.za
|
7029
7033
|
org.za
|
@@ -7058,7 +7062,7 @@ org.zw
|
|
7058
7062
|
|
7059
7063
|
// newGTLDs
|
7060
7064
|
|
7061
|
-
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2019-
|
7065
|
+
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2019-08-08T16:16:58Z
|
7062
7066
|
// This list is auto-generated, don't edit it manually.
|
7063
7067
|
// aaa : 2015-02-26 American Automobile Association, Inc.
|
7064
7068
|
aaa
|
@@ -7423,9 +7427,6 @@ bms
|
|
7423
7427
|
// bmw : 2014-01-09 Bayerische Motoren Werke Aktiengesellschaft
|
7424
7428
|
bmw
|
7425
7429
|
|
7426
|
-
// bnl : 2014-07-24 Banca Nazionale del Lavoro
|
7427
|
-
bnl
|
7428
|
-
|
7429
7430
|
// bnpparibas : 2014-05-29 BNP Paribas
|
7430
7431
|
bnpparibas
|
7431
7432
|
|
@@ -7738,7 +7739,7 @@ community
|
|
7738
7739
|
// company : 2013-11-07 Binky Moon, LLC
|
7739
7740
|
company
|
7740
7741
|
|
7741
|
-
// compare : 2015-10-08
|
7742
|
+
// compare : 2015-10-08 Registry Services, LLC
|
7742
7743
|
compare
|
7743
7744
|
|
7744
7745
|
// computer : 2013-10-24 Binky Moon, LLC
|
@@ -8083,7 +8084,7 @@ family
|
|
8083
8084
|
// fan : 2014-03-06 Dog Beach, LLC
|
8084
8085
|
fan
|
8085
8086
|
|
8086
|
-
// fans : 2014-11-07
|
8087
|
+
// fans : 2014-11-07 ZDNS International Limited
|
8087
8088
|
fans
|
8088
8089
|
|
8089
8090
|
// farm : 2013-11-07 Binky Moon, LLC
|
@@ -8479,9 +8480,6 @@ homesense
|
|
8479
8480
|
// honda : 2014-12-18 Honda Motor Co., Ltd.
|
8480
8481
|
honda
|
8481
8482
|
|
8482
|
-
// honeywell : 2015-07-23 Honeywell GTLD LLC
|
8483
|
-
honeywell
|
8484
|
-
|
8485
8483
|
// horse : 2013-11-21 Minds + Machines Group Limited
|
8486
8484
|
horse
|
8487
8485
|
|
@@ -8599,9 +8597,6 @@ ipiranga
|
|
8599
8597
|
// irish : 2014-08-07 Binky Moon, LLC
|
8600
8598
|
irish
|
8601
8599
|
|
8602
|
-
// iselect : 2015-02-11 iSelect Ltd
|
8603
|
-
iselect
|
8604
|
-
|
8605
8600
|
// ismaili : 2015-08-06 Fondation Aga Khan (Aga Khan Foundation)
|
8606
8601
|
ismaili
|
8607
8602
|
|
@@ -9703,7 +9698,7 @@ security
|
|
9703
9698
|
// seek : 2014-12-04 Seek Limited
|
9704
9699
|
seek
|
9705
9700
|
|
9706
|
-
// select : 2015-10-08
|
9701
|
+
// select : 2015-10-08 Registry Services, LLC
|
9707
9702
|
select
|
9708
9703
|
|
9709
9704
|
// sener : 2014-10-24 Sener Ingeniería y Sistemas, S.A.
|
@@ -9862,9 +9857,6 @@ staples
|
|
9862
9857
|
// star : 2015-01-08 Star India Private Limited
|
9863
9858
|
star
|
9864
9859
|
|
9865
|
-
// starhub : 2015-02-05 StarHub Ltd
|
9866
|
-
starhub
|
9867
|
-
|
9868
9860
|
// statebank : 2015-03-12 STATE BANK OF INDIA
|
9869
9861
|
statebank
|
9870
9862
|
|
@@ -10815,6 +10807,12 @@ apigee.io
|
|
10815
10807
|
// Submitted by Thomas Orozco <thomas@aptible.com>
|
10816
10808
|
on-aptible.com
|
10817
10809
|
|
10810
|
+
// ASEINet : https://www.aseinet.com/
|
10811
|
+
// Submitted by Asei SEKIGUCHI <mail@aseinet.com>
|
10812
|
+
user.aseinet.ne.jp
|
10813
|
+
gv.vc
|
10814
|
+
d.gv.vc
|
10815
|
+
|
10818
10816
|
// Asociación Amigos de la Informática "Euskalamiga" : http://encounter.eus/
|
10819
10817
|
// Submitted by Hector Martin <marcan@euskalencounter.org>
|
10820
10818
|
user.party.eus
|
@@ -11013,6 +11011,7 @@ cloudera.site
|
|
11013
11011
|
|
11014
11012
|
// Cloudflare, Inc. : https://www.cloudflare.com/
|
11015
11013
|
// Submitted by Jake Riesterer <publicsuffixlist@cloudflare.com>
|
11014
|
+
trycloudflare.com
|
11016
11015
|
workers.dev
|
11017
11016
|
|
11018
11017
|
// Clovyr : https://clovyr.io
|
@@ -11894,6 +11893,11 @@ caa.li
|
|
11894
11893
|
ua.rs
|
11895
11894
|
conf.se
|
11896
11895
|
|
11896
|
+
// Handshake : https://handshake.org
|
11897
|
+
// Submitted by Mike Damm <md@md.vc>
|
11898
|
+
hs.zone
|
11899
|
+
hs.run
|
11900
|
+
|
11897
11901
|
// Hashbang : https://hashbang.sh
|
11898
11902
|
hashbang.sh
|
11899
11903
|
|
@@ -11924,11 +11928,13 @@ ravendb.run
|
|
11924
11928
|
bpl.biz
|
11925
11929
|
orx.biz
|
11926
11930
|
ng.city
|
11927
|
-
ng.ink
|
11928
11931
|
biz.gl
|
11932
|
+
ng.ink
|
11929
11933
|
col.ng
|
11934
|
+
firm.ng
|
11930
11935
|
gen.ng
|
11931
11936
|
ltd.ng
|
11937
|
+
ng.school
|
11932
11938
|
sch.so
|
11933
11939
|
|
11934
11940
|
// Häkkinen.fi
|
@@ -12007,6 +12013,7 @@ ipifony.net
|
|
12007
12013
|
// Submitted by Kim-Alexander Brodowski <kim.brodowski@iserv.eu>
|
12008
12014
|
mein-iserv.de
|
12009
12015
|
test-iserv.de
|
12016
|
+
iserv.dev
|
12010
12017
|
|
12011
12018
|
// I-O DATA DEVICE, INC. : http://www.iodata.com/
|
12012
12019
|
// Submitted by Yuji Minagawa <domains-admin@iodata.jp>
|
@@ -12063,6 +12070,10 @@ leadpages.co
|
|
12063
12070
|
lpages.co
|
12064
12071
|
lpusercontent.com
|
12065
12072
|
|
12073
|
+
// Lelux.fi : https://lelux.fi/
|
12074
|
+
// Submitted by Lelux Admin <publisuffix@lelux.site>
|
12075
|
+
lelux.site
|
12076
|
+
|
12066
12077
|
// Lifetime Hosting : https://Lifetime.Hosting/
|
12067
12078
|
// Submitted by Mike Fillator <support@lifetime.hosting>
|
12068
12079
|
co.business
|
@@ -12394,12 +12405,14 @@ nom.al
|
|
12394
12405
|
nym.by
|
12395
12406
|
nym.bz
|
12396
12407
|
nom.cl
|
12408
|
+
nym.ec
|
12397
12409
|
nom.gd
|
12398
12410
|
nom.ge
|
12399
12411
|
nom.gl
|
12400
12412
|
nym.gr
|
12401
12413
|
nom.gt
|
12402
12414
|
nym.gy
|
12415
|
+
nym.hk
|
12403
12416
|
nom.hn
|
12404
12417
|
nym.ie
|
12405
12418
|
nom.im
|
@@ -12539,6 +12552,14 @@ protonet.io
|
|
12539
12552
|
chirurgiens-dentistes-en-france.fr
|
12540
12553
|
byen.site
|
12541
12554
|
|
12555
|
+
// pubtls.org: https://www.pubtls.org
|
12556
|
+
// Submitted by Kor Nielsen <kor@pubtls.org>
|
12557
|
+
pubtls.org
|
12558
|
+
|
12559
|
+
// Qualifio : https://qualifio.com/
|
12560
|
+
// Submitted by Xavier De Cock <xdecock@gmail.com>
|
12561
|
+
qualifioapp.com
|
12562
|
+
|
12542
12563
|
// Redstar Consultants : https://www.redstarconsultants.com/
|
12543
12564
|
// Submitted by Jons Slemmer <jons@redstarconsultants.com>
|
12544
12565
|
instantcloud.cn
|
@@ -12643,11 +12664,6 @@ my-firewall.org
|
|
12643
12664
|
myfirewall.org
|
12644
12665
|
spdns.org
|
12645
12666
|
|
12646
|
-
// SensioLabs, SAS : https://sensiolabs.com/
|
12647
|
-
// Submitted by Fabien Potencier <fabien.potencier@sensiolabs.com>
|
12648
|
-
*.s5y.io
|
12649
|
-
*.sensiosite.cloud
|
12650
|
-
|
12651
12667
|
// Service Online LLC : http://drs.ua/
|
12652
12668
|
// Submitted by Serhii Bulakh <support@drs.ua>
|
12653
12669
|
biz.ua
|
@@ -12662,6 +12678,10 @@ shiftedit.io
|
|
12662
12678
|
// Submitted by Alex Bowers <alex@shopblocks.com>
|
12663
12679
|
myshopblocks.com
|
12664
12680
|
|
12681
|
+
// Shopit : https://www.shopitcommerce.com/
|
12682
|
+
// Submitted by Craig McMahon <craig@shopitcommerce.com>
|
12683
|
+
shopitsite.com
|
12684
|
+
|
12665
12685
|
// Siemens Mobility GmbH
|
12666
12686
|
// Submitted by Oliver Graebner <security@mo-siemens.io>
|
12667
12687
|
mo-siemens.io
|
@@ -12733,6 +12753,11 @@ temp-dns.com
|
|
12733
12753
|
applicationcloud.io
|
12734
12754
|
scapp.io
|
12735
12755
|
|
12756
|
+
// Symfony, SAS : https://symfony.com/
|
12757
|
+
// Submitted by Fabien Potencier <fabien@symfony.com>
|
12758
|
+
*.s5y.io
|
12759
|
+
*.sensiosite.cloud
|
12760
|
+
|
12736
12761
|
// Syncloud : https://syncloud.org
|
12737
12762
|
// Submitted by Boris Rybalkin <syncloud@syncloud.it>
|
12738
12763
|
syncloud.it
|
@@ -12886,6 +12911,10 @@ voorloper.cloud
|
|
12886
12911
|
// Submitted by Masayuki Note <masa@blade.wafflecell.com>
|
12887
12912
|
wafflecell.com
|
12888
12913
|
|
12914
|
+
// WebHare bv: https://www.webhare.com/
|
12915
|
+
// Submitted by Arnold Hendriks <info@webhare.com>
|
12916
|
+
*.webhare.dev
|
12917
|
+
|
12889
12918
|
// WeDeploy by Liferay, Inc. : https://www.wedeploy.com
|
12890
12919
|
// Submitted by Henrique Vicente <security@wedeploy.com>
|
12891
12920
|
wedeploy.io
|
@@ -12916,6 +12945,12 @@ cistron.nl
|
|
12916
12945
|
demon.nl
|
12917
12946
|
xs4all.space
|
12918
12947
|
|
12948
|
+
// Yandex.Cloud LLC: https://cloud.yandex.com
|
12949
|
+
// Submitted by Alexander Lodin <security+psl@yandex-team.ru>
|
12950
|
+
yandexcloud.net
|
12951
|
+
storage.yandexcloud.net
|
12952
|
+
website.yandexcloud.net
|
12953
|
+
|
12919
12954
|
// YesCourse Pty Ltd : https://yescourse.com
|
12920
12955
|
// Submitted by Atul Bhouraskar <atul@yescourse.com>
|
12921
12956
|
official.academy
|
data/public_suffix.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
|
13
13
|
s.licenses = ["MIT"]
|
14
14
|
|
15
|
-
s.required_ruby_version = ">= 2.
|
15
|
+
s.required_ruby_version = ">= 2.3"
|
16
16
|
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
s.files = `git ls-files`.split("\n")
|
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:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -61,6 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files:
|
62
62
|
- LICENSE.txt
|
63
63
|
files:
|
64
|
+
- ".github/FUNDING.yml"
|
64
65
|
- ".gitignore"
|
65
66
|
- ".rubocop.yml"
|
66
67
|
- ".rubocop_defaults.yml"
|
@@ -116,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
117
|
requirements:
|
117
118
|
- - ">="
|
118
119
|
- !ruby/object:Gem::Version
|
119
|
-
version: '2.
|
120
|
+
version: '2.3'
|
120
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
122
|
requirements:
|
122
123
|
- - ">="
|