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