public_suffix 2.0.4 → 2.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66eee3e9df58f80b2de00e3925a813c7e5e901c3
4
- data.tar.gz: 88ecfd74d37e3018d4ca271e936f923c2d60a41d
3
+ metadata.gz: 8cfe3b74b59027cb0ea547a7434da2665825ef04
4
+ data.tar.gz: 10279692a57a255917c1555ff74c7f992afd4f2a
5
5
  SHA512:
6
- metadata.gz: 537f5069099036d9de8aed92f098214befde27d26819861b35327c5bee811e96a920f5583e50e92a38d70a23ccde4a8a1bb5f7d5b619cd941741667b50d5ff49
7
- data.tar.gz: a388c3cd997aa7a9bfc0ac2ba03e41325fd2a708cb40f296d661dd776e678d138d77bb4393ba57da38ea90ba315047efe2f3b46aedc861eca3d7d97f136349fe
6
+ metadata.gz: e352ccd768b78298ec8be30f2c6c15234c76251f214437e163e2d2ded6d7d3ded12772bea050363d4c589017f3c554ff460007f069aa756e25c6ce89aad3aabe
7
+ data.tar.gz: 3f2b212e721922a0e161c15ecaeb6ceaa5ac81fb0fbca8a744058760fb1ec51e9ea1b5a90da9c10ca14e0618fcafb1e548f1f3b3740d8940b57e022a9294acb3
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ #### Release 2.0.5
4
+
5
+ - CHANGED: Updated definitions.
6
+
7
+ - CHANGED: Initialization performance improvements (GH-128). [Thanks @casperisfine]
8
+
3
9
 
4
10
  #### Release 2.0.4
5
11
 
data/Gemfile CHANGED
@@ -2,9 +2,9 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ gem "coveralls", require: false
5
6
  gem "minitest"
6
7
  gem "minitest-reporters"
7
- gem "coveralls", require: false
8
8
  gem "rubocop", require: false
9
9
 
10
10
  gem "memory_profiler", require: false if !RUBY_VERSION.start_with?("2.0")
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
1
+ Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -185,4 +185,4 @@ See the [CHANGELOG.md](CHANGELOG.md) file for details.
185
185
 
186
186
  ## License
187
187
 
188
- Copyright (c) 2009-2016 Simone Carletti. This is Free Software distributed under the MIT license.
188
+ Copyright (c) 2009-2017 Simone Carletti. This is Free Software distributed under the MIT license.
@@ -2548,9 +2548,7 @@ arao.kumamoto.jp
2548
2548
  aso.kumamoto.jp
2549
2549
  choyo.kumamoto.jp
2550
2550
  gyokuto.kumamoto.jp
2551
- hitoyoshi.kumamoto.jp
2552
2551
  kamiamakusa.kumamoto.jp
2553
- kashima.kumamoto.jp
2554
2552
  kikuchi.kumamoto.jp
2555
2553
  kumamoto.kumamoto.jp
2556
2554
  mashiki.kumamoto.jp
@@ -4442,20 +4440,21 @@ org.ng
4442
4440
  sch.ng
4443
4441
 
4444
4442
  // ni : http://www.nic.ni/
4443
+ ni
4444
+ ac.ni
4445
+ biz.ni
4446
+ co.ni
4445
4447
  com.ni
4446
- gob.ni
4447
4448
  edu.ni
4448
- org.ni
4449
- nom.ni
4450
- net.ni
4451
- mil.ni
4452
- co.ni
4453
- biz.ni
4454
- web.ni
4455
- int.ni
4456
- ac.ni
4449
+ gob.ni
4457
4450
  in.ni
4458
4451
  info.ni
4452
+ int.ni
4453
+ mil.ni
4454
+ net.ni
4455
+ nom.ni
4456
+ org.ni
4457
+ web.ni
4459
4458
 
4460
4459
  // nl : https://en.wikipedia.org/wiki/.nl
4461
4460
  // https://www.sidn.nl/
@@ -5682,143 +5681,13 @@ gov.rs
5682
5681
  in.rs
5683
5682
  org.rs
5684
5683
 
5685
- // ru : http://www.cctld.ru/ru/docs/aktiv_8.php
5686
- // Industry domains
5684
+ // ru : https://cctld.ru/en/domains/domens_ru/reserved/
5687
5685
  ru
