countries 4.0.1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +3 -3
- data/CHANGELOG.md +19 -0
- data/README.markdown +6 -0
- data/countries.gemspec +1 -1
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/country/class_methods.rb +8 -1
- data/lib/countries/data/countries/NL.yaml +1 -1
- data/lib/countries/data/subdivisions/AE.yaml +33 -21
- data/lib/countries/data/subdivisions/AF.yaml +162 -128
- data/lib/countries/data/subdivisions/AG.yaml +44 -35
- data/lib/countries/data/subdivisions/AL.yaml +252 -240
- data/lib/countries/data/subdivisions/AM.yaml +57 -45
- data/lib/countries/data/subdivisions/AO.yaml +72 -54
- data/lib/countries/data/subdivisions/AR.yaml +98 -72
- data/lib/countries/data/subdivisions/AS.yaml +40 -40
- data/lib/countries/data/subdivisions/AT.yaml +38 -27
- data/lib/countries/data/subdivisions/AU.yaml +33 -24
- data/lib/countries/data/subdivisions/AW.yaml +6 -6
- data/lib/countries/data/subdivisions/AX.yaml +27 -27
- data/lib/countries/data/subdivisions/AZ.yaml +367 -290
- data/lib/countries/data/subdivisions/BA.yaml +130 -127
- data/lib/countries/data/subdivisions/BB.yaml +47 -33
- data/lib/countries/data/subdivisions/BD.yaml +350 -338
- data/lib/countries/data/subdivisions/BE.yaml +69 -55
- data/lib/countries/data/subdivisions/BF.yaml +340 -282
- data/lib/countries/data/subdivisions/BG.yaml +112 -84
- data/lib/countries/data/subdivisions/BH.yaml +23 -19
- data/lib/countries/data/subdivisions/BI.yaml +98 -81
- data/lib/countries/data/subdivisions/BJ.yaml +60 -36
- data/lib/countries/data/subdivisions/BL.yaml +5 -5
- data/lib/countries/data/subdivisions/BN.yaml +20 -16
- data/lib/countries/data/subdivisions/BO.yaml +36 -27
- data/lib/countries/data/subdivisions/BQ.yaml +13 -9
- data/lib/countries/data/subdivisions/BR.yaml +138 -85
- data/lib/countries/data/subdivisions/BS.yaml +340 -309
- data/lib/countries/data/subdivisions/BT.yaml +80 -60
- data/lib/countries/data/subdivisions/BW.yaml +122 -104
- data/lib/countries/data/subdivisions/BY.yaml +58 -50
- data/lib/countries/data/subdivisions/BZ.yaml +24 -18
- data/lib/countries/data/subdivisions/CA.yaml +54 -39
- data/lib/countries/data/subdivisions/CD.yaml +269 -242
- data/lib/countries/data/subdivisions/CF.yaml +70 -51
- data/lib/countries/data/subdivisions/CG.yaml +57 -44
- data/lib/countries/data/subdivisions/CH.yaml +104 -78
- data/lib/countries/data/subdivisions/CI.yaml +247 -235
- data/lib/countries/data/subdivisions/CL.yaml +64 -48
- data/lib/countries/data/subdivisions/CM.yaml +44 -30
- data/lib/countries/data/subdivisions/CN.yaml +691 -12
- data/lib/countries/data/subdivisions/CO.yaml +169 -103
- data/lib/countries/data/subdivisions/CR.yaml +28 -21
- data/lib/countries/data/subdivisions/CU.yaml +63 -48
- data/lib/countries/data/subdivisions/CV.yaml +173 -150
- data/lib/countries/data/subdivisions/CW.yaml +6 -6
- data/lib/countries/data/subdivisions/CY.yaml +24 -18
- data/lib/countries/data/subdivisions/CZ.yaml +1633 -1602
- data/lib/countries/data/subdivisions/DE.yaml +82 -48
- data/lib/countries/data/subdivisions/DJ.yaml +26 -18
- data/lib/countries/data/subdivisions/DK.yaml +76 -71
- data/lib/countries/data/subdivisions/DM.yaml +40 -30
- data/lib/countries/data/subdivisions/DO.yaml +244 -214
- data/lib/countries/data/subdivisions/DZ.yaml +196 -148
- data/lib/countries/data/subdivisions/EC.yaml +100 -76
- data/lib/countries/data/subdivisions/EE.yaml +330 -45
- data/lib/countries/data/subdivisions/EG.yaml +108 -81
- data/lib/countries/data/subdivisions/ER.yaml +24 -18
- data/lib/countries/data/subdivisions/ES.yaml +415 -344
- data/lib/countries/data/subdivisions/ET.yaml +47 -33
- data/lib/countries/data/subdivisions/FI.yaml +268 -249
- data/lib/countries/data/subdivisions/FJ.yaml +189 -169
- data/lib/countries/data/subdivisions/FM.yaml +19 -16
- data/lib/countries/data/subdivisions/FR.yaml +976 -845
- data/lib/countries/data/subdivisions/GA.yaml +36 -27
- data/lib/countries/data/subdivisions/GB.yaml +1244 -1024
- data/lib/countries/data/subdivisions/GD.yaml +28 -21
- data/lib/countries/data/subdivisions/GE.yaml +50 -36
- data/lib/countries/data/subdivisions/GF.yaml +5 -5
- data/lib/countries/data/subdivisions/GH.yaml +87 -66
- data/lib/countries/data/subdivisions/GL.yaml +62 -56
- data/lib/countries/data/subdivisions/GM.yaml +26 -18
- data/lib/countries/data/subdivisions/GN.yaml +226 -183
- data/lib/countries/data/subdivisions/GP.yaml +5 -5
- data/lib/countries/data/subdivisions/GQ.yaml +42 -31
- data/lib/countries/data/subdivisions/GR.yaml +329 -316
- data/lib/countries/data/subdivisions/GT.yaml +92 -70
- data/lib/countries/data/subdivisions/GU.yaml +139 -139
- data/lib/countries/data/subdivisions/GW.yaml +74 -64
- data/lib/countries/data/subdivisions/GY.yaml +40 -30
- data/lib/countries/data/subdivisions/HK.yaml +131 -131
- data/lib/countries/data/subdivisions/HN.yaml +71 -54
- data/lib/countries/data/subdivisions/HR.yaml +85 -63
- data/lib/countries/data/subdivisions/HT.yaml +48 -38
- data/lib/countries/data/subdivisions/HU.yaml +170 -129
- data/lib/countries/data/subdivisions/ID.yaml +296 -213
- data/lib/countries/data/subdivisions/IE.yaml +164 -134
- data/lib/countries/data/subdivisions/IL.yaml +24 -18
- data/lib/countries/data/subdivisions/IN.yaml +207 -135
- data/lib/countries/data/subdivisions/IQ.yaml +83 -65
- data/lib/countries/data/subdivisions/IR.yaml +143 -109
- data/lib/countries/data/subdivisions/IS.yaml +255 -31
- data/lib/countries/data/subdivisions/IT.yaml +712 -576
- data/lib/countries/data/subdivisions/JM.yaml +56 -42
- data/lib/countries/data/subdivisions/JO.yaml +84 -72
- data/lib/countries/data/subdivisions/JP.yaml +194 -145
- data/lib/countries/data/subdivisions/KE.yaml +603 -557
- data/lib/countries/data/subdivisions/KG.yaml +45 -35
- data/lib/countries/data/subdivisions/KH.yaml +130 -105
- data/lib/countries/data/subdivisions/KI.yaml +16 -13
- data/lib/countries/data/subdivisions/KM.yaml +12 -9
- data/lib/countries/data/subdivisions/KN.yaml +80 -64
- data/lib/countries/data/subdivisions/KP.yaml +201 -187
- data/lib/countries/data/subdivisions/KR.yaml +106 -83
- data/lib/countries/data/subdivisions/KW.yaml +23 -18
- data/lib/countries/data/subdivisions/KZ.yaml +74 -56
- data/lib/countries/data/subdivisions/LA.yaml +87 -71
- data/lib/countries/data/subdivisions/LB.yaml +65 -60
- data/lib/countries/data/subdivisions/LC.yaml +119 -110
- data/lib/countries/data/subdivisions/LI.yaml +85 -73
- data/lib/countries/data/subdivisions/LK.yaml +195 -174
- data/lib/countries/data/subdivisions/LR.yaml +82 -67
- data/lib/countries/data/subdivisions/LS.yaml +40 -30
- data/lib/countries/data/subdivisions/LT.yaml +771 -750
- data/lib/countries/data/subdivisions/LU.yaml +157 -145
- data/lib/countries/data/subdivisions/LV.yaml +1670 -1549
- data/lib/countries/data/subdivisions/LY.yaml +98 -78
- data/lib/countries/data/subdivisions/MA.yaml +554 -520
- data/lib/countries/data/subdivisions/MC.yaml +189 -187
- data/lib/countries/data/subdivisions/MD.yaml +395 -356
- data/lib/countries/data/subdivisions/ME.yaml +108 -90
- data/lib/countries/data/subdivisions/MF.yaml +6 -6
- data/lib/countries/data/subdivisions/MG.yaml +24 -18
- data/lib/countries/data/subdivisions/MH.yaml +128 -121
- data/lib/countries/data/subdivisions/MK.yaml +1757 -1698
- data/lib/countries/data/subdivisions/ML.yaml +49 -38
- data/lib/countries/data/subdivisions/MM.yaml +80 -53
- data/lib/countries/data/subdivisions/MN.yaml +89 -66
- data/lib/countries/data/subdivisions/MO.yaml +6 -6
- data/lib/countries/data/subdivisions/MP.yaml +33 -33
- data/lib/countries/data/subdivisions/MQ.yaml +5 -5
- data/lib/countries/data/subdivisions/MR.yaml +84 -72
- data/lib/countries/data/subdivisions/MT.yaml +280 -212
- data/lib/countries/data/subdivisions/MU.yaml +74 -55
- data/lib/countries/data/subdivisions/MV.yaml +171 -151
- data/lib/countries/data/subdivisions/MW.yaml +156 -125
- data/lib/countries/data/subdivisions/MX.yaml +139 -105
- data/lib/countries/data/subdivisions/MY.yaml +66 -48
- data/lib/countries/data/subdivisions/MZ.yaml +46 -33
- data/lib/countries/data/subdivisions/NA.yaml +54 -42
- data/lib/countries/data/subdivisions/NC.yaml +26 -26
- data/lib/countries/data/subdivisions/NE.yaml +41 -24
- data/lib/countries/data/subdivisions/NG.yaml +185 -111
- data/lib/countries/data/subdivisions/NI.yaml +68 -51
- data/lib/countries/data/subdivisions/NL.yaml +118 -102
- data/lib/countries/data/subdivisions/NO.yaml +1282 -0
- data/lib/countries/data/subdivisions/NP.yaml +157 -145
- data/lib/countries/data/subdivisions/NR.yaml +56 -42
- data/lib/countries/data/subdivisions/NZ.yaml +100 -84
- data/lib/countries/data/subdivisions/OM.yaml +104 -93
- data/lib/countries/data/subdivisions/PA.yaml +74 -61
- data/lib/countries/data/subdivisions/PE.yaml +108 -82
- data/lib/countries/data/subdivisions/PF.yaml +40 -40
- data/lib/countries/data/subdivisions/PG.yaml +113 -93
- data/lib/countries/data/subdivisions/PH.yaml +525 -432
- data/lib/countries/data/subdivisions/PK.yaml +55 -46
- data/lib/countries/data/subdivisions/PL.yaml +161 -130
- data/lib/countries/data/subdivisions/PM.yaml +19 -19
- data/lib/countries/data/subdivisions/PR.yaml +551 -551
- data/lib/countries/data/subdivisions/PS.yaml +184 -176
- data/lib/countries/data/subdivisions/PT.yaml +81 -60
- data/lib/countries/data/subdivisions/PW.yaml +72 -52
- data/lib/countries/data/subdivisions/PY.yaml +72 -54
- data/lib/countries/data/subdivisions/QA.yaml +62 -53
- data/lib/countries/data/subdivisions/RE.yaml +5 -5
- data/lib/countries/data/subdivisions/RO.yaml +169 -126
- data/lib/countries/data/subdivisions/RS.yaml +158 -130
- data/lib/countries/data/subdivisions/RU.yaml +357 -270
- data/lib/countries/data/subdivisions/RW.yaml +22 -15
- data/lib/countries/data/subdivisions/SA.yaml +52 -39
- data/lib/countries/data/subdivisions/SB.yaml +40 -30
- data/lib/countries/data/subdivisions/SC.yaml +120 -91
- data/lib/countries/data/subdivisions/SD.yaml +98 -81
- data/lib/countries/data/subdivisions/SE.yaml +84 -63
- data/lib/countries/data/subdivisions/SG.yaml +74 -74
- data/lib/countries/data/subdivisions/SH.yaml +23 -20
- data/lib/countries/data/subdivisions/SI.yaml +987 -811
- data/lib/countries/data/subdivisions/SK.yaml +32 -24
- data/lib/countries/data/subdivisions/SL.yaml +21 -17
- data/lib/countries/data/subdivisions/SM.yaml +37 -27
- data/lib/countries/data/subdivisions/SN.yaml +80 -66
- data/lib/countries/data/subdivisions/SO.yaml +69 -54
- data/lib/countries/data/subdivisions/SR.yaml +40 -30
- data/lib/countries/data/subdivisions/SS.yaml +120 -110
- data/lib/countries/data/subdivisions/ST.yaml +27 -6
- data/lib/countries/data/subdivisions/SV.yaml +54 -42
- data/lib/countries/data/subdivisions/SX.yaml +6 -6
- data/lib/countries/data/subdivisions/SY.yaml +67 -54
- data/lib/countries/data/subdivisions/SZ.yaml +16 -12
- data/lib/countries/data/subdivisions/TD.yaml +143 -120
- data/lib/countries/data/subdivisions/TF.yaml +27 -27
- data/lib/countries/data/subdivisions/TG.yaml +20 -15
- data/lib/countries/data/subdivisions/TH.yaml +322 -242
- data/lib/countries/data/subdivisions/TJ.yaml +37 -31
- data/lib/countries/data/subdivisions/TL.yaml +52 -39
- data/lib/countries/data/subdivisions/TM.yaml +31 -26
- data/lib/countries/data/subdivisions/TN.yaml +96 -72
- data/lib/countries/data/subdivisions/TO.yaml +19 -15
- data/lib/countries/data/subdivisions/TR.yaml +324 -243
- data/lib/countries/data/subdivisions/TT.yaml +88 -70
- data/lib/countries/data/subdivisions/TV.yaml +55 -47
- data/lib/countries/data/subdivisions/TW.yaml +146 -123
- data/lib/countries/data/subdivisions/TZ.yaml +182 -127
- data/lib/countries/data/subdivisions/UA.yaml +109 -81
- data/lib/countries/data/subdivisions/UG.yaml +912 -775
- data/lib/countries/data/subdivisions/UM.yaml +45 -36
- data/lib/countries/data/subdivisions/US.yaml +323 -204
- data/lib/countries/data/subdivisions/UY.yaml +78 -57
- data/lib/countries/data/subdivisions/UZ.yaml +57 -42
- data/lib/countries/data/subdivisions/VC.yaml +32 -22
- data/lib/countries/data/subdivisions/VE.yaml +100 -75
- data/lib/countries/data/subdivisions/VI.yaml +26 -26
- data/lib/countries/data/subdivisions/VN.yaml +256 -191
- data/lib/countries/data/subdivisions/VU.yaml +24 -18
- data/lib/countries/data/subdivisions/WF.yaml +41 -38
- data/lib/countries/data/subdivisions/WS.yaml +44 -33
- data/lib/countries/data/subdivisions/YE.yaml +114 -94
- data/lib/countries/data/subdivisions/YT.yaml +125 -125
- data/lib/countries/data/subdivisions/ZA.yaml +56 -39
- data/lib/countries/data/subdivisions/ZM.yaml +48 -38
- data/lib/countries/data/subdivisions/ZW.yaml +39 -30
- data/lib/countries/data/translation_corrections.yaml +2 -0
- data/lib/countries/version.rb +1 -1
- data/spec/country_spec.rb +24 -0
- data/spec/data_spec.rb +4 -4
- metadata +5 -5
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
AA:
|
2
|
+
AA:
|
3
3
|
name: Adis Abeba
|
4
|
-
code:
|
4
|
+
code:
|
5
5
|
unofficial_names: Adis Abeba
|
6
6
|
geo:
|
7
7
|
latitude: 8.9806034
|
@@ -91,10 +91,13 @@ AA:
|
|
91
91
|
uz: Addis-Abeba
|
92
92
|
bs: Adis Abeba
|
93
93
|
mk: Адис Абеба
|
94
|
-
|
95
|
-
|
94
|
+
ha_NE: Addis Ababa
|
95
|
+
'no': Addis Abeba
|
96
|
+
yo_BJ: Addis Ababa
|
97
|
+
comments:
|
98
|
+
AF:
|
96
99
|
name: Afar
|
97
|
-
code:
|
100
|
+
code:
|
98
101
|
unofficial_names:
|
99
102
|
- Affar
|
100
103
|
geo:
|
@@ -156,10 +159,11 @@ AF:
|
|
156
159
|
sr_Latn: Afar
|
157
160
|
zh: 阿法尔州
|
158
161
|
ccp: "\U00011103\U0001111C\U00011122\U00011134"
|
159
|
-
|
160
|
-
|
162
|
+
'no': Afar
|
163
|
+
comments:
|
164
|
+
AM:
|
161
165
|
name: Amara
|
162
|
-
code:
|
166
|
+
code:
|
163
167
|
unofficial_names: Amara
|
164
168
|
geo:
|
165
169
|
latitude: 11.3494247
|
@@ -222,10 +226,11 @@ AM:
|
|
222
226
|
zh: 阿姆哈拉州
|
223
227
|
ccp: "\U00011103\U0001111F\U00011134\U00011126\U00011122"
|
224
228
|
eu: Amhara eskualdea
|
225
|
-
|
226
|
-
|
229
|
+
'no': Amhara
|
230
|
+
comments:
|
231
|
+
BE:
|
227
232
|
name: Binshangul Gumuz
|
228
|
-
code:
|
233
|
+
code:
|
229
234
|
unofficial_names: Binshangul Gumuz
|
230
235
|
geo:
|
231
236
|
latitude: 10.7802889
|
@@ -285,10 +290,11 @@ BE:
|
|
285
290
|
zh: 本尚古勒-古馬茲州
|
286
291
|
ccp: "\U0001111D\U0001112C\U0001111A\U00011128\U00011125\U00011101\U00011109\U0001112A\U00011123\U00011134-\U00011109\U0001112A\U0001111A\U0001110C\U00011134"
|
287
292
|
zu: Benishangul-Gumaz
|
288
|
-
|
289
|
-
|
293
|
+
'no': Benishangul-Gumuz
|
294
|
+
comments:
|
295
|
+
DD:
|
290
296
|
name: Dire Dawa
|
291
|
-
code:
|
297
|
+
code:
|
292
298
|
unofficial_names: Dire Dawa
|
293
299
|
geo:
|
294
300
|
latitude: 9.6008747
|
@@ -355,10 +361,12 @@ DD:
|
|
355
361
|
eu: Dire Dawa
|
356
362
|
so: Diridhabe
|
357
363
|
uz: Diredava
|
358
|
-
|
359
|
-
|
364
|
+
ha_NE: Dire Dawa
|
365
|
+
'no': Dire Dawa
|
366
|
+
comments:
|
367
|
+
GA:
|
360
368
|
name: Gambela Hizboch
|
361
|
-
code:
|
369
|
+
code:
|
362
370
|
unofficial_names:
|
363
371
|
- Gambela
|
364
372
|
geo:
|
@@ -419,10 +427,11 @@ GA:
|
|
419
427
|
sr_Latn: Region Gambela
|
420
428
|
zh: 甘貝拉州
|
421
429
|
ccp: "\U00011109\U0001111F\U00011134\U0001111D\U0001112C\U00011123"
|
422
|
-
|
423
|
-
|
430
|
+
'no': Gambela
|
431
|
+
comments:
|
432
|
+
HA:
|
424
433
|
name: Hareri Hizb
|
425
|
-
code:
|
434
|
+
code:
|
426
435
|
unofficial_names: Hareri Hizb
|
427
436
|
geo:
|
428
437
|
latitude: 9.314866
|
@@ -482,10 +491,11 @@ HA:
|
|
482
491
|
zh: 哈勒爾州
|
483
492
|
ccp: "\U00011126\U00011122\U00011122\U00011128"
|
484
493
|
eu: Harari
|
485
|
-
|
486
|
-
|
494
|
+
'no': Harar
|
495
|
+
comments:
|
496
|
+
OR:
|
487
497
|
name: Oromiya
|
488
|
-
code:
|
498
|
+
code:
|
489
499
|
unofficial_names: Oromiya
|
490
500
|
geo:
|
491
501
|
latitude: 7.546037699999999
|
@@ -547,10 +557,11 @@ OR:
|
|
547
557
|
ccp: "\U00011103\U00011127\U00011122\U0001112E\U0001111F\U00011128\U00011120"
|
548
558
|
eu: Oromia
|
549
559
|
be: Аромія
|
550
|
-
|
551
|
-
|
560
|
+
'no': Oromia
|
561
|
+
comments:
|
562
|
+
SN:
|
552
563
|
name: YeDebub Biheroch Bihereseboch na Hizboch
|
553
|
-
code:
|
564
|
+
code:
|
554
565
|
unofficial_names: YeDebub Biheroch Bihereseboch na Hizboch
|
555
566
|
geo:
|
556
567
|
latitude: 6.5156911
|
@@ -614,10 +625,11 @@ SN:
|
|
614
625
|
\U0001110E\U00011116\U00011134, \U0001110E\U00011116\U00011128\U00011120\U00011127\U00011116
|
615
626
|
\U00011103\U00011133\U00011103 \U0001110E\U00011127\U0001111A\U00011127\U00011109\U00011127\U0001111A\U00011134"
|
616
627
|
eu: Hegoaldeko Nazioen, Nazionalitateen eta Herrien Eskualdea
|
617
|
-
|
618
|
-
|
628
|
+
'no': Region for sørlige nasjoner, nasjonaliteter og folk
|
629
|
+
comments:
|
630
|
+
SO:
|
619
631
|
name: Sumale
|
620
|
-
code:
|
632
|
+
code:
|
621
633
|
unofficial_names: Sumale
|
622
634
|
geo:
|
623
635
|
latitude: 6.6612293
|
@@ -679,10 +691,11 @@ SO:
|
|
679
691
|
zh: 索馬里州
|
680
692
|
ccp: "\U00011125\U00011127\U0001111F\U00011123\U00011128"
|
681
693
|
so: Soomaali Galbeed
|
682
|
-
|
683
|
-
|
694
|
+
'no': Somali
|
695
|
+
comments:
|
696
|
+
TI:
|
684
697
|
name: Tigray
|
685
|
-
code:
|
698
|
+
code:
|
686
699
|
unofficial_names: Tigray
|
687
700
|
geo:
|
688
701
|
latitude: 14.0323336
|
@@ -743,4 +756,5 @@ TI:
|
|
743
756
|
sr_Latn: Region Tigraj
|
744
757
|
zh: 提格里州
|
745
758
|
ccp: "\U00011111\U0001112D\U00011109\U00011133\U00011122\U0001112C"
|
746
|
-
|
759
|
+
'no': Tigray
|
760
|
+
comments:
|