public_suffix 1.4.0 → 1.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e697850870e01a711f41b8884f12e29a42a2785
4
- data.tar.gz: 4c2f86756c6ee7b7bd8077dc18743c2df71c3e3d
3
+ metadata.gz: 7397872647482761508e73a02c22717629acf248
4
+ data.tar.gz: 530e2cd88a6713b9a3ecd55a26f3a8f355e75d1b
5
5
  SHA512:
6
- metadata.gz: 11b49ba4bb9218aca196beaa0622b60972b26690646b2d96607b28226081085c55a53ba451dd1a66ef583aa7df049f93393fb5855802c60f3b0e02bef54b0509
7
- data.tar.gz: f63214de73aaa918bb53ed2ac6464fd599cb56320982860a830061a4b3c9c756e8a8757e7f90ab7840b387170b48f8d5417a2aa331eaacebddff9173db37e108
6
+ metadata.gz: 6eacd9a9c0c2ac407280bfde2a5c5b35616157d160d570f03e6e4d5ef9d62b524fb9f387cd79031d4aeaeee4f30ddfa1aa7759b84f1eb06be2524597f4da2c43
7
+ data.tar.gz: 65174de8b964c1dcfb3370ab9d8d0c00a3533e921d0d30561870c87b51ffdb52978cba9aa4da6e719b3b1a184997e6146472be599396b3a70a3770ea41cb27e0
data/.travis.yml CHANGED
@@ -3,11 +3,17 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  - 2.1.0
6
+ - 2.1.1
7
+ - ruby-head
6
8
  - jruby-19mode
7
9
  - rbx-19mode
10
+
8
11
  notifications:
9
12
  recipients:
10
13
  - weppos@weppos.net
14
+
11
15
  matrix:
12
16
  allow_failures:
13
17
  - rvm: rbx-19mode
18
+ - rvm: ruby-head
19
+
data/CHANGELOG.md CHANGED
@@ -1,41 +1,46 @@
1
1
  # Changelog
2
2
 
3
3
 
4
- ## Release 1.4.0
4
+ #### Release 1.4.1
5
+
6
+ - CHANGED: Updated definitions.
7
+
8
+
9
+ #### Release 1.4.0
5
10
 
6
11
  - CHANGED: Moved the definitions in the lib folder.
7
12
 
8
13
  - CHANGED: Updated definitions.
9
14
 
10
15
 
11
- ## Release 1.3.3
16
+ #### Release 1.3.3
12
17
 
13
18
  - CHANGED: Updated definitions.
14
19
 
15
20
 
16
- ## Release 1.3.2
21
+ #### Release 1.3.2
17
22
 
18
23
  - CHANGED: Updated definitions.
19
24
 
20
25
 
21
- ## Release 1.3.1
26
+ #### Release 1.3.1
22
27
 
23
28
  - CHANGED: Updated definitions.
24
29
 
25
30
 
26
- ## Release 1.3.0
31
+ #### Release 1.3.0
27
32
 
28
33
  - NEW: Ability to skip Private Domains (GH-28). [Thanks @rb2k]
29
34
 
30
35
  - CHANGED: Updated definitions.
31
36
 
32
37
 
33
- ## Release 1.2.1
38
+ #### Release 1.2.1
34
39
 
35
40
  - CHANGED: Updated definitions.
36
41
 
37
42
 
38
- ## Release 1.2.0
43
+ #### Release 1.2.0
39
44
 
40
45
  - NEW: Allow a custom List on `PublicSuffix.parse` (GH-26). [Thanks @itspriddle]
41
46
 
@@ -44,22 +49,22 @@
44
49
  - CHANGED: Updated definitions.
45
50
 
46
51
 
47
- ## Release 1.1.3
52
+ #### Release 1.1.3
48
53
 
49
54
  - CHANGED: Updated definitions.
50
55
 
51
56
 
52
- ## Release 1.1.2
57
+ #### Release 1.1.2
53
58
 
54
59
  - CHANGED: Updated definitions.
55
60
 
56
61
 
57
- ## Release 1.1.1
62
+ #### Release 1.1.1
58
63
 
59
64
  - CHANGED: Updated definitions.
60
65
 
61
66
 
62
- ## Release 1.1.0
67
+ #### Release 1.1.0
63
68
 
64
69
  - FIXED: #valid? and #parse consider URIs as valid domains (GH-15)
65
70
 