5688
5686
  ac.ru
5689
- com.ru
5690
5687
  edu.ru
5691
- int.ru
5692
- net.ru
5693
- org.ru
5694
- pp.ru
5695
- // Geographical domains
5696
- adygeya.ru
5697
- altai.ru
5698
- amur.ru
5699
- arkhangelsk.ru
5700
- astrakhan.ru
5701
- bashkiria.ru
5702
- belgorod.ru
5703
- bir.ru
5704
- bryansk.ru
5705
- buryatia.ru
5706
- cbg.ru
5707
- chel.ru
5708
- chelyabinsk.ru
5709
- chita.ru
5710
- chukotka.ru
5711
- chuvashia.ru
5712
- dagestan.ru
5713
- dudinka.ru
5714
- e-burg.ru
5715
- grozny.ru
5716
- irkutsk.ru
5717
- ivanovo.ru
5718
- izhevsk.ru
5719
- jar.ru
5720
- joshkar-ola.ru
5721
- kalmykia.ru
5722
- kaluga.ru
5723
- kamchatka.ru
5724
- karelia.ru
5725
- kazan.ru
5726
- kchr.ru
5727
- kemerovo.ru
5728
- khabarovsk.ru
5729
- khakassia.ru
5730
- khv.ru
5731
- kirov.ru
5732
- koenig.ru
5733
- komi.ru
5734
- kostroma.ru
5735
- krasnoyarsk.ru
5736
- kuban.ru
5737
- kurgan.ru
5738
- kursk.ru
5739
- lipetsk.ru
5740
- magadan.ru
5741
- mari.ru
5742
- mari-el.ru
5743
- marine.ru
5744
- mordovia.ru
5745
- // mosreg.ru Bug 1090800 - removed at request of Aleksey Konstantinov <konstantinovav@mosreg.ru>
5746
- msk.ru
5747
- murmansk.ru
5748
- nalchik.ru
5749
- nnov.ru
5750
- nov.ru
5751
- novosibirsk.ru
5752
- nsk.ru
5753
- omsk.ru
5754
- orenburg.ru
5755
- oryol.ru
5756
- palana.ru
5757
- penza.ru
5758
- perm.ru
5759
- ptz.ru
5760
- rnd.ru
5761
- ryazan.ru
5762
- sakhalin.ru
5763
- samara.ru
5764
- saratov.ru
5765
- simbirsk.ru
5766
- smolensk.ru
5767
- spb.ru
5768
- stavropol.ru
5769
- stv.ru
5770
- surgut.ru
5771
- tambov.ru
5772
- tatarstan.ru
5773
- tom.ru
5774
- tomsk.ru
5775
- tsaritsyn.ru
5776
- tsk.ru
5777
- tula.ru
5778
- tuva.ru
5779
- tver.ru
5780
- tyumen.ru
5781
- udm.ru
5782
- udmurtia.ru
5783
- ulan-ude.ru
5784
- vladikavkaz.ru
5785
- vladimir.ru
5786
- vladivostok.ru
5787
- volgograd.ru
5788
- vologda.ru
5789
- voronezh.ru
5790
- vrn.ru
5791
- vyatka.ru
5792
- yakutia.ru
5793
- yamal.ru
5794
- yaroslavl.ru
5795
- yekaterinburg.ru
5796
- yuzhno-sakhalinsk.ru
5797
- // More geographical domains
5798
- amursk.ru
5799
- baikal.ru
5800
- cmw.ru
5801
- fareast.ru
5802
- jamal.ru
5803
- kms.ru
5804
- k-uralsk.ru
5805
- kustanai.ru
5806
- kuzbass.ru
5807
- mytis.ru
5808
- nakhodka.ru
5809
- nkz.ru
5810
- norilsk.ru
5811
- oskol.ru
5812
- pyatigorsk.ru
5813
- rubtsovsk.ru
5814
- snz.ru
5815
- syzran.ru
5816
- vdonsk.ru
5817
- zgrad.ru
5818
- // State domains
5819
5688
  gov.ru
5689
+ int.ru
5820
5690
  mil.ru
5821
- // Technical domains
5822
5691
  test.ru
5823
5692
 
