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