@@ -68,17 +73,17 @@
68
73
  - CHANGED: Removed deprecatd PublicSuffixService::RuleList.
69
74
 
70
75
 
71
- ## Release 1.0.0
76
+ #### Release 1.0.0
72
77
 
73
78
  - CHANGED: Updated definitions.
74
79
 
75
80
 
76
- ## Release 1.0.0.rc1
81
+ #### Release 1.0.0.rc1
77
82
 
78
83
  The library is now known as PublicSuffix.
79
84
 
80
85
 
81
- ## Release 0.9.1
86
+ #### Release 0.9.1
82
87
 
83
88
  - CHANGED: Renamed PublicSuffixService::RuleList to PublicSuffixService::List.
84
89
 
@@ -89,20 +94,20 @@ The library is now known as PublicSuffix.
89
94
  - CHANGED: Updated definitions.
90
95
 
91
96
 
92
- ## Release 0.9.0
97
+ #### Release 0.9.0
93
98
 
94
99
  - CHANGED: Minimum Ruby version increased to Ruby 1.8.7.
95
100
 
96
101
  - CHANGED: rake/gempackagetask is deprecated. Use rubygems/package_task instead.
97
102
 
98
103
 
99
- ## Release 0.8.4
104
+ #### Release 0.8.4
100
105
 
101
106
  - FIXED: Reverted bugfix for issue #12 for Ruby 1.8.6.
102
107
  This is the latest version compatible with Ruby 1.8.6.
103
108
 
104
109
 
105
- ## Release 0.8.3
110
+ #### Release 0.8.3
106
111
 