5824
5693
  // rw : http://www.nic.rw/cgi-bin/policy.pl
@@ -6957,7 +6826,7 @@ sch.zm
6957
6826
  *.zw
6958
6827
 
6959
6828
 
6960
- // List of new gTLDs imported from https://newgtlds.icann.org/newgtlds.csv on 2016-08-17T00:17:46Z
6829
+ // List of new gTLDs imported from https://newgtlds.icann.org/newgtlds.csv on 2016-11-29T01:06:51Z
6961
6830
 
6962
6831
  // aaa : 2015-02-26 American Automobile Association, Inc.
6963
6832
  aaa
@@ -7367,7 +7236,7 @@ bosch
7367
7236
  // bostik : 2015-05-28 Bostik SA
7368
7237
  bostik
7369
7238
 
7370
- // boston : 2015-12-10 Boston Globe Media Partners, LLC
7239
+ // boston : 2015-12-10
7371
7240
  boston
7372
7241
 
7373
7242
  // bot : 2014-12-18 Amazon EU S.à r.l.
@@ -7913,9 +7782,6 @@ email
7913
7782
  // emerck : 2014-04-03 Merck KGaA
7914
7783
  emerck
7915
7784
 
7916
- // emerson : 2015-07-23 Emerson Electric Co.
7917
- emerson
7918
-
7919
7785
  // energy : 2014-09-11 Binky Birch, LLC
7920
7786
  energy
7921
7787
 
@@ -8144,7 +8010,7 @@ fujitsu
8144
8010
  // fujixerox : 2015-07-23 Xerox DNHC LLC
8145
8011
  fujixerox
8146
8012
 
8147
- // fun : 2016-01-14 Oriental Trading Company, Inc.
8013
+ // fun : 2016-01-14
8148
8014
  fun
8149
8015
 
8150
8016
  // fund : 2014-03-20 John Castle, LLC
@@ -8402,6 +8268,9 @@ honeywell
8402
8268
  // horse : 2013-11-21 Top Level Domain Holdings Limited
8403
8269
  horse
8404
8270
 
8271
+ // hospital : 2016-10-20 Ruby Pike, LLC
8272
+ hospital
8273
+
8405
8274
  // host : 2014-04-17 DotHost Inc.
8406
8275
  host
8407
8276
 
@@ -8999,7 +8868,7 @@ mortgage
8999
8868
  // moscow : 2013-12-19 Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID)
9000
8869
  moscow
9001
8870
 
9002
- // moto : 2015-06-04 Charleston Road Registry Inc.
8871
+ // moto : 2015-06-04
9003
8872
  moto
9004
8873
 
9005
8874
  // motorcycles : 2014-01-09 DERMotorcycles, LLC
@@ -9146,7 +9015,7 @@ nyc
9146
9015
  // obi : 2014-09-25 OBI Group Holding SE & Co. KGaA
9147
9016
  obi
9148
9017
 
9149
- // observer : 2015-04-30 Guardian News and Media Limited
9018
+ // observer : 2015-04-30
9150
9019
  observer
9151
9020
 
9152
9021
  // off : 2015-07-23 Johnson Shareholdings, Inc.
@@ -10394,7 +10263,7 @@ xin
10394
10263
  // xn--cg4bki : 2013-09-27 SAMSUNG SDS CO., LTD
10395
10264
  삼성
10396
10265
 
10397
- // xn--czr694b : 2014-01-16 HU YI GLOBAL INFORMATION RESOURCES (HOLDING) COMPANY. HONGKONG LIMITED
10266
+ // xn--czr694b : 2014-01-16 Dot Trademark TLD Holding Company Limted
10398
10267
  商标
10399
10268
 
10400
10269
  // xn--czrs0t : 2013-12-19 Wild Island, LLC
@@ -10451,7 +10320,7 @@ xin
10451
10320
  // xn--i1b6b1a6a2e : 2013-11-14 Public Interest Registry
10452
10321
  संगठन
10453
10322
 
10454
- // xn--imr513n : 2014-12-11 HU YI GLOBAL INFORMATION RESOURCES (HOLDING) COMPANY. HONGKONG LIMITED
10323
+ // xn--imr513n : 2014-12-11 Dot Trademark TLD Holding Company Limted
10455
10324
  餐厅
