public_suffix 4.0.7 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/LICENSE.txt +1 -1
- data/README.md +10 -3
- data/SECURITY.md +2 -81
- data/data/list.txt +3635 -1973
- data/lib/public_suffix/domain.rb +1 -1
- data/lib/public_suffix/errors.rb +1 -1
- data/lib/public_suffix/list.rb +2 -2
- data/lib/public_suffix/rule.rb +7 -7
- data/lib/public_suffix/version.rb +3 -4
- data/lib/public_suffix.rb +2 -2
- metadata +9 -42
- data/.github/FUNDING.yml +0 -12
- data/.github/dependabot.yml +0 -8
- data/.github/workflows/release.yml +0 -16
- data/.github/workflows/tests.yml +0 -28
- data/.gitignore +0 -8
- data/.rubocop.yml +0 -36
- data/.rubocop_opinionated.yml +0 -163
- data/Gemfile +0 -14
- data/Rakefile +0 -52
- data/bin/console +0 -15
- data/public_suffix.gemspec +0 -29
- data/test/.empty +0 -2
- data/test/acceptance_test.rb +0 -131
- data/test/benchmarks/bm_find.rb +0 -66
- data/test/benchmarks/bm_find_all.rb +0 -102
- data/test/benchmarks/bm_names.rb +0 -91
- data/test/benchmarks/bm_select.rb +0 -26
- data/test/benchmarks/bm_select_incremental.rb +0 -25
- data/test/benchmarks/bm_valid.rb +0 -101
- data/test/profilers/domain_profiler.rb +0 -12
- data/test/profilers/find_profiler.rb +0 -12
- data/test/profilers/find_profiler_jp.rb +0 -12
- data/test/profilers/initialization_profiler.rb +0 -11
- data/test/profilers/list_profsize.rb +0 -11
- data/test/profilers/object_binsize.rb +0 -57
- data/test/psl_test.rb +0 -52
- data/test/test_helper.rb +0 -10
- data/test/tests.txt +0 -98
- data/test/unit/domain_test.rb +0 -106
- data/test/unit/errors_test.rb +0 -25
- data/test/unit/list_test.rb +0 -241
- data/test/unit/public_suffix_test.rb +0 -188
- data/test/unit/rule_test.rb +0 -222
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f95fd278200cbe3922d07b90ca7b51231509770ff2df64b45f1f0dd0aae532b5
|
4
|
+
data.tar.gz: 8ca654313480fdb64b80d1ac2e54150cc594d731a88dfee4a125c8a32bb6aecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7f9ae38d463e8ef8355e033606d5f0a7689976054127f9d5a32b9e0af0bca7f54fa3287678d85def68e73a3fc466fc01d4b39db511386e121ac8bab1fe8c728
|
7
|
+
data.tar.gz: 22bf9f457b5d961de5a8e40de03558bdca814bf565343ed0024be69b71b789b538ca497b856bfa9f294b9cbfcf4c9cf48d9fd7670628f5e0684dc05afa528d1c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,51 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
4
4
|
|
5
|
+
## 5.1.1
|
6
|
+
|
7
|
+
No significant changes. Releasing a mini version to address 5.1.0 release with major ruby requirement change (GH-315).
|
8
|
+
|
9
|
+
|
10
|
+
## 5.0.5
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
|
14
|
+
- Updated definitions.
|
15
|
+
|
16
|
+
## 5.0.4
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
- Reduced .gem file size (GH-258). [Thanks @ybiquitous]
|
21
|
+
- Updated definitions.
|
22
|
+
|
23
|
+
## 5.0.3
|
24
|
+
|
25
|
+
### Fixed
|
26
|
+
|
27
|
+
- Fixed automated release workflow.
|
28
|
+
|
29
|
+
## 5.0.2
|
30
|
+
|
31
|
+
### Changed
|
32
|
+
|
33
|
+
- Updated definitions.
|
34
|
+
|
35
|
+
## 5.0.1
|
36
|
+
|
37
|
+
### Changed
|
38
|
+
|
39
|
+
- Updated definitions.
|
40
|
+
|
41
|
+
|
42
|
+
## 5.0.0
|
43
|
+
|
44
|
+
### Changed
|
45
|
+
|
46
|
+
- Minimum Ruby version is 2.6
|
47
|
+
|
48
|
+
- Updated definitions.
|
49
|
+
|
5
50
|
|
6
51
|
## 4.0.7
|
7
52
|
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
## Requirements
|
18
18
|
|
19
|
-
<tt>PublicSuffix</tt> requires **Ruby >= 2.
|
19
|
+
<tt>PublicSuffix</tt> requires **Ruby >= 2.6**. For an older versions of Ruby use a previous release.
|
20
20
|
|
21
21
|
|
22
22
|
## Installation
|
@@ -150,6 +150,13 @@ PublicSuffix.domain("something.blogspot.com")
|
|
150
150
|
# => "blogspot.com"
|
151
151
|
```
|
152
152
|
|
153
|
+
## Add domain to list
|
154
|
+
|
155
|
+
If you want to manually add a domain to the list just run:
|
156
|
+
|
157
|
+
```ruby
|
158
|
+
PublicSuffix::List.default << PublicSuffix::Rule.factory('onmicrosoft.com')
|
159
|
+
```
|
153
160
|
|
154
161
|
## What is the Public Suffix List?
|
155
162
|
|
@@ -202,7 +209,7 @@ See the [CHANGELOG.md](CHANGELOG.md) file for details.
|
|
202
209
|
|
203
210
|
## License
|
204
211
|
|
205
|
-
Copyright (c) 2009-
|
212
|
+
Copyright (c) 2009-2024 Simone Carletti. This is Free Software distributed under the MIT license.
|
206
213
|
|
207
214
|
The [Public Suffix List source](https://publicsuffix.org/list/) is subject to the terms of the Mozilla Public License, v. 2.0.
|
208
215
|
|
@@ -214,4 +221,4 @@ sld = Second level domain, a domain that is directly below a top-level domain. F
|
|
214
221
|
|
215
222
|
trd = Transit routing domain, or known as a subdomain. This is the part of the domain that is before the sld or root domain. For example, in `https://www.mozilla.org/en-US/`, `www` is the trd.
|
216
223
|
|
217
|
-
FQDN = Fully Qualified Domain Names, are domain names that are written with the hostname and the domain name, and include the top-level domain, the format looks like `[hostname].[domain].[tld].` for ex. `[www].[mozilla].[org]`.
|
224
|
+
FQDN = Fully Qualified Domain Names, are domain names that are written with the hostname and the domain name, and include the top-level domain, the format looks like `[hostname].[domain].[tld].` for ex. `[www].[mozilla].[org]`.
|
data/SECURITY.md
CHANGED
@@ -16,87 +16,8 @@ Older major versions are no longer supported.
|
|
16
16
|
|
17
17
|
To make a report, please email weppos@weppos.net.
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
```
|
22
|
-
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
23
|
-
|
24
|
-
xsBNBE/QiI0BCACtBbjJnJIzaLb4NfjaljzT/+dvodst+wyDRE8Vwc6ujwboZjr2
|
25
|
-
0QwXScNzObPazyvkSZVh3g6PveneeSD0dSw2XDqKbbtLMg/Ss12yqXJfjavH/zjk
|
26
|
-
6Xq+nnbSnxBPzwFAAEaEFIc6H6BygJ7zHPP5WEY5QIMqifEAX//aBqHi4GXHJiHE
|
27
|
-
237Zqufdry23jBYjY7wGXAa11VsU9Iwqh6LPB9/hc1KtzjAuvvm5ufeT/iVjxGQX
|
28
|
-
te1OZZk6n8xSVYeLsn97PfgYs0yauhexwD9dG7FbRCB379JxPRn5akr391qXcVOG
|
29
|
-
ZA3yBXUSPOL6D1+TS1S0su5zbw2AEp4+z3SpABEBAAHNIlNpbW9uZSBDYXJsZXR0
|
30
|
-
aSA8d2VwcG9zQGdtYWlsLmNvbT7CwHcEEwEKACEFAlXH0UQCGy8FCwkIBwMFFQoJ
|
31
|
-
CAsFFgIDAQACHgECF4AACgkQQg2oKpiTmN9BOQf/UHd+bmww71MkbS38KkowDu+0
|
32
|
-
1VH35aL8sFcAMUSEA4I5oPWZoBtYYPGpALLxtrSNW+SCnmmeCQVfVmLedUVHwDZo
|
33
|
-
TS4qiynpqnz+Cnq4KRC8VMIyaFoiT5Vg6MLtau8hJtqZn1Wv68g0nXuprsCuf9vs
|
34
|
-
z7DDZ36z8em6OJQJQ/FQ4BGogzyYHa90cJnIM6BeLiRUUpFTl1tHLlw4JFUNi8sx
|
35
|
-
6VQ1/nhcr3OyskAix5TytRnJ8uIn22m25GGdTF2WQPNfkWJQVT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uDV12GKTen9WectKtepW0fgYSz+udbDKQyyRef+7xGtCErWRL7f1qr8xm60da
|
95
|
-
+gSwyD/WkPTY8SP2mdq4u+6m4dWS26kKoENwuL7jUktl/C/EG7NmUKURbXG8lmeu
|
96
|
-
q59MIs/Fb3SgaO+zN2FZTYp6dyRJHbeEz55JdOu6F+6ihZYH
|
97
|
-
=j6Xr
|
98
|
-
-----END PGP PUBLIC KEY BLOCK-----
|
99
|
-
```
|
19
|
+
> [!IMPORTANT]
|
20
|
+
> Please consider encrypting your report with GPG using the key [0x420da82a989398df](https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x420da82a989398df).
|
100
21
|
|
101
22
|
|
102
23
|
## Tracking Security Updates
|