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