10456
10325
 
10457
10326
  // xn--io0a7i : 2013-11-14 Computer Network Information Center of Chinese Academy of Sciences (China Internet Network Information Center)
@@ -10663,57 +10532,84 @@ beep.pl
10663
10532
  cloudfront.net
10664
10533
 
10665
10534
  // Amazon Elastic Compute Cloud: https://aws.amazon.com/ec2/
10666
- // Submitted by Philip Allchin <pallchin@amazon.com>
10667
- compute.amazonaws.com
10668
- ap-northeast-1.compute.amazonaws.com
10669
- ap-northeast-2.compute.amazonaws.com
10670
- ap-southeast-1.compute.amazonaws.com
10671
- ap-southeast-2.compute.amazonaws.com
10672
- eu-central-1.compute.amazonaws.com
10673
- eu-west-1.compute.amazonaws.com
10674
- sa-east-1.compute.amazonaws.com
10675
- us-gov-west-1.compute.amazonaws.com
10676
- us-west-1.compute.amazonaws.com
10677
- us-west-2.compute.amazonaws.com
10678
- compute-1.amazonaws.com
10679
- z-1.compute-1.amazonaws.com
10680
- z-2.compute-1.amazonaws.com
10535
+ // Submitted by Luke Wells <psl-maintainers@amazon.com>
10536
+ *.compute.amazonaws.com
10537
+ *.compute-1.amazonaws.com
10538
+ *.compute.amazonaws.com.cn
10681
10539
  us-east-1.amazonaws.com
10682
- compute.amazonaws.com.cn
10683
- cn-north-1.compute.amazonaws.com.cn
10684
10540
 
10685
10541
  // Amazon Elastic Beanstalk : https://aws.amazon.com/elasticbeanstalk/
10686
- // Submitted by Adam Stein <astein@amazon.com>
10687
- elasticbeanstalk.com
10542
+ // Submitted by Luke Wells <psl-maintainers@amazon.com>
10543
+ elasticbeanstalk.cn-north-1.amazonaws.com.cn
10544
+ *.elasticbeanstalk.com
10688
10545
 
10689
10546
  // Amazon Elastic Load Balancing : https://aws.amazon.com/elasticloadbalancing/
10690
- // Submitted by Scott Vidmar <svidmar@amazon.com>
10691
- elb.amazonaws.com
10547
+ // Submitted by Luke Wells <psl-maintainers@amazon.com>
10548
+ *.elb.amazonaws.com
10549
+ *.elb.amazonaws.com.cn
10692
10550
 
10693
10551
  // Amazon S3 : https://aws.amazon.com/s3/
10694
- // Submitted by Luke Wells <lawells@amazon.com>
10695
- s3.amazonaws.com
10552
+ // Submitted by Luke Wells <psl-maintainers@amazon.com>
10553
+ *.s3.amazonaws.com
10696
10554
  s3-ap-northeast-1.amazonaws.com
10697
10555
  s3-ap-northeast-2.amazonaws.com
10556
+ s3-ap-south-1.amazonaws.com
10698
10557
  s3-ap-southeast-1.amazonaws.com
10699
10558
  s3-ap-southeast-2.amazonaws.com
10559
+ s3-ca-central-1.amazonaws.com
10700
10560
  s3-eu-central-1.amazonaws.com
10701
10561
  s3-eu-west-1.amazonaws.com
10702
10562
  s3-external-1.amazonaws.com
10703
- s3-external-2.amazonaws.com
10704
10563
  s3-fips-us-gov-west-1.amazonaws.com
10705
10564
  s3-sa-east-1.amazonaws.com
10706
10565
  s3-us-gov-west-1.amazonaws.com
10566
+ s3-us-east-2.amazonaws.com
10707
10567
  s3-us-west-1.amazonaws.com
10708
10568
  s3-us-west-2.amazonaws.com
10709
10569
  s3.ap-northeast-2.amazonaws.com
10570
+ s3.ap-south-1.amazonaws.com
10710
10571
  s3.cn-north-1.amazonaws.com.cn
10572
+ s3.ca-central-1.amazonaws.com
10711
10573
  s3.eu-central-1.amazonaws.com
