countries 4.1.1 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +2 -0
- data/CHANGELOG.md +73 -4
- data/README.markdown +43 -37
- data/Rakefile +23 -31
- data/countries.gemspec +1 -1
- 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/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/bg.json +1 -1
- data/lib/countries/cache/locales/bi.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/cv.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/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/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/hy.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/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/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/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/pi.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/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/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/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/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.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/configuration.rb +13 -0
- data/lib/countries/country/class_methods.rb +19 -6
- data/lib/countries/country/currency_methods.rb +4 -1
- data/lib/countries/country/emoji.rb +3 -0
- data/lib/countries/country.rb +147 -7
- data/lib/countries/data/countries/AD.yaml +28 -29
- data/lib/countries/data/countries/AE.yaml +32 -33
- data/lib/countries/data/countries/AF.yaml +32 -33
- data/lib/countries/data/countries/AG.yaml +28 -29
- data/lib/countries/data/countries/AI.yaml +27 -28
- data/lib/countries/data/countries/AL.yaml +28 -29
- data/lib/countries/data/countries/AM.yaml +30 -31
- data/lib/countries/data/countries/AO.yaml +25 -26
- data/lib/countries/data/countries/AQ.yaml +24 -25
- data/lib/countries/data/countries/AR.yaml +30 -31
- data/lib/countries/data/countries/AS.yaml +31 -32
- data/lib/countries/data/countries/AT.yaml +36 -37
- data/lib/countries/data/countries/AU.yaml +33 -34
- data/lib/countries/data/countries/AW.yaml +25 -26
- data/lib/countries/data/countries/AX.yaml +27 -28
- data/lib/countries/data/countries/AZ.yaml +30 -31
- data/lib/countries/data/countries/BA.yaml +32 -33
- data/lib/countries/data/countries/BB.yaml +28 -29
- data/lib/countries/data/countries/BD.yaml +27 -28
- data/lib/countries/data/countries/BE.yaml +41 -42
- data/lib/countries/data/countries/BF.yaml +27 -28
- data/lib/countries/data/countries/BG.yaml +36 -37
- data/lib/countries/data/countries/BH.yaml +28 -29
- data/lib/countries/data/countries/BI.yaml +27 -28
- data/lib/countries/data/countries/BJ.yaml +26 -27
- data/lib/countries/data/countries/BL.yaml +25 -26
- data/lib/countries/data/countries/BM.yaml +29 -30
- data/lib/countries/data/countries/BN.yaml +26 -27
- data/lib/countries/data/countries/BO.yaml +31 -32
- data/lib/countries/data/countries/BQ.yaml +28 -29
- data/lib/countries/data/countries/BR.yaml +35 -36
- data/lib/countries/data/countries/BS.yaml +27 -28
- data/lib/countries/data/countries/BT.yaml +28 -29
- data/lib/countries/data/countries/BV.yaml +23 -24
- data/lib/countries/data/countries/BW.yaml +27 -28
- data/lib/countries/data/countries/BY.yaml +30 -31
- data/lib/countries/data/countries/BZ.yaml +28 -29
- data/lib/countries/data/countries/CA.yaml +30 -31
- data/lib/countries/data/countries/CC.yaml +28 -29
- data/lib/countries/data/countries/CD.yaml +35 -36
- data/lib/countries/data/countries/CF.yaml +29 -30
- data/lib/countries/data/countries/CG.yaml +29 -30
- data/lib/countries/data/countries/CH.yaml +40 -41
- data/lib/countries/data/countries/CI.yaml +27 -28
- data/lib/countries/data/countries/CK.yaml +27 -28
- data/lib/countries/data/countries/CL.yaml +32 -33
- data/lib/countries/data/countries/CM.yaml +29 -30
- data/lib/countries/data/countries/CN.yaml +28 -29
- data/lib/countries/data/countries/CO.yaml +28 -29
- data/lib/countries/data/countries/CR.yaml +26 -27
- data/lib/countries/data/countries/CU.yaml +27 -28
- data/lib/countries/data/countries/CV.yaml +28 -29
- data/lib/countries/data/countries/CW.yaml +25 -26
- data/lib/countries/data/countries/CX.yaml +30 -31
- data/lib/countries/data/countries/CY.yaml +40 -41
- data/lib/countries/data/countries/CZ.yaml +38 -39
- data/lib/countries/data/countries/DE.yaml +36 -37
- data/lib/countries/data/countries/DJ.yaml +29 -30
- data/lib/countries/data/countries/DK.yaml +35 -36
- data/lib/countries/data/countries/DM.yaml +26 -27
- data/lib/countries/data/countries/DO.yaml +28 -29
- data/lib/countries/data/countries/DZ.yaml +28 -29
- data/lib/countries/data/countries/EC.yaml +28 -29
- data/lib/countries/data/countries/EE.yaml +35 -36
- data/lib/countries/data/countries/EG.yaml +28 -29
- data/lib/countries/data/countries/EH.yaml +30 -31
- data/lib/countries/data/countries/ER.yaml +31 -32
- data/lib/countries/data/countries/ES.yaml +36 -37
- data/lib/countries/data/countries/ET.yaml +28 -29
- data/lib/countries/data/countries/FI.yaml +38 -39
- data/lib/countries/data/countries/FJ.yaml +33 -34
- data/lib/countries/data/countries/FK.yaml +29 -30
- data/lib/countries/data/countries/FM.yaml +28 -29
- data/lib/countries/data/countries/FO.yaml +28 -29
- data/lib/countries/data/countries/FR.yaml +37 -38
- data/lib/countries/data/countries/GA.yaml +27 -28
- data/lib/countries/data/countries/GB.yaml +39 -38
- data/lib/countries/data/countries/GD.yaml +26 -27
- data/lib/countries/data/countries/GE.yaml +28 -29
- data/lib/countries/data/countries/GF.yaml +29 -30
- data/lib/countries/data/countries/GG.yaml +30 -31
- data/lib/countries/data/countries/GH.yaml +27 -28
- data/lib/countries/data/countries/GI.yaml +26 -27
- data/lib/countries/data/countries/GL.yaml +29 -30
- data/lib/countries/data/countries/GM.yaml +25 -26
- data/lib/countries/data/countries/GN.yaml +30 -31
- data/lib/countries/data/countries/GP.yaml +27 -28
- data/lib/countries/data/countries/GQ.yaml +29 -30
- data/lib/countries/data/countries/GR.yaml +37 -38
- data/lib/countries/data/countries/GS.yaml +27 -28
- data/lib/countries/data/countries/GT.yaml +26 -27
- data/lib/countries/data/countries/GU.yaml +31 -32
- data/lib/countries/data/countries/GW.yaml +28 -29
- data/lib/countries/data/countries/GY.yaml +26 -27
- data/lib/countries/data/countries/HK.yaml +28 -29
- data/lib/countries/data/countries/HM.yaml +27 -28
- data/lib/countries/data/countries/HN.yaml +27 -28
- data/lib/countries/data/countries/HR.yaml +37 -38
- data/lib/countries/data/countries/HT.yaml +29 -30
- data/lib/countries/data/countries/HU.yaml +37 -38
- data/lib/countries/data/countries/ID.yaml +28 -29
- data/lib/countries/data/countries/IE.yaml +39 -40
- data/lib/countries/data/countries/IL.yaml +35 -31
- data/lib/countries/data/countries/IM.yaml +29 -30
- data/lib/countries/data/countries/IN.yaml +30 -31
- data/lib/countries/data/countries/IO.yaml +26 -27
- data/lib/countries/data/countries/IQ.yaml +28 -29
- data/lib/countries/data/countries/IR.yaml +28 -29
- data/lib/countries/data/countries/IS.yaml +35 -36
- data/lib/countries/data/countries/IT.yaml +36 -37
- data/lib/countries/data/countries/JE.yaml +26 -27
- data/lib/countries/data/countries/JM.yaml +28 -29
- data/lib/countries/data/countries/JO.yaml +28 -29
- data/lib/countries/data/countries/JP.yaml +28 -29
- data/lib/countries/data/countries/KE.yaml +29 -30
- data/lib/countries/data/countries/KG.yaml +30 -31
- data/lib/countries/data/countries/KH.yaml +28 -29
- data/lib/countries/data/countries/KI.yaml +25 -26
- data/lib/countries/data/countries/KM.yaml +29 -30
- data/lib/countries/data/countries/KN.yaml +29 -29
- data/lib/countries/data/countries/KP.yaml +27 -28
- data/lib/countries/data/countries/KR.yaml +28 -29
- data/lib/countries/data/countries/KW.yaml +28 -29
- data/lib/countries/data/countries/KY.yaml +29 -30
- data/lib/countries/data/countries/KZ.yaml +30 -31
- data/lib/countries/data/countries/LA.yaml +27 -28
- data/lib/countries/data/countries/LB.yaml +30 -31
- data/lib/countries/data/countries/LC.yaml +28 -29
- data/lib/countries/data/countries/LI.yaml +27 -28
- data/lib/countries/data/countries/LK.yaml +28 -29
- data/lib/countries/data/countries/LR.yaml +28 -29
- data/lib/countries/data/countries/LS.yaml +28 -29
- data/lib/countries/data/countries/LT.yaml +37 -38
- data/lib/countries/data/countries/LU.yaml +39 -40
- data/lib/countries/data/countries/LV.yaml +36 -37
- data/lib/countries/data/countries/LY.yaml +27 -28
- data/lib/countries/data/countries/MA.yaml +28 -29
- data/lib/countries/data/countries/MC.yaml +28 -29
- data/lib/countries/data/countries/MD.yaml +28 -29
- data/lib/countries/data/countries/ME.yaml +33 -34
- data/lib/countries/data/countries/MF.yaml +29 -30
- data/lib/countries/data/countries/MG.yaml +30 -31
- data/lib/countries/data/countries/MH.yaml +30 -31
- data/lib/countries/data/countries/MK.yaml +28 -29
- data/lib/countries/data/countries/ML.yaml +25 -26
- data/lib/countries/data/countries/MM.yaml +27 -28
- data/lib/countries/data/countries/MN.yaml +28 -29
- data/lib/countries/data/countries/MO.yaml +28 -29
- data/lib/countries/data/countries/MP.yaml +31 -32
- data/lib/countries/data/countries/MQ.yaml +27 -28
- data/lib/countries/data/countries/MR.yaml +29 -30
- data/lib/countries/data/countries/MS.yaml +26 -27
- data/lib/countries/data/countries/MT.yaml +36 -37
- data/lib/countries/data/countries/MU.yaml +28 -29
- data/lib/countries/data/countries/MV.yaml +28 -29
- data/lib/countries/data/countries/MW.yaml +27 -28
- data/lib/countries/data/countries/MX.yaml +33 -34
- data/lib/countries/data/countries/MY.yaml +30 -31
- data/lib/countries/data/countries/MZ.yaml +28 -29
- data/lib/countries/data/countries/NA.yaml +30 -31
- data/lib/countries/data/countries/NC.yaml +29 -30
- data/lib/countries/data/countries/NE.yaml +27 -28
- data/lib/countries/data/countries/NF.yaml +29 -30
- data/lib/countries/data/countries/NG.yaml +33 -34
- data/lib/countries/data/countries/NI.yaml +26 -27
- data/lib/countries/data/countries/NL.yaml +36 -37
- data/lib/countries/data/countries/NO.yaml +36 -37
- data/lib/countries/data/countries/NP.yaml +32 -33
- data/lib/countries/data/countries/NR.yaml +27 -28
- data/lib/countries/data/countries/NU.yaml +25 -26
- data/lib/countries/data/countries/NZ.yaml +34 -35
- data/lib/countries/data/countries/OM.yaml +28 -29
- data/lib/countries/data/countries/PA.yaml +26 -27
- data/lib/countries/data/countries/PE.yaml +28 -29
- data/lib/countries/data/countries/PF.yaml +29 -30
- data/lib/countries/data/countries/PG.yaml +28 -29
- data/lib/countries/data/countries/PH.yaml +35 -36
- data/lib/countries/data/countries/PK.yaml +30 -31
- data/lib/countries/data/countries/PL.yaml +36 -37
- data/lib/countries/data/countries/PM.yaml +29 -30
- data/lib/countries/data/countries/PN.yaml +27 -28
- data/lib/countries/data/countries/PR.yaml +28 -29
- data/lib/countries/data/countries/PS.yaml +31 -32
- data/lib/countries/data/countries/PT.yaml +33 -34
- data/lib/countries/data/countries/PW.yaml +26 -27
- data/lib/countries/data/countries/PY.yaml +28 -29
- data/lib/countries/data/countries/QA.yaml +27 -28
- data/lib/countries/data/countries/RE.yaml +28 -29
- data/lib/countries/data/countries/RO.yaml +37 -38
- data/lib/countries/data/countries/RS.yaml +28 -29
- data/lib/countries/data/countries/RU.yaml +28 -29
- data/lib/countries/data/countries/RW.yaml +31 -32
- data/lib/countries/data/countries/SA.yaml +33 -29
- data/lib/countries/data/countries/SB.yaml +27 -28
- data/lib/countries/data/countries/SC.yaml +28 -29
- data/lib/countries/data/countries/SD.yaml +30 -31
- data/lib/countries/data/countries/SE.yaml +37 -38
- data/lib/countries/data/countries/SG.yaml +32 -33
- data/lib/countries/data/countries/SH.yaml +29 -30
- data/lib/countries/data/countries/SI.yaml +36 -37
- data/lib/countries/data/countries/SJ.yaml +29 -30
- data/lib/countries/data/countries/SK.yaml +36 -37
- data/lib/countries/data/countries/SL.yaml +25 -26
- data/lib/countries/data/countries/SM.yaml +28 -29
- data/lib/countries/data/countries/SN.yaml +27 -28
- data/lib/countries/data/countries/SO.yaml +30 -31
- data/lib/countries/data/countries/SR.yaml +26 -27
- data/lib/countries/data/countries/SS.yaml +29 -30
- data/lib/countries/data/countries/ST.yaml +27 -28
- data/lib/countries/data/countries/SV.yaml +27 -28
- data/lib/countries/data/countries/SX.yaml +28 -29
- data/lib/countries/data/countries/SY.yaml +27 -28
- data/lib/countries/data/countries/SZ.yaml +30 -31
- data/lib/countries/data/countries/TC.yaml +30 -31
- data/lib/countries/data/countries/TD.yaml +29 -30
- data/lib/countries/data/countries/TF.yaml +28 -29
- data/lib/countries/data/countries/TG.yaml +25 -26
- data/lib/countries/data/countries/TH.yaml +34 -35
- data/lib/countries/data/countries/TJ.yaml +30 -31
- data/lib/countries/data/countries/TK.yaml +27 -28
- data/lib/countries/data/countries/TL.yaml +27 -28
- data/lib/countries/data/countries/TM.yaml +30 -31
- data/lib/countries/data/countries/TN.yaml +30 -31
- data/lib/countries/data/countries/TO.yaml +29 -30
- data/lib/countries/data/countries/TR.yaml +28 -29
- data/lib/countries/data/countries/TT.yaml +28 -29
- data/lib/countries/data/countries/TV.yaml +25 -26
- data/lib/countries/data/countries/TW.yaml +28 -29
- data/lib/countries/data/countries/TZ.yaml +30 -31
- data/lib/countries/data/countries/UA.yaml +34 -35
- data/lib/countries/data/countries/UG.yaml +28 -29
- data/lib/countries/data/countries/UM.yaml +29 -30
- data/lib/countries/data/countries/US.yaml +29 -29
- data/lib/countries/data/countries/UY.yaml +27 -28
- data/lib/countries/data/countries/UZ.yaml +30 -31
- data/lib/countries/data/countries/VA.yaml +31 -32
- data/lib/countries/data/countries/VC.yaml +29 -30
- data/lib/countries/data/countries/VE.yaml +26 -27
- data/lib/countries/data/countries/VG.yaml +29 -30
- data/lib/countries/data/countries/VI.yaml +28 -29
- data/lib/countries/data/countries/VN.yaml +28 -29
- data/lib/countries/data/countries/VU.yaml +31 -32
- data/lib/countries/data/countries/WF.yaml +29 -30
- data/lib/countries/data/countries/WS.yaml +28 -29
- data/lib/countries/data/countries/YE.yaml +27 -28
- data/lib/countries/data/countries/YT.yaml +26 -27
- data/lib/countries/data/countries/ZA.yaml +39 -40
- data/lib/countries/data/countries/ZM.yaml +28 -29
- data/lib/countries/data/countries/ZW.yaml +31 -32
- data/lib/countries/data/subdivisions/CZ.yaml +1045 -3736
- data/lib/countries/data/subdivisions/DE.yaml +16 -16
- data/lib/countries/data/subdivisions/DK.yaml +65 -287
- data/lib/countries/data/subdivisions/EE.yaml +96 -88
- data/lib/countries/data/subdivisions/FI.yaml +102 -499
- data/lib/countries/data/subdivisions/FR.yaml +584 -977
- data/lib/countries/data/subdivisions/GR.yaml +117 -988
- data/lib/countries/data/subdivisions/HU.yaml +62 -62
- data/lib/countries/data/subdivisions/IE.yaml +483 -482
- data/lib/countries/data/subdivisions/IT.yaml +1251 -1839
- data/lib/countries/data/subdivisions/KE.yaml +391 -503
- data/lib/countries/data/subdivisions/LU.yaml +194 -243
- data/lib/countries/data/subdivisions/LV.yaml +147 -5139
- data/lib/countries/data/subdivisions/MK.yaml +3501 -5809
- data/lib/countries/data/subdivisions/NZ.yaml +67 -111
- data/lib/countries/data/subdivisions/PL.yaml +210 -1208
- data/lib/countries/data/subdivisions/SG.yaml +39 -109
- data/lib/countries/data/subdivisions/US.yaml +0 -42
- data/lib/countries/data/translation_corrections.yaml +20 -12
- data/lib/countries/data.rb +5 -1
- data/lib/countries/global.rb +13 -3
- data/lib/countries/mongoid.rb +3 -0
- data/lib/countries/sources/cldr/downloader.rb +3 -0
- data/lib/countries/sources/cldr/subdivision.rb +1 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +1 -0
- data/lib/countries/sources/local/cached_loader.rb +2 -0
- data/lib/countries/sources/local/subdivision.rb +1 -0
- data/lib/countries/structure.rb +2 -5
- data/lib/countries/tasks/geocoding.rake +1 -1
- data/lib/countries/timezones.rb +4 -2
- data/lib/countries/translations.rb +2 -3
- data/lib/countries/version.rb +1 -1
- data/spec/country_spec.rb +60 -56
- data/spec/data_spec.rb +9 -9
- metadata +5 -7
- data/lib/countries/data/subdivisions/FO.yaml +0 -85
- data/lib/countries/data/subdivisions/KY.yaml +0 -85
@@ -1,6 +1,5 @@
|
|
1
1
|
---
|
2
2
|
ZA:
|
3
|
-
continent: Africa
|
4
3
|
address_format: |-
|
5
4
|
{{recipient}}
|
6
5
|
{{street}}
|
@@ -10,31 +9,28 @@ ZA:
|
|
10
9
|
{{country}}
|
11
10
|
alpha2: ZA
|
12
11
|
alpha3: ZAF
|
12
|
+
continent: Africa
|
13
13
|
country_code: '27'
|
14
|
+
currency_code: ZAR
|
15
|
+
gec: SF
|
16
|
+
geo:
|
17
|
+
latitude: -30.559482
|
18
|
+
longitude: 22.937506
|
19
|
+
max_latitude: -22.1254239
|
20
|
+
max_longitude: 38.2216904
|
21
|
+
min_latitude: -47.1313489
|
22
|
+
min_longitude: 16.2816999
|
23
|
+
bounds:
|
24
|
+
northeast:
|
25
|
+
lat: -22.1254239
|
26
|
+
lng: 38.2216904
|
27
|
+
southwest:
|
28
|
+
lat: -47.1313489
|
29
|
+
lng: 16.2816999
|
14
30
|
international_prefix: '09'
|
15
31
|
ioc: RSA
|
16
|
-
|
17
|
-
|
18
|
-
national_destination_code_lengths:
|
19
|
-
- 2
|
20
|
-
national_number_lengths:
|
21
|
-
- 9
|
22
|
-
national_prefix: '0'
|
23
|
-
number: '710'
|
24
|
-
region: Africa
|
25
|
-
subregion: Southern Africa
|
26
|
-
world_region: EMEA
|
27
|
-
un_locode: ZA
|
28
|
-
nationality: South African
|
29
|
-
postal_code: true
|
30
|
-
postal_code_format: "\\d{4}"
|
31
|
-
unofficial_names:
|
32
|
-
- South Africa
|
33
|
-
- Republik Südafrika
|
34
|
-
- Afrique du Sud
|
35
|
-
- República de Sudáfrica
|
36
|
-
- 南アフリカ
|
37
|
-
- Zuid-Afrika
|
32
|
+
iso_long_name: The Republic of South Africa
|
33
|
+
iso_short_name: South Africa
|
38
34
|
languages_official:
|
39
35
|
- af
|
40
36
|
- en
|
@@ -57,21 +53,24 @@ ZA:
|
|
57
53
|
- ve
|
58
54
|
- xh
|
59
55
|
- zu
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
northeast:
|
71
|
-
lat: -22.1254239
|
72
|
-
lng: 38.2216904
|
73
|
-
southwest:
|
74
|
-
lat: -47.1313489
|
75
|
-
lng: 16.2816999
|
76
|
-
currency_code: ZAR
|
56
|
+
national_destination_code_lengths:
|
57
|
+
- 2
|
58
|
+
national_number_lengths:
|
59
|
+
- 9
|
60
|
+
national_prefix: '0'
|
61
|
+
nationality: South African
|
62
|
+
number: '710'
|
63
|
+
postal_code: true
|
64
|
+
postal_code_format: "\\d{4}"
|
65
|
+
region: Africa
|
77
66
|
start_of_week: monday
|
67
|
+
subregion: Southern Africa
|
68
|
+
un_locode: ZA
|
69
|
+
unofficial_names:
|
70
|
+
- South Africa
|
71
|
+
- Republik Südafrika
|
72
|
+
- Afrique du Sud
|
73
|
+
- República de Sudáfrica
|
74
|
+
- 南アフリカ
|
75
|
+
- Zuid-Afrika
|
76
|
+
world_region: EMEA
|
@@ -1,40 +1,14 @@
|
|
1
1
|
---
|
2
2
|
ZM:
|
3
|
-
continent: Africa
|
4
3
|
alpha2: ZM
|
5
4
|
alpha3: ZMB
|
5
|
+
continent: Africa
|
6
6
|
country_code: '260'
|
7
|
-
|
8
|
-
ioc: ZAM
|
7
|
+
currency_code: ZMW
|
9
8
|
gec: ZA
|
10
|
-
name: Zambia
|
11
|
-
national_destination_code_lengths:
|
12
|
-
- 2
|
13
|
-
national_number_lengths:
|
14
|
-
- 9
|
15
|
-
national_prefix: '0'
|
16
|
-
number: '894'
|
17
|
-
region: Africa
|
18
|
-
subregion: Eastern Africa
|
19
|
-
world_region: EMEA
|
20
|
-
un_locode: ZM
|
21
|
-
nationality: Zambian
|
22
|
-
postal_code: true
|
23
|
-
postal_code_format: "\\d{5}"
|
24
|
-
unofficial_names:
|
25
|
-
- Zambia
|
26
|
-
- Sambia
|
27
|
-
- Zambie
|
28
|
-
- ザンビア
|
29
|
-
languages_official:
|
30
|
-
- en
|
31
|
-
languages_spoken:
|
32
|
-
- en
|
33
9
|
geo:
|
34
10
|
latitude: -13.133897
|
35
|
-
latitude_dec: "-13.458845138549805"
|
36
11
|
longitude: 27.849332
|
37
|
-
longitude_dec: '27.788097381591797'
|
38
12
|
max_latitude: -8.2032838
|
39
13
|
max_longitude: 33.7090305
|
40
14
|
min_latitude: -18.0774179
|
@@ -46,5 +20,30 @@ ZM:
|
|
46
20
|
southwest:
|
47
21
|
lat: -18.0774179
|
48
22
|
lng: 21.999351
|
49
|
-
|
23
|
+
international_prefix: '00'
|
24
|
+
ioc: ZAM
|
25
|
+
iso_long_name: The Republic of Zambia
|
26
|
+
iso_short_name: Zambia
|
27
|
+
languages_official:
|
28
|
+
- en
|
29
|
+
languages_spoken:
|
30
|
+
- en
|
31
|
+
national_destination_code_lengths:
|
32
|
+
- 2
|
33
|
+
national_number_lengths:
|
34
|
+
- 9
|
35
|
+
national_prefix: '0'
|
36
|
+
nationality: Zambian
|
37
|
+
number: '894'
|
38
|
+
postal_code: true
|
39
|
+
postal_code_format: "\\d{5}"
|
40
|
+
region: Africa
|
50
41
|
start_of_week: monday
|
42
|
+
subregion: Eastern Africa
|
43
|
+
un_locode: ZM
|
44
|
+
unofficial_names:
|
45
|
+
- Zambia
|
46
|
+
- Sambia
|
47
|
+
- Zambie
|
48
|
+
- ザンビア
|
49
|
+
world_region: EMEA
|
@@ -1,13 +1,37 @@
|
|
1
1
|
---
|
2
2
|
ZW:
|
3
|
-
continent: Africa
|
4
3
|
alpha2: ZW
|
5
4
|
alpha3: ZWE
|
5
|
+
continent: Africa
|
6
6
|
country_code: '263'
|
7
|
+
currency_code: USD
|
8
|
+
gec: ZI
|
9
|
+
geo:
|
10
|
+
latitude: -19.015438
|
11
|
+
longitude: 29.154857
|
12
|
+
max_latitude: -15.6093188
|
13
|
+
max_longitude: 33.068236
|
14
|
+
min_latitude: -22.4219117
|
15
|
+
min_longitude: 25.237368
|
16
|
+
bounds:
|
17
|
+
northeast:
|
18
|
+
lat: -15.6093188
|
19
|
+
lng: 33.068236
|
20
|
+
southwest:
|
21
|
+
lat: -22.4219117
|
22
|
+
lng: 25.237368
|
7
23
|
international_prefix: '00'
|
8
24
|
ioc: ZIM
|
9
|
-
|
10
|
-
|
25
|
+
iso_long_name: The Republic of Zimbabwe
|
26
|
+
iso_short_name: Zimbabwe
|
27
|
+
languages_official:
|
28
|
+
- en
|
29
|
+
- sn
|
30
|
+
- nd
|
31
|
+
languages_spoken:
|
32
|
+
- en
|
33
|
+
- sn
|
34
|
+
- nd
|
11
35
|
national_destination_code_lengths:
|
12
36
|
- 2
|
13
37
|
national_number_lengths:
|
@@ -16,41 +40,16 @@ ZW:
|
|
16
40
|
- 10
|
17
41
|
- 11
|
18
42
|
national_prefix: '0'
|
43
|
+
nationality: Zimbabwean
|
19
44
|
number: '716'
|
45
|
+
postal_code: false
|
20
46
|
region: Africa
|
47
|
+
start_of_week: monday
|
21
48
|
subregion: Eastern Africa
|
22
|
-
world_region: EMEA
|
23
49
|
un_locode: ZW
|
24
|
-
nationality: Zimbabwean
|
25
|
-
postal_code: false
|
26
50
|
unofficial_names:
|
27
51
|
- Zimbabwe
|
28
52
|
- Simbabwe
|
29
53
|
- Zimbabue
|
30
54
|
- ジンバブエ
|
31
|
-
|
32
|
-
- en
|
33
|
-
- sn
|
34
|
-
- nd
|
35
|
-
languages_spoken:
|
36
|
-
- en
|
37
|
-
- sn
|
38
|
-
- nd
|
39
|
-
geo:
|
40
|
-
latitude: -19.015438
|
41
|
-
latitude_dec: "-19.000280380249023"
|
42
|
-
longitude: 29.154857
|
43
|
-
longitude_dec: '29.86876106262207'
|
44
|
-
max_latitude: -15.6093188
|
45
|
-
max_longitude: 33.068236
|
46
|
-
min_latitude: -22.4219117
|
47
|
-
min_longitude: 25.237368
|
48
|
-
bounds:
|
49
|
-
northeast:
|
50
|
-
lat: -15.6093188
|
51
|
-
lng: 33.068236
|
52
|
-
southwest:
|
53
|
-
lat: -22.4219117
|
54
|
-
lng: 25.237368
|
55
|
-
currency_code: USD
|
56
|
-
start_of_week: monday
|
55
|
+
world_region: EMEA
|