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