public_suffix 4.0.1 → 4.0.3

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.
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Domain name parser based on the Public Suffix List.
6
6
  #
7
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
7
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
8
8
 
9
9
  require_relative "public_suffix/domain"
10
10
  require_relative "public_suffix/version"
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Domain name parser based on the Public Suffix List.
6
6
  #
7
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
7
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
8
8
 
9
9
  module PublicSuffix
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Domain name parser based on the Public Suffix List.
6
6
  #
7
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
7
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
8
8
 
9
9
  module PublicSuffix
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Domain name parser based on the Public Suffix List.
6
6
  #
7
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
7
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
8
8
 
9
9
  module PublicSuffix
10
10
 
@@ -48,7 +48,7 @@ module PublicSuffix
48
48
  #
49
49
  # @return [PublicSuffix::List]
50
50
  def self.default(**options)
51
- @default ||= parse(File.read(DEFAULT_LIST_PATH), options)
51
+ @default ||= parse(File.read(DEFAULT_LIST_PATH), **options)
52
52
  end
53
53
 
54
54
  # Sets the default rule list to +value+.
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Domain name parser based on the Public Suffix List.
6
6
  #
7
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
7
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
8
8
 
9
9
  module PublicSuffix
10
10
 
@@ -5,9 +5,9 @@
5
5
  #
6
6
  # Domain name parser based on the Public Suffix List.
7
7
  #
8
- # Copyright (c) 2009-2019 Simone Carletti <weppos@weppos.net>
8
+ # Copyright (c) 2009-2020 Simone Carletti <weppos@weppos.net>
9
9
 
10
10
  module PublicSuffix
11
11
  # The current library version.
12
- VERSION = "4.0.1"
12
+ VERSION = "4.0.3"
13
13
  end
@@ -10,7 +10,7 @@ end
10
10
 
11
11
  require "minitest/autorun"
12
12
  require "minitest/reporters"
13
- require "mocha/setup"
13
+ require "mocha/minitest"
14
14
 
15
15
  Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
16
16
 
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.0.1
4
+ version: 4.0.3
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-08-09 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -65,7 +65,6 @@ files:
65
65
  - ".gitignore"
66
66
  - ".rubocop.yml"
67
67
  - ".rubocop_defaults.yml"
68
- - ".ruby-gemset"
69
68
  - ".travis.yml"
70
69
  - ".yardopts"
71
70
  - 2.0-Upgrade.md
@@ -74,6 +73,7 @@ files:
74
73
  - LICENSE.txt
75
74
  - README.md
76
75
  - Rakefile
76
+ - SECURITY.md
77
77
  - bin/console
78
78
  - data/list.txt
79
79
  - lib/public_suffix.rb
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.0.3
127
+ rubygems_version: 3.1.2
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Domain name parser based on the Public Suffix List.
@@ -1 +0,0 @@
1
- -global