countries 4.2.3 → 5.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/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +3 -7
- data/.rubocop.yml +40 -1
- data/.rubocop_todo.yml +8 -41
- data/CHANGELOG.md +35 -2
- data/Gemfile +5 -3
- data/README.markdown +56 -62
- data/Rakefile +21 -45
- data/UPGRADE.md +39 -0
- data/bin/console +1 -0
- data/countries.gemspec +7 -6
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/ab.json +1 -1
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -1
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -1
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -1
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -1
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -1
- data/lib/countries/cache/locales/bn-in.json +1 -1
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -1
- data/lib/countries/cache/locales/ch.json +1 -1
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -1
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -1
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -1
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -1
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -1
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -1
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -1
- data/lib/countries/cache/locales/ha.json +1 -1
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -1
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -1
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -1
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -1
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -1
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -1
- data/lib/countries/cache/locales/kw.json +1 -1
- data/lib/countries/cache/locales/ky.json +1 -1
- data/lib/countries/cache/locales/lo.json +1 -1
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -1
- data/lib/countries/cache/locales/na.json +1 -1
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -1
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -1
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -1
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -1
- data/lib/countries/cache/locales/sd.json +1 -1
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -1
- data/lib/countries/cache/locales/uz.json +1 -1
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -1
- data/lib/countries/cache/locales/zh-cn.json +1 -1
- data/lib/countries/cache/locales/zh-hk.json +1 -1
- data/lib/countries/cache/locales/zh-tw.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/configuration.rb +2 -0
- data/lib/countries/country/class_methods.rb +20 -103
- data/lib/countries/country/currency_methods.rb +2 -0
- data/lib/countries/country/emoji.rb +2 -3
- data/lib/countries/country/finder_methods.rb +81 -0
- data/lib/countries/country.rb +32 -43
- data/lib/countries/data/countries/KN.yaml +0 -1
- data/lib/countries/data/subdivisions/AD.yaml +14 -7
- data/lib/countries/data/subdivisions/AE.yaml +14 -7
- data/lib/countries/data/subdivisions/AF.yaml +196 -201
- data/lib/countries/data/subdivisions/AG.yaml +16 -22
- data/lib/countries/data/subdivisions/AL.yaml +24 -12
- data/lib/countries/data/subdivisions/AM.yaml +22 -11
- data/lib/countries/data/subdivisions/AO.yaml +36 -18
- data/lib/countries/data/subdivisions/AR.yaml +48 -24
- data/lib/countries/data/subdivisions/AT.yaml +18 -9
- data/lib/countries/data/subdivisions/AU.yaml +16 -8
- data/lib/countries/data/subdivisions/AZ.yaml +434 -412
- data/lib/countries/data/subdivisions/BA.yaml +75 -223
- data/lib/countries/data/subdivisions/BB.yaml +22 -11
- data/lib/countries/data/subdivisions/BD.yaml +188 -116
- data/lib/countries/data/subdivisions/BE.yaml +174 -161
- data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
- data/lib/countries/data/subdivisions/BG.yaml +56 -28
- data/lib/countries/data/subdivisions/BH.yaml +8 -21
- data/lib/countries/data/subdivisions/BI.yaml +176 -157
- data/lib/countries/data/subdivisions/BJ.yaml +24 -12
- data/lib/countries/data/subdivisions/BN.yaml +8 -4
- data/lib/countries/data/subdivisions/BO.yaml +18 -9
- data/lib/countries/data/subdivisions/BQ.yaml +6 -3
- data/lib/countries/data/subdivisions/BR.yaml +54 -27
- data/lib/countries/data/subdivisions/BS.yaml +575 -697
- data/lib/countries/data/subdivisions/BT.yaml +40 -20
- data/lib/countries/data/subdivisions/BW.yaml +337 -321
- data/lib/countries/data/subdivisions/BY.yaml +106 -116
- data/lib/countries/data/subdivisions/BZ.yaml +12 -6
- data/lib/countries/data/subdivisions/CA.yaml +26 -13
- data/lib/countries/data/subdivisions/CD.yaml +488 -525
- data/lib/countries/data/subdivisions/CF.yaml +34 -17
- data/lib/countries/data/subdivisions/CG.yaml +40 -28
- data/lib/countries/data/subdivisions/CH.yaml +52 -26
- data/lib/countries/data/subdivisions/CI.yaml +244 -516
- data/lib/countries/data/subdivisions/CL.yaml +81 -65
- data/lib/countries/data/subdivisions/CM.yaml +20 -10
- data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
- data/lib/countries/data/subdivisions/CO.yaml +66 -33
- data/lib/countries/data/subdivisions/CR.yaml +14 -7
- data/lib/countries/data/subdivisions/CU.yaml +32 -16
- data/lib/countries/data/subdivisions/CV.yaml +427 -401
- data/lib/countries/data/subdivisions/CY.yaml +12 -6
- data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
- data/lib/countries/data/subdivisions/DE.yaml +32 -16
- data/lib/countries/data/subdivisions/DJ.yaml +12 -6
- data/lib/countries/data/subdivisions/DK.yaml +25 -17
- data/lib/countries/data/subdivisions/DM.yaml +20 -10
- data/lib/countries/data/subdivisions/DO.yaml +84 -42
- data/lib/countries/data/subdivisions/DZ.yaml +96 -48
- data/lib/countries/data/subdivisions/EC.yaml +158 -134
- data/lib/countries/data/subdivisions/EE.yaml +501 -334
- data/lib/countries/data/subdivisions/EG.yaml +54 -27
- data/lib/countries/data/subdivisions/ER.yaml +12 -6
- data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
- data/lib/countries/data/subdivisions/ET.yaml +22 -11
- data/lib/countries/data/subdivisions/FI.yaml +185 -1
- data/lib/countries/data/subdivisions/FJ.yaml +443 -424
- data/lib/countries/data/subdivisions/FM.yaml +8 -4
- data/lib/countries/data/subdivisions/FR.yaml +438 -275
- data/lib/countries/data/subdivisions/GA.yaml +18 -9
- data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
- data/lib/countries/data/subdivisions/GD.yaml +14 -7
- data/lib/countries/data/subdivisions/GE.yaml +24 -12
- data/lib/countries/data/subdivisions/GH.yaml +114 -155
- data/lib/countries/data/subdivisions/GL.yaml +24 -79
- data/lib/countries/data/subdivisions/GM.yaml +12 -6
- data/lib/countries/data/subdivisions/GN.yaml +444 -403
- data/lib/countries/data/subdivisions/GQ.yaml +24 -13
- data/lib/countries/data/subdivisions/GR.yaml +114 -73
- data/lib/countries/data/subdivisions/GT.yaml +44 -22
- data/lib/countries/data/subdivisions/GW.yaml +69 -57
- data/lib/countries/data/subdivisions/GY.yaml +20 -10
- data/lib/countries/data/subdivisions/HN.yaml +36 -18
- data/lib/countries/data/subdivisions/HR.yaml +42 -21
- data/lib/countries/data/subdivisions/HT.yaml +73 -63
- data/lib/countries/data/subdivisions/HU.yaml +106 -63
- data/lib/countries/data/subdivisions/ID.yaml +229 -188
- data/lib/countries/data/subdivisions/IE.yaml +128 -97
- data/lib/countries/data/subdivisions/IL.yaml +12 -6
- data/lib/countries/data/subdivisions/IN.yaml +245 -396
- data/lib/countries/data/subdivisions/IQ.yaml +111 -91
- data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
- data/lib/countries/data/subdivisions/IS.yaml +160 -25
- data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
- data/lib/countries/data/subdivisions/JM.yaml +28 -14
- data/lib/countries/data/subdivisions/JO.yaml +24 -12
- data/lib/countries/data/subdivisions/JP.yaml +94 -47
- data/lib/countries/data/subdivisions/KE.yaml +95 -48
- data/lib/countries/data/subdivisions/KG.yaml +95 -86
- data/lib/countries/data/subdivisions/KH.yaml +64 -39
- data/lib/countries/data/subdivisions/KI.yaml +6 -3
- data/lib/countries/data/subdivisions/KM.yaml +6 -3
- data/lib/countries/data/subdivisions/KN.yaml +32 -16
- data/lib/countries/data/subdivisions/KP.yaml +24 -227
- data/lib/countries/data/subdivisions/KR.yaml +34 -17
- data/lib/countries/data/subdivisions/KW.yaml +12 -6
- data/lib/countries/data/subdivisions/KZ.yaml +47 -102
- data/lib/countries/data/subdivisions/LA.yaml +36 -34
- data/lib/countries/data/subdivisions/LB.yaml +71 -63
- data/lib/countries/data/subdivisions/LC.yaml +116 -106
- data/lib/countries/data/subdivisions/LI.yaml +22 -11
- data/lib/countries/data/subdivisions/LK.yaml +445 -411
- data/lib/countries/data/subdivisions/LR.yaml +146 -129
- data/lib/countries/data/subdivisions/LS.yaml +20 -10
- data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
- data/lib/countries/data/subdivisions/LU.yaml +24 -12
- data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
- data/lib/countries/data/subdivisions/LY.yaml +44 -22
- data/lib/countries/data/subdivisions/MA.yaml +810 -1589
- data/lib/countries/data/subdivisions/MC.yaml +261 -244
- data/lib/countries/data/subdivisions/MD.yaml +74 -79
- data/lib/countries/data/subdivisions/ME.yaml +217 -195
- data/lib/countries/data/subdivisions/MG.yaml +12 -6
- data/lib/countries/data/subdivisions/MH.yaml +167 -140
- data/lib/countries/data/subdivisions/MK.yaml +160 -80
- data/lib/countries/data/subdivisions/ML.yaml +48 -37
- data/lib/countries/data/subdivisions/MM.yaml +30 -15
- data/lib/countries/data/subdivisions/MN.yaml +44 -22
- data/lib/countries/data/subdivisions/MR.yaml +30 -34
- data/lib/countries/data/subdivisions/MT.yaml +136 -68
- data/lib/countries/data/subdivisions/MU.yaml +24 -262
- data/lib/countries/data/subdivisions/MV.yaml +161 -254
- data/lib/countries/data/subdivisions/MW.yaml +250 -219
- data/lib/countries/data/subdivisions/MX.yaml +67 -47
- data/lib/countries/data/subdivisions/MY.yaml +32 -16
- data/lib/countries/data/subdivisions/MZ.yaml +22 -11
- data/lib/countries/data/subdivisions/NA.yaml +58 -44
- data/lib/countries/data/subdivisions/NE.yaml +16 -8
- data/lib/countries/data/subdivisions/NG.yaml +74 -37
- data/lib/countries/data/subdivisions/NI.yaml +34 -17
- data/lib/countries/data/subdivisions/NL.yaml +303 -285
- data/lib/countries/data/subdivisions/NO.yaml +39 -17
- data/lib/countries/data/subdivisions/NP.yaml +302 -276
- data/lib/countries/data/subdivisions/NR.yaml +28 -14
- data/lib/countries/data/subdivisions/NZ.yaml +34 -17
- data/lib/countries/data/subdivisions/OM.yaml +260 -311
- data/lib/countries/data/subdivisions/PA.yaml +57 -44
- data/lib/countries/data/subdivisions/PE.yaml +107 -81
- data/lib/countries/data/subdivisions/PG.yaml +163 -158
- data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
- data/lib/countries/data/subdivisions/PK.yaml +145 -235
- data/lib/countries/data/subdivisions/PL.yaml +51 -3
- data/lib/countries/data/subdivisions/PS.yaml +32 -16
- data/lib/countries/data/subdivisions/PT.yaml +53 -33
- data/lib/countries/data/subdivisions/PW.yaml +32 -16
- data/lib/countries/data/subdivisions/PY.yaml +36 -18
- data/lib/countries/data/subdivisions/QA.yaml +27 -78
- data/lib/countries/data/subdivisions/RO.yaml +84 -42
- data/lib/countries/data/subdivisions/RS.yaml +104 -72
- data/lib/countries/data/subdivisions/RU.yaml +166 -83
- data/lib/countries/data/subdivisions/RW.yaml +10 -5
- data/lib/countries/data/subdivisions/SA.yaml +26 -13
- data/lib/countries/data/subdivisions/SB.yaml +20 -10
- data/lib/countries/data/subdivisions/SC.yaml +54 -25
- data/lib/countries/data/subdivisions/SD.yaml +798 -780
- data/lib/countries/data/subdivisions/SE.yaml +42 -21
- data/lib/countries/data/subdivisions/SG.yaml +15 -10
- data/lib/countries/data/subdivisions/SH.yaml +21 -32
- data/lib/countries/data/subdivisions/SI.yaml +475 -263
- data/lib/countries/data/subdivisions/SK.yaml +16 -8
- data/lib/countries/data/subdivisions/SL.yaml +23 -18
- data/lib/countries/data/subdivisions/SM.yaml +18 -9
- data/lib/countries/data/subdivisions/SN.yaml +188 -174
- data/lib/countries/data/subdivisions/SO.yaml +36 -18
- data/lib/countries/data/subdivisions/SR.yaml +20 -10
- data/lib/countries/data/subdivisions/SS.yaml +20 -10
- data/lib/countries/data/subdivisions/ST.yaml +38 -52
- data/lib/countries/data/subdivisions/SV.yaml +28 -14
- data/lib/countries/data/subdivisions/SY.yaml +28 -14
- data/lib/countries/data/subdivisions/SZ.yaml +8 -4
- data/lib/countries/data/subdivisions/TD.yaml +312 -303
- data/lib/countries/data/subdivisions/TG.yaml +10 -5
- data/lib/countries/data/subdivisions/TH.yaml +211 -133
- data/lib/countries/data/subdivisions/TJ.yaml +161 -156
- data/lib/countries/data/subdivisions/TL.yaml +26 -13
- data/lib/countries/data/subdivisions/TM.yaml +12 -6
- data/lib/countries/data/subdivisions/TN.yaml +48 -24
- data/lib/countries/data/subdivisions/TO.yaml +10 -5
- data/lib/countries/data/subdivisions/TR.yaml +162 -81
- data/lib/countries/data/subdivisions/TT.yaml +128 -160
- data/lib/countries/data/subdivisions/TV.yaml +57 -63
- data/lib/countries/data/subdivisions/TW.yaml +143 -183
- data/lib/countries/data/subdivisions/TZ.yaml +62 -31
- data/lib/countries/data/subdivisions/UA.yaml +55 -28
- data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
- data/lib/countries/data/subdivisions/UM.yaml +18 -9
- data/lib/countries/data/subdivisions/US.yaml +114 -57
- data/lib/countries/data/subdivisions/UY.yaml +99 -80
- data/lib/countries/data/subdivisions/UZ.yaml +28 -14
- data/lib/countries/data/subdivisions/VC.yaml +12 -6
- data/lib/countries/data/subdivisions/VE.yaml +50 -25
- data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
- data/lib/countries/data/subdivisions/VU.yaml +12 -6
- data/lib/countries/data/subdivisions/WF.yaml +6 -3
- data/lib/countries/data/subdivisions/WS.yaml +22 -11
- data/lib/countries/data/subdivisions/YE.yaml +222 -200
- data/lib/countries/data/subdivisions/ZA.yaml +86 -100
- data/lib/countries/data/subdivisions/ZM.yaml +20 -10
- data/lib/countries/data/subdivisions/ZW.yaml +20 -10
- data/lib/countries/data/translations/countries-ab.yaml +254 -0
- data/lib/countries/data/translations/countries-af.yaml +254 -0
- data/lib/countries/data/translations/countries-ak.yaml +254 -0
- data/lib/countries/data/translations/countries-am.yaml +254 -0
- data/lib/countries/data/translations/countries-an.yaml +254 -0
- data/lib/countries/data/translations/countries-ar.yaml +254 -0
- data/lib/countries/data/translations/countries-as.yaml +254 -0
- data/lib/countries/data/translations/countries-ay.yaml +254 -0
- data/lib/countries/data/translations/countries-az.yaml +254 -0
- data/lib/countries/data/translations/countries-ba.yaml +254 -0
- data/lib/countries/data/translations/countries-be.yaml +254 -0
- data/lib/countries/data/translations/countries-bg.yaml +254 -0
- data/lib/countries/data/translations/countries-bi.yaml +254 -0
- data/lib/countries/data/translations/countries-bn.yaml +254 -0
- data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
- data/lib/countries/data/translations/countries-br.yaml +254 -0
- data/lib/countries/data/translations/countries-bs.yaml +254 -0
- data/lib/countries/data/translations/countries-ca.yaml +254 -0
- data/lib/countries/data/translations/countries-ce.yaml +254 -0
- data/lib/countries/data/translations/countries-ch.yaml +254 -0
- data/lib/countries/data/translations/countries-cs.yaml +254 -0
- data/lib/countries/data/translations/countries-cv.yaml +254 -0
- data/lib/countries/data/translations/countries-cy.yaml +254 -0
- data/lib/countries/data/translations/countries-da.yaml +254 -0
- data/lib/countries/data/translations/countries-de.yaml +254 -0
- data/lib/countries/data/translations/countries-dv.yaml +254 -0
- data/lib/countries/data/translations/countries-dz.yaml +254 -0
- data/lib/countries/data/translations/countries-ee.yaml +254 -0
- data/lib/countries/data/translations/countries-el.yaml +254 -0
- data/lib/countries/data/translations/countries-en.yaml +254 -0
- data/lib/countries/data/translations/countries-eo.yaml +254 -0
- data/lib/countries/data/translations/countries-es.yaml +254 -0
- data/lib/countries/data/translations/countries-et.yaml +254 -0
- data/lib/countries/data/translations/countries-eu.yaml +254 -0
- data/lib/countries/data/translations/countries-fa.yaml +254 -0
- data/lib/countries/data/translations/countries-ff.yaml +254 -0
- data/lib/countries/data/translations/countries-fi.yaml +254 -0
- data/lib/countries/data/translations/countries-fo.yaml +254 -0
- data/lib/countries/data/translations/countries-fr.yaml +254 -0
- data/lib/countries/data/translations/countries-fy.yaml +254 -0
- data/lib/countries/data/translations/countries-ga.yaml +254 -0
- data/lib/countries/data/translations/countries-gl.yaml +254 -0
- data/lib/countries/data/translations/countries-gn.yaml +254 -0
- data/lib/countries/data/translations/countries-gu.yaml +254 -0
- data/lib/countries/data/translations/countries-gv.yaml +254 -0
- data/lib/countries/data/translations/countries-ha.yaml +254 -0
- data/lib/countries/data/translations/countries-he.yaml +254 -0
- data/lib/countries/data/translations/countries-hi.yaml +254 -0
- data/lib/countries/data/translations/countries-hr.yaml +254 -0
- data/lib/countries/data/translations/countries-ht.yaml +254 -0
- data/lib/countries/data/translations/countries-hu.yaml +254 -0
- data/lib/countries/data/translations/countries-hy.yaml +254 -0
- data/lib/countries/data/translations/countries-ia.yaml +254 -0
- data/lib/countries/data/translations/countries-id.yaml +254 -0
- data/lib/countries/data/translations/countries-io.yaml +254 -0
- data/lib/countries/data/translations/countries-is.yaml +254 -0
- data/lib/countries/data/translations/countries-it.yaml +254 -0
- data/lib/countries/data/translations/countries-iu.yaml +254 -0
- data/lib/countries/data/translations/countries-ja.yaml +254 -0
- data/lib/countries/data/translations/countries-ka.yaml +254 -0
- data/lib/countries/data/translations/countries-ki.yaml +254 -0
- data/lib/countries/data/translations/countries-kk.yaml +254 -0
- data/lib/countries/data/translations/countries-kl.yaml +254 -0
- data/lib/countries/data/translations/countries-km.yaml +254 -0
- data/lib/countries/data/translations/countries-kn.yaml +254 -0
- data/lib/countries/data/translations/countries-ko.yaml +254 -0
- data/lib/countries/data/translations/countries-ku.yaml +254 -0
- data/lib/countries/data/translations/countries-kv.yaml +254 -0
- data/lib/countries/data/translations/countries-kw.yaml +254 -0
- data/lib/countries/data/translations/countries-ky.yaml +254 -0
- data/lib/countries/data/translations/countries-lo.yaml +254 -0
- data/lib/countries/data/translations/countries-lt.yaml +254 -0
- data/lib/countries/data/translations/countries-lv.yaml +254 -0
- data/lib/countries/data/translations/countries-mi.yaml +254 -0
- data/lib/countries/data/translations/countries-mk.yaml +254 -0
- data/lib/countries/data/translations/countries-ml.yaml +254 -0
- data/lib/countries/data/translations/countries-mn.yaml +254 -0
- data/lib/countries/data/translations/countries-mr.yaml +254 -0
- data/lib/countries/data/translations/countries-ms.yaml +254 -0
- data/lib/countries/data/translations/countries-mt.yaml +254 -0
- data/lib/countries/data/translations/countries-my.yaml +254 -0
- data/lib/countries/data/translations/countries-na.yaml +254 -0
- data/lib/countries/data/translations/countries-nb.yaml +254 -0
- data/lib/countries/data/translations/countries-ne.yaml +254 -0
- data/lib/countries/data/translations/countries-nl.yaml +254 -0
- data/lib/countries/data/translations/countries-nn.yaml +254 -0
- data/lib/countries/data/translations/countries-nv.yaml +254 -0
- data/lib/countries/data/translations/countries-oc.yaml +254 -0
- data/lib/countries/data/translations/countries-or.yaml +254 -0
- data/lib/countries/data/translations/countries-pa.yaml +254 -0
- data/lib/countries/data/translations/countries-pi.yaml +254 -0
- data/lib/countries/data/translations/countries-pl.yaml +254 -0
- data/lib/countries/data/translations/countries-ps.yaml +254 -0
- data/lib/countries/data/translations/countries-pt.yaml +254 -0
- data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
- data/lib/countries/data/translations/countries-ro.yaml +254 -0
- data/lib/countries/data/translations/countries-ru.yaml +254 -0
- data/lib/countries/data/translations/countries-rw.yaml +254 -0
- data/lib/countries/data/translations/countries-sc.yaml +254 -0
- data/lib/countries/data/translations/countries-sd.yaml +254 -0
- data/lib/countries/data/translations/countries-si.yaml +254 -0
- data/lib/countries/data/translations/countries-sk.yaml +254 -0
- data/lib/countries/data/translations/countries-sl.yaml +254 -0
- data/lib/countries/data/translations/countries-so.yaml +254 -0
- data/lib/countries/data/translations/countries-sq.yaml +254 -0
- data/lib/countries/data/translations/countries-sr.yaml +254 -0
- data/lib/countries/data/translations/countries-sv.yaml +254 -0
- data/lib/countries/data/translations/countries-sw.yaml +254 -0
- data/lib/countries/data/translations/countries-ta.yaml +254 -0
- data/lib/countries/data/translations/countries-te.yaml +254 -0
- data/lib/countries/data/translations/countries-tg.yaml +254 -0
- data/lib/countries/data/translations/countries-th.yaml +254 -0
- data/lib/countries/data/translations/countries-ti.yaml +254 -0
- data/lib/countries/data/translations/countries-tk.yaml +254 -0
- data/lib/countries/data/translations/countries-tl.yaml +254 -0
- data/lib/countries/data/translations/countries-tr.yaml +254 -0
- data/lib/countries/data/translations/countries-tt.yaml +254 -0
- data/lib/countries/data/translations/countries-ug.yaml +254 -0
- data/lib/countries/data/translations/countries-uk.yaml +254 -0
- data/lib/countries/data/translations/countries-ur.yaml +254 -0
- data/lib/countries/data/translations/countries-uz.yaml +254 -0
- data/lib/countries/data/translations/countries-ve.yaml +254 -0
- data/lib/countries/data/translations/countries-vi.yaml +254 -0
- data/lib/countries/data/translations/countries-wa.yaml +254 -0
- data/lib/countries/data/translations/countries-wo.yaml +254 -0
- data/lib/countries/data/translations/countries-xh.yaml +254 -0
- data/lib/countries/data/translations/countries-yo.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
- data/lib/countries/data/translations/countries-zu.yaml +254 -0
- data/lib/countries/data.rb +45 -42
- data/lib/countries/global.rb +2 -0
- data/lib/countries/iso3166.rb +3 -1
- data/lib/countries/kwarg_struct.rb +2 -0
- data/lib/countries/mongoid.rb +2 -0
- data/lib/countries/sources/cldr/downloader.rb +8 -8
- data/lib/countries/sources/cldr/subdivision.rb +3 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
- data/lib/countries/sources/local/cached_loader.rb +3 -0
- data/lib/countries/sources/local/subdivision.rb +5 -2
- data/lib/countries/sources.rb +2 -0
- data/lib/countries/structure.rb +1 -1
- data/lib/countries/subdivision.rb +21 -8
- data/lib/countries/tasks/geocoding.rake +15 -6
- data/lib/countries/tasks/postal_codes.rake +5 -3
- data/lib/countries/timezones.rb +5 -2
- data/lib/countries/translations.rb +2 -0
- data/lib/countries/version.rb +3 -1
- data/lib/countries.rb +2 -0
- data/spec/00_global_spec.rb +2 -0
- data/spec/configuration_spec.rb +11 -5
- data/spec/country_spec.rb +131 -38
- data/spec/data_spec.rb +85 -21
- data/spec/mongoid_spec.rb +2 -2
- data/spec/perf_spec.rb +16 -16
- data/spec/spec_helper.rb +2 -0
- data/spec/subdivision_spec.rb +6 -4
- data/spec/thread_safety_spec.rb +4 -3
- data/spec/timezone_spec.rb +2 -0
- metadata +146 -34
- data/lib/countries/cache/locales/zh.json +0 -1
- data/lib/countries/data/subdivisions/AI.yaml +0 -197
- data/lib/countries/data/subdivisions/BM.yaml +0 -155
- data/lib/countries/data/subdivisions/CK.yaml +0 -155
- data/lib/countries/data/subdivisions/EH.yaml +0 -80
- data/lib/countries/data/subdivisions/SJ.yaml +0 -29
- data/lib/countries/data/subdivisions/TK.yaml +0 -43
- data/lib/countries/data/translation_corrections.yaml +0 -51
- data/lib/countries/setup.rb +0 -18
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AGU:
|
3
3
|
name: Aguascalientes
|
4
|
-
code:
|
4
|
+
code: AGU
|
5
5
|
unofficial_names: Aguascalientes
|
6
6
|
geo:
|
7
7
|
latitude: 21.8852562
|
@@ -76,9 +76,10 @@ AGU:
|
|
76
76
|
mk: Агваскалиентес
|
77
77
|
'no': Aguascalientes
|
78
78
|
comments:
|
79
|
+
type: state
|
79
80
|
BCN:
|
80
81
|
name: Baja California
|
81
|
-
code:
|
82
|
+
code: BCN
|
82
83
|
unofficial_names: Baja California
|
83
84
|
geo:
|
84
85
|
latitude: 30.8406338
|
@@ -158,9 +159,10 @@ BCN:
|
|
158
159
|
mk: Долна Калифорнија
|
159
160
|
'no': Baja California
|
160
161
|
comments:
|
162
|
+
type: state
|
161
163
|
BCS:
|
162
164
|
name: Baja California Sur
|
163
|
-
code:
|
165
|
+
code: BCS
|
164
166
|
unofficial_names: Baja California Sur
|
165
167
|
geo:
|
166
168
|
latitude: 26.0444446
|
@@ -236,9 +238,10 @@ BCS:
|
|
236
238
|
mk: Јужна Долна Калифорнија
|
237
239
|
'no': Baja California Sur
|
238
240
|
comments:
|
241
|
+
type: state
|
239
242
|
CAM:
|
240
243
|
name: Campeche
|
241
|
-
code:
|
244
|
+
code: CAM
|
242
245
|
unofficial_names: Campeche
|
243
246
|
geo:
|
244
247
|
latitude: 19.8301251
|
@@ -311,9 +314,10 @@ CAM:
|
|
311
314
|
mk: Кампече
|
312
315
|
'no': Campeche
|
313
316
|
comments:
|
317
|
+
type: state
|
314
318
|
CHH:
|
315
319
|
name: Chihuahua
|
316
|
-
code:
|
320
|
+
code: CHH
|
317
321
|
unofficial_names: Chihuahua
|
318
322
|
geo:
|
319
323
|
latitude: 28.6329957
|
@@ -391,9 +395,10 @@ CHH:
|
|
391
395
|
mk: Чивава
|
392
396
|
'no': Chihuahua
|
393
397
|
comments:
|
398
|
+
type: state
|
394
399
|
CHP:
|
395
400
|
name: Chiapas
|
396
|
-
code:
|
401
|
+
code: CHP
|
397
402
|
unofficial_names: Chiapas
|
398
403
|
geo:
|
399
404
|
latitude: 16.7569318
|
@@ -466,9 +471,10 @@ CHP:
|
|
466
471
|
bs: Chiapas
|
467
472
|
'no': Chiapas
|
468
473
|
comments:
|
474
|
+
type: state
|
469
475
|
CMX:
|
470
476
|
name: Ciudad de México
|
471
|
-
code:
|
477
|
+
code: CMX
|
472
478
|
unofficial_names: Ciudad de México
|
473
479
|
geo:
|
474
480
|
latitude: 19.2464696
|
@@ -562,10 +568,11 @@ CMX:
|
|
562
568
|
ha_NE: Mexico
|
563
569
|
'no': Mexico by
|
564
570
|
comments:
|
571
|
+
type: capital
|
565
572
|
COA:
|
566
573
|
name: Coahuila
|
567
|
-
code:
|
568
|
-
unofficial_names: Coahuila
|
574
|
+
code: COA
|
575
|
+
unofficial_names: Coahuila de Zaragoza
|
569
576
|
geo:
|
570
577
|
latitude: 27.058676
|
571
578
|
longitude: -101.7068294
|
@@ -637,9 +644,10 @@ COA:
|
|
637
644
|
uz: Koauila
|
638
645
|
'no': Coahuila
|
639
646
|
comments:
|
647
|
+
type: state
|
640
648
|
COL:
|
641
649
|
name: Colima
|
642
|
-
code:
|
650
|
+
code: COL
|
643
651
|
unofficial_names: Colima
|
644
652
|
geo:
|
645
653
|
latitude: 19.2452342
|
@@ -712,9 +720,10 @@ COL:
|
|
712
720
|
uz: Kolima
|
713
721
|
'no': Colima
|
714
722
|
comments:
|
723
|
+
type: state
|
715
724
|
DUR:
|
716
725
|
name: Durango
|
717
|
-
code:
|
726
|
+
code: DUR
|
718
727
|
unofficial_names: Durango
|
719
728
|
geo:
|
720
729
|
latitude: 24.0277202
|
@@ -788,9 +797,10 @@ DUR:
|
|
788
797
|
mk: Дуранго
|
789
798
|
'no': Durango
|
790
799
|
comments:
|
800
|
+
type: state
|
791
801
|
GRO:
|
792
802
|
name: Guerrero
|
793
|
-
code:
|
803
|
+
code: GRO
|
794
804
|
unofficial_names: Guerrero
|
795
805
|
geo:
|
796
806
|
latitude: 17.4391926
|
@@ -863,9 +873,10 @@ GRO:
|
|
863
873
|
mk: Гереро
|
864
874
|
'no': Guerrero
|
865
875
|
comments:
|
876
|
+
type: state
|
866
877
|
GUA:
|
867
878
|
name: Guanajuato
|
868
|
-
code:
|
879
|
+
code: GUA
|
869
880
|
unofficial_names: Guanajuato
|
870
881
|
geo:
|
871
882
|
latitude: 21.0190145
|
@@ -939,9 +950,10 @@ GUA:
|
|
939
950
|
mk: Гванахуато
|
940
951
|
'no': Guanajuato
|
941
952
|
comments:
|
953
|
+
type: state
|
942
954
|
HID:
|
943
955
|
name: Hidalgo
|
944
|
-
code:
|
956
|
+
code: HID
|
945
957
|
unofficial_names: Hidalgo
|
946
958
|
geo:
|
947
959
|
latitude: 20.0910963
|
@@ -1015,9 +1027,10 @@ HID:
|
|
1015
1027
|
mk: Идалго
|
1016
1028
|
'no': Hidalgo
|
1017
1029
|
comments:
|
1030
|
+
type: state
|
1018
1031
|
JAL:
|
1019
1032
|
name: Jalisco
|
1020
|
-
code:
|
1033
|
+
code: JAL
|
1021
1034
|
unofficial_names: Jalisco
|
1022
1035
|
geo:
|
1023
1036
|
latitude: 20.6595382
|
@@ -1092,9 +1105,10 @@ JAL:
|
|
1092
1105
|
mk: Халиско
|
1093
1106
|
'no': Jalisco
|
1094
1107
|
comments:
|
1108
|
+
type: state
|
1095
1109
|
MEX:
|
1096
1110
|
name: México
|
1097
|
-
code:
|
1111
|
+
code: MEX
|
1098
1112
|
unofficial_names: México
|
1099
1113
|
geo:
|
1100
1114
|
latitude: 19.4326077
|
@@ -1167,10 +1181,11 @@ MEX:
|
|
1167
1181
|
uz: Mexiko
|
1168
1182
|
'no': México
|
1169
1183
|
comments:
|
1184
|
+
type: state
|
1170
1185
|
MIC:
|
1171
1186
|
name: Michoacán
|
1172
|
-
code:
|
1173
|
-
unofficial_names: Michoacán
|
1187
|
+
code: MIC
|
1188
|
+
unofficial_names: Michoacán de Ocampo
|
1174
1189
|
geo:
|
1175
1190
|
latitude: 19.5665192
|
1176
1191
|
longitude: -101.7068294
|
@@ -1241,9 +1256,10 @@ MIC:
|
|
1241
1256
|
uz: Michoakan
|
1242
1257
|
'no': Michoacán
|
1243
1258
|
comments:
|
1259
|
+
type: state
|
1244
1260
|
MOR:
|
1245
1261
|
name: Morelos
|
1246
|
-
code:
|
1262
|
+
code: MOR
|
1247
1263
|
unofficial_names: Morelos
|
1248
1264
|
geo:
|
1249
1265
|
latitude: 18.6813049
|
@@ -1312,9 +1328,10 @@ MOR:
|
|
1312
1328
|
uz: Morelos
|
1313
1329
|
'no': Morelos
|
1314
1330
|
comments:
|
1331
|
+
type: state
|
1315
1332
|
NAY:
|
1316
1333
|
name: Nayarit
|
1317
|
-
code:
|
1334
|
+
code: NAY
|
1318
1335
|
unofficial_names: Nayarit
|
1319
1336
|
geo:
|
1320
1337
|
latitude: 21.7513844
|
@@ -1388,9 +1405,10 @@ NAY:
|
|
1388
1405
|
uz: Nayarit
|
1389
1406
|
'no': Nayarit
|
1390
1407
|
comments:
|
1408
|
+
type: state
|
1391
1409
|
NLE:
|
1392
1410
|
name: Nuevo León
|
1393
|
-
code:
|
1411
|
+
code: NLE
|
1394
1412
|
unofficial_names: Nuevo León
|
1395
1413
|
geo:
|
1396
1414
|
latitude: 25.592172
|
@@ -1462,9 +1480,10 @@ NLE:
|
|
1462
1480
|
uz: Nuevoleon
|
1463
1481
|
'no': Nuevo León
|
1464
1482
|
comments:
|
1483
|
+
type: state
|
1465
1484
|
OAX:
|
1466
1485
|
name: Oaxaca
|
1467
|
-
code:
|
1486
|
+
code: OAX
|
1468
1487
|
unofficial_names: Oaxaca
|
1469
1488
|
geo:
|
1470
1489
|
latitude: 17.0594169
|
@@ -1545,9 +1564,10 @@ OAX:
|
|
1545
1564
|
uz: Oaksaka
|
1546
1565
|
'no': Oaxaca
|
1547
1566
|
comments:
|
1567
|
+
type: state
|
1548
1568
|
PUE:
|
1549
1569
|
name: Puebla
|
1550
|
-
code:
|
1570
|
+
code: PUE
|
1551
1571
|
unofficial_names: Puebla
|
1552
1572
|
geo:
|
1553
1573
|
latitude: 19.0412967
|
@@ -1621,9 +1641,10 @@ PUE:
|
|
1621
1641
|
uz: Puebla
|
1622
1642
|
'no': Puebla
|
1623
1643
|
comments:
|
1644
|
+
type: state
|
1624
1645
|
QUE:
|
1625
1646
|
name: Querétaro
|
1626
|
-
code:
|
1647
|
+
code: QUE
|
1627
1648
|
unofficial_names: Querétaro
|
1628
1649
|
geo:
|
1629
1650
|
latitude: 20.5887932
|
@@ -1696,9 +1717,10 @@ QUE:
|
|
1696
1717
|
uz: Keretaro (Meksika)
|
1697
1718
|
'no': Querétaro
|
1698
1719
|
comments:
|
1720
|
+
type: state
|
1699
1721
|
ROO:
|
1700
1722
|
name: Quintana Roo
|
1701
|
-
code:
|
1723
|
+
code: ROO
|
1702
1724
|
unofficial_names: Quintana Roo
|
1703
1725
|
geo:
|
1704
1726
|
latitude: 19.1817393
|
@@ -1772,9 +1794,10 @@ ROO:
|
|
1772
1794
|
mk: Кинтана Ро
|
1773
1795
|
'no': Quintana Roo
|
1774
1796
|
comments:
|
1797
|
+
type: state
|
1775
1798
|
SIN:
|
1776
1799
|
name: Sinaloa
|
1777
|
-
code:
|
1800
|
+
code: SIN
|
1778
1801
|
unofficial_names: Sinaloa
|
1779
1802
|
geo:
|
1780
1803
|
latitude: 25.825701
|
@@ -1852,9 +1875,10 @@ SIN:
|
|
1852
1875
|
'no': Sinaloa
|
1853
1876
|
yo_BJ: Sinaloa
|
1854
1877
|
comments:
|
1878
|
+
type: state
|
1855
1879
|
SLP:
|
1856
1880
|
name: San Luis Potosí
|
1857
|
-
code:
|
1881
|
+
code: SLP
|
1858
1882
|
unofficial_names: San Luis Potosí
|
1859
1883
|
geo:
|
1860
1884
|
latitude: 22.1564699
|
@@ -1927,9 +1951,10 @@ SLP:
|
|
1927
1951
|
uz: San-Luis-Potosi
|
1928
1952
|
'no': San Luis Potosí
|
1929
1953
|
comments:
|
1954
|
+
type: state
|
1930
1955
|
SON:
|
1931
1956
|
name: Sonora
|
1932
|
-
code:
|
1957
|
+
code: SON
|
1933
1958
|
unofficial_names: Sonora
|
1934
1959
|
geo:
|
1935
1960
|
latitude: 29.2972247
|
@@ -2005,9 +2030,10 @@ SON:
|
|
2005
2030
|
mk: Сонора
|
2006
2031
|
'no': Sonora
|
2007
2032
|
comments:
|
2033
|
+
type: state
|
2008
2034
|
TAB:
|
2009
2035
|
name: Tabasco
|
2010
|
-
code:
|
2036
|
+
code: TAB
|
2011
2037
|
unofficial_names: Tabasco
|
2012
2038
|
geo:
|
2013
2039
|
latitude: 17.8409173
|
@@ -2081,9 +2107,10 @@ TAB:
|
|
2081
2107
|
uz: Tabasko
|
2082
2108
|
'no': Tabasco
|
2083
2109
|
comments:
|
2110
|
+
type: state
|
2084
2111
|
TAM:
|
2085
2112
|
name: Tamaulipas
|
2086
|
-
code:
|
2113
|
+
code: TAM
|
2087
2114
|
unofficial_names: Tamaulipas
|
2088
2115
|
geo:
|
2089
2116
|
latitude: 24.26694
|
@@ -2156,9 +2183,10 @@ TAM:
|
|
2156
2183
|
uz: Tamaulipas
|
2157
2184
|
'no': Tamaulipas
|
2158
2185
|
comments:
|
2186
|
+
type: state
|
2159
2187
|
TLA:
|
2160
2188
|
name: Tlaxcala
|
2161
|
-
code:
|
2189
|
+
code: TLA
|
2162
2190
|
unofficial_names: Tlaxcala
|
2163
2191
|
geo:
|
2164
2192
|
latitude: 19.3181521
|
@@ -2231,10 +2259,11 @@ TLA:
|
|
2231
2259
|
uz: Tlaskala
|
2232
2260
|
'no': Tlaxcala
|
2233
2261
|
comments:
|
2262
|
+
type: state
|
2234
2263
|
VER:
|
2235
2264
|
name: Veracruz
|
2236
|
-
code:
|
2237
|
-
unofficial_names: Veracruz
|
2265
|
+
code: VER
|
2266
|
+
unofficial_names: Veracruz de Ignacio de la Llave
|
2238
2267
|
geo:
|
2239
2268
|
latitude: 19.173773
|
2240
2269
|
longitude: -96.1342241
|
@@ -2309,9 +2338,10 @@ VER:
|
|
2309
2338
|
mk: Веракруз
|
2310
2339
|
'no': Veracruz
|
2311
2340
|
comments:
|
2341
|
+
type: state
|
2312
2342
|
YUC:
|
2313
2343
|
name: Yucatán
|
2314
|
-
code:
|
2344
|
+
code: YUC
|
2315
2345
|
unofficial_names: Yucatán
|
2316
2346
|
geo:
|
2317
2347
|
latitude: 20.7098786
|
@@ -2386,9 +2416,10 @@ YUC:
|
|
2386
2416
|
mk: Јукатан
|
2387
2417
|
'no': Yucatán
|
2388
2418
|
comments:
|
2419
|
+
type: state
|
2389
2420
|
ZAC:
|
2390
2421
|
name: Zacatecas
|
2391
|
-
code:
|
2422
|
+
code: ZAC
|
2392
2423
|
unofficial_names: Zacatecas
|
2393
2424
|
geo:
|
2394
2425
|
latitude: 22.7709249
|
@@ -2463,15 +2494,4 @@ ZAC:
|
|
2463
2494
|
mk: Закатекас
|
2464
2495
|
'no': Zacatecas
|
2465
2496
|
comments:
|
2466
|
-
|
2467
|
-
name: Mexico City
|
2468
|
-
code:
|
2469
|
-
unofficial_names:
|
2470
|
-
geo:
|
2471
|
-
latitude: 19.3663162
|
2472
|
-
longitude: -99.1593231
|
2473
|
-
translations:
|
2474
|
-
en: Mexico City
|
2475
|
-
ccp: "\U0001111F\U0001112C\U00011107\U00011134\U00011125\U00011128\U00011107\U0001112E
|
2476
|
-
\U00011125\U00011128\U00011111\U00011128"
|
2477
|
-
comments:
|
2497
|
+
type: state
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
'01':
|
3
3
|
name: Johor
|
4
|
-
code:
|
4
|
+
code: '01'
|
5
5
|
unofficial_names: Johor
|
6
6
|
geo:
|
7
7
|
latitude: 1.4853682
|
@@ -65,9 +65,10 @@
|
|
65
65
|
mk: Џохор
|
66
66
|
'no': Johor
|
67
67
|
comments:
|
68
|
+
type: state
|
68
69
|
'02':
|
69
70
|
name: Kedah
|
70
|
-
code:
|
71
|
+
code: '02'
|
71
72
|
unofficial_names: Kedah
|
72
73
|
geo:
|
73
74
|
latitude: 6.1183964
|
@@ -128,9 +129,10 @@
|
|
128
129
|
mk: Кедах
|
129
130
|
'no': Kedah
|
130
131
|
comments:
|
132
|
+
type: state
|
131
133
|
'03':
|
132
134
|
name: Kelantan
|
133
|
-
code:
|
135
|
+
code: '03'
|
134
136
|
unofficial_names: Kelantan
|
135
137
|
geo:
|
136
138
|
latitude: 6.1253969
|
@@ -193,9 +195,10 @@
|
|
193
195
|
mk: Келантан
|
194
196
|
'no': Kelantan
|
195
197
|
comments:
|
198
|
+
type: state
|
196
199
|
'04':
|
197
200
|
name: Melaka
|
198
|
-
code:
|
201
|
+
code: '04'
|
199
202
|
unofficial_names: Melaka
|
200
203
|
geo:
|
201
204
|
latitude: 2.189594
|
@@ -262,9 +265,10 @@
|
|
262
265
|
mk: Малака
|
263
266
|
'no': Malakka
|
264
267
|
comments:
|
268
|
+
type: state
|
265
269
|
'05':
|
266
270
|
name: Negeri Sembilan
|
267
|
-
code:
|
271
|
+
code: '05'
|
268
272
|
unofficial_names:
|
269
273
|
- Negri Sembilan
|
270
274
|
geo:
|
@@ -325,9 +329,10 @@
|
|
325
329
|
mk: Негери Сембилан
|
326
330
|
'no': Negeri Sembilan
|
327
331
|
comments:
|
332
|
+
type: state
|
328
333
|
'06':
|
329
334
|
name: Pahang
|
330
|
-
code:
|
335
|
+
code: '06'
|
331
336
|
unofficial_names: Pahang
|
332
337
|
geo:
|
333
338
|
latitude: 3.8126318
|
@@ -389,9 +394,10 @@
|
|
389
394
|
mk: Паханг
|
390
395
|
'no': Pahang
|
391
396
|
comments:
|
397
|
+
type: state
|
392
398
|
'07':
|
393
399
|
name: Pulau Pinang
|
394
|
-
code:
|
400
|
+
code: '07'
|
395
401
|
unofficial_names: Pulau Pinang
|
396
402
|
geo:
|
397
403
|
latitude: 5.4141675
|
@@ -455,9 +461,10 @@
|
|
455
461
|
mk: Пенанг
|
456
462
|
'no': Penang
|
457
463
|
comments:
|
464
|
+
type: state
|
458
465
|
'08':
|
459
466
|
name: Perak
|
460
|
-
code:
|
467
|
+
code: '08'
|
461
468
|
unofficial_names: Perak
|
462
469
|
geo:
|
463
470
|
latitude: 4.5921126
|
@@ -520,9 +527,10 @@
|
|
520
527
|
mk: Перак
|
521
528
|
'no': Perak
|
522
529
|
comments:
|
530
|
+
type: state
|
523
531
|
'09':
|
524
532
|
name: Perlis
|
525
|
-
code:
|
533
|
+
code: '09'
|
526
534
|
unofficial_names: Perlis
|
527
535
|
geo:
|
528
536
|
latitude: 6.444912899999999
|
@@ -583,9 +591,10 @@
|
|
583
591
|
mk: Перлис
|
584
592
|
'no': Perlis
|
585
593
|
comments:
|
594
|
+
type: state
|
586
595
|
'10':
|
587
596
|
name: Selangor
|
588
|
-
code:
|
597
|
+
code: '10'
|
589
598
|
unofficial_names: Selangor
|
590
599
|
geo:
|
591
600
|
latitude: 3.0738379
|
@@ -648,9 +657,10 @@
|
|
648
657
|
mk: Селангор
|
649
658
|
'no': Selangor
|
650
659
|
comments:
|
660
|
+
type: state
|
651
661
|
'11':
|
652
662
|
name: Terengganu
|
653
|
-
code:
|
663
|
+
code: '11'
|
654
664
|
unofficial_names: Terengganu
|
655
665
|
geo:
|
656
666
|
latitude: 5.3116916
|
@@ -712,9 +722,10 @@
|
|
712
722
|
mk: Теренгану
|
713
723
|
'no': Terengganu
|
714
724
|
comments:
|
725
|
+
type: state
|
715
726
|
'12':
|
716
727
|
name: Sabah
|
717
|
-
code:
|
728
|
+
code: '12'
|
718
729
|
unofficial_names: Sabah
|
719
730
|
geo:
|
720
731
|
latitude: 5.978839799999999
|
@@ -782,9 +793,10 @@
|
|
782
793
|
mk: Сабах
|
783
794
|
'no': Sabah
|
784
795
|
comments:
|
796
|
+
type: state
|
785
797
|
'13':
|
786
798
|
name: Sarawak
|
787
|
-
code:
|
799
|
+
code: '13'
|
788
800
|
unofficial_names: Sarawak
|
789
801
|
geo:
|
790
802
|
latitude: 1.5532783
|
@@ -855,9 +867,10 @@
|
|
855
867
|
mk: Саравак
|
856
868
|
'no': Sarawak
|
857
869
|
comments:
|
870
|
+
type: state
|
858
871
|
'14':
|
859
872
|
name: Wilayah Persekutuan Kuala Lumpur
|
860
|
-
code:
|
873
|
+
code: '14'
|
861
874
|
unofficial_names: Wilayah Persekutuan Kuala Lumpur
|
862
875
|
geo:
|
863
876
|
latitude: 3.1569486
|
@@ -957,9 +970,10 @@
|
|
957
970
|
'no': Kuala Lumpur
|
958
971
|
yo_BJ: Kuala Lumpur
|
959
972
|
comments:
|
973
|
+
type: federal_territory
|
960
974
|
'15':
|
961
975
|
name: Wilayah Persekutuan Labuan
|
962
|
-
code:
|
976
|
+
code: '15'
|
963
977
|
unofficial_names: Wilayah Persekutuan Labuan
|
964
978
|
geo:
|
965
979
|
latitude: 5.2770169
|
@@ -1021,9 +1035,10 @@
|
|
1021
1035
|
mk: Лабуан
|
1022
1036
|
'no': Labuan
|
1023
1037
|
comments:
|
1038
|
+
type: federal_territory
|
1024
1039
|
'16':
|
1025
1040
|
name: Wilayah Persekutuan Putrajaya
|
1026
|
-
code:
|
1041
|
+
code: '16'
|
1027
1042
|
unofficial_names: Wilayah Persekutuan Putrajaya
|
1028
1043
|
geo:
|
1029
1044
|
latitude: 2.9353556
|
@@ -1101,3 +1116,4 @@
|
|
1101
1116
|
mk: Путраџаја
|
1102
1117
|
'no': Putrajaya
|
1103
1118
|
comments:
|
1119
|
+
type: federal_territory
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
A:
|
3
3
|
name: Niassa
|
4
|
-
code:
|
4
|
+
code: A
|
5
5
|
unofficial_names: Niassa
|
6
6
|
geo:
|
7
7
|
latitude: -12.7826202
|
@@ -61,9 +61,10 @@ A:
|
|
61
61
|
mk: Њаса
|
62
62
|
'no': Niassa
|
63
63
|
comments:
|
64
|
+
type: province
|
64
65
|
B:
|
65
66
|
name: Manica
|
66
|
-
code:
|
67
|
+
code: B
|
67
68
|
unofficial_names: Manica
|
68
69
|
geo:
|
69
70
|
latitude: -19.5059787
|
@@ -121,9 +122,10 @@ B:
|
|
121
122
|
ccp: "\U0001111F\U00011127\U0001111A\U00011128\U00011107"
|
122
123
|
'no': Manica
|
123
124
|
comments:
|
125
|
+
type: province
|
124
126
|
G:
|
125
127
|
name: Gaza
|
126
|
-
code:
|
128
|
+
code: G
|
127
129
|
unofficial_names: Gaza
|
128
130
|
geo:
|
129
131
|
latitude: -23.0221928
|
@@ -183,9 +185,10 @@ G:
|
|
183
185
|
ml: ഗാസ പ്രവിശ്യ
|
184
186
|
'no': Gaza
|
185
187
|
comments:
|
188
|
+
type: province
|
186
189
|
I:
|
187
190
|
name: Inhambane
|
188
|
-
code:
|
191
|
+
code: I
|
189
192
|
unofficial_names: Inhambane
|
190
193
|
geo:
|
191
194
|
latitude: -23.866667
|
@@ -243,9 +246,10 @@ I:
|
|
243
246
|
ccp: "\U00011103\U00011128\U0001111A\U00011134\U00011126\U0001111F\U00011134\U0001111D\U0001111A\U00011134"
|
244
247
|
'no': Inhambane
|
245
248
|
comments:
|
249
|
+
type: province
|
246
250
|
L:
|
247
251
|
name: Maputo
|
248
|
-
code:
|
252
|
+
code: L
|
249
253
|
unofficial_names: Maputo
|
250
254
|
geo:
|
251
255
|
latitude: -25.966667
|
@@ -290,9 +294,10 @@ L:
|
|
290
294
|
sr: Мапуто (покрајина)
|
291
295
|
'no': Maputo
|
292
296
|
comments:
|
297
|
+
type: province
|
293
298
|
MPM:
|
294
299
|
name: Maputo City
|
295
|
-
code:
|
300
|
+
code: MPM
|
296
301
|
unofficial_names: Maputo City
|
297
302
|
geo:
|
298
303
|
latitude: -25.966667
|
@@ -383,9 +388,10 @@ MPM:
|
|
383
388
|
'no': Maputo²
|
384
389
|
yo_BJ: Maputo
|
385
390
|
comments:
|
391
|
+
type: city
|
386
392
|
N:
|
387
393
|
name: Nampula
|
388
|
-
code:
|
394
|
+
code: N
|
389
395
|
unofficial_names: Nampula
|
390
396
|
geo:
|
391
397
|
latitude: -15.116667
|
@@ -442,9 +448,10 @@ N:
|
|
442
448
|
ccp: "\U0001111A\U0001111F\U00011134\U0001111B\U0001112A\U00011123"
|
443
449
|
'no': Nampula
|
444
450
|
comments:
|
451
|
+
type: province
|
445
452
|
P:
|
446
453
|
name: Cabo Delgado
|
447
|
-
code:
|
454
|
+
code: P
|
448
455
|
unofficial_names: Cabo Delgado
|
449
456
|
geo:
|
450
457
|
latitude: -12.3335474
|
@@ -505,9 +512,10 @@ P:
|
|
505
512
|
be: Кабу-Дэлгаду
|
506
513
|
'no': Cabo Delgado
|
507
514
|
comments:
|
515
|
+
type: province
|
508
516
|
Q:
|
509
517
|
name: Zambézia
|
510
|
-
code:
|
518
|
+
code: Q
|
511
519
|
unofficial_names: Zambézia
|
512
520
|
geo:
|
513
521
|
latitude: -16.5638987
|
@@ -564,9 +572,10 @@ Q:
|
|
564
572
|
ccp: "\U0001110E\U0001111F\U00011134\U0001111D\U0001112C\U0001110E\U00011128\U00011120"
|
565
573
|
'no': Zambezia
|
566
574
|
comments:
|
575
|
+
type: province
|
567
576
|
S:
|
568
577
|
name: Sofala
|
569
|
-
code:
|
578
|
+
code: S
|
570
579
|
unofficial_names: Sofala
|
571
580
|
geo:
|
572
581
|
latitude: -19.2039073
|
@@ -624,9 +633,10 @@ S:
|
|
624
633
|
ccp: "\U00011125\U0001112E\U0001111C\U00011123"
|
625
634
|
'no': Sofala
|
626
635
|
comments:
|
636
|
+
type: province
|
627
637
|
T:
|
628
638
|
name: Tete
|
629
|
-
code:
|
639
|
+
code: T
|
630
640
|
unofficial_names: Tete
|
631
641
|
geo:
|
632
642
|
latitude: -16.166667
|
@@ -686,3 +696,4 @@ T:
|
|
686
696
|
ccp: "\U00011111\U0001112C\U00011111\U0001112C"
|
687
697
|
'no': Tete
|
688
698
|
comments:
|
699
|
+
type: province
|