public_suffix 5.0.1 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/LICENSE.txt +1 -1
- data/README.md +9 -2
- data/SECURITY.md +2 -81
- data/data/list.txt +3256 -1855
- data/lib/public_suffix/domain.rb +1 -1
- data/lib/public_suffix/errors.rb +1 -1
- data/lib/public_suffix/list.rb +1 -1
- data/lib/public_suffix/rule.rb +1 -1
- data/lib/public_suffix/version.rb +3 -4
- data/lib/public_suffix.rb +1 -1
- metadata +8 -42
- data/.github/FUNDING.yml +0 -12
- data/.github/dependabot.yml +0 -19
- data/.github/workflows/psl-update.yml +0 -38
- data/.github/workflows/release.yml +0 -18
- data/.github/workflows/tests.yml +0 -29
- data/.gitignore +0 -8
- data/.rubocop.yml +0 -37
- data/.rubocop_opinionated.yml +0 -135
- 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: e873ba762a6d3b55530c3413b1b714eb05d97d0541f61c080bccc634c65b2659
|
4
|
+
data.tar.gz: d1d949bba0cbcc610bfb1a386f298a85803a4a27921e22be3f7991e2c0a3eab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53bae629c847a3c58da32ee48e5f04b8daa15f0f438f8fc18c5f9b2500258ed3cecd2e53b89e1d1253ac4139f53f6b64ec385529b5ca4af5e36f19a4836cc00a
|
7
|
+
data.tar.gz: 877b7c9bd4561b0570751017f66189559d5f6108fa7285d5f045cad80464e1d0c64a3fd213e80fecc4c4fdf115942280c29d70e8ae36eb818be5b5b33478c724
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
4
4
|
|
5
|
+
## 5.0.5
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- Updated definitions.
|
10
|
+
|
11
|
+
## 5.0.4
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
|
15
|
+
- Reduced .gem file size (GH-258). [Thanks @ybiquitous]
|
16
|
+
- Updated definitions.
|
17
|
+
|
18
|
+
## 5.0.3
|
19
|
+
|
20
|
+
### Fixed
|
21
|
+
|
22
|
+
- Fixed automated release workflow.
|
23
|
+
|
24
|
+
## 5.0.2
|
25
|
+
|
26
|
+
### Changed
|
27
|
+
|
28
|
+
- Updated definitions.
|
29
|
+
|
5
30
|
## 5.0.1
|
6
31
|
|
7
32
|
### Changed
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -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//aBqHi4GXHJiH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piTmN/AXSAEGQECAAYFAk/QiI0ACgkQcBROh493BN9hdwf9
|
86
|
-
GjiF1GcQN+3TZkXdr2WY0AlbcA/wBp6+ShnqcoU5XLuA0RY3+rWGuaSc2buLke6Y
|
87
|
-
2MhMAYcgmPdG+WTBoW5dWQGXBZ1IHYVR8HLGaF+Vate1MofE1BNHXhnilIMMfH4G
|
88
|
-
Tcr3Z3/FaSk9OdHlyiE/Jo7++8PQ+auHVyjtqry+/ysAnyr+lnCn+K4E0PQ1fYpP
|
89
|
-
fiawKtfSqk9h6HjjMyx9Adrz+ljXh+NyVqYZUfRytjgO+v+dAQmMczT1EawLTdX+
|
90
|
-
trx1tHR549pEey7in5QKsje3GLH4zq4mCdWBlivQxmmmlvR07DysLADMbcpjKK2g
|
91
|
-
utfzygZHCU9hWGR3wbWZ7lXjB/0ZzutNaNYzSCkiC8PIWH1bG+TJO9pslHwP+aBJ
|
92
|
-
NGAmcwyOH9Bub2CSXikQFZNUmVRwtl7mN4bVAHI8zbMd6xdlX22yDgQei54dPXDw
|
93
|
-
UYsvGE4zmrD97he1EYcIOKMFHzlJNcWK+uR7lEq6mv7SFGnBr8qTYZRi1bySRgwd
|
94
|
-
UORuDV12GKTen9WectKtepW0fgYSz+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
|