countries 0.9.3 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/README.markdown +2 -0
- data/Rakefile +16 -0
- data/countries.gemspec +1 -1
- data/lib/countries/country.rb +17 -2
- data/lib/countries/version.rb +1 -1
- data/lib/data/countries.yaml +1516 -20
- data/lib/data/subdivisions/AE.yaml +22 -9
- data/lib/data/subdivisions/AT.yaml +2 -1
- data/lib/data/subdivisions/CA.yaml +21 -10
- data/lib/data/subdivisions/CU.yaml +12 -4
- data/lib/data/subdivisions/ES.yaml +1 -0
- data/lib/data/subdivisions/HR.yaml +52 -32
- data/lib/data/subdivisions/JO.yaml +2 -2
- data/lib/data/subdivisions/JP.yaml +74 -40
- data/lib/data/subdivisions/NO.yaml +21 -40
- data/lib/data/subdivisions/RU.yaml +333 -283
- data/lib/data/subdivisions/SG.yaml +15 -3
- data/spec/country_spec.rb +75 -0
- metadata +17 -17
@@ -1,28 +1,41 @@
|
|
1
1
|
---
|
2
2
|
AJ:
|
3
|
-
name: "'
|
3
|
+
name: "'Ajmān"
|
4
4
|
names:
|
5
|
+
-إمارة عجمانّ
|
5
6
|
- Ujman
|
6
7
|
AZ:
|
7
|
-
name: "
|
8
|
+
name: "Abū Z̧aby [Abu Dhabi]"
|
8
9
|
names:
|
10
|
+
- "أبو ظبي"
|
9
11
|
- "Abu Zabi"
|
10
12
|
- "Abu Zaby"
|
11
13
|
- "Abū Z̨abī"
|
12
14
|
- "Abu Dhabi"
|
13
15
|
- "Abu Dhabi"
|
14
16
|
DU:
|
15
|
-
name: "Dubayy
|
16
|
-
names:
|
17
|
+
name: "Dubayy"
|
18
|
+
names:
|
19
|
+
- "دبي"
|
20
|
+
- "Dubai"
|
17
21
|
FU:
|
18
22
|
name: "Al Fujayrah"
|
19
|
-
names:
|
23
|
+
names:
|
24
|
+
- "الفجيرة"
|
25
|
+
- "Al Fujayrah"
|
26
|
+
- "Fujairah"
|
20
27
|
RK:
|
21
|
-
name: "Ra
|
22
|
-
names:
|
28
|
+
name: "Ra's al Khaymah"
|
29
|
+
names:
|
30
|
+
- "إمارة رأس الخيمة"
|
31
|
+
- "Ras al-Khaimah"
|
23
32
|
SH:
|
24
33
|
name: "Ash Shariqah [Sharjah]"
|
25
|
-
names:
|
34
|
+
names:
|
35
|
+
- "إمارة الشارقةّ"
|
36
|
+
- "Ash Shariqah"
|
26
37
|
UQ:
|
27
38
|
name: "Umm al Qaywayn"
|
28
|
-
names:
|
39
|
+
names:
|
40
|
+
- "أمّ القيوين"
|
41
|
+
- "Umm al-Quwain"
|
@@ -1,20 +1,26 @@
|
|
1
1
|
---
|
2
2
|
AB:
|
3
3
|
name: Alberta
|
4
|
-
names:
|
4
|
+
names:
|
5
|
+
- Alberta
|
5
6
|
BC:
|
6
7
|
name: "British Columbia"
|
7
|
-
names:
|
8
|
+
names:
|
9
|
+
- Colombie-Britannique
|
8
10
|
MB:
|
9
11
|
name: Manitoba
|
10
|
-
names:
|
12
|
+
names:
|
13
|
+
- Manitoba
|
11
14
|
NB:
|
12
15
|
name: "New Brunswick"
|
13
16
|
names:
|
14
17
|
- Nouveau-Brunswick
|
15
18
|
NL:
|
16
19
|
name: "Newfoundland and Labrador"
|
17
|
-
names:
|
20
|
+
names:
|
21
|
+
- Terre-Neuve-et-Labrador
|
22
|
+
- Newfoundland
|
23
|
+
- Terre-Neuve
|
18
24
|
NS:
|
19
25
|
name: "Nova Scotia"
|
20
26
|
names:
|
@@ -25,21 +31,26 @@ NT:
|
|
25
31
|
- "Territoires du Nord-Ouest"
|
26
32
|
NU:
|
27
33
|
name: Nunavut
|
28
|
-
names:
|
34
|
+
names:
|
35
|
+
- Nunavut
|
29
36
|
? "ON"
|
30
37
|
:
|
31
38
|
name: Ontario
|
32
|
-
names:
|
39
|
+
names:
|
40
|
+
- Ontario
|
33
41
|
PE:
|
34
42
|
name: "Prince Edward Island"
|
35
|
-
names:
|
43
|
+
names:
|
44
|
+
- Île-du-Prince-Édouard
|
36
45
|
QC:
|
37
46
|
name: Quebec
|
38
47
|
names:
|
39
48
|
- Québec
|
40
49
|
SK:
|
41
50
|
name: Saskatchewan
|
42
|
-
names:
|
51
|
+
names:
|
52
|
+
- Saskatchewan
|
43
53
|
YT:
|
44
|
-
name:
|
45
|
-
names:
|
54
|
+
name: Yukon
|
55
|
+
names:
|
56
|
+
- "Yukon Territory"
|
@@ -5,12 +5,12 @@
|
|
5
5
|
names: "Pinar del Río"
|
6
6
|
? "02"
|
7
7
|
:
|
8
|
-
name: "La Habana"
|
9
|
-
names: "La Habana"
|
8
|
+
name: "Antigua provincia de La Habana"
|
9
|
+
names: "Antigua provincia de La Habana"
|
10
10
|
? "03"
|
11
11
|
:
|
12
|
-
name: "
|
13
|
-
names: "
|
12
|
+
name: "La Habana"
|
13
|
+
names: "La Habana"
|
14
14
|
? "04"
|
15
15
|
:
|
16
16
|
name: Matanzas
|
@@ -53,6 +53,14 @@
|
|
53
53
|
:
|
54
54
|
name: Guantánamo
|
55
55
|
names: Guantánamo
|
56
|
+
? "15"
|
57
|
+
:
|
58
|
+
name: Artemisa
|
59
|
+
names: Artemisa
|
60
|
+
? "16"
|
61
|
+
:
|
62
|
+
name: Mayabeque
|
63
|
+
names: Mayabeque
|
56
64
|
? "99"
|
57
65
|
:
|
58
66
|
name: "Isla de la Juventud"
|
@@ -1,86 +1,106 @@
|
|
1
1
|
---
|
2
2
|
? "01"
|
3
3
|
:
|
4
|
-
name: "
|
5
|
-
names:
|
4
|
+
name: "Zagrebačka županija"
|
5
|
+
names:
|
6
|
+
- "Zagreb County"
|
6
7
|
? "02"
|
7
8
|
:
|
8
9
|
name: "Krapinsko-zagorska županija"
|
9
|
-
names:
|
10
|
+
names:
|
11
|
+
- "Krapina-Zagorje"
|
10
12
|
? "03"
|
11
13
|
:
|
12
|
-
name: "
|
13
|
-
names:
|
14
|
+
name: "Sisačko-moslavačka županija"
|
15
|
+
names:
|
16
|
+
- "Sisak-Moslavina"
|
14
17
|
? "04"
|
15
18
|
:
|
16
|
-
name: "
|
17
|
-
names:
|
19
|
+
name: "Karlovačka županija"
|
20
|
+
names:
|
21
|
+
- "Karlovac"
|
18
22
|
? "05"
|
19
23
|
:
|
20
24
|
name: "Varaždinska županija"
|
21
|
-
names:
|
25
|
+
names:
|
26
|
+
- "Varaždin"
|
22
27
|
? "06"
|
23
28
|
:
|
24
|
-
name: "
|
25
|
-
names:
|
29
|
+
name: "Koprivničko-križevačka županija"
|
30
|
+
names:
|
31
|
+
- "Koprivnica-Križevci"
|
26
32
|
? "07"
|
27
33
|
:
|
28
34
|
name: "Bjelovarsko-bilogorska županija"
|
29
|
-
names:
|
30
|
-
|
35
|
+
names:
|
36
|
+
- "Bjelovar-Bilogora"
|
37
|
+
? "08"
|
38
|
+
:
|
31
39
|
name: "Primorsko-goranska županija"
|
32
|
-
names:
|
33
|
-
|
34
|
-
|
35
|
-
|
40
|
+
names:
|
41
|
+
- "Primorje-Gorski Kotar"
|
42
|
+
? "09"
|
43
|
+
:
|
44
|
+
name: "Ličko-senjska županija"
|
45
|
+
names:
|
46
|
+
- "Lika-Senj"
|
36
47
|
? "10"
|
37
48
|
:
|
38
|
-
name: "
|
39
|
-
names:
|
49
|
+
name: "Virovitičko-podravska županija"
|
50
|
+
names:
|
51
|
+
- "Virovitica-Podravina"
|
40
52
|
? "11"
|
41
53
|
:
|
42
54
|
name: "Požeško-slavonska županija"
|
43
|
-
names:
|
55
|
+
names:
|
56
|
+
- "Požega-Slavonia"
|
44
57
|
? "12"
|
45
58
|
:
|
46
59
|
name: "Brodsko-posavska županija"
|
47
|
-
names:
|
60
|
+
names:
|
61
|
+
- "Brod-Posavina"
|
48
62
|
? "13"
|
49
63
|
:
|
50
64
|
name: "Zadarska županija"
|
51
|
-
names:
|
65
|
+
names:
|
66
|
+
- "Zadar"
|
52
67
|
? "14"
|
53
68
|
:
|
54
|
-
name: "
|
55
|
-
names:
|
69
|
+
name: "Osječko-baranjska županija"
|
70
|
+
names:
|
71
|
+
- "Osijek-Baranja"
|
56
72
|
? "15"
|
57
73
|
:
|
58
74
|
name: "Šibensko-kninska županija"
|
59
|
-
names:
|
75
|
+
names:
|
76
|
+
- "Šibenik-Knin"
|
60
77
|
? "16"
|
61
78
|
:
|
62
79
|
name: "Vukovarsko-srijemska županija"
|
63
80
|
names:
|
64
|
-
- Vukovar-Sirmium
|
81
|
+
- "Vukovar-Sirmium"
|
65
82
|
? "17"
|
66
83
|
:
|
67
84
|
name: "Splitsko-dalmatinska županija"
|
68
85
|
names:
|
69
|
-
- Split-Dalmatia
|
86
|
+
- "Split-Dalmatia"
|
70
87
|
? "18"
|
71
88
|
:
|
72
89
|
name: "Istarska županija"
|
73
90
|
names:
|
74
|
-
- Istria
|
91
|
+
- "Istria"
|
75
92
|
? "19"
|
76
93
|
:
|
77
|
-
name: "
|
78
|
-
names:
|
94
|
+
name: "Dubrovačko-neretvanska županija"
|
95
|
+
names:
|
96
|
+
- "Dubrovnik-Neretva"
|
79
97
|
? "20"
|
80
98
|
:
|
81
|
-
name: "
|
82
|
-
names:
|
99
|
+
name: "Međimurska županija"
|
100
|
+
names:
|
101
|
+
- "Međimurje"
|
83
102
|
? "21"
|
84
103
|
:
|
85
104
|
name: "Grad Zagreb"
|
86
|
-
names:
|
105
|
+
names:
|
106
|
+
- "City of Zagreb"
|
@@ -1,8 +1,10 @@
|
|
1
1
|
---
|
2
2
|
? "01"
|
3
3
|
:
|
4
|
-
name: "
|
5
|
-
names:
|
4
|
+
name: "Hokkaido"
|
5
|
+
names:
|
6
|
+
- "Hokkaidô"
|
7
|
+
- "Hokkaido"
|
6
8
|
? "02"
|
7
9
|
:
|
8
10
|
name: Aomori
|
@@ -25,14 +27,18 @@
|
|
25
27
|
names: Yamagata
|
26
28
|
? "07"
|
27
29
|
:
|
28
|
-
name: "
|
29
|
-
names:
|
30
|
+
name: "Fukushima"
|
31
|
+
names:
|
32
|
+
- "Hukusima"
|
33
|
+
- "Fukushima"
|
30
34
|
08:
|
31
35
|
name: Ibaraki
|
32
36
|
names: Ibaraki
|
33
37
|
09:
|
34
|
-
name: "
|
35
|
-
names:
|
38
|
+
name: "Tochigi"
|
39
|
+
names:
|
40
|
+
- "Totigi"
|
41
|
+
- "Tochigi"
|
36
42
|
? "10"
|
37
43
|
:
|
38
44
|
name: Gunma
|
@@ -43,11 +49,13 @@
|
|
43
49
|
names: Saitama
|
44
50
|
? "12"
|
45
51
|
:
|
46
|
-
name: "
|
47
|
-
names:
|
52
|
+
name: "Chiba"
|
53
|
+
names:
|
54
|
+
- "Tiba"
|
55
|
+
- "Chiba"
|
48
56
|
? "13"
|
49
57
|
:
|
50
|
-
name: "
|
58
|
+
name: "Tokyo"
|
51
59
|
names:
|
52
60
|
- Tokyo
|
53
61
|
- Tokio
|
@@ -65,53 +73,67 @@
|
|
65
73
|
names: Toyama
|
66
74
|
? "17"
|
67
75
|
:
|
68
|
-
name: "
|
69
|
-
names:
|
76
|
+
name: "Ishikawa"
|
77
|
+
names:
|
78
|
+
- "Isikawa"
|
79
|
+
- "Ishikawa"
|
70
80
|
? "18"
|
71
81
|
:
|
72
|
-
name: "
|
73
|
-
names:
|
82
|
+
name: "Fukui"
|
83
|
+
names:
|
84
|
+
- "Hukui"
|
85
|
+
- "Fukui"
|
74
86
|
? "19"
|
75
87
|
:
|
76
|
-
name: "
|
77
|
-
names:
|
88
|
+
name: "Yamanashi"
|
89
|
+
names:
|
90
|
+
- "Yamanasi"
|
91
|
+
- "Yamanashi"
|
78
92
|
? "20"
|
79
93
|
:
|
80
94
|
name: Nagano
|
81
95
|
names: Nagano
|
82
96
|
? "21"
|
83
97
|
:
|
84
|
-
name: "
|
85
|
-
names:
|
98
|
+
name: "Gifu"
|
99
|
+
names:
|
100
|
+
- "Gihu"
|
101
|
+
- "Gifu"
|
86
102
|
? "22"
|
87
103
|
:
|
88
|
-
name: "
|
89
|
-
names:
|
104
|
+
name: "Shizuoka"
|
105
|
+
names:
|
106
|
+
- "Sizuoka"
|
107
|
+
- "Shizuoka"
|
90
108
|
? "23"
|
91
109
|
:
|
92
|
-
name: "
|
93
|
-
names:
|
110
|
+
name: "Aichi"
|
111
|
+
names:
|
112
|
+
- "Aiti"
|
113
|
+
- "Aichi"
|
94
114
|
? "24"
|
95
115
|
:
|
96
116
|
name: Mie
|
97
117
|
names: Mie
|
98
118
|
? "25"
|
99
119
|
:
|
100
|
-
name: "
|
101
|
-
names:
|
120
|
+
name: "Shiga"
|
121
|
+
names:
|
122
|
+
- "Siga"
|
123
|
+
- "Shiga"
|
102
124
|
? "26"
|
103
125
|
:
|
104
|
-
name: "
|
126
|
+
name: "Kyoto"
|
105
127
|
names:
|
106
128
|
- Kyoto
|
107
129
|
? "27"
|
108
130
|
:
|
109
|
-
name: "
|
131
|
+
name: "Osaka"
|
110
132
|
names:
|
111
133
|
- Osaka
|
112
134
|
? "28"
|
113
135
|
:
|
114
|
-
name: "
|
136
|
+
name: "Hyogo"
|
115
137
|
names:
|
116
138
|
- Hyogo
|
117
139
|
? "29"
|
@@ -128,24 +150,32 @@
|
|
128
150
|
names: Tottori
|
129
151
|
? "32"
|
130
152
|
:
|
131
|
-
name: "
|
132
|
-
names:
|
153
|
+
name: "Shimane"
|
154
|
+
names:
|
155
|
+
- "Simane"
|
156
|
+
- "Shimane"
|
133
157
|
? "33"
|
134
158
|
:
|
135
159
|
name: Okayama
|
136
160
|
names: Okayama
|
137
161
|
? "34"
|
138
162
|
:
|
139
|
-
name: "
|
140
|
-
names:
|
163
|
+
name: "Hiroshima"
|
164
|
+
names:
|
165
|
+
- "Hirosima"
|
166
|
+
- "Hiroshima"
|
141
167
|
? "35"
|
142
168
|
:
|
143
|
-
name: "
|
144
|
-
names:
|
169
|
+
name: "Yamaguchi"
|
170
|
+
names:
|
171
|
+
- "Yamaguti"
|
172
|
+
- "Yamaguchi"
|
145
173
|
? "36"
|
146
174
|
:
|
147
|
-
name: "
|
148
|
-
names:
|
175
|
+
name: "Tokushima"
|
176
|
+
names:
|
177
|
+
- "Tokusima"
|
178
|
+
- "Tokushima"
|
149
179
|
? "37"
|
150
180
|
:
|
151
181
|
name: Kagawa
|
@@ -156,13 +186,15 @@
|
|
156
186
|
names: Ehime
|
157
187
|
? "39"
|
158
188
|
:
|
159
|
-
name: "
|
189
|
+
name: "Kochi"
|
160
190
|
names:
|
161
191
|
- Kochi
|
162
192
|
? "40"
|
163
193
|
:
|
164
|
-
name: "
|
165
|
-
names:
|
194
|
+
name: "Fukuoka"
|
195
|
+
names:
|
196
|
+
- "Hukuoka"
|
197
|
+
- "Fukuoka"
|
166
198
|
? "41"
|
167
199
|
:
|
168
200
|
name: Saga
|
@@ -177,7 +209,7 @@
|
|
177
209
|
names: Kumamoto
|
178
210
|
? "44"
|
179
211
|
:
|
180
|
-
name: "
|
212
|
+
name: "Oita"
|
181
213
|
names:
|
182
214
|
- Oita
|
183
215
|
? "45"
|
@@ -186,8 +218,10 @@
|
|
186
218
|
names: Miyazaki
|
187
219
|
? "46"
|
188
220
|
:
|
189
|
-
name: "
|
190
|
-
names:
|
221
|
+
name: "Kagoshima"
|
222
|
+
names:
|
223
|
+
- "Kagosima"
|
224
|
+
- "Kagoshima"
|
191
225
|
? "47"
|
192
226
|
:
|
193
227
|
name: Okinawa
|