public_suffix 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 892f161e5f319655ce28c5471b8bfd52bee52d4a
4
- data.tar.gz: c5336906cb205ba862b102f26913049ddfceb84c
2
+ SHA256:
3
+ metadata.gz: 4c8980f87838c3a993c86fa8b00c194ef18cdd419f68fe40c486bea6b672c477
4
+ data.tar.gz: 96760921509fb9f583d3b67b563942f4e10ba6958724c15edb3743f3467cd12a
5
5
  SHA512:
6
- metadata.gz: 61ff3cef06b748c5d1646d3b85100774efdede3f37966385661c3f7ed72ec1fbee793f6547ef772d0edea4350cf3b8b27229da7bc796b3301d19989364ec1217
7
- data.tar.gz: 1b46049d7cd042cfc68a159fe336d17fa69bfb40097a5a0978b4d979005a966febf640b6b9ac61937940fd1bfc2e864c333605fadb9d2f9e7d9501baf497e944
6
+ metadata.gz: 102914deff3f3d3df37c70b8c00e6e5b51565e1ae299e997983c2bf28a27af19c845b85b891162cc9f4e1f8949140fb675affc8e1d308f54f97321fdaa50da78
7
+ data.tar.gz: f37fc7151833326077e178e66e0727be1b4cb5ffc3a004ca4b0a4feceb7fbd5dc929a9300fd4fb9bd55d09b188fda625b9235671da340b022d64636dec93ee88
@@ -6,9 +6,6 @@ AllCops:
6
6
  - 'tmp/**/*'
7
7
  - 'vendor/**/*'
8
8
 
9
- Lint/RescueWithoutErrorClass:
10
- Enabled: false
11
-
12
9
  # [codesmell]
13
10
  Metrics/AbcSize:
14
11
  Enabled: false
@@ -108,6 +105,11 @@ Layout/EmptyLineBetweenDefs:
108
105
  Style/FormatString:
109
106
  Enabled: false
110
107
 
108
+ # Annotated tokens (like %<foo>s) are a good thing, but in most cases we don't need them.
109
+ # %s is a simpler and straightforward version that works in almost all cases. So don't complain.
110
+ Style/FormatStringToken:
111
+ Enabled: false
112
+
111
113
  # Prefer the latest Hash syntax
112
114
  Style/HashSyntax:
113
115
  Exclude:
@@ -116,6 +118,9 @@ Style/HashSyntax:
116
118
  # that looks nicer with the old rocket syntax.
117
119
  - 'Rakefile'
118
120
 
121
+ Style/RescueStandardError:
122
+ Enabled: false
123
+
119
124
  # Array indentation should be considered like MultilineMethodCallIndentation indentation
120
125
  # and use 4 spaces instead of 2.
121
126
  Layout/IndentArray:
@@ -5,6 +5,7 @@ rvm:
5
5
  - 2.2
6
6
  - 2.3
7
7
  - 2.4
8
+ - 2.5
8
9
  - jruby-9.1.5.0
9
10
  - ruby-head
10
11
 
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ #### Release 3.0.2
5
+
6
+ - CHANGED: Updated definitions.
7
+
8
+
4
9
  #### Release 3.0.1
5
10
 
6
11
  - CHANGED: Updated definitions.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
1
+ Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -197,6 +197,6 @@ See the [CHANGELOG.md](CHANGELOG.md) file for details.
197
197
 
198
198
  ## License
199
199
 
200
- Copyright (c) 2009-2017 Simone Carletti. This is Free Software distributed under the MIT license.
200
+ Copyright (c) 2009-2018 Simone Carletti. This is Free Software distributed under the MIT license.
201
201
 
