domain_name 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/data/effective_tld_names.dat +8 -0
- data/domain_name.gemspec +14 -15
- data/lib/domain_name/etld_data.rb +3 -0
- metadata +68 -90
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
@@ -696,12 +696,14 @@ com
|
|
696
696
|
|
697
697
|
// CentralNic names : http://www.centralnic.com/names/domains
|
698
698
|
// Confirmed by registry <gavin.brown@centralnic.com> 2008-06-09
|
699
|
+
// Updated by registry <gavin.brown@centralnic.com> 2011-05-27
|
699
700
|
ar.com
|
700
701
|
br.com
|
701
702
|
cn.com
|
702
703
|
de.com
|
703
704
|
eu.com
|
704
705
|
gb.com
|
706
|
+
gr.com
|
705
707
|
hu.com
|
706
708
|
jpn.com
|
707
709
|
kr.com
|
@@ -762,6 +764,10 @@ cz
|
|
762
764
|
// reservations) 2008-07-01
|
763
765
|
de
|
764
766
|
|
767
|
+
// CentralNic names : http://www.centralnic.com/names/domains
|
768
|
+
// Submitted by registry <gavin.brown@centralnic.com> 2011-05-27
|
769
|
+
com.de
|
770
|
+
|
765
771
|
// dj : http://en.wikipedia.org/wiki/.dj
|
766
772
|
dj
|
767
773
|
|
@@ -3491,7 +3497,9 @@ org
|
|
3491
3497
|
|
3492
3498
|
// CentralNic names : http://www.centralnic.com/names/domains
|
3493
3499
|
// Submitted by registry <gavin.brown@centralnic.com> 2008-06-17
|
3500
|
+
// Updated by registry <gavin.brown@centralnic.com> 2011-05-27
|
3494
3501
|
ae.org
|
3502
|
+
us.org
|
3495
3503
|
|
3496
3504
|
// ZaNiC names : http://www.za.net/
|
3497
3505
|
// Confirmed by registry <hostmaster@nic.za.net> 2009-10-03
|
data/domain_name.gemspec
CHANGED
@@ -4,18 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.5.
|
7
|
+
s.name = "domain_name"
|
8
|
+
s.version = "0.5.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
|
15
|
-
It can also be used for cookie domain validation based on the Public
|
16
|
-
Suffix List.
|
17
|
-
}
|
18
|
-
s.email = %q{knu@idaemons.org}
|
11
|
+
s.authors = ["Akinori MUSHA"]
|
12
|
+
s.date = "2012-01-18"
|
13
|
+
s.description = "This is a Domain Name manipulation library for Ruby.\n\nIt can also be used for cookie domain validation based on the Public\nSuffix List.\n"
|
14
|
+
s.email = "knu@idaemons.org"
|
19
15
|
s.extra_rdoc_files = [
|
20
16
|
"LICENSE.txt",
|
21
17
|
"README.md"
|
@@ -38,11 +34,11 @@ Suffix List.
|
|
38
34
|
"test/test_domain_name.rb",
|
39
35
|
"tool/gen_etld_data.rb"
|
40
36
|
]
|
41
|
-
s.homepage =
|
42
|
-
s.licenses = [
|
43
|
-
s.require_paths = [
|
44
|
-
s.rubygems_version =
|
45
|
-
s.summary =
|
37
|
+
s.homepage = "http://github.com/knu/ruby-domain_name"
|
38
|
+
s.licenses = ["BSD + MPL 1.1/GPL 2.0/LGPL 2.1"]
|
39
|
+
s.require_paths = ["lib"]
|
40
|
+
s.rubygems_version = "1.8.11"
|
41
|
+
s.summary = "Domain Name manipulation library for Ruby"
|
46
42
|
|
47
43
|
if s.respond_to? :specification_version then
|
48
44
|
s.specification_version = 3
|
@@ -53,12 +49,14 @@ Suffix List.
|
|
53
49
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
54
50
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
55
51
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<rdoc>, [">= 2.4.2"])
|
56
53
|
else
|
57
54
|
s.add_dependency(%q<unf>, ["~> 0.0.3"])
|
58
55
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
59
56
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
60
57
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
61
58
|
s.add_dependency(%q<rcov>, [">= 0"])
|
59
|
+
s.add_dependency(%q<rdoc>, [">= 2.4.2"])
|
62
60
|
end
|
63
61
|
else
|
64
62
|
s.add_dependency(%q<unf>, ["~> 0.0.3"])
|
@@ -66,6 +64,7 @@ Suffix List.
|
|
66
64
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
67
65
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
68
66
|
s.add_dependency(%q<rcov>, [">= 0"])
|
67
|
+
s.add_dependency(%q<rdoc>, [">= 2.4.2"])
|
69
68
|
end
|
70
69
|
end
|
71
70
|
|
@@ -516,6 +516,7 @@ class DomainName
|
|
516
516
|
"de.com" => 0,
|
517
517
|
"eu.com" => 0,
|
518
518
|
"gb.com" => 0,
|
519
|
+
"gr.com" => 0,
|
519
520
|
"hu.com" => 0,
|
520
521
|
"jpn.com" => 0,
|
521
522
|
"kr.com" => 0,
|
@@ -552,6 +553,7 @@ class DomainName
|
|
552
553
|
"cy" => -1,
|
553
554
|
"cz" => 0,
|
554
555
|
"de" => 0,
|
556
|
+
"com.de" => 0,
|
555
557
|
"dj" => 0,
|
556
558
|
"dk" => 0,
|
557
559
|
"dm" => 0,
|
@@ -2941,6 +2943,7 @@ class DomainName
|
|
2941
2943
|
"statecouncil.om" => 1,
|
2942
2944
|
"org" => 0,
|
2943
2945
|
"ae.org" => 0,
|
2946
|
+
"us.org" => 0,
|
2944
2947
|
"za.org" => 0,
|
2945
2948
|
"pa" => 0,
|
2946
2949
|
"ac.pa" => 0,
|
metadata
CHANGED
@@ -1,113 +1,97 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: domain_name
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 5
|
9
|
-
- 1
|
10
|
-
version: 0.5.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Akinori MUSHA
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: unf
|
22
|
-
|
16
|
+
requirement: &70324603442080 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
18
|
+
requirements:
|
25
19
|
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 25
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 0
|
31
|
-
- 3
|
20
|
+
- !ruby/object:Gem::Version
|
32
21
|
version: 0.0.3
|
33
22
|
type: :runtime
|
34
|
-
requirement: *id001
|
35
23
|
prerelease: false
|
36
|
-
|
24
|
+
version_requirements: *70324603442080
|
25
|
+
- !ruby/object:Gem::Dependency
|
37
26
|
name: shoulda
|
38
|
-
|
27
|
+
requirement: &70324603441520 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
47
33
|
type: :development
|
48
|
-
requirement: *id002
|
49
34
|
prerelease: false
|
50
|
-
|
35
|
+
version_requirements: *70324603441520
|
36
|
+
- !ruby/object:Gem::Dependency
|
51
37
|
name: bundler
|
52
|
-
|
38
|
+
requirement: &70324603440960 !ruby/object:Gem::Requirement
|
53
39
|
none: false
|
54
|
-
requirements:
|
40
|
+
requirements:
|
55
41
|
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 23
|
58
|
-
segments:
|
59
|
-
- 1
|
60
|
-
- 0
|
61
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
62
43
|
version: 1.0.0
|
63
44
|
type: :development
|
64
|
-
requirement: *id003
|
65
45
|
prerelease: false
|
66
|
-
|
46
|
+
version_requirements: *70324603440960
|
47
|
+
- !ruby/object:Gem::Dependency
|
67
48
|
name: jeweler
|
68
|
-
|
49
|
+
requirement: &70324603440180 !ruby/object:Gem::Requirement
|
69
50
|
none: false
|
70
|
-
requirements:
|
51
|
+
requirements:
|
71
52
|
- - ~>
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
hash: 7
|
74
|
-
segments:
|
75
|
-
- 1
|
76
|
-
- 6
|
77
|
-
- 4
|
53
|
+
- !ruby/object:Gem::Version
|
78
54
|
version: 1.6.4
|
79
55
|
type: :development
|
80
|
-
requirement: *id004
|
81
56
|
prerelease: false
|
82
|
-
|
57
|
+
version_requirements: *70324603440180
|
58
|
+
- !ruby/object:Gem::Dependency
|
83
59
|
name: rcov
|
84
|
-
|
60
|
+
requirement: &70324603439500 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70324603439500
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rdoc
|
71
|
+
requirement: &70324603438960 !ruby/object:Gem::Requirement
|
85
72
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
version: "0"
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.4.2
|
93
77
|
type: :development
|
94
|
-
requirement: *id005
|
95
78
|
prerelease: false
|
96
|
-
|
97
|
-
|
98
|
-
|
79
|
+
version_requirements: *70324603438960
|
80
|
+
description: ! 'This is a Domain Name manipulation library for Ruby.
|
81
|
+
|
82
|
+
|
99
83
|
It can also be used for cookie domain validation based on the Public
|
84
|
+
|
100
85
|
Suffix List.
|
101
86
|
|
87
|
+
'
|
102
88
|
email: knu@idaemons.org
|
103
89
|
executables: []
|
104
|
-
|
105
90
|
extensions: []
|
106
|
-
|
107
|
-
extra_rdoc_files:
|
91
|
+
extra_rdoc_files:
|
108
92
|
- LICENSE.txt
|
109
93
|
- README.md
|
110
|
-
files:
|
94
|
+
files:
|
111
95
|
- .document
|
112
96
|
- Gemfile
|
113
97
|
- LICENSE.txt
|
@@ -125,37 +109,31 @@ files:
|
|
125
109
|
- test/test_domain_name.rb
|
126
110
|
- tool/gen_etld_data.rb
|
127
111
|
homepage: http://github.com/knu/ruby-domain_name
|
128
|
-
licenses:
|
112
|
+
licenses:
|
129
113
|
- BSD + MPL 1.1/GPL 2.0/LGPL 2.1
|
130
114
|
post_install_message:
|
131
115
|
rdoc_options: []
|
132
|
-
|
133
|
-
require_paths:
|
116
|
+
require_paths:
|
134
117
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
119
|
none: false
|
137
|
-
requirements:
|
138
|
-
- -
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
segments:
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
segments:
|
142
125
|
- 0
|
143
|
-
|
144
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
|
+
hash: 79833043846430816
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
128
|
none: false
|
146
|
-
requirements:
|
147
|
-
- -
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
150
|
-
segments:
|
151
|
-
- 0
|
152
|
-
version: "0"
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
153
133
|
requirements: []
|
154
|
-
|
155
134
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.8.
|
135
|
+
rubygems_version: 1.8.11
|
157
136
|
signing_key:
|
158
137
|
specification_version: 3
|
159
138
|
summary: Domain Name manipulation library for Ruby
|
160
139
|
test_files: []
|
161
|
-
|