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