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
|
'01':
|
3
3
|
name: Arusha
|
4
|
-
code:
|
4
|
+
code: '01'
|
5
5
|
unofficial_names: Arusha
|
6
6
|
geo:
|
7
7
|
latitude: -3.372301
|
@@ -65,9 +65,10 @@
|
|
65
65
|
'no': Arusha
|
66
66
|
yo_BJ: Agbègbè Arusha
|
67
67
|
comments:
|
68
|
+
type: region
|
68
69
|
'02':
|
69
70
|
name: Dar es Salaam
|
70
|
-
code:
|
71
|
+
code: '02'
|
71
72
|
unofficial_names:
|
72
73
|
- Daressalam
|
73
74
|
geo:
|
@@ -131,9 +132,10 @@
|
|
131
132
|
'no': Dar-es-Salaam
|
132
133
|
yo_BJ: Agbègbè Dar es Salaam
|
133
134
|
comments:
|
135
|
+
type: region
|
134
136
|
'03':
|
135
137
|
name: Dodoma
|
136
|
-
code:
|
138
|
+
code: '03'
|
137
139
|
unofficial_names: Dodoma
|
138
140
|
geo:
|
139
141
|
latitude: -6.173056
|
@@ -184,9 +186,10 @@
|
|
184
186
|
'no': Dodoma
|
185
187
|
yo_BJ: Agbègbè Dodoma
|
186
188
|
comments:
|
189
|
+
type: region
|
187
190
|
'04':
|
188
191
|
name: Iringa
|
189
|
-
code:
|
192
|
+
code: '04'
|
190
193
|
unofficial_names: Iringa
|
191
194
|
geo:
|
192
195
|
latitude: -7.77
|
@@ -250,9 +253,10 @@
|
|
250
253
|
'no': Iringa
|
251
254
|
yo_BJ: Agbègbè Iringa
|
252
255
|
comments:
|
256
|
+
type: region
|
253
257
|
'05':
|
254
258
|
name: Kagera
|
255
|
-
code:
|
259
|
+
code: '05'
|
256
260
|
unofficial_names:
|
257
261
|
- Akagera
|
258
262
|
- Ziwa Magharibi
|
@@ -318,9 +322,10 @@
|
|
318
322
|
'no': Kagera
|
319
323
|
yo_BJ: Agbègbè Kagera
|
320
324
|
comments:
|
325
|
+
type: region
|
321
326
|
'06':
|
322
327
|
name: Kaskazini Pemba
|
323
|
-
code:
|
328
|
+
code: '06'
|
324
329
|
unofficial_names: Kaskazini Pemba
|
325
330
|
geo:
|
326
331
|
latitude: -5.031935199999999
|
@@ -384,9 +389,10 @@
|
|
384
389
|
'no': Pemba Kaskazini
|
385
390
|
yo_BJ: Agbègbè Pemba Àríwá
|
386
391
|
comments:
|
392
|
+
type: region
|
387
393
|
'07':
|
388
394
|
name: Kaskazini Unguja
|
389
|
-
code:
|
395
|
+
code: '07'
|
390
396
|
unofficial_names:
|
391
397
|
- Unguja
|
392
398
|
geo:
|
@@ -452,9 +458,10 @@
|
|
452
458
|
'no': Unguja Kaskazini
|
453
459
|
yo_BJ: Agbègbè Zanzibar Àríwá
|
454
460
|
comments:
|
461
|
+
type: region
|
455
462
|
'08':
|
456
463
|
name: Kigoma
|
457
|
-
code:
|
464
|
+
code: '08'
|
458
465
|
unofficial_names: Kigoma
|
459
466
|
geo:
|
460
467
|
latitude: -4.883332999999999
|
@@ -519,9 +526,10 @@
|
|
519
526
|
'no': Kigoma
|
520
527
|
yo_BJ: Agbègbè Kigoma
|
521
528
|
comments:
|
529
|
+
type: region
|
522
530
|
'09':
|
523
531
|
name: Kilimanjaro
|
524
|
-
code:
|
532
|
+
code: '09'
|
525
533
|
unofficial_names: Kilimanjaro
|
526
534
|
geo:
|
527
535
|
latitude: -4.1336927
|
@@ -585,9 +593,10 @@
|
|
585
593
|
'no': Kilimanjaro
|
586
594
|
yo_BJ: Agbègbè Kilimanjaro
|
587
595
|
comments:
|
596
|
+
type: region
|
588
597
|
'10':
|
589
598
|
name: Kusini Pemba
|
590
|
-
code:
|
599
|
+
code: '10'
|
591
600
|
unofficial_names: Kusini Pemba
|
592
601
|
geo:
|
593
602
|
latitude: -5.3146961
|
@@ -650,9 +659,10 @@
|
|
650
659
|
'no': Pemba Kusini
|
651
660
|
yo_BJ: Agbègbè Pemba Gúúsù
|
652
661
|
comments:
|
662
|
+
type: region
|
653
663
|
'11':
|
654
664
|
name: Kusini Unguja
|
655
|
-
code:
|
665
|
+
code: '11'
|
656
666
|
unofficial_names: Kusini Unguja
|
657
667
|
geo:
|
658
668
|
latitude: -6.2036563
|
@@ -695,9 +705,10 @@
|
|
695
705
|
'no': Unguja Kusini
|
696
706
|
yo_BJ: Agbègbè Zanzibar Àrin/Gúúsù
|
697
707
|
comments:
|
708
|
+
type: region
|
698
709
|
'12':
|
699
710
|
name: Lindi
|
700
|
-
code:
|
711
|
+
code: '12'
|
701
712
|
unofficial_names: Lindi
|
702
713
|
geo:
|
703
714
|
latitude: -9.996944
|
@@ -762,9 +773,10 @@
|
|
762
773
|
'no': Lindi
|
763
774
|
yo_BJ: Agbègbè Lindi
|
764
775
|
comments:
|
776
|
+
type: region
|
765
777
|
'13':
|
766
778
|
name: Mara
|
767
|
-
code:
|
779
|
+
code: '13'
|
768
780
|
unofficial_names: Mara
|
769
781
|
geo:
|
770
782
|
latitude: -1.7753538
|
@@ -828,9 +840,10 @@
|
|
828
840
|
'no': Mara
|
829
841
|
yo_BJ: Agbègbè Mara
|
830
842
|
comments:
|
843
|
+
type: region
|
831
844
|
'14':
|
832
845
|
name: Mbeya
|
833
|
-
code:
|
846
|
+
code: '14'
|
834
847
|
unofficial_names: Mbeya
|
835
848
|
geo:
|
836
849
|
latitude: -8.9
|
@@ -894,9 +907,10 @@
|
|
894
907
|
'no': Mbeya
|
895
908
|
yo_BJ: Agbègbè Mbeya
|
896
909
|
comments:
|
910
|
+
type: region
|
897
911
|
'15':
|
898
912
|
name: Mjini Magharibi
|
899
|
-
code:
|
913
|
+
code: '15'
|
900
914
|
unofficial_names: Mjini Magharibi
|
901
915
|
geo:
|
902
916
|
latitude: -6.229813600000001
|
@@ -956,9 +970,10 @@
|
|
956
970
|
yo: Agbègbè Zanzibar Ìlú/Ìwọ̀orùn
|
957
971
|
'no': Unguja Mjini Magharibi
|
958
972
|
comments:
|
973
|
+
type: region
|
959
974
|
'16':
|
960
975
|
name: Morogoro
|
961
|
-
code:
|
976
|
+
code: '16'
|
962
977
|
unofficial_names: Morogoro
|
963
978
|
geo:
|
964
979
|
latitude: -6.816667000000001
|
@@ -1022,9 +1037,10 @@
|
|
1022
1037
|
'no': Morogoro
|
1023
1038
|
yo_BJ: Agbègbè Morogoro
|
1024
1039
|
comments:
|
1040
|
+
type: region
|
1025
1041
|
'17':
|
1026
1042
|
name: Mtwara
|
1027
|
-
code:
|
1043
|
+
code: '17'
|
1028
1044
|
unofficial_names:
|
1029
1045
|
- Mtware
|
1030
1046
|
geo:
|
@@ -1089,9 +1105,10 @@
|
|
1089
1105
|
'no': Mtwara
|
1090
1106
|
yo_BJ: Agbègbè Mtwara
|
1091
1107
|
comments:
|
1108
|
+
type: region
|
1092
1109
|
'18':
|
1093
1110
|
name: Mwanza
|
1094
|
-
code:
|
1111
|
+
code: '18'
|
1095
1112
|
unofficial_names: Mwanza
|
1096
1113
|
geo:
|
1097
1114
|
latitude: -2.516667
|
@@ -1155,9 +1172,10 @@
|
|
1155
1172
|
'no': Mwanza
|
1156
1173
|
yo_BJ: Agbègbè Mwanza
|
1157
1174
|
comments:
|
1175
|
+
type: region
|
1158
1176
|
'19':
|
1159
1177
|
name: Pwani
|
1160
|
-
code:
|
1178
|
+
code: '19'
|
1161
1179
|
unofficial_names:
|
1162
1180
|
- Coast
|
1163
1181
|
geo:
|
@@ -1222,9 +1240,10 @@
|
|
1222
1240
|
'no': Pwani
|
1223
1241
|
yo_BJ: Agbègbè Pwani
|
1224
1242
|
comments:
|
1243
|
+
type: region
|
1225
1244
|
'20':
|
1226
1245
|
name: Rukwa
|
1227
|
-
code:
|
1246
|
+
code: '20'
|
1228
1247
|
unofficial_names: Rukwa
|
1229
1248
|
geo:
|
1230
1249
|
latitude: -6.965368499999999
|
@@ -1287,9 +1306,10 @@
|
|
1287
1306
|
'no': Rukwa
|
1288
1307
|
yo_BJ: Agbègbè Rukwa
|
1289
1308
|
comments:
|
1309
|
+
type: region
|
1290
1310
|
'21':
|
1291
1311
|
name: Ruvuma
|
1292
|
-
code:
|
1312
|
+
code: '21'
|
1293
1313
|
unofficial_names: Ruvuma
|
1294
1314
|
geo:
|
1295
1315
|
latitude: -10.6878717
|
@@ -1353,9 +1373,10 @@
|
|
1353
1373
|
'no': Ruvuma
|
1354
1374
|
yo_BJ: Agbègbè Ruvuma
|
1355
1375
|
comments:
|
1376
|
+
type: region
|
1356
1377
|
'22':
|
1357
1378
|
name: Shinyanga
|
1358
|
-
code:
|
1379
|
+
code: '22'
|
1359
1380
|
unofficial_names: Shinyanga
|
1360
1381
|
geo:
|
1361
1382
|
latitude: -3.661944
|
@@ -1418,9 +1439,10 @@
|
|
1418
1439
|
'no': Shinyanga
|
1419
1440
|
yo_BJ: Agbègbè Shinyanga
|
1420
1441
|
comments:
|
1442
|
+
type: region
|
1421
1443
|
'23':
|
1422
1444
|
name: Singida
|
1423
|
-
code:
|
1445
|
+
code: '23'
|
1424
1446
|
unofficial_names: Singida
|
1425
1447
|
geo:
|
1426
1448
|
latitude: -4.819999999999999
|
@@ -1483,9 +1505,10 @@
|
|
1483
1505
|
'no': Singida
|
1484
1506
|
yo_BJ: Agbègbè Singida
|
1485
1507
|
comments:
|
1508
|
+
type: region
|
1486
1509
|
'24':
|
1487
1510
|
name: Tabora
|
1488
|
-
code:
|
1511
|
+
code: '24'
|
1489
1512
|
unofficial_names: Tabora
|
1490
1513
|
geo:
|
1491
1514
|
latitude: -5.016667
|
@@ -1549,9 +1572,10 @@
|
|
1549
1572
|
'no': Tabora
|
1550
1573
|
yo_BJ: Agbègbè Tabora
|
1551
1574
|
comments:
|
1575
|
+
type: region
|
1552
1576
|
'25':
|
1553
1577
|
name: Tanga
|
1554
|
-
code:
|
1578
|
+
code: '25'
|
1555
1579
|
unofficial_names: Tanga
|
1556
1580
|
geo:
|
1557
1581
|
latitude: -5.0888751
|
@@ -1616,9 +1640,10 @@
|
|
1616
1640
|
'no': Tanga
|
1617
1641
|
yo_BJ: Agbègbè Tanga
|
1618
1642
|
comments:
|
1643
|
+
type: region
|
1619
1644
|
'26':
|
1620
1645
|
name: Manyara
|
1621
|
-
code:
|
1646
|
+
code: '26'
|
1622
1647
|
unofficial_names: Manyara
|
1623
1648
|
geo:
|
1624
1649
|
latitude: -4.3150058
|
@@ -1682,9 +1707,10 @@
|
|
1682
1707
|
'no': Manyara
|
1683
1708
|
yo_BJ: Agbègbè Manyara
|
1684
1709
|
comments:
|
1710
|
+
type: region
|
1685
1711
|
'27':
|
1686
1712
|
name: Mkoa wa Geita
|
1687
|
-
code:
|
1713
|
+
code: '27'
|
1688
1714
|
unofficial_names:
|
1689
1715
|
geo:
|
1690
1716
|
latitude:
|
@@ -1740,9 +1766,10 @@
|
|
1740
1766
|
yue: 蓋塔區
|
1741
1767
|
'no': Geita
|
1742
1768
|
comments:
|
1769
|
+
type: region
|
1743
1770
|
'28':
|
1744
1771
|
name: Mkoa wa Katavi
|
1745
|
-
code:
|
1772
|
+
code: '28'
|
1746
1773
|
unofficial_names:
|
1747
1774
|
geo:
|
1748
1775
|
latitude:
|
@@ -1796,9 +1823,10 @@
|
|
1796
1823
|
yue: 卡塔維區
|
1797
1824
|
'no': Katavi
|
1798
1825
|
comments:
|
1826
|
+
type: region
|
1799
1827
|
'29':
|
1800
1828
|
name: Mkoa wa Njombe
|
1801
|
-
code:
|
1829
|
+
code: '29'
|
1802
1830
|
unofficial_names:
|
1803
1831
|
geo:
|
1804
1832
|
latitude:
|
@@ -1853,9 +1881,10 @@
|
|
1853
1881
|
yue: 恩瓊貝區
|
1854
1882
|
'no': Njombe
|
1855
1883
|
comments:
|
1884
|
+
type: region
|
1856
1885
|
'30':
|
1857
1886
|
name: Mkoa wa Simiyu
|
1858
|
-
code:
|
1887
|
+
code: '30'
|
1859
1888
|
unofficial_names:
|
1860
1889
|
geo:
|
1861
1890
|
latitude:
|
@@ -1909,9 +1938,10 @@
|
|
1909
1938
|
yue: 錫米尤區
|
1910
1939
|
'no': Simiyu
|
1911
1940
|
comments:
|
1941
|
+
type: region
|
1912
1942
|
'31':
|
1913
1943
|
name: Songwe
|
1914
|
-
code:
|
1944
|
+
code: '31'
|
1915
1945
|
unofficial_names:
|
1916
1946
|
geo:
|
1917
1947
|
latitude: -6.369028
|
@@ -1923,3 +1953,4 @@
|
|
1923
1953
|
translations:
|
1924
1954
|
en: Songwe
|
1925
1955
|
comments:
|
1956
|
+
type: region
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
'05':
|
3
3
|
name: Vinnyts'ka Oblast'
|
4
|
-
code:
|
4
|
+
code: '05'
|
5
5
|
unofficial_names:
|
6
6
|
- Vinnica
|
7
7
|
- Vinnitsa
|
@@ -79,9 +79,10 @@
|
|
79
79
|
mk: Виницка област
|
80
80
|
'no': Vinnytsia oblast
|
81
81
|
comments:
|
82
|
+
type: region
|
82
83
|
'07':
|
83
84
|
name: Volyns'ka Oblast'
|
84
|
-
code:
|
85
|
+
code: '07'
|
85
86
|
unofficial_names:
|
86
87
|
- Volyn
|
87
88
|
- Volynska
|
@@ -155,9 +156,10 @@
|
|
155
156
|
mk: Волинска област
|
156
157
|
'no': Volyn oblast
|
157
158
|
comments:
|
159
|
+
type: region
|
158
160
|
'09':
|
159
161
|
name: Luhans'ka Oblast'
|
160
|
-
code:
|
162
|
+
code: '09'
|
161
163
|
unofficial_names:
|
162
164
|
- Lugansk
|
163
165
|
- Luhanska
|
@@ -235,9 +237,10 @@
|
|
235
237
|
mk: Луганска област
|
236
238
|
'no': Luhansk oblast
|
237
239
|
comments:
|
240
|
+
type: region
|
238
241
|
'12':
|
239
242
|
name: Dnipropetrovs'ka Oblast'
|
240
|
-
code:
|
243
|
+
code: '12'
|
241
244
|
unofficial_names:
|
242
245
|
- Dnepropetrovsk
|
243
246
|
- Dnipropetrovsk
|
@@ -313,9 +316,10 @@
|
|
313
316
|
mk: Днепропетровска област
|
314
317
|
'no': Dnipropetrovsk oblast
|
315
318
|
comments:
|
319
|
+
type: region
|
316
320
|
'14':
|
317
321
|
name: Donets'ka Oblast'
|
318
|
-
code:
|
322
|
+
code: '14'
|
319
323
|
unofficial_names:
|
320
324
|
- Doneck
|
321
325
|
- Donetska
|
@@ -390,9 +394,10 @@
|
|
390
394
|
mk: Донечка област
|
391
395
|
'no': Donetsk oblast
|
392
396
|
comments:
|
397
|
+
type: region
|
393
398
|
'18':
|
394
399
|
name: Zhytomyrs'ka Oblast'
|
395
|
-
code:
|
400
|
+
code: '18'
|
396
401
|
unofficial_names:
|
397
402
|
- Zhitomir
|
398
403
|
- Zhytomyrska
|
@@ -467,9 +472,10 @@
|
|
467
472
|
mk: Житомирска област
|
468
473
|
'no': Zjytomyr oblast
|
469
474
|
comments:
|
475
|
+
type: region
|
470
476
|
'21':
|
471
477
|
name: Zakarpats'ka Oblast'
|
472
|
-
code:
|
478
|
+
code: '21'
|
473
479
|
unofficial_names:
|
474
480
|
- Transcarpathia
|
475
481
|
- Zakarpatska
|
@@ -544,9 +550,10 @@
|
|
544
550
|
mk: Закарпатска област
|
545
551
|
'no': Zakarpattja oblast
|
546
552
|
comments:
|
553
|
+
type: region
|
547
554
|
'23':
|
548
555
|
name: Zaporiz'ka Oblast'
|
549
|
-
code:
|
556
|
+
code: '23'
|
550
557
|
unofficial_names:
|
551
558
|
- Zaporizhzhya
|
552
559
|
- Zaporizka
|
@@ -623,9 +630,10 @@
|
|
623
630
|
mk: Запорошка област
|
624
631
|
'no': Zaporizjzja oblast
|
625
632
|
comments:
|
633
|
+
type: region
|
626
634
|
'26':
|
627
635
|
name: Ivano-Frankivs'ka Oblast'
|
628
|
-
code:
|
636
|
+
code: '26'
|
629
637
|
unofficial_names:
|
630
638
|
- Ivano-Frankivsk
|
631
639
|
- Ivano-Frankivska
|
@@ -698,9 +706,10 @@
|
|
698
706
|
mk: Ивано-Франковска област
|
699
707
|
'no': Ivano-Frankivsk oblast
|
700
708
|
comments:
|
709
|
+
type: region
|
701
710
|
'30':
|
702
711
|
name: Kyïv
|
703
|
-
code:
|
712
|
+
code: '30'
|
704
713
|
unofficial_names:
|
705
714
|
- Kyiv
|
706
715
|
- Kyyiv
|
@@ -713,7 +722,7 @@
|
|
713
722
|
max_latitude: 50.590798
|
714
723
|
max_longitude: 30.825941
|
715
724
|
translations:
|
716
|
-
en:
|
725
|
+
en: Kyiv
|
717
726
|
af: Kiëf
|
718
727
|
am: ኪየቭ
|
719
728
|
ar: كييف
|
@@ -795,9 +804,10 @@
|
|
795
804
|
'no': Kiev
|
796
805
|
yo_BJ: Kiev
|
797
806
|
comments:
|
807
|
+
type: city
|
798
808
|
'32':
|
799
809
|
name: Kyïvs'ka Oblast'
|
800
|
-
code:
|
810
|
+
code: '32'
|
801
811
|
unofficial_names:
|
802
812
|
- Kyyivsʿka Oblast
|
803
813
|
- Kyyivsʿka Oblastʿ
|
@@ -870,9 +880,10 @@
|
|
870
880
|
mk: Киевска област
|
871
881
|
'no': Kiev oblast
|
872
882
|
comments:
|
883
|
+
type: region
|
873
884
|
'35':
|
874
885
|
name: Kirovohrads'ka Oblast'
|
875
|
-
code:
|
886
|
+
code: '35'
|
876
887
|
unofficial_names:
|
877
888
|
- Kirovograd
|
878
889
|
- Kirovohrad
|
@@ -946,9 +957,10 @@
|
|
946
957
|
mk: Кировоградска област
|
947
958
|
'no': Kirovohrad oblast
|
948
959
|
comments:
|
960
|
+
type: region
|
949
961
|
'40':
|
950
962
|
name: Sevastopol'
|
951
|
-
code:
|
963
|
+
code: '40'
|
952
964
|
unofficial_names:
|
953
965
|
- Sebastopol
|
954
966
|
- Sevastopol
|
@@ -1032,9 +1044,10 @@
|
|
1032
1044
|
mk: Севастопол
|
1033
1045
|
'no': Sevastopol
|
1034
1046
|
comments:
|
1047
|
+
type: city
|
1035
1048
|
'43':
|
1036
1049
|
name: Respublika Krym
|
1037
|
-
code:
|
1050
|
+
code: '43'
|
1038
1051
|
unofficial_names:
|
1039
1052
|
- Crimea
|
1040
1053
|
- Krim
|
@@ -1114,9 +1127,10 @@
|
|
1114
1127
|
tk: Awtonom Respublikasy Krym
|
1115
1128
|
'no': Den autonome republikken Krim
|
1116
1129
|
comments:
|
1130
|
+
type: republic
|
1117
1131
|
'46':
|
1118
1132
|
name: L'vivs'ka Oblast'
|
1119
|
-
code:
|
1133
|
+
code: '46'
|
1120
1134
|
unofficial_names:
|
1121
1135
|
- Lvivska
|
1122
1136
|
- Lvov
|
@@ -1190,9 +1204,10 @@
|
|
1190
1204
|
mk: Лавовска област
|
1191
1205
|
'no': Lviv oblast
|
1192
1206
|
comments:
|
1207
|
+
type: region
|
1193
1208
|
'48':
|
1194
1209
|
name: Mykolaïvs'ka Oblast'
|
1195
|
-
code:
|
1210
|
+
code: '48'
|
1196
1211
|
unofficial_names:
|
1197
1212
|
- Mykolayivsk
|
1198
1213
|
- Mykolayivska
|
@@ -1268,9 +1283,10 @@
|
|
1268
1283
|
mk: Николаевска област
|
1269
1284
|
'no': Mykolajiv oblast
|
1270
1285
|
comments:
|
1286
|
+
type: region
|
1271
1287
|
'51':
|
1272
1288
|
name: Odes'ka Oblast'
|
1273
|
-
code:
|
1289
|
+
code: '51'
|
1274
1290
|
unofficial_names:
|
1275
1291
|
- Odesa
|
1276
1292
|
- Odeska
|
@@ -1346,9 +1362,10 @@
|
|
1346
1362
|
mk: Одеска област
|
1347
1363
|
'no': Odessa oblast
|
1348
1364
|
comments:
|
1365
|
+
type: region
|
1349
1366
|
'53':
|
1350
1367
|
name: Poltavs'ka Oblast'
|
1351
|
-
code:
|
1368
|
+
code: '53'
|
1352
1369
|
unofficial_names:
|
1353
1370
|
- Poltava
|
1354
1371
|
- Poltavska
|
@@ -1423,9 +1440,10 @@
|
|
1423
1440
|
mk: Полтавска област
|
1424
1441
|
'no': Poltava oblast
|
1425
1442
|
comments:
|
1443
|
+
type: region
|
1426
1444
|
'56':
|
1427
1445
|
name: Rivnens'ka Oblast'
|
1428
|
-
code:
|
1446
|
+
code: '56'
|
1429
1447
|
unofficial_names:
|
1430
1448
|
- Rivne
|
1431
1449
|
- Rivnenska
|
@@ -1500,9 +1518,10 @@
|
|
1500
1518
|
mk: Ровненска област
|
1501
1519
|
'no': Rivne oblast
|
1502
1520
|
comments:
|
1521
|
+
type: region
|
1503
1522
|
'59':
|
1504
1523
|
name: Sums'ka Oblast'
|
1505
|
-
code:
|
1524
|
+
code: '59'
|
1506
1525
|
unofficial_names:
|
1507
1526
|
- Sumska
|
1508
1527
|
- Sumy
|
@@ -1577,9 +1596,10 @@
|
|
1577
1596
|
mk: Сумска област
|
1578
1597
|
'no': Sumy oblast
|
1579
1598
|
comments:
|
1599
|
+
type: region
|
1580
1600
|
'61':
|
1581
1601
|
name: Ternopil's'ka Oblast'
|
1582
|
-
code:
|
1602
|
+
code: '61'
|
1583
1603
|
unofficial_names:
|
1584
1604
|
- Ternopil
|
1585
1605
|
- Ternopilska
|
@@ -1654,9 +1674,10 @@
|
|
1654
1674
|
mk: Тернополска област
|
1655
1675
|
'no': Ternopil oblast
|
1656
1676
|
comments:
|
1677
|
+
type: region
|
1657
1678
|
'63':
|
1658
1679
|
name: Kharkivs'ka Oblast'
|
1659
|
-
code:
|
1680
|
+
code: '63'
|
1660
1681
|
unofficial_names:
|
1661
1682
|
- Harkov
|
1662
1683
|
- Kharkiv
|
@@ -1731,9 +1752,10 @@
|
|
1731
1752
|
mk: Харковска област
|
1732
1753
|
'no': Kharkiv oblast
|
1733
1754
|
comments:
|
1755
|
+
type: region
|
1734
1756
|
'65':
|
1735
1757
|
name: Khersons'ka Oblast'
|
1736
|
-
code:
|
1758
|
+
code: '65'
|
1737
1759
|
unofficial_names:
|
1738
1760
|
- Herson
|
1739
1761
|
- Kherson
|
@@ -1809,9 +1831,10 @@
|
|
1809
1831
|
mk: Херсонска област
|
1810
1832
|
'no': Kherson oblast
|
1811
1833
|
comments:
|
1834
|
+
type: region
|
1812
1835
|
'68':
|
1813
1836
|
name: Khmel'nyts'ka Oblast'
|
1814
|
-
code:
|
1837
|
+
code: '68'
|
1815
1838
|
unofficial_names:
|
1816
1839
|
- Hmelnickij
|
1817
1840
|
- Khmelnitsky
|
@@ -1887,9 +1910,10 @@
|
|
1887
1910
|
mk: Хмелницка област
|
1888
1911
|
'no': Khmelnytskyj oblast
|
1889
1912
|
comments:
|
1913
|
+
type: region
|
1890
1914
|
'71':
|
1891
1915
|
name: Cherkas'ka Oblast'
|
1892
|
-
code:
|
1916
|
+
code: '71'
|
1893
1917
|
unofficial_names:
|
1894
1918
|
- Cherkask
|
1895
1919
|
- Cherkassy
|
@@ -1966,9 +1990,10 @@
|
|
1966
1990
|
mk: Черкаска област
|
1967
1991
|
'no': Tsjerkasy oblast
|
1968
1992
|
comments:
|
1993
|
+
type: region
|
1969
1994
|
'74':
|
1970
1995
|
name: Chernihivs'ka Oblast'
|
1971
|
-
code:
|
1996
|
+
code: '74'
|
1972
1997
|
unofficial_names:
|
1973
1998
|
- Chernigov
|
1974
1999
|
- Chernihiv
|
@@ -2042,9 +2067,10 @@
|
|
2042
2067
|
mk: Черниговска област
|
2043
2068
|
'no': Tsjernihiv oblast
|
2044
2069
|
comments:
|
2070
|
+
type: region
|
2045
2071
|
'77':
|
2046
2072
|
name: Chernivets'ka Oblast'
|
2047
|
-
code:
|
2073
|
+
code: '77'
|
2048
2074
|
unofficial_names:
|
2049
2075
|
- Cernăuţi
|
2050
2076
|
- Chernivtsi
|
@@ -2124,3 +2150,4 @@
|
|
2124
2150
|
mk: Черновечка област
|
2125
2151
|
'no': Tsjernivtsi oblast
|
2126
2152
|
comments:
|
2153
|
+
type: region
|