10574
+ s3.us-east-2.amazonaws.com
10575
+ s3.dualstack.ap-northeast-1.amazonaws.com
10576
+ s3.dualstack.ap-northeast-2.amazonaws.com
10577
+ s3.dualstack.ap-south-1.amazonaws.com
10578
+ s3.dualstack.ap-southeast-1.amazonaws.com
10579
+ s3.dualstack.ap-southeast-2.amazonaws.com
10580
+ s3.dualstack.ca-central-1.amazonaws.com
10581
+ s3.dualstack.eu-central-1.amazonaws.com
10582
+ s3.dualstack.eu-west-1.amazonaws.com
10583
+ s3.dualstack.sa-east-1.amazonaws.com
10584
+ s3.dualstack.us-east-1.amazonaws.com
10585
+ s3.dualstack.us-east-2.amazonaws.com
10586
+ s3-website-us-east-1.amazonaws.com
10587
+ s3-website-us-west-1.amazonaws.com
10588
+ s3-website-us-west-2.amazonaws.com
10589
+ s3-website-ap-northeast-1.amazonaws.com
10590
+ s3-website-ap-southeast-1.amazonaws.com
10591
+ s3-website-ap-southeast-2.amazonaws.com
10592
+ s3-website-eu-west-1.amazonaws.com
10593
+ s3-website-sa-east-1.amazonaws.com
10594
+ s3-website.ap-northeast-2.amazonaws.com
10595
+ s3-website.ap-south-1.amazonaws.com
10596
+ s3-website.ca-central-1.amazonaws.com
10597
+ s3-website.eu-central-1.amazonaws.com
10598
+ s3-website.us-east-2.amazonaws.com
10599
+
10600
+ // Amune : https://amune.org/
10601
+ // Submitted by Team Amune <cert@amune.org>
10602
+ t3l3p0rt.net
10603
+ tele.amune.org
10712
10604
 
10713
10605
  // Aptible : https://www.aptible.com/
10714
10606
  // Submitted by Thomas Orozco <thomas@aptible.com>
10715
10607
  on-aptible.com
10716
10608
 
10609
+ // Asociación Amigos de la Informática "Euskalamiga" : http://encounter.eus/
10610
+ // Submitted by Hector Martin <marcan@euskalencounter.org>
10611
+ user.party.eus
10612
+
10717
10613
  // Association potager.org : https://potager.org/
10718
10614
  // Submitted by Lunar <jardiniers@potager.org>
10719
10615
  pimienta.org
@@ -10861,6 +10757,18 @@ co.no
10861
10757
  // Submitted by Damien Tournoud <damien@commerceguys.com>
10862
10758
  *.platform.sh
10863
10759
 
10760
+ // COSIMO GmbH http://www.cosimo.de
10761
+ // Submitted by Rene Marticke <rmarticke@cosimo.de>
10762
+ dyn.cosidns.de
10763
+ dynamisches-dns.de
10764
+ dnsupdater.de
10765
+ internet-dns.de
10766
+ l-o-g-i-n.de
10767
+ dynamic-dns.info
10768
+ feste-ip.net
10769
+ knx-server.net
10770
+ static-access.net
10771
+
10864
10772
  // Craynic, s.r.o. : http://www.craynic.com/
10865
10773
  // Submitted by Ales Krajnik <ales.krajnik@craynic.com>
10866
10774
  realm.cz
@@ -11201,6 +11109,18 @@ webhop.org
11201
11109
  worse-than.tv
11202
11110
  writesthisblog.com
11203
11111
 
11112
+ // ddnss.de : https://www.ddnss.de/
11113
+ // Submitted by Robert Niedziela <webmaster@ddnss.de>
11114
+ ddnss.de
11115
+ dyn.ddnss.de
11116
+ dyndns.ddnss.de
11117
+ dyndns1.de
11118
+ dyn-ip24.de
11119
+ home-webserver.de
11120
+ dyn.home-webserver.de
11121
+ myhome-server.de
11122
+ ddnss.org
11123
+
11204
11124
  // dynv6 : https://dynv6.com
11205
11125
  // Submitted by Dominik Menke <dom@digineo.de> 2016-01-18
11206
11126
  dynv6.net
@@ -11209,6 +11129,11 @@ dynv6.net
11209
11129
  // Submitted by Vladimir Dudr <info@e4you.cz>
