public_suffix 3.1.1 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +12 -0
- data/.github/workflows/tests.yml +36 -0
- data/.gitignore +5 -8
- data/.rubocop.yml +2 -2
- data/{.rubocop_defaults.yml → .rubocop_opinionated.yml} +12 -34
- data/.travis.yml +2 -10
- data/CHANGELOG.md +105 -52
- data/Gemfile +6 -3
- data/LICENSE.txt +1 -1
- data/README.md +20 -15
- data/SECURITY.md +104 -0
- data/codecov.yml +12 -0
- data/data/list.txt +629 -215
- data/lib/public_suffix.rb +1 -1
- data/lib/public_suffix/domain.rb +1 -1
- data/lib/public_suffix/errors.rb +1 -1
- data/lib/public_suffix/list.rb +3 -3
- data/lib/public_suffix/rule.rb +2 -2
- data/lib/public_suffix/version.rb +2 -2
- data/public_suffix.gemspec +9 -5
- data/test/acceptance_test.rb +31 -29
- data/test/psl_test.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/test/unit/public_suffix_test.rb +11 -11
- data/test/unit/rule_test.rb +30 -30
- metadata +16 -50
- data/.ruby-gemset +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48a2adc85da4aa3f989df90aab4b788c33f029def5daa425e1c78f2f996f457e
|
4
|
+
data.tar.gz: 6b8fd93652f1eb725867dfc646f76f42524e3efecd758439ca0337e5717f7182
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52c6c74121231ef5d99e165eec0fb460e4c286cbf0cf06fbe89a98272bc7ff2de68a7cf464676074f3851a0a4e2d7f842e3e34f7ddde32f480d2474bc6dd62c9
|
7
|
+
data.tar.gz: 96cd0e0294cc31ca0176362938022d65782deec59ecb4e606119481a09e1906cccc05203ae4ba7ddb5bb20a2915cbea99d696c47335f250b1db8d512b41499d1
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# These are supported funding model platforms
|
2
|
+
|
3
|
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4
|
+
patreon: # Replace with a single Patreon username
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
7
|
+
tidelift: "rubygems/public_suffix"
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
11
|
+
otechie: # Replace with a single Otechie username
|
12
|
+
custom: # Replace with a single custom sponsorship URL
|
@@ -0,0 +1,36 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
|
11
|
+
build:
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version:
|
15
|
+
# - "2.3"
|
16
|
+
- "2.4"
|
17
|
+
- "2.5"
|
18
|
+
- "2.6"
|
19
|
+
- "2.7"
|
20
|
+
platform: [ubuntu-latest]
|
21
|
+
|
22
|
+
runs-on: ${{ matrix.platform }}
|
23
|
+
steps:
|
24
|
+
|
25
|
+
- uses: actions/checkout@v2
|
26
|
+
|
27
|
+
- name: Set up Ruby
|
28
|
+
uses: ruby/setup-ruby@v1
|
29
|
+
with:
|
30
|
+
ruby-version: ${{ matrix.ruby-version }}
|
31
|
+
|
32
|
+
- name: Install dependencies
|
33
|
+
run: bundle install
|
34
|
+
|
35
|
+
- name: Run tests
|
36
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
inherit_from:
|
2
|
-
- .
|
2
|
+
- .rubocop_opinionated.yml
|
3
3
|
|
4
4
|
AllCops:
|
5
5
|
Exclude:
|
@@ -24,7 +24,7 @@ Style/ClassAndModuleChildren:
|
|
24
24
|
- 'test/**/*_test.rb'
|
25
25
|
|
26
26
|
# Dear Rubocop, I don't want to use String#strip_heredoc
|
27
|
-
Layout/
|
27
|
+
Layout/HeredocIndentation:
|
28
28
|
Enabled: false
|
29
29
|
|
30
30
|
Style/WordArray:
|
@@ -5,6 +5,15 @@ AllCops:
|
|
5
5
|
# Exclude vendored folders
|
6
6
|
- 'tmp/**/*'
|
7
7
|
- 'vendor/**/*'
|
8
|
+
NewCops: enable
|
9
|
+
|
10
|
+
# [codesmell]
|
11
|
+
Layout/LineLength:
|
12
|
+
Enabled: false
|
13
|
+
Exclude:
|
14
|
+
- 'spec/**/*_spec.rb'
|
15
|
+
- 'test/**/*_test.rb'
|
16
|
+
Max: 100
|
8
17
|
|
9
18
|
# [codesmell]
|
10
19
|
Metrics/AbcSize:
|
@@ -31,14 +40,6 @@ Metrics/ClassLength:
|
|
31
40
|
- 'spec/**/*_spec.rb'
|
32
41
|
- 'test/**/*_test.rb'
|
33
42
|
|
34
|
-
# [codesmell]
|
35
|
-
Metrics/LineLength:
|
36
|
-
Enabled: false
|
37
|
-
Exclude:
|
38
|
-
- 'spec/**/*_spec.rb'
|
39
|
-
- 'test/**/*_test.rb'
|
40
|
-
Max: 100
|
41
|
-
|
42
43
|
# [codesmell]
|
43
44
|
Metrics/MethodLength:
|
44
45
|
Enabled: false
|
@@ -105,32 +106,6 @@ Style/FormatString:
|
|
105
106
|
Style/FormatStringToken:
|
106
107
|
Enabled: false
|
107
108
|
|
108
|
-
# Prefer the latest Hash syntax
|
109
|
-
Style/HashSyntax:
|
110
|
-
Exclude:
|
111
|
-
# But Rakefiles generally have some definition like
|
112
|
-
# :default => :test
|
113
|
-
# that looks nicer with the old rocket syntax.
|
114
|
-
- 'Rakefile'
|
115
|
-
|
116
|
-
Style/RescueStandardError:
|
117
|
-
Enabled: false
|
118
|
-
|
119
|
-
# Array indentation should be considered like MultilineMethodCallIndentation indentation
|
120
|
-
# and use 4 spaces instead of 2.
|
121
|
-
Layout/IndentFirstArrayElement:
|
122
|
-
IndentationWidth: 4
|
123
|
-
|
124
|
-
# Hash indentation should be considered like MultilineMethodCallIndentation indentation
|
125
|
-
# and use 4 spaces instead of 2.
|
126
|
-
Layout/IndentFirstHashElement:
|
127
|
-
IndentationWidth: 4
|
128
|
-
|
129
|
-
# Multi-line differs from standard indentation, they are indented twice.
|
130
|
-
Layout/MultilineMethodCallIndentation:
|
131
|
-
EnforcedStyle: indented
|
132
|
-
IndentationWidth: 4
|
133
|
-
|
134
109
|
# unless is not always cool.
|
135
110
|
Style/NegatedIf:
|
136
111
|
Enabled: false
|
@@ -145,6 +120,9 @@ Style/PercentLiteralDelimiters:
|
|
145
120
|
Style/RescueModifier:
|
146
121
|
Enabled: false
|
147
122
|
|
123
|
+
Style/SymbolArray:
|
124
|
+
EnforcedStyle: brackets
|
125
|
+
|
148
126
|
# Sorry, but using trailing spaces helps readability.
|
149
127
|
#
|
150
128
|
# %w( foo bar )
|
data/.travis.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
3
|
rvm:
|
4
|
-
- 2.3
|
4
|
+
# - 2.3
|
5
5
|
- 2.4
|
6
6
|
- 2.5
|
7
7
|
- 2.6
|
8
|
-
-
|
8
|
+
- 2.7
|
9
9
|
- ruby-head
|
10
10
|
|
11
11
|
env:
|
@@ -15,16 +15,8 @@ cache:
|
|
15
15
|
- bundler
|
16
16
|
|
17
17
|
matrix:
|
18
|
-
include:
|
19
|
-
- rvm: 2.1
|
20
|
-
before_install:
|
21
|
-
- gem install bundler -v '< 2.0'
|
22
|
-
- rvm: 2.2
|
23
|
-
before_install:
|
24
|
-
- gem install bundler -v '< 2.0'
|
25
18
|
allow_failures:
|
26
19
|
- rvm: ruby-head
|
27
|
-
- rvm: jruby-9.1.5.0
|
28
20
|
|
29
21
|
before_install:
|
30
22
|
- gem update --system
|
data/CHANGELOG.md
CHANGED
@@ -1,36 +1,89 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
3
4
|
|
4
|
-
|
5
|
+
|
6
|
+
## 4.0.6
|
7
|
+
|
8
|
+
### Changed
|
9
|
+
|
10
|
+
- Updated definitions.
|
11
|
+
|
12
|
+
|
13
|
+
## 4.0.5
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
|
17
|
+
- Updated definitions.
|
18
|
+
|
19
|
+
|
20
|
+
## 4.0.4
|
21
|
+
|
22
|
+
### Changed
|
23
|
+
|
24
|
+
- Updated definitions.
|
25
|
+
|
26
|
+
|
27
|
+
## 4.0.3
|
28
|
+
|
29
|
+
### Fixed
|
30
|
+
|
31
|
+
- Fixed 2.7 deprecations and warnings (GH-167). [Thanks @BrianHawley]
|
32
|
+
|
33
|
+
|
34
|
+
## 4.0.2
|
35
|
+
|
36
|
+
### Changed
|
37
|
+
|
38
|
+
- Updated definitions.
|
39
|
+
|
40
|
+
|
41
|
+
## 4.0.1
|
42
|
+
|
43
|
+
### Changed
|
44
|
+
|
45
|
+
- Updated definitions.
|
46
|
+
|
47
|
+
|
48
|
+
## 4.0.0
|
49
|
+
|
50
|
+
### Changed
|
51
|
+
|
52
|
+
- Minimum Ruby version is 2.3
|
53
|
+
|
54
|
+
|
55
|
+
## Release 3.1.1
|
5
56
|
|
6
57
|
- CHANGED: Updated definitions.
|
7
58
|
- CHANGED: Rolled back support for Ruby 2.3 (GH-161, GH-162)
|
8
59
|
|
60
|
+
IMPORTANT: 3.x is the latest version compatible with Ruby 2.1 and Ruby 2.2.
|
61
|
+
|
9
62
|
|
10
|
-
|
63
|
+
## Release 3.1.0
|
11
64
|
|
12
65
|
- CHANGED: Updated definitions.
|
13
66
|
- CHANGED: Minimum Ruby version is 2.3
|
14
67
|
- CHANGED: Upgraded to Bundler 2.x
|
15
68
|
|
16
69
|
|
17
|
-
|
70
|
+
## Release 3.0.3
|
18
71
|
|
19
72
|
- CHANGED: Updated definitions.
|
20
73
|
|
21
74
|
|
22
|
-
|
75
|
+
## Release 3.0.2
|
23
76
|
|
24
77
|
- CHANGED: Updated definitions.
|
25
78
|
|
26
79
|
|
27
|
-
|
80
|
+
## Release 3.0.1
|
28
81
|
|
29
82
|
- CHANGED: Updated definitions.
|
30
83
|
- CHANGED: Improve performance and avoid allocation (GH-146). [Thanks @robholland]
|
31
84
|
|
32
85
|
|
33
|
-
|
86
|
+
## Release 3.0.0
|
34
87
|
|
35
88
|
This new version includes a major redesign of the library internals, with the goal to drastically
|
36
89
|
improve the lookup time while reducing storage space.
|
@@ -47,35 +100,35 @@ and/or removed. You can find more information at GH-133.
|
|
47
100
|
- CHANGED: Redesigned internal list storage and lookup algorithm to achieve O(1) lookup time (see GH-133).
|
48
101
|
|
49
102
|
|
50
|
-
|
103
|
+
## Release 2.0.5
|
51
104
|
|
52
105
|
- CHANGED: Updated definitions.
|
53
106
|
- CHANGED: Initialization performance improvements (GH-128). [Thanks @casperisfine]
|
54
107
|
|
55
108
|
|
56
|
-
|
109
|
+
## Release 2.0.4
|
57
110
|
|
58
111
|
- FIXED: Fix a bug that caused the GEM to be published with the wrong version number in the gemspec (GH-121).
|
59
112
|
|
60
113
|
- CHANGED: Updated definitions.
|
61
114
|
|
62
115
|
|
63
|
-
|
116
|
+
## Release 2.0.3
|
64
117
|
|
65
118
|
- CHANGED: Updated definitions.
|
66
119
|
|
67
120
|
|
68
|
-
|
121
|
+
## Release 2.0.2
|
69
122
|
|
70
123
|
- CHANGED: Updated definitions.
|
71
124
|
|
72
125
|
|
73
|
-
|
126
|
+
## Release 2.0.1
|
74
127
|
|
75
128
|
- FIXED: Fix bug that prevented .valid? to reset the default rule
|
76
129
|
|
77
130
|
|
78
|
-
|
131
|
+
## Release 2.0.0
|
79
132
|
|
80
133
|
- NEW: Added PublicSuffix.domain # => sld.tld
|
81
134
|
- NEW: Added the ability to disable the use of private domains either at runtime, in addition to the ability to not load the private domains section when reading the list (`private_domains: false`). This feature also superseded the `private_domains` class-level attribute, that is no longer available.
|
@@ -92,97 +145,97 @@ and/or removed. You can find more information at GH-133.
|
|
92
145
|
- REMOVED: Removed futile utility helpers such as `Domain#rule`, `Domain#is_a_domain?`, `Domain#is_a_subdomain?`, `Domain#valid?`. You can easily obtain the same result by having a custom method that reconstructs the logic, and/or calling `PublicSuffix.{domain|parse}(domain.to_s)`.
|
93
146
|
|
94
147
|
|
95
|
-
|
148
|
+
## Release 1.5.3
|
96
149
|
|
97
150
|
- FIXED: Don't duplicate rule indices when creating index (GH-77). [Thanks @ags]
|
98
151
|
|
99
152
|
- CHANGED: Updated definitions.
|
100
153
|
|
101
154
|
|
102
|
-
|
155
|
+
## Release 1.5.2
|
103
156
|
|
104
157
|
- CHANGED: Updated definitions.
|
105
158
|
|
106
159
|
|
107
|
-
|
160
|
+
## Release 1.5.1
|
108
161
|
|
109
162
|
- FIXED: Ignore case for parsing and validating (GH-62)
|
110
163
|
|
111
164
|
- CHANGED: Updated definitions.
|
112
165
|
|
113
166
|
|
114
|
-
|
167
|
+
## Release 1.5.0
|
115
168
|
|
116
169
|
- CHANGED: Dropped support for Ruby < 2.0
|
117
170
|
|
118
171
|
- CHANGED: Updated definitions.
|
119
172
|
|
120
173
|
|
121
|
-
|
174
|
+
## Release 1.4.6
|
122
175
|
|
123
176
|
- CHANGED: Updated definitions.
|
124
177
|
|
125
178
|
|
126
|
-
|
179
|
+
## Release 1.4.5
|
127
180
|
|
128
181
|
- CHANGED: Updated definitions.
|
129
182
|
|
130
183
|
|
131
|
-
|
184
|
+
## Release 1.4.4
|
132
185
|
|
133
186
|
- CHANGED: Updated definitions.
|
134
187
|
|
135
188
|
|
136
|
-
|
189
|
+
## Release 1.4.3
|
137
190
|
|
138
191
|
- CHANGED: Updated definitions.
|
139
192
|
|
140
193
|
|
141
|
-
|
194
|
+
## Release 1.4.2
|
142
195
|
|
143
196
|
- CHANGED: Updated definitions.
|
144
197
|
|
145
198
|
|
146
|
-
|
199
|
+
## Release 1.4.1
|
147
200
|
|
148
201
|
- CHANGED: Updated definitions.
|
149
202
|
|
150
203
|
|
151
|
-
|
204
|
+
## Release 1.4.0
|
152
205
|
|
153
206
|
- CHANGED: Moved the definitions in the lib folder.
|
154
207
|
|
155
208
|
- CHANGED: Updated definitions.
|
156
209
|
|
157
210
|
|
158
|
-
|
211
|
+
## Release 1.3.3
|
159
212
|
|
160
213
|
- CHANGED: Updated definitions.
|
161
214
|
|
162
215
|
|
163
|
-
|
216
|
+
## Release 1.3.2
|
164
217
|
|
165
218
|
- CHANGED: Updated definitions.
|
166
219
|
|
167
220
|
|
168
|
-
|
221
|
+
## Release 1.3.1
|
169
222
|
|
170
223
|
- CHANGED: Updated definitions.
|
171
224
|
|
172
225
|
|
173
|
-
|
226
|
+
## Release 1.3.0
|
174
227
|
|
175
228
|
- NEW: Ability to skip Private Domains (GH-28). [Thanks @rb2k]
|
176
229
|
|
177
230
|
- CHANGED: Updated definitions.
|
178
231
|
|
179
232
|
|
180
|
-
|
233
|
+
## Release 1.2.1
|
181
234
|
|
182
235
|
- CHANGED: Updated definitions.
|
183
236
|
|
184
237
|
|
185
|
-
|
238
|
+
## Release 1.2.0
|
186
239
|
|
187
240
|
- NEW: Allow a custom List on `PublicSuffix.parse` (GH-26). [Thanks @itspriddle]
|
188
241
|
|
@@ -191,22 +244,22 @@ and/or removed. You can find more information at GH-133.
|
|
191
244
|
- CHANGED: Updated definitions.
|
192
245
|
|
193
246
|
|
194
|
-
|
247
|
+
## Release 1.1.3
|
195
248
|
|
196
249
|
- CHANGED: Updated definitions.
|
197
250
|
|
198
251
|
|
199
|
-
|
252
|
+
## Release 1.1.2
|
200
253
|
|
201
254
|
- CHANGED: Updated definitions.
|
202
255
|
|
203
256
|
|
204
|
-
|
257
|
+
## Release 1.1.1
|
205
258
|
|
206
259
|
- CHANGED: Updated definitions.
|
207
260
|
|
208
261
|
|
209
|
-
|
262
|
+
## Release 1.1.0
|
210
263
|
|
211
264
|
- FIXED: #valid? and #parse consider URIs as valid domains (GH-15)
|
212
265
|
|
@@ -215,17 +268,17 @@ and/or removed. You can find more information at GH-133.
|
|
215
268
|
- CHANGED: Removed deprecatd PublicSuffixService::RuleList.
|
216
269
|
|
217
270
|
|
218
|
-
|
271
|
+
## Release 1.0.0
|
219
272
|
|
220
273
|
- CHANGED: Updated definitions.
|
221
274
|
|
222
275
|
|
223
|
-
|
276
|
+
## Release 1.0.0.rc1
|
224
277
|
|
225
278
|
The library is now known as PublicSuffix.
|
226
279
|
|
227
280
|
|
228
|
-
|
281
|
+
## Release 0.9.1
|
229
282
|
|
230
283
|
- CHANGED: Renamed PublicSuffixService::RuleList to PublicSuffixService::List.
|
231
284
|
|
@@ -236,20 +289,20 @@ The library is now known as PublicSuffix.
|
|
236
289
|
- CHANGED: Updated definitions.
|
237
290
|
|
238
291
|
|
239
|
-
|
292
|
+
## Release 0.9.0
|
240
293
|
|
241
294
|
- CHANGED: Minimum Ruby version increased to Ruby 1.8.7.
|
242
295
|
|
243
296
|
- CHANGED: rake/gempackagetask is deprecated. Use rubygems/package_task instead.
|
244
297
|
|
245
298
|
|
246
|
-
|
299
|
+
## Release 0.8.4
|
247
300
|
|
248
301
|
- FIXED: Reverted bugfix for issue #12 for Ruby 1.8.6.
|
249
302
|
This is the latest version compatible with Ruby 1.8.6.
|
250
303
|
|
251
304
|
|
252
|
-
|
305
|
+
## Release 0.8.3
|
253
306
|
|
254
307
|
- FIXED: Fixed ArgumentError: invalid byte sequence in US-ASCII with Ruby 1.9.2 (#12).
|
255
308
|
|
@@ -258,7 +311,7 @@ The library is now known as PublicSuffix.
|
|
258
311
|
- CHANGED: Renamed definitions.txt to definitions.dat.
|
259
312
|
|
260
313
|
|
261
|
-
|
314
|
+
## Release 0.8.2
|
262
315
|
|
263
316
|
- NEW: Added support for rubygems-test.
|
264
317
|
|
@@ -267,19 +320,19 @@ The library is now known as PublicSuffix.
|
|
267
320
|
- CHANGED: Updated definitions.
|
268
321
|
|
269
322
|
|
270
|
-
|
323
|
+
## Release 0.8.1
|
271
324
|
|
272
325
|
- FIXED: The files in the release 0.8.0 have wrong permission 600 and can't be loaded (#10).
|
273
326
|
|
274
327
|
|
275
|
-
|
328
|
+
## Release 0.8.0
|
276
329
|
|
277
330
|
- CHANGED: Update public suffix list to d1a5599b49fa 2010-10-25 15:10 +0100 (#9)
|
278
331
|
|
279
332
|
- NEW: Add support for Fully Qualified Domain Names (#7)
|
280
333
|
|
281
334
|
|
282
|
-
|
335
|
+
## Release 0.7.0
|
283
336
|
|
284
337
|
- CHANGED: Using YARD to document the code instead of RDoc.
|
285
338
|
|
@@ -288,7 +341,7 @@ The library is now known as PublicSuffix.
|
|
288
341
|
- FIXED: PublicSuffixService.valid? should return false if the domain is not defined or not allowed (#4, #5)
|
289
342
|
|
290
343
|
|
291
|
-
|
344
|
+
## Release 0.6.0
|
292
345
|
|
293
346
|
- NEW: PublicSuffixService.parse raises DomainNotAllowed when trying to parse a domain name
|
294
347
|
which exists, but is not allowed by the current definition list (#3)
|
@@ -299,34 +352,34 @@ The library is now known as PublicSuffix.
|
|
299
352
|
- CHANGED: Renamed PublicSuffixService::InvalidDomain to PublicSuffixService::DomainInvalid
|
300
353
|
|
301
354
|
|
302
|
-
|
355
|
+
## Release 0.5.2
|
303
356
|
|
304
357
|
- CHANGED: Update public suffix list to 248ea690d671 2010-09-16 18:02 +0100
|
305
358
|
|
306
359
|
|
307
|
-
|
360
|
+
## Release 0.5.1
|
308
361
|
|
309
362
|
- CHANGED: Update public suffix list to 14dc66dd53c1 2010-09-15 17:09 +0100
|
310
363
|
|
311
364
|
|
312
|
-
|
365
|
+
## Release 0.5.0
|
313
366
|
|
314
367
|
- CHANGED: Improve documentation for Domain#domain and Domain#subdomain (#1).
|
315
368
|
|
316
369
|
- CHANGED: Performance improvements (#2).
|
317
370
|
|
318
371
|
|
319
|
-
|
372
|
+
## Release 0.4.0
|
320
373
|
|
321
374
|
- CHANGED: Rename library from DomainName to PublicSuffixService to reduce the probability of name conflicts.
|
322
375
|
|
323
376
|
|
324
|
-
|
377
|
+
## Release 0.3.1
|
325
378
|
|
326
379
|
- Deprecated DomainName library.
|
327
380
|
|
328
381
|
|
329
|
-
|
382
|
+
## Release 0.3.0
|
330
383
|
|
331
384
|
- CHANGED: DomainName#domain and DomainName#subdomain are no longer alias of Domain#sld and Domain#tld.
|
332
385
|
|
@@ -337,7 +390,7 @@ The library is now known as PublicSuffix.
|
|
337
390
|
- CHANGED: Refactoring the entire DomainName API. Removed the internal on-the-fly parsing. Added a bunch of new methods to check and validate the DomainName.
|
338
391
|
|
339
392
|
|
340
|
-
|
393
|
+
## Release 0.2.0
|
341
394
|
|
342
395
|
- NEW: DomainName#valid?
|
343
396
|
|
@@ -348,6 +401,6 @@ The library is now known as PublicSuffix.
|
|
348
401
|
- CHANGED: Make sure RuleList lookup is only performed once.
|
349
402
|
|
350
403
|
|
351
|
-
|
404
|
+
## Release 0.1.0
|
352
405
|
|
353
406
|
- Initial version
|