public_suffix 5.0.0 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -6
- data/.github/workflows/psl-update.yml +1 -1
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/tests.yml +1 -0
- data/CHANGELOG.md +18 -0
- data/Gemfile +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +9 -2
- data/data/list.txt +563 -802
- 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 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e1af6bf3459567ad50f3e92f35193b0950f65126fb70eefb3b996857e27355b
|
4
|
+
data.tar.gz: 37035f8608cf236276841847274d5a44ae6e648de84a682fbf4d6b3b0e55911e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e211288208da6264e7ea5cb66098a19a07a26754d9c9f3a038c2a557306fb697ce4e325fb70e3d3806771e84491b3e6f35861670f6582b3ea0ed901234eef8
|
7
|
+
data.tar.gz: f01180755194f5c30dd49025dac3794c7ad5287dc5ef49129b27521aba03361efc1e6ab4f7f0e9474a391db83dd8498455b5e2537f78f64158a52de12e518065
|
data/.github/dependabot.yml
CHANGED
@@ -1,8 +1,19 @@
|
|
1
1
|
version: 2
|
2
2
|
updates:
|
3
|
-
- package-ecosystem: bundler
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
- package-ecosystem: bundler
|
4
|
+
directory: "/"
|
5
|
+
schedule:
|
6
|
+
interval: daily
|
7
|
+
time: "04:00"
|
8
|
+
open-pull-requests-limit: 10
|
9
|
+
labels:
|
10
|
+
- dependencies
|
11
|
+
|
12
|
+
- package-ecosystem: "github-actions"
|
13
|
+
directory: "/"
|
14
|
+
schedule:
|
15
|
+
interval: "daily"
|
16
|
+
time: "04:00"
|
17
|
+
open-pull-requests-limit: 10
|
18
|
+
labels:
|
19
|
+
- dependencies
|
@@ -12,7 +12,7 @@ jobs:
|
|
12
12
|
- name: Checkout
|
13
13
|
uses: actions/checkout@v3
|
14
14
|
- name: Release Gem
|
15
|
-
uses: cadwallion/publish-rubygems-action@
|
15
|
+
uses: cadwallion/publish-rubygems-action@94a6f4cd5350581749c569b5001eecc864e3ad0b
|
16
16
|
env:
|
17
17
|
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
18
18
|
RELEASE_COMMAND: rake release
|
data/.github/workflows/tests.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,24 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
4
4
|
|
5
|
+
## 5.0.3
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
- Fixed automated release workflow.
|
10
|
+
|
11
|
+
## 5.0.2
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
|
15
|
+
- Updated definitions.
|
16
|
+
|
17
|
+
## 5.0.1
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
|
21
|
+
- Updated definitions.
|
22
|
+
|
5
23
|
|
6
24
|
## 5.0.0
|
7
25
|
|
data/Gemfile
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-2023 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]`.
|