11210
11130
  e4.cz
11211
11131
 
11132
+ // Enonic : http://enonic.com/
11133
+ // Submitted by Erik Kaareng-Sunde <esu@enonic.com>
11134
+ enonic.io
11135
+ customer.enonic.io
11136
+
11212
11137
  // EU.org https://eu.org/
11213
11138
  // Submitted by Pierre Beyssac <hostmaster@eu.org>
11214
11139
  eu.org
@@ -11314,9 +11239,11 @@ myfusion.cloud
11314
11239
 
11315
11240
  // Futureweb OG : http://www.futureweb.at
11316
11241
  // Submitted by Andreas Schnederle-Wagner <schnederle@futureweb.at>
11242
+ futurehosting.at
11317
11243
  futuremailing.at
11318
11244
  *.ex.ortsinfo.at
11319
11245
  *.kunden.ortsinfo.at
11246
+ *.statics.cloud
11320
11247
 
11321
11248
  // GDS : https://www.gov.uk/service-manual/operations/operating-servicegovuk-subdomains
11322
11249
  // Submitted by David Illsley <david.illsley@digital.cabinet-office.gov.uk>
@@ -11336,9 +11263,12 @@ gist.githubcloud.com
11336
11263
  // Submitted by Alex Hanselka <alex@gitlab.com>
11337
11264
  gitlab.io
11338
11265
 
11266
+ // UKHomeOffice : https://www.gov.uk/government/organisations/home-office
11267
+ // Submitted by Jon Shanks <jon.shanks@digital.homeoffice.gov.uk>
11268
+ homeoffice.gov.uk
11269
+
11339
11270
  // GlobeHosting, Inc.
11340
11271
  // Submitted by Zoltan Egresi <egresi@globehosting.com>
11341
- ro.com
11342
11272
  ro.im
11343
11273
  shop.ro
11344
11274
 
@@ -11688,6 +11618,10 @@ gotpantheon.com
11688
11618
  // Submitted by Steve Leung <steveleung@peplink.com>
11689
11619
  mypep.link
11690
11620
 
11621
+ // Planet-Work : https://www.planet-work.com/
11622
+ // Submitted by Frédéric VANNIÈRE <f.vanniere@planet-work.com>
11623
+ on-web.fr
11624
+
11691
11625
  // prgmr.com : https://prgmr.com/
11692
11626
  // Submitted by Sarah Newman <owner@prgmr.com>
11693
11627
  xen.prgmr.com
@@ -11742,12 +11676,29 @@ sandcats.io
11742
11676
  logoip.de
11743
11677
  logoip.com
11744
11678
 
11679
+ // Securepoint GmbH : https://www.securepoint.de
11680
+ // Submitted by Erik Anders <erik.anders@securepoint.de>
11681
+ firewall-gateway.com
11682
+ firewall-gateway.de
11683
+ my-gateway.de
11684
+ my-router.de
11685
+ spdns.de
11686
+ spdns.eu
11687
+ firewall-gateway.net
11688
+ my-firewall.org
11689
+ myfirewall.org
11690
+ spdns.org
11691
+
11745
11692
  // Service Online LLC : http://drs.ua/
11746
11693
  // Submitted by Serhii Bulakh <support@drs.ua>
11747
11694
  biz.ua
11748
11695
  co.ua
11749
11696
  pp.ua
11750
11697
 
11698
+ // ShiftEdit : https://shiftedit.net/
11699
+ // Submitted by Adam Jimenez <adam@shiftcreate.com>
11700
+ shiftedit.io
11701
+
11751
11702
  // Shopblocks : http://www.shopblocks.com/
11752
11703
  // Submitted by Alex Bowers <alex@shopblocks.com>
11753
11704
  myshopblocks.com
@@ -11827,6 +11778,22 @@ townnews-staging.com
11827
11778
  // Submitted by TuxFamily administrators <adm@staff.tuxfamily.org>
11828
11779
  tuxfamily.org
11829
11780
 
