countries 4.1.1 → 4.2.3
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 +97 -5
- data/LICENSE +3 -1
- data/README.markdown +55 -50
- data/Rakefile +25 -31
- data/countries.gemspec +5 -5
- 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/AD.yaml +21 -21
- data/lib/countries/data/subdivisions/AF.yaml +2 -2
- data/lib/countries/data/subdivisions/AG.yaml +1 -1
- data/lib/countries/data/subdivisions/AI.yaml +98 -98
- data/lib/countries/data/subdivisions/AL.yaml +82 -626
- data/lib/countries/data/subdivisions/AZ.yaml +5 -5
- data/lib/countries/data/subdivisions/BA.yaml +11 -11
- data/lib/countries/data/subdivisions/BD.yaml +8 -8
- data/lib/countries/data/subdivisions/BE.yaml +2 -2
- data/lib/countries/data/subdivisions/BF.yaml +13 -13
- data/lib/countries/data/subdivisions/BI.yaml +3 -3
- data/lib/countries/data/subdivisions/BM.yaml +77 -77
- data/lib/countries/data/subdivisions/BS.yaml +22 -22
- data/lib/countries/data/subdivisions/BW.yaml +7 -7
- data/lib/countries/data/subdivisions/BY.yaml +1 -1
- data/lib/countries/data/subdivisions/CD.yaml +19 -19
- data/lib/countries/data/subdivisions/CG.yaml +1 -1
- data/lib/countries/data/subdivisions/CI.yaml +14 -14
- data/lib/countries/data/subdivisions/CK.yaml +77 -77
- data/lib/countries/data/subdivisions/CN.yaml +0 -107
- data/lib/countries/data/subdivisions/CV.yaml +9 -9
- 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 -286
- data/lib/countries/data/subdivisions/DO.yaml +11 -11
- data/lib/countries/data/subdivisions/EE.yaml +172 -88
- data/lib/countries/data/subdivisions/EH.yaml +12 -12
- data/lib/countries/data/subdivisions/ES.yaml +17 -17
- data/lib/countries/data/subdivisions/FI.yaml +101 -498
- data/lib/countries/data/subdivisions/FJ.yaml +14 -14
- data/lib/countries/data/subdivisions/FR.yaml +584 -977
- data/lib/countries/data/subdivisions/GB.yaml +21 -20
- data/lib/countries/data/subdivisions/GH.yaml +7 -7
- data/lib/countries/data/subdivisions/GL.yaml +6 -6
- data/lib/countries/data/subdivisions/GN.yaml +7 -7
- data/lib/countries/data/subdivisions/GQ.yaml +1 -0
- data/lib/countries/data/subdivisions/GR.yaml +117 -988
- data/lib/countries/data/subdivisions/GW.yaml +3 -3
- data/lib/countries/data/subdivisions/HT.yaml +1 -1
- data/lib/countries/data/subdivisions/HU.yaml +62 -62
- data/lib/countries/data/subdivisions/ID.yaml +41 -41
- data/lib/countries/data/subdivisions/IE.yaml +483 -483
- data/lib/countries/data/subdivisions/IN.yaml +4 -3
- data/lib/countries/data/subdivisions/IQ.yaml +1 -1
- data/lib/countries/data/subdivisions/IR.yaml +2 -1
- data/lib/countries/data/subdivisions/IS.yaml +72 -0
- data/lib/countries/data/subdivisions/IT.yaml +1250 -1839
- data/lib/countries/data/subdivisions/KE.yaml +391 -503
- data/lib/countries/data/subdivisions/KG.yaml +1 -1
- data/lib/countries/data/subdivisions/KH.yaml +1 -1
- data/lib/countries/data/subdivisions/KN.yaml +2 -2
- data/lib/countries/data/subdivisions/KP.yaml +12 -12
- data/lib/countries/data/subdivisions/KR.yaml +1 -1
- data/lib/countries/data/subdivisions/KZ.yaml +1 -1
- data/lib/countries/data/subdivisions/LA.yaml +1 -1
- data/lib/countries/data/subdivisions/LB.yaml +2 -2
- data/lib/countries/data/subdivisions/LC.yaml +10 -10
- data/lib/countries/data/subdivisions/LK.yaml +9 -9
- data/lib/countries/data/subdivisions/LR.yaml +2 -2
- data/lib/countries/data/subdivisions/LT.yaml +60 -60
- data/lib/countries/data/subdivisions/LU.yaml +194 -243
- data/lib/countries/data/subdivisions/LV.yaml +147 -5139
- data/lib/countries/data/subdivisions/MA.yaml +35 -35
- data/lib/countries/data/subdivisions/MC.yaml +17 -17
- data/lib/countries/data/subdivisions/MD.yaml +740 -740
- data/lib/countries/data/subdivisions/ME.yaml +3 -3
- data/lib/countries/data/subdivisions/MH.yaml +2 -2
- data/lib/countries/data/subdivisions/MK.yaml +3501 -5809
- data/lib/countries/data/subdivisions/ML.yaml +2 -2
- data/lib/countries/data/subdivisions/MM.yaml +1 -1
- data/lib/countries/data/subdivisions/MR.yaml +3 -3
- data/lib/countries/data/subdivisions/MV.yaml +8 -8
- data/lib/countries/data/subdivisions/MW.yaml +4 -4
- data/lib/countries/data/subdivisions/MX.yaml +1 -1
- data/lib/countries/data/subdivisions/NL.yaml +6 -6
- data/lib/countries/data/subdivisions/NO.yaml +1 -0
- data/lib/countries/data/subdivisions/NP.yaml +12 -12
- data/lib/countries/data/subdivisions/NZ.yaml +68 -112
- data/lib/countries/data/subdivisions/OM.yaml +6 -6
- data/lib/countries/data/subdivisions/PG.yaml +3 -3
- data/lib/countries/data/subdivisions/PH.yaml +16 -16
- data/lib/countries/data/subdivisions/PK.yaml +2 -2
- data/lib/countries/data/subdivisions/PL.yaml +210 -1208
- data/lib/countries/data/subdivisions/PS.yaml +16 -16
- data/lib/countries/data/subdivisions/QA.yaml +2 -2
- data/lib/countries/data/subdivisions/RS.yaml +2 -2
- data/lib/countries/data/subdivisions/SC.yaml +4 -2
- data/lib/countries/data/subdivisions/SG.yaml +39 -109
- data/lib/countries/data/subdivisions/SH.yaml +1 -1
- data/lib/countries/data/subdivisions/SI.yaml +19 -19
- data/lib/countries/data/subdivisions/SJ.yaml +14 -14
- data/lib/countries/data/subdivisions/SL.yaml +1 -1
- data/lib/countries/data/subdivisions/SN.yaml +3 -3
- data/lib/countries/data/subdivisions/SS.yaml +10 -10
- data/lib/countries/data/subdivisions/ST.yaml +6 -0
- data/lib/countries/data/subdivisions/TD.yaml +6 -6
- data/lib/countries/data/subdivisions/TH.yaml +1 -1
- data/lib/countries/data/subdivisions/TJ.yaml +2 -2
- data/lib/countries/data/subdivisions/TK.yaml +21 -21
- data/lib/countries/data/subdivisions/TM.yaml +1 -1
- data/lib/countries/data/subdivisions/TT.yaml +2 -2
- data/lib/countries/data/subdivisions/TV.yaml +1 -1
- data/lib/countries/data/subdivisions/TW.yaml +3 -17
- data/lib/countries/data/subdivisions/TZ.yaml +5 -5
- data/lib/countries/data/subdivisions/UG.yaml +59 -52
- data/lib/countries/data/subdivisions/UM.yaml +0 -10
- data/lib/countries/data/subdivisions/US.yaml +0 -42
- data/lib/countries/data/subdivisions/WF.yaml +3 -13
- data/lib/countries/data/subdivisions/YE.yaml +3 -3
- data/lib/countries/data/subdivisions/ZA.yaml +2 -2
- data/lib/countries/data/subdivisions/ZM.yaml +1 -1
- 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 +7 -38
- data/lib/countries/data/subdivisions/AS.yaml +0 -85
- data/lib/countries/data/subdivisions/AW.yaml +0 -9
- data/lib/countries/data/subdivisions/AX.yaml +0 -51
- data/lib/countries/data/subdivisions/BL.yaml +0 -11
- data/lib/countries/data/subdivisions/CP.yaml +0 -4
- data/lib/countries/data/subdivisions/CW.yaml +0 -9
- data/lib/countries/data/subdivisions/FO.yaml +0 -85
- data/lib/countries/data/subdivisions/GF.yaml +0 -11
- data/lib/countries/data/subdivisions/GG.yaml +0 -155
- data/lib/countries/data/subdivisions/GP.yaml +0 -11
- data/lib/countries/data/subdivisions/GU.yaml +0 -275
- data/lib/countries/data/subdivisions/HK.yaml +0 -267
- data/lib/countries/data/subdivisions/IC.yaml +0 -4
- data/lib/countries/data/subdivisions/IM.yaml +0 -337
- data/lib/countries/data/subdivisions/JE.yaml +0 -169
- data/lib/countries/data/subdivisions/KY.yaml +0 -85
- data/lib/countries/data/subdivisions/MF.yaml +0 -9
- data/lib/countries/data/subdivisions/MO.yaml +0 -9
- data/lib/countries/data/subdivisions/MP.yaml +0 -71
- data/lib/countries/data/subdivisions/MQ.yaml +0 -11
- data/lib/countries/data/subdivisions/MS.yaml +0 -43
- data/lib/countries/data/subdivisions/NC.yaml +0 -57
- data/lib/countries/data/subdivisions/PF.yaml +0 -81
- data/lib/countries/data/subdivisions/PM.yaml +0 -39
- data/lib/countries/data/subdivisions/PR.yaml +0 -1107
- data/lib/countries/data/subdivisions/RE.yaml +0 -11
- data/lib/countries/data/subdivisions/SX.yaml +0 -9
- data/lib/countries/data/subdivisions/TA.yaml +0 -4
- data/lib/countries/data/subdivisions/TF.yaml +0 -67
- data/lib/countries/data/subdivisions/VI.yaml +0 -57
- data/lib/countries/data/subdivisions/YT.yaml +0 -247
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
2
|
AC:
|
3
|
-
name:
|
3
|
+
name: Aceh
|
4
4
|
code:
|
5
5
|
unofficial_names:
|
6
6
|
geo:
|
@@ -81,7 +81,7 @@ AC:
|
|
81
81
|
yo_BJ: Aceh
|
82
82
|
comments:
|
83
83
|
BB:
|
84
|
-
name:
|
84
|
+
name: Kepulauan Bangka Belitung
|
85
85
|
code:
|
86
86
|
unofficial_names:
|
87
87
|
geo:
|
@@ -144,7 +144,7 @@ BB:
|
|
144
144
|
'no': Bangka-Belitung
|
145
145
|
comments:
|
146
146
|
BE:
|
147
|
-
name:
|
147
|
+
name: Bengkulu
|
148
148
|
code:
|
149
149
|
unofficial_names:
|
150
150
|
geo:
|
@@ -205,7 +205,7 @@ BE:
|
|
205
205
|
'no': Bengkulu
|
206
206
|
comments:
|
207
207
|
BT:
|
208
|
-
name:
|
208
|
+
name: Banten
|
209
209
|
code:
|
210
210
|
unofficial_names:
|
211
211
|
geo:
|
@@ -275,7 +275,7 @@ BT:
|
|
275
275
|
'no': Banten
|
276
276
|
comments:
|
277
277
|
GO:
|
278
|
-
name:
|
278
|
+
name: Gorontalo
|
279
279
|
code:
|
280
280
|
unofficial_names:
|
281
281
|
geo:
|
@@ -340,7 +340,7 @@ GO:
|
|
340
340
|
'no': Gorontalo
|
341
341
|
comments:
|
342
342
|
JA:
|
343
|
-
name:
|
343
|
+
name: Jambi
|
344
344
|
code:
|
345
345
|
unofficial_names:
|
346
346
|
geo:
|
@@ -406,7 +406,7 @@ JA:
|
|
406
406
|
'no': Jambi
|
407
407
|
comments:
|
408
408
|
JB:
|
409
|
-
name:
|
409
|
+
name: Jawa Barat
|
410
410
|
code:
|
411
411
|
unofficial_names:
|
412
412
|
geo:
|
@@ -470,7 +470,7 @@ JB:
|
|
470
470
|
'no': Jawa Barat
|
471
471
|
comments:
|
472
472
|
JI:
|
473
|
-
name:
|
473
|
+
name: Jawa Timur
|
474
474
|
code:
|
475
475
|
unofficial_names:
|
476
476
|
geo:
|
@@ -539,7 +539,7 @@ JI:
|
|
539
539
|
'no': Jawa Timur
|
540
540
|
comments:
|
541
541
|
JK:
|
542
|
-
name:
|
542
|
+
name: Daerah Khusus Ibukota Jakarta
|
543
543
|
code:
|
544
544
|
unofficial_names:
|
545
545
|
geo:
|
@@ -638,7 +638,7 @@ JK:
|
|
638
638
|
yo_BJ: Jakarta
|
639
639
|
comments:
|
640
640
|
JT:
|
641
|
-
name:
|
641
|
+
name: Jawa Tengah
|
642
642
|
code:
|
643
643
|
unofficial_names:
|
644
644
|
geo:
|
@@ -718,7 +718,7 @@ JT:
|
|
718
718
|
'no': Jawa Tengah
|
719
719
|
comments:
|
720
720
|
JW:
|
721
|
-
name:
|
721
|
+
name: Jawa
|
722
722
|
code:
|
723
723
|
unofficial_names:
|
724
724
|
geo:
|
@@ -805,7 +805,7 @@ JW:
|
|
805
805
|
'no': Java
|
806
806
|
comments:
|
807
807
|
KB:
|
808
|
-
name:
|
808
|
+
name: Kalimantan Barat
|
809
809
|
code:
|
810
810
|
unofficial_names:
|
811
811
|
geo:
|
@@ -870,7 +870,7 @@ KB:
|
|
870
870
|
'no': Kalimantan Barat
|
871
871
|
comments:
|
872
872
|
KI:
|
873
|
-
name:
|
873
|
+
name: Kalimantan Timur
|
874
874
|
code:
|
875
875
|
unofficial_names:
|
876
876
|
geo:
|
@@ -936,7 +936,7 @@ KI:
|
|
936
936
|
'no': Kalimantan Timur
|
937
937
|
comments:
|
938
938
|
KR:
|
939
|
-
name:
|
939
|
+
name: Kepulauan Riau
|
940
940
|
code:
|
941
941
|
unofficial_names:
|
942
942
|
geo:
|
@@ -999,7 +999,7 @@ KR:
|
|
999
999
|
'no': Kepulauan Riau
|
1000
1000
|
comments:
|
1001
1001
|
KS:
|
1002
|
-
name:
|
1002
|
+
name: Kalimantan Selatan
|
1003
1003
|
code:
|
1004
1004
|
unofficial_names:
|
1005
1005
|
geo:
|
@@ -1063,7 +1063,7 @@ KS:
|
|
1063
1063
|
'no': Kalimantan Selatan
|
1064
1064
|
comments:
|
1065
1065
|
KT:
|
1066
|
-
name:
|
1066
|
+
name: Kalimantan Tengah
|
1067
1067
|
code:
|
1068
1068
|
unofficial_names:
|
1069
1069
|
geo:
|
@@ -1129,7 +1129,7 @@ KT:
|
|
1129
1129
|
'no': Kalimantan Tengah
|
1130
1130
|
comments:
|
1131
1131
|
LA:
|
1132
|
-
name:
|
1132
|
+
name: Lampung
|
1133
1133
|
code:
|
1134
1134
|
unofficial_names:
|
1135
1135
|
geo:
|
@@ -1193,7 +1193,7 @@ LA:
|
|
1193
1193
|
'no': Lampung
|
1194
1194
|
comments:
|
1195
1195
|
MA:
|
1196
|
-
name:
|
1196
|
+
name: Maluku
|
1197
1197
|
code:
|
1198
1198
|
unofficial_names:
|
1199
1199
|
geo:
|
@@ -1260,7 +1260,7 @@ MA:
|
|
1260
1260
|
'no': Maluku Kommune
|
1261
1261
|
comments:
|
1262
1262
|
ML:
|
1263
|
-
name:
|
1263
|
+
name: Kepulauan Maluku
|
1264
1264
|
code:
|
1265
1265
|
unofficial_names:
|
1266
1266
|
geo:
|
@@ -1335,7 +1335,7 @@ ML:
|
|
1335
1335
|
'no': Molukkene
|
1336
1336
|
comments:
|
1337
1337
|
MU:
|
1338
|
-
name:
|
1338
|
+
name: Maluku Utara
|
1339
1339
|
code:
|
1340
1340
|
unofficial_names:
|
1341
1341
|
geo:
|
@@ -1402,7 +1402,7 @@ MU:
|
|
1402
1402
|
'no': Nord Maluku provins
|
1403
1403
|
comments:
|
1404
1404
|
NB:
|
1405
|
-
name:
|
1405
|
+
name: Nusa Tenggara Barat
|
1406
1406
|
code:
|
1407
1407
|
unofficial_names:
|
1408
1408
|
geo:
|
@@ -1465,7 +1465,7 @@ NB:
|
|
1465
1465
|
'no': West Nusa Tenggara
|
1466
1466
|
comments:
|
1467
1467
|
NT:
|
1468
|
-
name:
|
1468
|
+
name: Nusa Tenggara Timur
|
1469
1469
|
code:
|
1470
1470
|
unofficial_names:
|
1471
1471
|
geo:
|
@@ -1533,7 +1533,7 @@ NT:
|
|
1533
1533
|
'no': Nusa Tenggara Timur
|
1534
1534
|
comments:
|
1535
1535
|
NU:
|
1536
|
-
name:
|
1536
|
+
name: Kepulauan Nusa Tenggara
|
1537
1537
|
code:
|
1538
1538
|
unofficial_names:
|
1539
1539
|
geo:
|
@@ -1601,7 +1601,7 @@ NU:
|
|
1601
1601
|
'no': De små Sundaøyer
|
1602
1602
|
comments:
|
1603
1603
|
PA:
|
1604
|
-
name:
|
1604
|
+
name: Papua
|
1605
1605
|
code:
|
1606
1606
|
unofficial_names:
|
1607
1607
|
geo:
|
@@ -1668,7 +1668,7 @@ PA:
|
|
1668
1668
|
'no': Papua
|
1669
1669
|
comments:
|
1670
1670
|
PB:
|
1671
|
-
name:
|
1671
|
+
name: Papua Barat
|
1672
1672
|
code:
|
1673
1673
|
unofficial_names:
|
1674
1674
|
geo:
|
@@ -1734,7 +1734,7 @@ PB:
|
|
1734
1734
|
'no': Papua Barat
|
1735
1735
|
comments:
|
1736
1736
|
PP:
|
1737
|
-
name:
|
1737
|
+
name: Papua bagian barat
|
1738
1738
|
code:
|
1739
1739
|
unofficial_names:
|
1740
1740
|
geo:
|
@@ -1794,7 +1794,7 @@ PP:
|
|
1794
1794
|
'no': Vest-Papua
|
1795
1795
|
comments:
|
1796
1796
|
RI:
|
1797
|
-
name:
|
1797
|
+
name: Riau
|
1798
1798
|
code:
|
1799
1799
|
unofficial_names:
|
1800
1800
|
geo:
|
@@ -1856,7 +1856,7 @@ RI:
|
|
1856
1856
|
'no': Riau
|
1857
1857
|
comments:
|
1858
1858
|
SA:
|
1859
|
-
name:
|
1859
|
+
name: Sulawesi Utara
|
1860
1860
|
code:
|
1861
1861
|
unofficial_names:
|
1862
1862
|
geo:
|
@@ -1917,7 +1917,7 @@ SA:
|
|
1917
1917
|
'no': Nord Sulawesi provins
|
1918
1918
|
comments:
|
1919
1919
|
SB:
|
1920
|
-
name:
|
1920
|
+
name: Sumatera Barat
|
1921
1921
|
code:
|
1922
1922
|
unofficial_names:
|
1923
1923
|
geo:
|
@@ -1984,7 +1984,7 @@ SB:
|
|
1984
1984
|
'no': Sumatera Barat
|
1985
1985
|
comments:
|
1986
1986
|
SG:
|
1987
|
-
name:
|
1987
|
+
name: Sulawesi Tenggara
|
1988
1988
|
code:
|
1989
1989
|
unofficial_names:
|
1990
1990
|
geo:
|
@@ -2041,7 +2041,7 @@ SG:
|
|
2041
2041
|
'no': South East Sulawesi Provins
|
2042
2042
|
comments:
|
2043
2043
|
SL:
|
2044
|
-
name:
|
2044
|
+
name: Sulawesi
|
2045
2045
|
code:
|
2046
2046
|
unofficial_names:
|
2047
2047
|
geo:
|
@@ -2117,7 +2117,7 @@ SL:
|
|
2117
2117
|
'no': Sulawesi
|
2118
2118
|
comments:
|
2119
2119
|
SM:
|
2120
|
-
name:
|
2120
|
+
name: Sumatera
|
2121
2121
|
code:
|
2122
2122
|
unofficial_names:
|
2123
2123
|
geo:
|
@@ -2199,7 +2199,7 @@ SM:
|
|
2199
2199
|
'no': Sumatra
|
2200
2200
|
comments:
|
2201
2201
|
SN:
|
2202
|
-
name:
|
2202
|
+
name: Sulawesi Selatan
|
2203
2203
|
code:
|
2204
2204
|
unofficial_names:
|
2205
2205
|
geo:
|
@@ -2263,7 +2263,7 @@ SN:
|
|
2263
2263
|
'no': Sør Sulawesi
|
2264
2264
|
comments:
|
2265
2265
|
SR:
|
2266
|
-
name:
|
2266
|
+
name: Sulawesi Barat
|
2267
2267
|
code:
|
2268
2268
|
unofficial_names:
|
2269
2269
|
geo:
|
@@ -2322,7 +2322,7 @@ SR:
|
|
2322
2322
|
'no': West Sulawesi
|
2323
2323
|
comments:
|
2324
2324
|
SS:
|
2325
|
-
name:
|
2325
|
+
name: Sumatera Selatan
|
2326
2326
|
code:
|
2327
2327
|
unofficial_names:
|
2328
2328
|
geo:
|
@@ -2384,7 +2384,7 @@ SS:
|
|
2384
2384
|
'no': Sumatera Selatan
|
2385
2385
|
comments:
|
2386
2386
|
ST:
|
2387
|
-
name:
|
2387
|
+
name: Sulawesi Tengah
|
2388
2388
|
code:
|
2389
2389
|
unofficial_names:
|
2390
2390
|
geo:
|
@@ -2444,7 +2444,7 @@ ST:
|
|
2444
2444
|
'no': Sentral Sulaweisi provins
|
2445
2445
|
comments:
|
2446
2446
|
SU:
|
2447
|
-
name:
|
2447
|
+
name: Sumatera Utara
|
2448
2448
|
code:
|
2449
2449
|
unofficial_names:
|
2450
2450
|
geo:
|
@@ -2513,7 +2513,7 @@ SU:
|
|
2513
2513
|
'no': Sumatera Utara
|
2514
2514
|
comments:
|
2515
2515
|
YO:
|
2516
|
-
name:
|
2516
|
+
name: Yogyakarta
|
2517
2517
|
code:
|
2518
2518
|
unofficial_names:
|
2519
2519
|
geo:
|
@@ -2589,7 +2589,7 @@ YO:
|
|
2589
2589
|
'no': Yogyakarta
|
2590
2590
|
comments:
|
2591
2591
|
KU:
|
2592
|
-
name:
|
2592
|
+
name: Kalimantan Utara
|
2593
2593
|
code:
|
2594
2594
|
unofficial_names:
|
2595
2595
|
geo:
|
@@ -2636,7 +2636,7 @@ KU:
|
|
2636
2636
|
th: จังหวัดกาลีมันตันเหนือ
|
2637
2637
|
comments:
|
2638
2638
|
BA:
|
2639
|
-
name:
|
2639
|
+
name: Bali
|
2640
2640
|
code:
|
2641
2641
|
unofficial_names:
|
2642
2642
|
geo:
|
@@ -2688,7 +2688,7 @@ BA:
|
|
2688
2688
|
'no': Bali
|
2689
2689
|
comments:
|
2690
2690
|
KA:
|
2691
|
-
name:
|
2691
|
+
name: Kalimantan
|
2692
2692
|
code:
|
2693
2693
|
unofficial_names:
|
2694
2694
|
geo:
|