public_suffix 5.0.3 → 7.0.5
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +381 -176
- data/Gemfile +4 -2
- data/LICENSE.txt +1 -1
- data/README.md +38 -31
- data/SECURITY.md +3 -83
- data/data/list.txt +5772 -3301
- 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 +2 -2
- data/lib/public_suffix/version.rb +2 -2
- data/lib/public_suffix.rb +1 -1
- metadata +7 -43
- 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 -30
- data/.gitignore +0 -8
- data/.rubocop.yml +0 -37
- data/.rubocop_opinionated.yml +0 -135
- data/2.0-Upgrade.md +0 -52
- 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
data/CHANGELOG.md
CHANGED
|
@@ -1,444 +1,649 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
|
4
3
|
|
|
5
|
-
##
|
|
4
|
+
## 7.0.5 - 2026-03-03
|
|
5
|
+
|
|
6
|
+
### Fixed
|
|
7
|
+
|
|
8
|
+
- Fix release crash caused by unconditional rubocop/yard requires in Rakefile.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## 7.0.4 - 2026-03-03
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fix release workflow.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## 7.0.3 - 2026-03-03
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Updated definitions.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 7.0.2 - 2026-01-04
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Excluded symlinks and unnecessary files from gem packaging. On Windows symlinks cannot be created without Administrator privileges or with developer mode enabled #496.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## 7.0.1 - 2026-01-03
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Updated definitions.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## 7.0.0 - 2024-11-17
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- Updated definitions.
|
|
44
|
+
- Minimum Ruby version is 3.2
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## 6.0.2 - 2024-04-30
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Updated definitions.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## 6.0.1 - 2024-07-23
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- Updated definitions.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## 6.0.0 - 2024-06-17
|
|
62
|
+
|
|
63
|
+
Same as 5.1.0. Re-releasing as a major version change due to a major ruby version requirement change.
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- Updated definitions.
|
|
68
|
+
- Minimum Ruby version is 3.0
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## 5.1.1 - 2024-06-17
|
|
72
|
+
|
|
73
|
+
No significant changes. Releasing a mini version to address 5.1.0 release with major ruby requirement change #315.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## 5.1.0 - 2024-06-15
|
|
77
|
+
|
|
78
|
+
### Changed
|
|
79
|
+
|
|
80
|
+
- Updated definitions.
|
|
81
|
+
- Minimum Ruby version is 3.0
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## 5.0.5 - 2024-04-02
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
|
|
88
|
+
- Updated definitions.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## 5.0.4 - 2023-11-17
|
|
92
|
+
|
|
93
|
+
### Changed
|
|
94
|
+
|
|
95
|
+
- Reduced .gem file size #258. (Thanks @ybiquitous)
|
|
96
|
+
- Updated definitions.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## 5.0.3 - 2023-07-11
|
|
6
100
|
|
|
7
101
|
### Fixed
|
|
8
102
|
|
|
9
103
|
- Fixed automated release workflow.
|
|
10
104
|
|
|
11
|
-
|
|
105
|
+
|
|
106
|
+
## 5.0.2 - 2023-07-11
|
|
12
107
|
|
|
13
108
|
### Changed
|
|
14
109
|
|
|
15
110
|
- Updated definitions.
|
|
16
111
|
|
|
17
|
-
|
|
112
|
+
|
|
113
|
+
## 5.0.1 - 2022-12-07
|
|
18
114
|
|
|
19
115
|
### Changed
|
|
20
116
|
|
|
21
117
|
- Updated definitions.
|
|
22
118
|
|
|
23
119
|
|
|
24
|
-
## 5.0.0
|
|
120
|
+
## 5.0.0 - 2022-07-24
|
|
25
121
|
|
|
26
122
|
### Changed
|
|
27
123
|
|
|
28
124
|
- Minimum Ruby version is 2.6
|
|
29
|
-
|
|
30
125
|
- Updated definitions.
|
|
31
126
|
|
|
32
127
|
|
|
33
|
-
## 4.0.7
|
|
128
|
+
## 4.0.7 - 2022-04-12
|
|
34
129
|
|
|
35
|
-
###
|
|
130
|
+
### Fixed
|
|
36
131
|
|
|
37
|
-
- Fixed YARD rake task
|
|
132
|
+
- Fixed YARD rake task #179
|
|
38
133
|
|
|
39
134
|
### Changed
|
|
40
135
|
|
|
41
136
|
- Updated definitions.
|
|
42
137
|
|
|
43
138
|
|
|
44
|
-
## 4.0.6
|
|
139
|
+
## 4.0.6 - 2020-09-02
|
|
45
140
|
|
|
46
141
|
### Changed
|
|
47
142
|
|
|
48
143
|
- Updated definitions.
|
|
49
144
|
|
|
50
145
|
|
|
51
|
-
## 4.0.5
|
|
146
|
+
## 4.0.5 - 2020-05-09
|
|
52
147
|
|
|
53
148
|
### Changed
|
|
54
149
|
|
|
55
150
|
- Updated definitions.
|
|
56
151
|
|
|
57
152
|
|
|
58
|
-
## 4.0.4
|
|
153
|
+
## 4.0.4 - 2020-04-05
|
|
59
154
|
|
|
60
155
|
### Changed
|
|
61
156
|
|
|
62
157
|
- Updated definitions.
|
|
63
158
|
|
|
64
159
|
|
|
65
|
-
## 4.0.3
|
|
160
|
+
## 4.0.3 - 2020-01-05
|
|
66
161
|
|
|
67
162
|
### Fixed
|
|
68
163
|
|
|
69
|
-
- Fixed 2.7 deprecations and warnings
|
|
164
|
+
- Fixed 2.7 deprecations and warnings #167. (Thanks @BrianHawley)
|
|
70
165
|
|
|
71
166
|
|
|
72
|
-
## 4.0.2
|
|
167
|
+
## 4.0.2 - 2019-12-27
|
|
73
168
|
|
|
74
169
|
### Changed
|
|
75
170
|
|
|
76
171
|
- Updated definitions.
|
|
77
172
|
|
|
78
173
|
|
|
79
|
-
## 4.0.1
|
|
174
|
+
## 4.0.1 - 2019-08-09
|
|
80
175
|
|
|
81
176
|
### Changed
|
|
82
177
|
|
|
83
178
|
- Updated definitions.
|
|
84
179
|
|
|
85
180
|
|
|
86
|
-
## 4.0.0
|
|
181
|
+
## 4.0.0 - 2019-06-25
|
|
87
182
|
|
|
88
183
|
### Changed
|
|
89
184
|
|
|
90
185
|
- Minimum Ruby version is 2.3
|
|
91
186
|
|
|
92
187
|
|
|
93
|
-
##
|
|
94
|
-
|
|
95
|
-
- CHANGED: Updated definitions.
|
|
96
|
-
- CHANGED: Rolled back support for Ruby 2.3 (GH-161, GH-162)
|
|
188
|
+
## 3.1.1 - 2019-06-25
|
|
97
189
|
|
|
98
190
|
IMPORTANT: 3.x is the latest version compatible with Ruby 2.1 and Ruby 2.2.
|
|
99
191
|
|
|
192
|
+
### Changed
|
|
100
193
|
|
|
101
|
-
|
|
194
|
+
- Updated definitions.
|
|
195
|
+
- Rolled back support for Ruby 2.3 #161, #162
|
|
102
196
|
|
|
103
|
-
- CHANGED: Updated definitions.
|
|
104
|
-
- CHANGED: Minimum Ruby version is 2.3
|
|
105
|
-
- CHANGED: Upgraded to Bundler 2.x
|
|
106
197
|
|
|
198
|
+
## 3.1.0 - 2019-05-27
|
|
107
199
|
|
|
108
|
-
|
|
200
|
+
### Changed
|
|
109
201
|
|
|
110
|
-
-
|
|
202
|
+
- Updated definitions.
|
|
203
|
+
- Minimum Ruby version is 2.3
|
|
204
|
+
- Upgraded to Bundler 2.x
|
|
111
205
|
|
|
112
206
|
|
|
113
|
-
##
|
|
207
|
+
## 3.0.3 - 2018-08-15
|
|
114
208
|
|
|
115
|
-
|
|
209
|
+
### Changed
|
|
116
210
|
|
|
211
|
+
- Updated definitions.
|
|
117
212
|
|
|
118
|
-
## Release 3.0.1
|
|
119
213
|
|
|
120
|
-
|
|
121
|
-
- CHANGED: Improve performance and avoid allocation (GH-146). [Thanks @robholland]
|
|
214
|
+
## 3.0.2 - 2018-02-12
|
|
122
215
|
|
|
216
|
+
### Changed
|
|
123
217
|
|
|
124
|
-
|
|
218
|
+
- Updated definitions.
|
|
125
219
|
|
|
126
|
-
This new version includes a major redesign of the library internals, with the goal to drastically
|
|
127
|
-
improve the lookup time while reducing storage space.
|
|
128
220
|
|
|
129
|
-
|
|
130
|
-
and/or removed. You can find more information at GH-133.
|
|
221
|
+
## 3.0.1 - 2017-11-08
|
|
131
222
|
|
|
132
|
-
|
|
133
|
-
- CHANGED: Dropped support for Ruby < 2.1
|
|
134
|
-
- CHANGED: `PublicSuffix::List#rules` is now protected. You should not rely on it as the internal rule representation is subject to change to optimize performances.
|
|
135
|
-
- CHANGED: Removed `PublicSuffix::List.clear`, it was an unnecessary accessor method. Use `PublicSuffix::List.default = nil` if you **really** need to reset the default list. You shouldn't.
|
|
136
|
-
- CHANGED: `PublicSuffix::List#select` is now private. You should not use it, instead use `PublicSuffix::List#find`.
|
|
137
|
-
- CHANGED: `PublicSuffix::List` no longer implements Enumerable. Instead, use `#each` to loop over, or get an Enumerator.
|
|
138
|
-
- CHANGED: Redesigned internal list storage and lookup algorithm to achieve O(1) lookup time (see GH-133).
|
|
223
|
+
### Changed
|
|
139
224
|
|
|
225
|
+
- Updated definitions.
|
|
226
|
+
- Improve performance and avoid allocation #146. (Thanks @robholland)
|
|
140
227
|
|
|
141
|
-
## Release 2.0.5
|
|
142
228
|
|
|
143
|
-
|
|
144
|
-
- CHANGED: Initialization performance improvements (GH-128). [Thanks @casperisfine]
|
|
229
|
+
## 3.0.0 - 2017-08-04
|
|
145
230
|
|
|
231
|
+
This new version includes a major redesign of the library internals, with the goal to drastically improve the lookup time while reducing storage space.
|
|
146
232
|
|
|
147
|
-
|
|
233
|
+
For this reason, several public methods that are no longer applicable have been deprecated and/or removed. You can find more information at #133.
|
|
148
234
|
|
|
149
|
-
|
|
235
|
+
### Changed
|
|
150
236
|
|
|
151
|
-
-
|
|
237
|
+
- Updated definitions.
|
|
238
|
+
- Dropped support for Ruby < 2.1
|
|
239
|
+
- `PublicSuffix::List#rules` is now protected. You should not rely on it as the internal rule representation is subject to change to optimize performances.
|
|
240
|
+
- Removed `PublicSuffix::List.clear`, it was an unnecessary accessor method. Use `PublicSuffix::List.default = nil` if you **really** need to reset the default list. You shouldn't.
|
|
241
|
+
- `PublicSuffix::List#select` is now private. You should not use it, instead use `PublicSuffix::List#find`.
|
|
242
|
+
- `PublicSuffix::List` no longer implements Enumerable. Instead, use `#each` to loop over, or get an Enumerator.
|
|
243
|
+
- Redesigned internal list storage and lookup algorithm to achieve O(1) lookup time (see #133).
|
|
152
244
|
|
|
153
245
|
|
|
154
|
-
##
|
|
246
|
+
## 2.0.5 - 2017-01-02
|
|
155
247
|
|
|
156
|
-
|
|
248
|
+
### Changed
|
|
157
249
|
|
|
250
|
+
- Updated definitions.
|
|
251
|
+
- Initialization performance improvements #128. (Thanks @casperisfine)
|
|
158
252
|
|
|
159
|
-
## Release 2.0.2
|
|
160
253
|
|
|
161
|
-
|
|
254
|
+
## 2.0.4 - 2016-11-07
|
|
162
255
|
|
|
256
|
+
### Fixed
|
|
163
257
|
|
|
164
|
-
|
|
258
|
+
- Fixed a bug that caused the GEM to be published with the wrong version number in the gemspec #121.
|
|
165
259
|
|
|
166
|
-
|
|
260
|
+
### Changed
|
|
167
261
|
|
|
262
|
+
- Updated definitions.
|
|
168
263
|
|
|
169
|
-
## Release 2.0.0
|
|
170
264
|
|
|
171
|
-
|
|
172
|
-
- 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.
|
|
265
|
+
## 2.0.3 - 2016-09-30
|
|
173
266
|
|
|
174
|
-
|
|
175
|
-
- CHANGED: Updated definitions.
|
|
176
|
-
- CHANGED: Removed deprecated PublicSuffix::InvalidDomain exception
|
|
177
|
-
- CHANGED: If the suffix is now listed, then the prevaling rule is "*" as defined by the PSL algorithm (GH-91)
|
|
178
|
-
- CHANGED: Input validation is performed only if you call `PublicSuffix.parse` or `PublicSuffix.list`
|
|
179
|
-
- CHANGED: Input with leading dot is invalid per PSL acceptance tests
|
|
180
|
-
- CHANGED: Removed `private_domains` class-level attribute. It is replaced by the `private_domains: false` option in the list parse method.
|
|
181
|
-
- CHANGED: The default list now assumes you use UTF-8 for reading the input (GH-94),
|
|
267
|
+
### Changed
|
|
182
268
|
|
|
183
|
-
-
|
|
269
|
+
- Updated definitions.
|
|
184
270
|
|
|
185
271
|
|
|
186
|
-
##
|
|
272
|
+
## 2.0.2 - 2016-06-10
|
|
187
273
|
|
|
188
|
-
|
|
274
|
+
### Changed
|
|
189
275
|
|
|
190
|
-
-
|
|
276
|
+
- Updated definitions.
|
|
191
277
|
|
|
192
278
|
|
|
193
|
-
##
|
|
279
|
+
## 2.0.1 - 2016-05-22
|
|
194
280
|
|
|
195
|
-
|
|
281
|
+
### Fixed
|
|
196
282
|
|
|
283
|
+
- Fix bug that prevented .valid? to reset the default rule
|
|
197
284
|
|
|
198
|
-
## Release 1.5.1
|
|
199
285
|
|
|
200
|
-
|
|
286
|
+
## 2.0.0 - 2016-05-20
|
|
201
287
|
|
|
202
|
-
|
|
288
|
+
### Added
|
|
203
289
|
|
|
290
|
+
- Added PublicSuffix.domain # => sld.tld
|
|
291
|
+
- 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.
|
|
204
292
|
|
|
205
|
-
|
|
293
|
+
### Changed
|
|
206
294
|
|
|
207
|
-
-
|
|
295
|
+
- Considerable performance improvements #92
|
|
296
|
+
- Updated definitions.
|
|
297
|
+
- Removed deprecated PublicSuffix::InvalidDomain exception
|
|
298
|
+
- If the suffix is now listed, then the prevaling rule is "*" as defined by the PSL algorithm #91
|
|
299
|
+
- Input validation is performed only if you call `PublicSuffix.parse` or `PublicSuffix.list`
|
|
300
|
+
- Input with leading dot is invalid per PSL acceptance tests
|
|
301
|
+
- Removed `private_domains` class-level attribute. It is replaced by the `private_domains: false` option in the list parse method.
|
|
302
|
+
- The default list now assumes you use UTF-8 for reading the input #94,
|
|
208
303
|
|
|
209
|
-
|
|
304
|
+
### Removed
|
|
210
305
|
|
|
306
|
+
- 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)`.
|
|
211
307
|
|
|
212
|
-
## Release 1.4.6
|
|
213
308
|
|
|
214
|
-
|
|
309
|
+
## 1.5.3 - 2015-12-14
|
|
215
310
|
|
|
311
|
+
### Fixed
|
|
216
312
|
|
|
217
|
-
|
|
313
|
+
- Don't duplicate rule indices when creating index #77. (Thanks @ags)
|
|
218
314
|
|
|
219
|
-
|
|
315
|
+
### Changed
|
|
220
316
|
|
|
317
|
+
- Updated definitions.
|
|
221
318
|
|
|
222
|
-
## Release 1.4.4
|
|
223
319
|
|
|
224
|
-
|
|
320
|
+
## 1.5.2 - 2015-10-27
|
|
225
321
|
|
|
322
|
+
### Changed
|
|
226
323
|
|
|
227
|
-
|
|
324
|
+
- Updated definitions.
|
|
228
325
|
|
|
229
|
-
- CHANGED: Updated definitions.
|
|
230
326
|
|
|
327
|
+
## 1.5.1 - 2015-04-10
|
|
231
328
|
|
|
232
|
-
|
|
329
|
+
### Fixed
|
|
233
330
|
|
|
234
|
-
-
|
|
331
|
+
- Ignore case for parsing and validating #62
|
|
235
332
|
|
|
333
|
+
### Changed
|
|
236
334
|
|
|
237
|
-
|
|
335
|
+
- Updated definitions.
|
|
238
336
|
|
|
239
|
-
- CHANGED: Updated definitions.
|
|
240
337
|
|
|
338
|
+
## 1.5.0 - 2015-03-24
|
|
241
339
|
|
|
242
|
-
|
|
340
|
+
### Changed
|
|
243
341
|
|
|
244
|
-
-
|
|
342
|
+
- Dropped support for Ruby < 2.0
|
|
343
|
+
- Updated definitions.
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
## 1.4.6 - 2014-09-10
|
|
347
|
+
|
|
348
|
+
### Changed
|
|
349
|
+
|
|
350
|
+
- Updated definitions.
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
## 1.4.5 - 2014-08-18
|
|
354
|
+
|
|
355
|
+
### Changed
|
|
356
|
+
|
|
357
|
+
- Updated definitions.
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
## 1.4.4 - 2014-06-17
|
|
361
|
+
|
|
362
|
+
### Changed
|
|
363
|
+
|
|
364
|
+
- Updated definitions.
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
## 1.4.3 - 2014-06-12
|
|
368
|
+
|
|
369
|
+
### Changed
|
|
370
|
+
|
|
371
|
+
- Updated definitions.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
## 1.4.2 - 2014-03-10
|
|
375
|
+
|
|
376
|
+
### Changed
|
|
377
|
+
|
|
378
|
+
- Updated definitions.
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
## 1.4.1 - 2014-03-07
|
|
382
|
+
|
|
383
|
+
### Changed
|
|
245
384
|
|
|
246
|
-
-
|
|
385
|
+
- Updated definitions.
|
|
247
386
|
|
|
248
387
|
|
|
249
|
-
##
|
|
388
|
+
## 1.4.0 - 2014-02-01
|
|
250
389
|
|
|
251
|
-
|
|
390
|
+
### Changed
|
|
252
391
|
|
|
392
|
+
- Moved the definitions in the lib folder.
|
|
393
|
+
- Updated definitions.
|
|
253
394
|
|
|
254
|
-
## Release 1.3.2
|
|
255
395
|
|
|
256
|
-
|
|
396
|
+
## 1.3.3 - 2013-12-01
|
|
257
397
|
|
|
398
|
+
### Changed
|
|
399
|
+
|
|
400
|
+
- Updated definitions.
|
|
258
401
|
|
|
259
|
-
## Release 1.3.1
|
|
260
402
|
|
|
261
|
-
|
|
403
|
+
## 1.3.2 - 2013-11-11
|
|
262
404
|
|
|
405
|
+
### Changed
|
|
263
406
|
|
|
264
|
-
|
|
407
|
+
- Updated definitions.
|
|
265
408
|
|
|
266
|
-
- NEW: Ability to skip Private Domains (GH-28). [Thanks @rb2k]
|
|
267
409
|
|
|
268
|
-
|
|
410
|
+
## 1.3.1 - 2013-08-09
|
|
269
411
|
|
|
412
|
+
### Changed
|
|
270
413
|
|
|
271
|
-
|
|
414
|
+
- Updated definitions.
|
|
272
415
|
|
|
273
|
-
- CHANGED: Updated definitions.
|
|
274
416
|
|
|
417
|
+
## 1.3.0 - 2013-04-03
|
|
275
418
|
|
|
276
|
-
|
|
419
|
+
### Added
|
|
277
420
|
|
|
278
|
-
-
|
|
421
|
+
- Ability to skip Private Domains #28. (Thanks @rb2k)
|
|
279
422
|
|
|
280
|
-
|
|
423
|
+
### Changed
|
|
281
424
|
|
|
282
|
-
-
|
|
425
|
+
- Updated definitions.
|
|
283
426
|
|
|
284
427
|
|
|
285
|
-
##
|
|
428
|
+
## 1.2.1 - 2013-03-26
|
|
286
429
|
|
|
287
|
-
|
|
430
|
+
### Changed
|
|
288
431
|
|
|
432
|
+
- Updated definitions.
|
|
289
433
|
|
|
290
|
-
## Release 1.1.2
|
|
291
434
|
|
|
292
|
-
|
|
435
|
+
## 1.2.0 - 2012-12-24
|
|
293
436
|
|
|
437
|
+
### Added
|
|
294
438
|
|
|
295
|
-
|
|
439
|
+
- Allow a custom List on `PublicSuffix.parse` #26. (Thanks @itspriddle)
|
|
296
440
|
|
|
297
|
-
|
|
441
|
+
### Fixed
|
|
298
442
|
|
|
443
|
+
- PublicSuffix.parse and PublicSuffix.valid? crashes when input is nil #20.
|
|
299
444
|
|
|
300
|
-
|
|
445
|
+
### Changed
|
|
301
446
|
|
|
302
|
-
-
|
|
447
|
+
- Updated definitions.
|
|
303
448
|
|
|
304
|
-
- CHANGED: Updated definitions.
|
|
305
449
|
|
|
306
|
-
|
|
450
|
+
## 1.1.3 - 2012-09-17
|
|
307
451
|
|
|
452
|
+
### Changed
|
|
308
453
|
|
|
309
|
-
|
|
454
|
+
- Updated definitions.
|
|
310
455
|
|
|
311
|
-
- CHANGED: Updated definitions.
|
|
312
456
|
|
|
457
|
+
## 1.1.2 - 2012-09-03
|
|
313
458
|
|
|
314
|
-
|
|
459
|
+
### Changed
|
|
460
|
+
|
|
461
|
+
- Updated definitions.
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
## 1.1.1 - 2012-06-26
|
|
465
|
+
|
|
466
|
+
### Changed
|
|
467
|
+
|
|
468
|
+
- Updated definitions.
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
## 1.1.0 - 2012-03-16
|
|
472
|
+
|
|
473
|
+
### Fixed
|
|
474
|
+
|
|
475
|
+
- #valid? and #parse consider URIs as valid domains #15
|
|
476
|
+
|
|
477
|
+
### Changed
|
|
478
|
+
|
|
479
|
+
- Updated definitions.
|
|
480
|
+
- Removed deprecatd PublicSuffixService::RuleList.
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
## 1.0.0 - 2011-12-24
|
|
484
|
+
|
|
485
|
+
### Changed
|
|
486
|
+
|
|
487
|
+
- Updated definitions.
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
## 1.0.0.rc1 - 2011-12-24
|
|
315
491
|
|
|
316
492
|
The library is now known as PublicSuffix.
|
|
317
493
|
|
|
318
494
|
|
|
319
|
-
##
|
|
495
|
+
## 0.9.1 - 2011-12-24
|
|
320
496
|
|
|
321
|
-
|
|
497
|
+
### Changed
|
|
322
498
|
|
|
323
|
-
-
|
|
499
|
+
- Renamed PublicSuffixService::RuleList to PublicSuffixService::List.
|
|
500
|
+
- Renamed PublicSuffixService::List#list to PublicSuffixService::List#rules.
|
|
501
|
+
- Renamed PublicSuffixService to PublicSuffix.
|
|
502
|
+
- Updated definitions.
|
|
324
503
|
|
|
325
|
-
- CHANGED: Renamed PublicSuffixService to PublicSuffix.
|
|
326
504
|
|
|
327
|
-
|
|
505
|
+
## 0.9.0 - 2011-06-17
|
|
328
506
|
|
|
507
|
+
### Changed
|
|
329
508
|
|
|
330
|
-
|
|
509
|
+
- Minimum Ruby version increased to Ruby 1.8.7.
|
|
510
|
+
- rake/gempackagetask is deprecated. Use rubygems/package_task instead.
|
|
331
511
|
|
|
332
|
-
- CHANGED: Minimum Ruby version increased to Ruby 1.8.7.
|
|
333
512
|
|
|
334
|
-
|
|
513
|
+
## 0.8.4 - 2011-06-17
|
|
335
514
|
|
|
515
|
+
### Fixed
|
|
336
516
|
|
|
337
|
-
|
|
517
|
+
- Reverted bugfix for issue #12 for Ruby 1.8.6. This is the latest version compatible with Ruby 1.8.6.
|
|
338
518
|
|
|
339
|
-
- FIXED: Reverted bugfix for issue #12 for Ruby 1.8.6.
|
|
340
|
-
This is the latest version compatible with Ruby 1.8.6.
|
|
341
519
|
|
|
520
|
+
## 0.8.3 - 2011-05-27
|
|
342
521
|
|
|
343
|
-
|
|
522
|
+
### Fixed
|
|
523
|
+
|
|
524
|
+
- Fixed ArgumentError: invalid byte sequence in US-ASCII with Ruby 1.9.2 (#12).
|
|
525
|
+
|
|
526
|
+
### Changed
|
|
527
|
+
|
|
528
|
+
- Updated definitions (#11).
|
|
529
|
+
- Renamed definitions.txt to definitions.dat.
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
## 0.8.2 - 2011-03-11
|
|
344
533
|
|
|
345
|
-
|
|
534
|
+
### Added
|
|
346
535
|
|
|
347
|
-
-
|
|
536
|
+
- Added support for rubygems-test.
|
|
348
537
|
|
|
349
|
-
|
|
538
|
+
### Changed
|
|
350
539
|
|
|
540
|
+
- Integrated Bundler.
|
|
541
|
+
- Updated definitions.
|
|
351
542
|
|
|
352
|
-
## Release 0.8.2
|
|
353
543
|
|
|
354
|
-
|
|
544
|
+
## 0.8.1 - 2010-12-07
|
|
355
545
|
|
|
356
|
-
|
|
546
|
+
### Fixed
|
|
357
547
|
|
|
358
|
-
-
|
|
548
|
+
- The files in the release 0.8.0 have wrong permission 600 and can't be loaded #10.
|
|
359
549
|
|
|
360
550
|
|
|
361
|
-
##
|
|
551
|
+
## 0.8.0 - 2010-12-05
|
|
362
552
|
|
|
363
|
-
|
|
553
|
+
### Added
|
|
364
554
|
|
|
555
|
+
- Add support for Fully Qualified Domain Names #7
|
|
365
556
|
|
|
366
|
-
|
|
557
|
+
### Changed
|
|
367
558
|
|
|
368
|
-
-
|
|
559
|
+
- Update public suffix list to d1a5599b49fa 2010-10-25 15:10 +0100 #9
|
|
369
560
|
|
|
370
|
-
- NEW: Add support for Fully Qualified Domain Names (#7)
|
|
371
561
|
|
|
562
|
+
## 0.7.0 - 2010-10-09
|
|
372
563
|
|
|
373
|
-
|
|
564
|
+
### Fixed
|
|
565
|
+
|
|
566
|
+
- RuleList cache is not recreated when a new rule is appended to the list #6
|
|
567
|
+
- PublicSuffixService.valid? should return false if the domain is not defined or not allowed #4, #5
|
|
374
568
|
|
|
375
|
-
|
|
569
|
+
### Changed
|
|
376
570
|
|
|
377
|
-
-
|
|
571
|
+
- Using YARD to document the code instead of RDoc.
|
|
378
572
|
|
|
379
|
-
- FIXED: PublicSuffixService.valid? should return false if the domain is not defined or not allowed (#4, #5)
|
|
380
573
|
|
|
574
|
+
## 0.6.0 - 2010-09-18
|
|
381
575
|
|
|
382
|
-
|
|
576
|
+
### Added
|
|
383
577
|
|
|
384
|
-
-
|
|
385
|
-
which exists, but is not allowed by the current definition list (#3)
|
|
578
|
+
- PublicSuffixService.parse raises DomainNotAllowed when trying to parse a domain name which exists, but is not allowed by the current definition list #3
|
|
386
579
|
|
|
387
580
|
PublicSuffixService.parse("nic.do")
|
|
388
581
|
# => PublicSuffixService::DomainNotAllowed
|
|
389
582
|
|
|
390
|
-
|
|
583
|
+
### Changed
|
|
391
584
|
|
|
585
|
+
- Renamed PublicSuffixService::InvalidDomain to PublicSuffixService::DomainInvalid
|
|
392
586
|
|
|
393
|
-
## Release 0.5.2
|
|
394
587
|
|
|
395
|
-
|
|
588
|
+
## 0.5.2 - 2010-09-17
|
|
396
589
|
|
|
590
|
+
### Changed
|
|
397
591
|
|
|
398
|
-
|
|
592
|
+
- Update public suffix list to 248ea690d671 2010-09-16 18:02 +0100
|
|
399
593
|
|
|
400
|
-
- CHANGED: Update public suffix list to 14dc66dd53c1 2010-09-15 17:09 +0100
|
|
401
594
|
|
|
595
|
+
## 0.5.1 - 2010-09-15
|
|
402
596
|
|
|
403
|
-
|
|
597
|
+
### Changed
|
|
404
598
|
|
|
405
|
-
-
|
|
599
|
+
- Update public suffix list to 14dc66dd53c1 2010-09-15 17:09 +0100
|
|
406
600
|
|
|
407
|
-
- CHANGED: Performance improvements (#2).
|
|
408
601
|
|
|
602
|
+
## 0.5.0 - 2010-09-13
|
|
409
603
|
|
|
410
|
-
|
|
604
|
+
### Changed
|
|
411
605
|
|
|
412
|
-
-
|
|
606
|
+
- Improve documentation for Domain#domain and Domain#subdomain #1.
|
|
607
|
+
- Performance improvements #2.
|
|
413
608
|
|
|
414
609
|
|
|
415
|
-
##
|
|
610
|
+
## 0.4.0 - 2010-05-31
|
|
416
611
|
|
|
417
|
-
|
|
612
|
+
### Changed
|
|
418
613
|
|
|
614
|
+
- Rename library from DomainName to PublicSuffixService to reduce the probability of name conflicts.
|
|
419
615
|
|
|
420
|
-
## Release 0.3.0
|
|
421
616
|
|
|
422
|
-
|
|
617
|
+
## 0.3.1 - 2010-05-31
|
|
423
618
|
|
|
424
|
-
|
|
619
|
+
### Changed
|
|
425
620
|
|
|
426
|
-
-
|
|
621
|
+
- Deprecated DomainName library.
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
## 0.3.0 - 2010-05-31
|
|
427
625
|
|
|
428
|
-
|
|
626
|
+
### Changed
|
|
627
|
+
|
|
628
|
+
- DomainName#domain and DomainName#subdomain are no longer alias of Domain#sld and Domain#tld.
|
|
629
|
+
- Removed DomainName#labels and decoupled Rule from DomainName.
|
|
630
|
+
- DomainName#valid? no longer instantiates new DomainName objects. This means less overhead.
|
|
631
|
+
- Refactoring the entire DomainName API. Removed the internal on-the-fly parsing. Added a bunch of new methods to check and validate the DomainName.
|
|
429
632
|
|
|
430
633
|
|
|
431
|
-
##
|
|
634
|
+
## 0.2.0 - 2010-05-31
|
|
432
635
|
|
|
433
|
-
|
|
636
|
+
### Added
|
|
434
637
|
|
|
435
|
-
-
|
|
638
|
+
- DomainName#valid?
|
|
639
|
+
- DomainName#parse and DomainName#parse!
|
|
640
|
+
- DomainName#valid_domain? and DomainName#valid_subdomain?
|
|
436
641
|
|
|
437
|
-
|
|
642
|
+
### Changed
|
|
438
643
|
|
|
439
|
-
-
|
|
644
|
+
- Make sure RuleList lookup is only performed once.
|
|
440
645
|
|
|
441
646
|
|
|
442
|
-
##
|
|
647
|
+
## 0.1.0 - 2010-05-31
|
|
443
648
|
|
|
444
649
|
- Initial version
|