11781
+ // TwoDNS : https://www.twodns.de/
11782
+ // Submitted by TwoDNS-Support <support@two-dns.de>
11783
+ dd-dns.de
11784
+ diskstation.eu
11785
+ diskstation.org
11786
+ dray-dns.de
11787
+ draydns.de
11788
+ dyn-vpn.de
11789
+ dynvpn.de
11790
+ mein-vigor.de
11791
+ my-vigor.de
11792
+ my-wan.de
11793
+ syno-ds.de
11794
+ synology-diskstation.de
11795
+ synology-ds.de
11796
+
11830
11797
  // UDR Limited : http://www.udr.hk.com
11831
11798
  // Submitted by registry <hostmaster@udr.hk.com>
11832
11799
  hk.com
@@ -11850,9 +11817,29 @@ wmflabs.org
11850
11817
  // Submitted by Stefano Rivera <stefano@yola.com>
11851
11818
  yolasite.com
11852
11819
 
11820
+ // Yombo : https://yombo.net
11821
+ // Submitted by Mitch Schwenk <mitch@yombo.net>
11822
+ ybo.faith
11823
+ yombo.me
11824
+ homelink.one
11825
+ ybo.party
11826
+ ybo.review
11827
+ ybo.science
11828
+ ybo.trade
11829
+
11853
11830
  // ZaNiC : http://www.za.net/
11854
11831
  // Submitted by registry <hostmaster@nic.za.net>
11855
11832
  za.net
11856
11833
  za.org
11857
11834
 
11835
+ // Zeit, Inc. : https://zeit.domains/
11836
+ // Submitted by Olli Vanhoja <olli@zeit.co>
11837
+ now.sh
11838
+
11839
+ // 1GB LLC : https://www.1gb.ua/
11840
+ // Submitted by 1GB LLC <noc@1gb.com.ua>
11841
+ cc.ua
11842
+ inf.ua
11843
+ ltd.ua
11844
+
11858
11845
  // ===END PRIVATE DOMAINS===
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  require "public_suffix/domain"
8
8
  require "public_suffix/version"
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
 
@@ -175,13 +175,6 @@ module PublicSuffix
175
175
  # Normal represents a standard rule (e.g. com).
176
176
  class Normal < Base
177
177
 
178
- # Initializes a new rule from +definition+.
179
- #
180
- # @param definition [String] the rule as defined in the PSL
181
- def initialize(definition, **options)
182
- super(definition, **options)
183
- end
184
-
185
178
  # Gets the original rule definition.
186
179
  #
187
180
  # @return [String] The rule definition.
@@ -226,8 +219,8 @@ module PublicSuffix
226
219
  # for each wildcard rule.
227
220
  #
228
221
  # @param definition [String] the rule as defined in the PSL
229
- def initialize(definition, **options)
230
- super(definition.to_s[2..-1], **options)
222
+ def initialize(definition, private: false)
223
+ super(definition.to_s[2..-1], private: private)
231
224
  end
232
225
 
233
226
  # Gets the original rule definition.
@@ -275,8 +268,8 @@ module PublicSuffix
275
268
  # for each wildcard rule.
276
269
  #
277
270
  # @param definition [String] the rule as defined in the PSL
278
- def initialize(definition, **options)
279
- super(definition.to_s[1..-1], **options)
271
+ def initialize(definition, private: false)
272
+ super(definition.to_s[1..-1], private: private)
280
273
  end
281
274
 
282
275
  # Gets the original rule definition.
@@ -338,7 +331,7 @@ module PublicSuffix
338
331
  #
339
332
  # @param [String] content The rule content.
340
333
  # @return [PublicSuffix::Rule::*] A rule instance.
341
- def self.factory(content, **options)
334
+ def self.factory(content, private: false)
342
335
  case content.to_s[0, 1]
343
336
  when STAR
344
337
  Wildcard
@@ -346,7 +339,7 @@ module PublicSuffix
346
339
  Exception
347
340
  else
348
341
  Normal
349
- end.new(content, **options)
342
+ end.new(content, private: private)
350
343
  end
351
344
 
352
345
  # The default rule to use if no rule match.
@@ -1,12 +1,10 @@
1
- #
2
- # Public Suffix
1
+ # = Public Suffix
3
2
  #
4
3
  # Domain name parser based on the Public Suffix List.
5
4
  #
6
- # Copyright (c) 2009-2016 Simone Carletti <weppos@weppos.net>
7
- #
5
+ # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
8
6
 
9
7
  module PublicSuffix
10
8
  # The current library version.
