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