107
112
  - FIXED: Fixed ArgumentError: invalid byte sequence in US-ASCII with Ruby 1.9.2 (#12).
108
113
 
@@ -111,7 +116,7 @@ The library is now known as PublicSuffix.
111
116
  - CHANGED: Renamed definitions.txt to definitions.dat.
112
117
 
113
118
 
114
- ## Release 0.8.2
119
+ #### Release 0.8.2
115
120
 
116
121
  - NEW: Added support for rubygems-test.
117
122
 
@@ -120,19 +125,19 @@ The library is now known as PublicSuffix.
120
125
  - CHANGED: Updated definitions.
121
126
 
122
127
 
123
- ## Release 0.8.1
128
+ #### Release 0.8.1
124
129
 
125
130
  - FIXED: The files in the release 0.8.0 have wrong permission 600 and can't be loaded (#10).
126
131
 
127
132
 
128
- ## Release 0.8.0
133
+ #### Release 0.8.0
129
134
 
130
135
  - CHANGED: Update public suffix list to d1a5599b49fa 2010-10-25 15:10 +0100 (#9)
131
136
 
132
137
  - NEW: Add support for Fully Qualified Domain Names (#7)
133
138
 
134
139
 
135
- ## Release 0.7.0
140
+ #### Release 0.7.0
136
141
 
137
142
  - CHANGED: Using YARD to document the code instead of RDoc.
138
143
 
@@ -141,7 +146,7 @@ The library is now known as PublicSuffix.
141
146
  - FIXED: PublicSuffixService.valid? should return false if the domain is not defined or not allowed (#4, #5)
142
147
 
143
148
 
144
- ## Release 0.6.0
149
+ #### Release 0.6.0
145
150
 
146
151
  - NEW: PublicSuffixService.parse raises DomainNotAllowed when trying to parse a domain name
147
152
  which exists, but is not allowed by the current definition list (#3)
@@ -152,34 +157,34 @@ The library is now known as PublicSuffix.
152
157
  - CHANGED: Renamed PublicSuffixService::InvalidDomain to PublicSuffixService::DomainInvalid
153
158
 
154
159
 
155
- ## Release 0.5.2
160
+ #### Release 0.5.2
156
161
 
157
162
  - CHANGED: Update public suffix list to 248ea690d671 2010-09-16 18:02 +0100
158
163
 
159
164
 
160
- ## Release 0.5.1
165
+ #### Release 0.5.1
161
166
 
162
167
  - CHANGED: Update public suffix list to 14dc66dd53c1 2010-09-15 17:09 +0100
163
168
 
164
169
 
165
- ## Release 0.5.0
170
+ #### Release 0.5.0
166
171
 
167
172
  - CHANGED: Improve documentation for Domain#domain and Domain#subdomain (#1).
168
173
 
169
174
  - CHANGED: Performance improvements (#2).
170
175
 
171
176
 
172
- ## Release 0.4.0
177
+ #### Release 0.4.0
173
178
 
174
179
  - CHANGED: Rename library from DomainName to PublicSuffixService to reduce the probability of name conflicts.
175
180
 
176
181
 
177
- ## Release 0.3.1
182
+ #### Release 0.3.1
178
183
 
179
184
  - Deprecated DomainName library.
180
185
 
181
186
 
182
- ## Release 0.3.0
187
+ #### Release 0.3.0
183
188
 
184
189
  - CHANGED: DomainName#domain and DomainName#subdomain are no longer alias of Domain#sld and Domain#tld.
185
190
 
@@ -190,7 +195,7 @@ The library is now known as PublicSuffix.
190
195
  - 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.
191
196
 
192
197
 
193
- ## Release 0.2.0
198
+ #### Release 0.2.0
194
199
 
195
200
  - NEW: DomainName#valid?
196
201
 
@@ -201,6 +206,6 @@ The library is now known as PublicSuffix.
201
206
  - CHANGED: Make sure RuleList lookup is only performed once.
202
207
 
203
208
 
204
- ## Release 0.1.0
209
+ #### Release 0.1.0
205
210
 
206
211
  - Initial version
data/lib/definitions.txt CHANGED
@@ -6418,12 +6418,12 @@ yt
6418
6418
  // xn--54b7fta0cc ("Bangla" Bangla) : BD
6419
6419
  বাংলা
6420
6420
 
6421
- // xn--fiqs8s ("China" Chinese-Han-Simplified <.Zhonggou>) : CN
6421
+ // xn--fiqs8s ("China" Chinese-Han-Simplified <.Zhongguo>) : CN
6422
6422
  // CNNIC
6423
6423
  // http://cnnic.cn/html/Dir/2005/10/11/3218.htm
6424
6424
  中国
6425
6425
 
6426
- // xn--fiqz9s ("China" Chinese-Han-Traditional <.Zhonggou>) : CN
6426
+ // xn--fiqz9s ("China" Chinese-Han-Traditional <.Zhongguo>) : CN
6427
6427
  // CNNIC
6428
6428
  // http://cnnic.cn/html/Dir/2005/10/11/3218.htm
6429
6429
  中國
@@ -6938,7 +6938,7 @@ club
6938
6938
  voting
6939
6939
 
6940
6940
  // TOKYO : 2013-11-13 GMO Registry, Inc.
6941
- TOKYO
6941
+ tokyo
6942
6942
 
6943
6943
  // moe : 2013-11-13 Interlink Co., Ltd.
6944
6944
  moe
@@ -7719,8 +7719,9 @@ a.prod.fastly.net
7719
7719
  global.prod.fastly.net
7720
7720
 
7721
7721
  // GitHub, Inc.
7722
- // Submitted by Ben Toews <btoews@github.com> 2013-04-18
7722
+ // Submitted by Ben Toews <btoews@github.com> 2014-02-06
7723
7723
  github.io
7724
+ githubusercontent.com
7724
7725
 
7725
7726
  // GlobeHosting, Inc.
7726
7727
  // Submitted by Zoltan Egresi <egresi@globehosting.com> 2013-07-12
@@ -12,7 +12,7 @@ module PublicSuffix
12
12
  module Version
13
13
  MAJOR = 1
14
14
  MINOR = 4
15
- PATCH = 0
15
+ PATCH = 1
16
16
  BUILD = nil
17
17
 
18
18
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "public_suffix"
5
- s.version = "1.3.3"
5
+ s.version = "1.4.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Simone Carletti"]
9
- s.date = "2014-02-01"
9
+ s.date = "2014-03-07"
10
10
  s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
11
11
  s.email = "weppos@weppos.net"
12
12
  s.files = [".gemtest", ".gitignore", ".travis.yml", ".yardopts", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/definitions.txt", "lib/public_suffix.rb", "lib/public_suffix/domain.rb", "lib/public_suffix/errors.rb", "lib/public_suffix/list.rb", "lib/public_suffix/rule.rb", "lib/public_suffix/version.rb", "public_suffix.gemspec", "test/acceptance_test.rb", "test/test_helper.rb", "test/unit/domain_test.rb", "test/unit/errors_test.rb", "test/unit/list_test.rb", "test/unit/public_suffix_test.rb", "test/unit/rule_test.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_suffix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-01 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake