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