11
- VERSION = "2.0.4".freeze
9
+ VERSION = "2.0.5".freeze
12
10
  end
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class AcceptanceTest < Minitest::Unit::TestCase
3
+ class AcceptanceTest < Minitest::Test
4
4
 
5
5
  VALID_CASES = [
6
6
  ["example.com", "example.com", [nil, "example", "com"]],
@@ -3,7 +3,7 @@ require "public_suffix"
3
3
 
4
4
  # This test runs against the current PSL file and ensures
5
5
  # the definitions satisfies the test suite.
6
- class PslTest < Minitest::Unit::TestCase
6
+ class PslTest < Minitest::Test
7
7
 
8
8
  ROOT = File.expand_path("../../", __FILE__)
9
9
 
@@ -12,7 +12,7 @@ Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
12
12
  $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
13
13
  require "public_suffix"
14
14
 
15
- Minitest::Unit::TestCase.class_eval do
15
+ Minitest::Test.class_eval do
16
16
  unless method_exists?(:assert_not_equal)
17
17
  def assert_not_equal(exp, act, msg = nil)
18
18
  assert_operator(exp, :!=, act, msg)
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class PublicSuffix::DomainTest < Minitest::Unit::TestCase
3
+ class PublicSuffix::DomainTest < Minitest::Test
4
4
 
5
5
  def setup
6
6
  @klass = PublicSuffix::Domain
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class ErrorsTest < Minitest::Unit::TestCase
3
+ class ErrorsTest < Minitest::Test
4
4
 
5
5
  # Inherits from StandardError
6
6
  def test_error_inheritance
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class PublicSuffix::ListTest < Minitest::Unit::TestCase
3
+ class PublicSuffix::ListTest < Minitest::Test
4
4
 
5
5
  def setup
6
6
  @list = PublicSuffix::List.new
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class PublicSuffixTest < Minitest::Unit::TestCase
3
+ class PublicSuffixTest < Minitest::Test
4
4
 
5
5
  def test_private_domains_enabled_by_default
6
6
  domain = PublicSuffix.parse("www.example.blogspot.com")
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class PublicSuffix::RuleTest < Minitest::Unit::TestCase
3
+ class PublicSuffix::RuleTest < Minitest::Test
4
4
 
5
5
  def test_factory_should_return_rule_normal
6
6
  rule = PublicSuffix::Rule.factory("com")
@@ -34,7 +34,7 @@ class PublicSuffix::RuleTest < Minitest::Unit::TestCase
34
34
  end
35
35
 
36
36
 
37
- class PublicSuffix::RuleBaseTest < Minitest::Unit::TestCase
37
+ class PublicSuffix::RuleBaseTest < Minitest::Test
38
38
 
39
39
  class ::PublicSuffix::Rule::Test < ::PublicSuffix::Rule::Base
40
40
  end
@@ -120,7 +120,7 @@ class PublicSuffix::RuleBaseTest < Minitest::Unit::TestCase
120
120
  end
121
121
 
122
122
 
123
- class PublicSuffix::RuleNormalTest < Minitest::Unit::TestCase
123
+ class PublicSuffix::RuleNormalTest < Minitest::Test
124
124
 
125
125
  def setup
126
126
  @klass = PublicSuffix::Rule::Normal
@@ -156,7 +156,7 @@ class PublicSuffix::RuleNormalTest < Minitest::Unit::TestCase
156
156
  end
157
157
 
158
158
 
159
- class PublicSuffix::RuleExceptionTest < Minitest::Unit::TestCase
159
+ class PublicSuffix::RuleExceptionTest < Minitest::Test
160
160
 
161
161
  def setup
162
162
  @klass = PublicSuffix::Rule::Exception
@@ -190,7 +190,7 @@ class PublicSuffix::RuleExceptionTest < Minitest::Unit::TestCase
190
190
  end
191
191
 
192
192
 
193
- class PublicSuffix::RuleWildcardTest < Minitest::Unit::TestCase
193
+ class PublicSuffix::RuleWildcardTest < Minitest::Test
194
194
 
195
195
  def setup
196
196
  @klass = PublicSuffix::Rule::Wildcard
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: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2017-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.6.8
117
+ rubygems_version: 2.5.2
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Domain name parser based on the Public Suffix List.