202
202
  The [Public Suffix List source](https://publicsuffix.org/list/) is subject to the terms of the Mozilla Public License, v. 2.0.
@@ -384,27 +384,62 @@ org.bm
384
384
  // bn : https://en.wikipedia.org/wiki/.bn
385
385
  *.bn
386
386
 
387
- // bo : http://www.nic.bo/
387
+ // bo : https://nic.bo/delegacion2015.php#h-1.10
388
388
  bo
389
389
  com.bo
390
390
  edu.bo
391
- gov.bo
392
391
  gob.bo
393
392
  int.bo
394
393
  org.bo
395
394
  net.bo
396
395
  mil.bo
397
396
  tv.bo
397
+ web.bo
398
+ // Social Domains
399
+ academia.bo
400
+ agro.bo
401
+ arte.bo
402
+ blog.bo
403
+ bolivia.bo
404
+ ciencia.bo
405
+ cooperativa.bo
406
+ democracia.bo
407
+ deporte.bo
408
+ ecologia.bo
409
+ economia.bo
410
+ empresa.bo
411
+ indigena.bo
412
+ industria.bo
413
+ info.bo
414
+ medicina.bo
415
+ movimiento.bo
416
+ musica.bo
417
+ natural.bo
418
+ nombre.bo
419
+ noticias.bo
420
+ patria.bo
421
+ politica.bo
422
+ profesional.bo
423
+ plurinacional.bo
424
+ pueblo.bo
425
+ revista.bo
426
+ salud.bo
427
+ tecnologia.bo
428
+ tksat.bo
429
+ transporte.bo
430
+ wiki.bo
398
431
 
399
432
  // br : http://registro.br/dominio/categoria.html
400
433
  // Submitted by registry <fneves@registro.br>
401
434
  br
435
+ 9guacu.br
402
436
  abc.br
403
437
  adm.br
404
438
  adv.br
405
439
  agr.br
406
440
  aju.br
407
441
  am.br
442
+ anani.br
408
443
  aparecida.br
409
444
  arq.br
410
445
  art.br
@@ -417,6 +452,7 @@ blog.br
417
452
  bmd.br
418
453
  boavista.br
419
454
  bsb.br
455
+ campinagrande.br
420
456
  campinas.br
421
457
  caxias.br
422
458
  cim.br
@@ -427,6 +463,7 @@ contagem.br
427
463
  coop.br
428
464
  cri.br
429
465
  cuiaba.br
466
+ curitiba.br
430
467
  def.br
431
468
  ecn.br
432
469
  eco.br
@@ -444,6 +481,7 @@ fm.br
444
481
  fnd.br
445
482
  fortal.br
446
483
  fot.br
484
+ foz.br
447
485
  fst.br
448
486
  g12.br
449
487
  ggf.br
@@ -492,6 +530,8 @@ lel.br
492
530
  londrina.br
493
531
  macapa.br
494
532
  maceio.br
533
+ manaus.br
534
+ maringa.br
495
535
  mat.br
496
536
  med.br
497
537
  mil.br
@@ -521,8 +561,13 @@ recife.br
521
561
  ribeirao.br
522
562
  rio.br
523
563
  riobranco.br
564
+ riopreto.br
524
565
  salvador.br
525
566
  sampa.br
567
+ santamaria.br
568
+ santoandre.br
569
+ saobernardo.br
570
+ saogonca.br
526
571
  sjc.br
527
572
  slg.br
528
573
  slz.br
@@ -3492,8 +3537,17 @@ uenohara.yamanashi.jp
3492
3537
  yamanakako.yamanashi.jp
3493
3538
  yamanashi.yamanashi.jp
3494
3539
 
3495
- // ke : http://www.kenic.or.ke/index.php?option=com_content&task=view&id=117&Itemid=145
3496
- *.ke
3540
+ // ke : http://www.kenic.or.ke/index.php/en/ke-domains/ke-domains
3541
+ ke
3542
+ ac.ke
3543
+ co.ke
3544
+ go.ke
3545
+ info.ke
3546
+ me.ke
3547
+ mobi.ke
3548
+ ne.ke
3549
+ or.ke
3550
+ sc.ke
3497
3551
 
3498
3552
  // kg : http://www.domain.kg/dmn_n.html
3499
3553
  kg
@@ -10585,6 +10639,12 @@ cc.ua
10585
10639
  inf.ua
10586
10640
  ltd.ua
10587
10641
 
10642
+ // AgileBits Inc : https://agilebits.com
10643
+ // Submitted by Roustem Karimov <roustem@agilebits.com>
10644
+ 1password.ca
10645
+ 1password.com
10646
+ 1password.eu
10647
+
10588
10648
  // Agnat sp. z o.o. : https://domena.pl
10589
10649
  // Submitted by Przemyslaw Plewa <it-admin@domena.pl>
10590
10650
  beep.pl
@@ -10596,7 +10656,7 @@ beep.pl
10596
10656
 
10597
10657
  // alwaysdata : https://www.alwaysdata.com
10598
10658
  // Submitted by Cyril <admin@alwaysdata.com>
10599
- *.alwaysdata.net
10659
+ alwaysdata.net
10600
10660
 
10601
10661
  // Amazon CloudFront : https://aws.amazon.com/cloudfront/
10602
10662
  // Submitted by Donavan Miller <donavanm@amazon.com>
@@ -10622,6 +10682,7 @@ ca-central-1.elasticbeanstalk.com
10622
10682
  eu-central-1.elasticbeanstalk.com
10623
10683
  eu-west-1.elasticbeanstalk.com
10624
10684
  eu-west-2.elasticbeanstalk.com
10685
+ eu-west-3.elasticbeanstalk.com
10625
10686
  sa-east-1.elasticbeanstalk.com
10626
10687
  us-east-1.elasticbeanstalk.com
10627
10688
  us-east-2.elasticbeanstalk.com
@@ -10646,6 +10707,7 @@ s3-ca-central-1.amazonaws.com
10646
10707
  s3-eu-central-1.amazonaws.com
10647
10708
  s3-eu-west-1.amazonaws.com
10648
10709
  s3-eu-west-2.amazonaws.com
10710
+ s3-eu-west-3.amazonaws.com
10649
10711
  s3-external-1.amazonaws.com
10650
10712
  s3-fips-us-gov-west-1.amazonaws.com
10651
10713
  s3-sa-east-1.amazonaws.com
@@ -10659,6 +10721,7 @@ s3.cn-north-1.amazonaws.com.cn
10659
10721
  s3.ca-central-1.amazonaws.com
10660
10722
  s3.eu-central-1.amazonaws.com
10661
10723
  s3.eu-west-2.amazonaws.com
10724
+ s3.eu-west-3.amazonaws.com
10662
10725
  s3.us-east-2.amazonaws.com
10663
10726
  s3.dualstack.ap-northeast-1.amazonaws.com
10664
10727
  s3.dualstack.ap-northeast-2.amazonaws.com
@@ -10669,6 +10732,7 @@ s3.dualstack.ca-central-1.amazonaws.com
10669
10732
  s3.dualstack.eu-central-1.amazonaws.com
10670
10733
  s3.dualstack.eu-west-1.amazonaws.com
10671
10734
  s3.dualstack.eu-west-2.amazonaws.com
10735
+ s3.dualstack.eu-west-3.amazonaws.com
10672
10736
  s3.dualstack.sa-east-1.amazonaws.com
10673
10737
  s3.dualstack.us-east-1.amazonaws.com
10674
10738
  s3.dualstack.us-east-2.amazonaws.com
@@ -10685,6 +10749,7 @@ s3-website.ap-south-1.amazonaws.com
10685
10749
  s3-website.ca-central-1.amazonaws.com
10686
10750
  s3-website.eu-central-1.amazonaws.com
10687
10751
  s3-website.eu-west-2.amazonaws.com
10752
+ s3-website.eu-west-3.amazonaws.com
10688
10753
  s3-website.us-east-2.amazonaws.com
10689
10754
 
10690
10755
  // Amune : https://amune.org/
@@ -10873,6 +10938,11 @@ cloudns.us
10873
10938
  co.nl
10874
10939
  co.no
10875
10940
 
10941
+ // Combell.com : https://www.combell.com
10942
+ // Submitted by Thomas Wouters <thomas.wouters@combellgroup.com>
10943
+ webhosting.be
10944
+ hosting-cluster.nl
10945
+
10876
10946
  // COSIMO GmbH : http://www.cosimo.de
10877
10947
  // Submitted by Rene Marticke <rmarticke@cosimo.de>
10878
10948
  dyn.cosidns.de
@@ -11471,6 +11541,8 @@ fhapp.xyz
11471
11541
  fedorainfracloud.org
11472
11542
  fedorapeople.org
11473
11543
  cloud.fedoraproject.org
11544
+ app.os.fedoraproject.org
11545
+ app.os.stg.fedoraproject.org
11474
11546
 
11475
11547
  // Filegear Inc. : https://www.filegear.com
11476
11548
  // Submitted by Jason Zhu <jason@owtware.com>
@@ -11494,10 +11566,6 @@ fbxos.fr
11494
11566
  freebox-os.fr
11495
11567
  freeboxos.fr
11496
11568
 
11497
- // Fusion Intranet : https://www.fusion-intranet.com
11498
- // Submitted by Matthias Burtscher <matthias.burtscher@fusonic.net>
11499
- myfusion.cloud
11500
-
11501
11569
  // Futureweb OG : http://www.futureweb.at
11502
11570
  // Submitted by Andreas Schnederle-Wagner <schnederle@futureweb.at>
11503
11571
  *.futurecms.at
@@ -11783,6 +11851,10 @@ netlify.com
11783
11851
  // Submitted by Alan Shreve <alan@ngrok.com>
11784
11852
  ngrok.io
11785
11853
 
11854
+ // Nimbus Hosting Ltd. : https://www.nimbushosting.co.uk/
11855
+ // Submitted by Nicholas Ford <nick@nimbushosting.co.uk>
11856
+ nh-serv.co.uk
11857
+
11786
11858
  // NFSN, Inc. : https://www.NearlyFreeSpeech.NET/
11787
11859
  // Submitted by Jeff Wheelhouse <support@nearlyfreespeech.net>
11788
11860
  nfshost.com
@@ -12040,6 +12112,11 @@ rackmaze.net
12040
12112
  // Submitted by Tim Kramer <tkramer@rhcloud.com>
12041
12113
  rhcloud.com
12042
12114
 
12115
+ // Resin.io : https://resin.io
12116
+ // Submitted by Tim Perry <tim@resin.io>
12117
+ resindevice.io
12118
+ devices.resinstaging.io
12119
+
12043
12120
  // RethinkDB : https://www.rethinkdb.com/
12044
12121
  // Submitted by Chris Kastorff <info@rethinkdb.com>
12045
12122
  hzc.io
@@ -12059,6 +12136,10 @@ sandcats.io
12059
12136
  logoip.de
12060
12137
  logoip.com
12061
12138
 
12139
+ // Scry Security : http://www.scrysec.com
12140
+ // Submitted by Shante Adam <shante@skyhat.io>
12141
+ scrysec.com
12142
+
12062
12143
  // Securepoint GmbH : https://www.securepoint.de
12063
12144
  // Submitted by Erik Anders <erik.anders@securepoint.de>
12064
12145
  firewall-gateway.com
@@ -12074,6 +12155,7 @@ spdns.org
12074
12155
 
12075
12156
  // SensioLabs, SAS : https://sensiolabs.com/
12076
12157
  // Submitted by Fabien Potencier <fabien.potencier@sensiolabs.com>
12158
+ *.s5y.io
12077
12159
  *.sensiosite.cloud
12078
12160
 
12079
12161
  // Service Online LLC : http://drs.ua/
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  require_relative "public_suffix/domain"
8
8
  require_relative "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-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 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-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 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-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 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-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
 
@@ -2,9 +2,9 @@
2
2
  #
3
3
  # Domain name parser based on the Public Suffix List.
4
4
  #
5
- # Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
5
+ # Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
6
6
 
7
7
  module PublicSuffix
8
8
  # The current library version.
9
- VERSION = "3.0.1".freeze
9
+ VERSION = "3.0.2".freeze
10
10
  end
@@ -32,7 +32,7 @@ class AcceptanceTest < Minitest::Test
32
32
 
33
33
 
34
34
  INVALID_CASES = [
35
- ["nic.ke", PublicSuffix::DomainNotAllowed],
35
+ ["nic.bd", PublicSuffix::DomainNotAllowed],
36
36
  [nil, PublicSuffix::DomainInvalid],
37
37
  ["", PublicSuffix::DomainInvalid],
38
38
  [" ", PublicSuffix::DomainInvalid],
@@ -24,7 +24,7 @@ class PslTest < Minitest::Test
24
24
  [input, output]
25
25
  end
26
26
  end
27
- # rubocop:enable
27
+ # rubocop:enable Security/Eval
28
28
 
29
29
 
30
30
  def test_valid
@@ -87,8 +87,8 @@ class PublicSuffixTest < Minitest::Test
87
87
  end
88
88
 
89
89
  def test_self_parse_with_unallowed_domain
90
- error = assert_raises(PublicSuffix::DomainNotAllowed) { PublicSuffix.parse("example.ke") }
91
- assert_match(/example\.ke/, error.message)
90
+ error = assert_raises(PublicSuffix::DomainNotAllowed) { PublicSuffix.parse("example.bd") }
91
+ assert_match(/example\.bd/, error.message)
92
92
  end
93
93
 
94
94
  def test_self_parse_with_uri
@@ -128,7 +128,7 @@ class PublicSuffixTest < Minitest::Test
128
128
  end
129
129
 
130
130
  def test_self_domain_with_unallowed_name
131
- assert_nil PublicSuffix.domain("example.ke")
131
+ assert_nil PublicSuffix.domain("example.bd")
132
132
  end
133
133
 
134
134
  def test_self_domain_with_blank_sld
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: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-08 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.6.10
127
+ rubygems_version: 2.7.3
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Domain name parser based on the Public Suffix List.