countries 1.2.2 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/tests.yml +39 -0
- data/.gitignore +4 -1
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +52 -0
- data/CHANGELOG.md +570 -1
- data/Gemfile +7 -0
- data/LICENSE +3 -1
- data/README.markdown +261 -136
- data/Rakefile +44 -74
- data/bin/console +14 -0
- data/countries.gemspec +15 -9
- data/lib/countries/cache/countries.json +1 -0
- data/lib/countries/cache/locales/ab.json +1 -0
- data/lib/countries/cache/locales/af.json +1 -0
- data/lib/countries/cache/locales/ak.json +1 -0
- data/lib/countries/cache/locales/am.json +1 -0
- data/lib/countries/cache/locales/an.json +1 -0
- data/lib/countries/cache/locales/ar.json +1 -0
- data/lib/countries/cache/locales/as.json +1 -0
- data/lib/countries/cache/locales/ay.json +1 -0
- data/lib/countries/cache/locales/az.json +1 -0
- data/lib/countries/cache/locales/ba.json +1 -0
- data/lib/countries/cache/locales/be.json +1 -0
- data/lib/countries/cache/locales/bg.json +1 -0
- data/lib/countries/cache/locales/bi.json +1 -0
- data/lib/countries/cache/locales/bn-in.json +1 -0
- data/lib/countries/cache/locales/bn.json +1 -0
- data/lib/countries/cache/locales/br.json +1 -0
- data/lib/countries/cache/locales/bs.json +1 -0
- data/lib/countries/cache/locales/ca.json +1 -0
- data/lib/countries/cache/locales/ce.json +1 -0
- data/lib/countries/cache/locales/ch.json +1 -0
- data/lib/countries/cache/locales/cs.json +1 -0
- data/lib/countries/cache/locales/cv.json +1 -0
- data/lib/countries/cache/locales/cy.json +1 -0
- data/lib/countries/cache/locales/da.json +1 -0
- data/lib/countries/cache/locales/de.json +1 -0
- data/lib/countries/cache/locales/dv.json +1 -0
- data/lib/countries/cache/locales/dz.json +1 -0
- data/lib/countries/cache/locales/ee.json +1 -0
- data/lib/countries/cache/locales/el.json +1 -0
- data/lib/countries/cache/locales/en.json +1 -0
- data/lib/countries/cache/locales/eo.json +1 -0
- data/lib/countries/cache/locales/es.json +1 -0
- data/lib/countries/cache/locales/et.json +1 -0
- data/lib/countries/cache/locales/eu.json +1 -0
- data/lib/countries/cache/locales/fa.json +1 -0
- data/lib/countries/cache/locales/ff.json +1 -0
- data/lib/countries/cache/locales/fi.json +1 -0
- data/lib/countries/cache/locales/fo.json +1 -0
- data/lib/countries/cache/locales/fr.json +1 -0
- data/lib/countries/cache/locales/fy.json +1 -0
- data/lib/countries/cache/locales/ga.json +1 -0
- data/lib/countries/cache/locales/gl.json +1 -0
- data/lib/countries/cache/locales/gn.json +1 -0
- data/lib/countries/cache/locales/gu.json +1 -0
- data/lib/countries/cache/locales/gv.json +1 -0
- data/lib/countries/cache/locales/ha.json +1 -0
- data/lib/countries/cache/locales/he.json +1 -0
- data/lib/countries/cache/locales/hi.json +1 -0
- data/lib/countries/cache/locales/hr.json +1 -0
- data/lib/countries/cache/locales/ht.json +1 -0
- data/lib/countries/cache/locales/hu.json +1 -0
- data/lib/countries/cache/locales/hy.json +1 -0
- data/lib/countries/cache/locales/ia.json +1 -0
- data/lib/countries/cache/locales/id.json +1 -0
- data/lib/countries/cache/locales/io.json +1 -0
- data/lib/countries/cache/locales/is.json +1 -0
- data/lib/countries/cache/locales/it.json +1 -0
- data/lib/countries/cache/locales/iu.json +1 -0
- data/lib/countries/cache/locales/ja.json +1 -0
- data/lib/countries/cache/locales/ka.json +1 -0
- data/lib/countries/cache/locales/ki.json +1 -0
- data/lib/countries/cache/locales/kk.json +1 -0
- data/lib/countries/cache/locales/kl.json +1 -0
- data/lib/countries/cache/locales/km.json +1 -0
- data/lib/countries/cache/locales/kn.json +1 -0
- data/lib/countries/cache/locales/ko.json +1 -0
- data/lib/countries/cache/locales/ku.json +1 -0
- data/lib/countries/cache/locales/kv.json +1 -0
- data/lib/countries/cache/locales/kw.json +1 -0
- data/lib/countries/cache/locales/ky.json +1 -0
- data/lib/countries/cache/locales/lo.json +1 -0
- data/lib/countries/cache/locales/lt.json +1 -0
- data/lib/countries/cache/locales/lv.json +1 -0
- data/lib/countries/cache/locales/mi.json +1 -0
- data/lib/countries/cache/locales/mk.json +1 -0
- data/lib/countries/cache/locales/ml.json +1 -0
- data/lib/countries/cache/locales/mn.json +1 -0
- data/lib/countries/cache/locales/mr.json +1 -0
- data/lib/countries/cache/locales/ms.json +1 -0
- data/lib/countries/cache/locales/mt.json +1 -0
- data/lib/countries/cache/locales/my.json +1 -0
- data/lib/countries/cache/locales/na.json +1 -0
- data/lib/countries/cache/locales/nb.json +1 -0
- data/lib/countries/cache/locales/ne.json +1 -0
- data/lib/countries/cache/locales/nl.json +1 -0
- data/lib/countries/cache/locales/nn.json +1 -0
- data/lib/countries/cache/locales/nv.json +1 -0
- data/lib/countries/cache/locales/oc.json +1 -0
- data/lib/countries/cache/locales/or.json +1 -0
- data/lib/countries/cache/locales/pa.json +1 -0
- data/lib/countries/cache/locales/pi.json +1 -0
- data/lib/countries/cache/locales/pl.json +1 -0
- data/lib/countries/cache/locales/ps.json +1 -0
- data/lib/countries/cache/locales/pt-br.json +1 -0
- data/lib/countries/cache/locales/pt.json +1 -0
- data/lib/countries/cache/locales/ro.json +1 -0
- data/lib/countries/cache/locales/ru.json +1 -0
- data/lib/countries/cache/locales/rw.json +1 -0
- data/lib/countries/cache/locales/sc.json +1 -0
- data/lib/countries/cache/locales/sd.json +1 -0
- data/lib/countries/cache/locales/si.json +1 -0
- data/lib/countries/cache/locales/sk.json +1 -0
- data/lib/countries/cache/locales/sl.json +1 -0
- data/lib/countries/cache/locales/so.json +1 -0
- data/lib/countries/cache/locales/sq.json +1 -0
- data/lib/countries/cache/locales/sr.json +1 -0
- data/lib/countries/cache/locales/sv.json +1 -0
- data/lib/countries/cache/locales/sw.json +1 -0
- data/lib/countries/cache/locales/ta.json +1 -0
- data/lib/countries/cache/locales/te.json +1 -0
- data/lib/countries/cache/locales/tg.json +1 -0
- data/lib/countries/cache/locales/th.json +1 -0
- data/lib/countries/cache/locales/ti.json +1 -0
- data/lib/countries/cache/locales/tk.json +1 -0
- data/lib/countries/cache/locales/tl.json +1 -0
- data/lib/countries/cache/locales/tr.json +1 -0
- data/lib/countries/cache/locales/tt.json +1 -0
- data/lib/countries/cache/locales/ug.json +1 -0
- data/lib/countries/cache/locales/uk.json +1 -0
- data/lib/countries/cache/locales/ur.json +1 -0
- data/lib/countries/cache/locales/uz.json +1 -0
- data/lib/countries/cache/locales/ve.json +1 -0
- data/lib/countries/cache/locales/vi.json +1 -0
- data/lib/countries/cache/locales/wa.json +1 -0
- data/lib/countries/cache/locales/wo.json +1 -0
- data/lib/countries/cache/locales/xh.json +1 -0
- data/lib/countries/cache/locales/yo.json +1 -0
- data/lib/countries/cache/locales/zh-cn.json +1 -0
- data/lib/countries/cache/locales/zh-hk.json +1 -0
- data/lib/countries/cache/locales/zh-tw.json +1 -0
- data/lib/countries/cache/locales/zh.json +1 -0
- data/lib/countries/cache/locales/zu.json +1 -0
- data/lib/countries/configuration.rb +57 -0
- data/lib/countries/country/class_methods.rb +196 -0
- data/lib/countries/country/currency_methods.rb +13 -0
- data/lib/countries/country/emoji.rb +42 -0
- data/lib/countries/country.rb +214 -158
- data/lib/countries/data/countries/AD.yaml +32 -21
- data/lib/countries/data/countries/AE.yaml +40 -25
- data/lib/countries/data/countries/AF.yaml +36 -23
- data/lib/countries/data/countries/AG.yaml +36 -25
- data/lib/countries/data/countries/AI.yaml +33 -21
- data/lib/countries/data/countries/AL.yaml +35 -24
- data/lib/countries/data/countries/AM.yaml +36 -24
- data/lib/countries/data/countries/AO.yaml +30 -20
- data/lib/countries/data/countries/AQ.yaml +31 -22
- data/lib/countries/data/countries/AR.yaml +36 -24
- data/lib/countries/data/countries/AS.yaml +38 -25
- data/lib/countries/data/countries/AT.yaml +37 -25
- data/lib/countries/data/countries/AU.yaml +39 -23
- data/lib/countries/data/countries/AW.yaml +30 -20
- data/lib/countries/data/countries/AX.yaml +33 -22
- data/lib/countries/data/countries/AZ.yaml +37 -25
- data/lib/countries/data/countries/BA.yaml +40 -27
- data/lib/countries/data/countries/BB.yaml +33 -21
- data/lib/countries/data/countries/BD.yaml +32 -21
- data/lib/countries/data/countries/BE.yaml +42 -28
- data/lib/countries/data/countries/BF.yaml +32 -21
- data/lib/countries/data/countries/BG.yaml +38 -26
- data/lib/countries/data/countries/BH.yaml +35 -24
- data/lib/countries/data/countries/BI.yaml +32 -21
- data/lib/countries/data/countries/BJ.yaml +31 -21
- data/lib/countries/data/countries/BL.yaml +33 -22
- data/lib/countries/data/countries/BM.yaml +34 -22
- data/lib/countries/data/countries/BN.yaml +32 -21
- data/lib/countries/data/countries/BO.yaml +37 -25
- data/lib/countries/data/countries/BQ.yaml +33 -22
- data/lib/countries/data/countries/BR.yaml +42 -24
- data/lib/countries/data/countries/BS.yaml +32 -21
- data/lib/countries/data/countries/BT.yaml +33 -22
- data/lib/countries/data/countries/BV.yaml +32 -23
- data/lib/countries/data/countries/BW.yaml +32 -21
- data/lib/countries/data/countries/BY.yaml +38 -26
- data/lib/countries/data/countries/BZ.yaml +34 -23
- data/lib/countries/data/countries/CA.yaml +35 -23
- data/lib/countries/data/countries/CC.yaml +34 -23
- data/lib/countries/data/countries/CD.yaml +44 -28
- data/lib/countries/data/countries/CF.yaml +36 -25
- data/lib/countries/data/countries/CG.yaml +35 -23
- data/lib/countries/data/countries/CH.yaml +47 -26
- data/lib/countries/data/countries/CI.yaml +35 -24
- data/lib/countries/data/countries/CK.yaml +34 -24
- data/lib/countries/data/countries/CL.yaml +37 -21
- data/lib/countries/data/countries/CM.yaml +36 -25
- data/lib/countries/data/countries/CN.yaml +32 -21
- data/lib/countries/data/countries/CO.yaml +33 -22
- data/lib/countries/data/countries/CR.yaml +31 -20
- data/lib/countries/data/countries/CU.yaml +32 -21
- data/lib/countries/data/countries/CV.yaml +35 -24
- data/lib/countries/data/countries/CW.yaml +31 -21
- data/lib/countries/data/countries/CX.yaml +38 -25
- data/lib/countries/data/countries/CY.yaml +42 -28
- data/lib/countries/data/countries/CZ.yaml +42 -28
- data/lib/countries/data/countries/DE.yaml +39 -27
- data/lib/countries/data/countries/DJ.yaml +34 -23
- data/lib/countries/data/countries/DK.yaml +39 -27
- data/lib/countries/data/countries/DM.yaml +31 -20
- data/lib/countries/data/countries/DO.yaml +35 -24
- data/lib/countries/data/countries/DZ.yaml +36 -25
- data/lib/countries/data/countries/EC.yaml +32 -21
- data/lib/countries/data/countries/EE.yaml +37 -26
- data/lib/countries/data/countries/EG.yaml +36 -25
- data/lib/countries/data/countries/EH.yaml +38 -26
- data/lib/countries/data/countries/ER.yaml +36 -24
- data/lib/countries/data/countries/ES.yaml +38 -26
- data/lib/countries/data/countries/ET.yaml +35 -24
- data/lib/countries/data/countries/FI.yaml +40 -27
- data/lib/countries/data/countries/FJ.yaml +38 -25
- data/lib/countries/data/countries/FK.yaml +36 -25
- data/lib/countries/data/countries/FM.yaml +34 -23
- data/lib/countries/data/countries/FO.yaml +35 -24
- data/lib/countries/data/countries/FR.yaml +38 -26
- data/lib/countries/data/countries/GA.yaml +32 -22
- data/lib/countries/data/countries/GB.yaml +46 -28
- data/lib/countries/data/countries/GD.yaml +31 -20
- data/lib/countries/data/countries/GE.yaml +34 -23
- data/lib/countries/data/countries/GF.yaml +35 -23
- data/lib/countries/data/countries/GG.yaml +38 -26
- data/lib/countries/data/countries/GH.yaml +30 -20
- data/lib/countries/data/countries/GI.yaml +32 -21
- data/lib/countries/data/countries/GL.yaml +35 -24
- data/lib/countries/data/countries/GM.yaml +30 -20
- data/lib/countries/data/countries/GN.yaml +35 -23
- data/lib/countries/data/countries/GP.yaml +33 -22
- data/lib/countries/data/countries/GQ.yaml +36 -25
- data/lib/countries/data/countries/GR.yaml +41 -29
- data/lib/countries/data/countries/GS.yaml +34 -22
- data/lib/countries/data/countries/GT.yaml +31 -20
- data/lib/countries/data/countries/GU.yaml +36 -22
- data/lib/countries/data/countries/GW.yaml +34 -22
- data/lib/countries/data/countries/GY.yaml +30 -20
- data/lib/countries/data/countries/HK.yaml +33 -22
- data/lib/countries/data/countries/HM.yaml +35 -24
- data/lib/countries/data/countries/HN.yaml +31 -20
- data/lib/countries/data/countries/HR.yaml +40 -28
- data/lib/countries/data/countries/HT.yaml +34 -22
- data/lib/countries/data/countries/HU.yaml +39 -27
- data/lib/countries/data/countries/ID.yaml +34 -23
- data/lib/countries/data/countries/IE.yaml +39 -26
- data/lib/countries/data/countries/IL.yaml +39 -22
- data/lib/countries/data/countries/IM.yaml +37 -25
- data/lib/countries/data/countries/IN.yaml +35 -23
- data/lib/countries/data/countries/IO.yaml +35 -24
- data/lib/countries/data/countries/IQ.yaml +33 -22
- data/lib/countries/data/countries/IR.yaml +34 -23
- data/lib/countries/data/countries/IS.yaml +42 -24
- data/lib/countries/data/countries/IT.yaml +38 -26
- data/lib/countries/data/countries/JE.yaml +34 -22
- data/lib/countries/data/countries/JM.yaml +33 -22
- data/lib/countries/data/countries/JO.yaml +36 -25
- data/lib/countries/data/countries/JP.yaml +33 -22
- data/lib/countries/data/countries/KE.yaml +34 -22
- data/lib/countries/data/countries/KG.yaml +38 -26
- data/lib/countries/data/countries/KH.yaml +35 -24
- data/lib/countries/data/countries/KI.yaml +30 -20
- data/lib/countries/data/countries/KM.yaml +35 -24
- data/lib/countries/data/countries/KN.yaml +38 -25
- data/lib/countries/data/countries/KP.yaml +37 -26
- data/lib/countries/data/countries/KR.yaml +37 -26
- data/lib/countries/data/countries/KW.yaml +34 -23
- data/lib/countries/data/countries/KY.yaml +36 -24
- data/lib/countries/data/countries/KZ.yaml +36 -24
- data/lib/countries/data/countries/LA.yaml +32 -21
- data/lib/countries/data/countries/LB.yaml +37 -25
- data/lib/countries/data/countries/LC.yaml +35 -22
- data/lib/countries/data/countries/LI.yaml +32 -20
- data/lib/countries/data/countries/LK.yaml +33 -21
- data/lib/countries/data/countries/LR.yaml +31 -20
- data/lib/countries/data/countries/LS.yaml +33 -21
- data/lib/countries/data/countries/LT.yaml +41 -28
- data/lib/countries/data/countries/LU.yaml +39 -25
- data/lib/countries/data/countries/LV.yaml +45 -27
- data/lib/countries/data/countries/LY.yaml +36 -26
- data/lib/countries/data/countries/MA.yaml +35 -24
- data/lib/countries/data/countries/MC.yaml +32 -21
- data/lib/countries/data/countries/MD.yaml +36 -25
- data/lib/countries/data/countries/ME.yaml +38 -24
- data/lib/countries/data/countries/MF.yaml +37 -24
- data/lib/countries/data/countries/MG.yaml +35 -23
- data/lib/countries/data/countries/MH.yaml +37 -25
- data/lib/countries/data/countries/MK.yaml +37 -25
- data/lib/countries/data/countries/ML.yaml +30 -20
- data/lib/countries/data/countries/MM.yaml +31 -20
- data/lib/countries/data/countries/MN.yaml +34 -23
- data/lib/countries/data/countries/MO.yaml +33 -22
- data/lib/countries/data/countries/MP.yaml +38 -26
- data/lib/countries/data/countries/MQ.yaml +33 -22
- data/lib/countries/data/countries/MR.yaml +36 -25
- data/lib/countries/data/countries/MS.yaml +32 -21
- data/lib/countries/data/countries/MT.yaml +38 -25
- data/lib/countries/data/countries/MU.yaml +33 -22
- data/lib/countries/data/countries/MV.yaml +34 -23
- data/lib/countries/data/countries/MW.yaml +32 -21
- data/lib/countries/data/countries/MX.yaml +39 -23
- data/lib/countries/data/countries/MY.yaml +36 -24
- data/lib/countries/data/countries/MZ.yaml +32 -21
- data/lib/countries/data/countries/NA.yaml +35 -23
- data/lib/countries/data/countries/NC.yaml +36 -25
- data/lib/countries/data/countries/NE.yaml +32 -21
- data/lib/countries/data/countries/NF.yaml +36 -25
- data/lib/countries/data/countries/NG.yaml +39 -23
- data/lib/countries/data/countries/NI.yaml +31 -20
- data/lib/countries/data/countries/NL.yaml +41 -28
- data/lib/countries/data/countries/NO.yaml +43 -25
- data/lib/countries/data/countries/NP.yaml +43 -22
- data/lib/countries/data/countries/NR.yaml +32 -21
- data/lib/countries/data/countries/NU.yaml +30 -20
- data/lib/countries/data/countries/NZ.yaml +41 -24
- data/lib/countries/data/countries/OM.yaml +33 -22
- data/lib/countries/data/countries/PA.yaml +31 -21
- data/lib/countries/data/countries/PE.yaml +33 -22
- data/lib/countries/data/countries/PF.yaml +36 -25
- data/lib/countries/data/countries/PG.yaml +35 -24
- data/lib/countries/data/countries/PH.yaml +41 -24
- data/lib/countries/data/countries/PK.yaml +34 -22
- data/lib/countries/data/countries/PL.yaml +38 -26
- data/lib/countries/data/countries/PM.yaml +36 -25
- data/lib/countries/data/countries/PN.yaml +35 -23
- data/lib/countries/data/countries/PR.yaml +33 -21
- data/lib/countries/data/countries/PS.yaml +41 -28
- data/lib/countries/data/countries/PT.yaml +34 -22
- data/lib/countries/data/countries/PW.yaml +31 -20
- data/lib/countries/data/countries/PY.yaml +33 -21
- data/lib/countries/data/countries/QA.yaml +32 -22
- data/lib/countries/data/countries/RE.yaml +34 -23
- data/lib/countries/data/countries/RO.yaml +40 -28
- data/lib/countries/data/countries/RS.yaml +34 -23
- data/lib/countries/data/countries/RU.yaml +37 -26
- data/lib/countries/data/countries/RW.yaml +35 -23
- data/lib/countries/data/countries/SA.yaml +42 -25
- data/lib/countries/data/countries/SB.yaml +35 -25
- data/lib/countries/data/countries/SC.yaml +33 -22
- data/lib/countries/data/countries/SD.yaml +37 -25
- data/lib/countries/data/countries/SE.yaml +39 -27
- data/lib/countries/data/countries/SG.yaml +38 -25
- data/lib/countries/data/countries/SH.yaml +37 -25
- data/lib/countries/data/countries/SI.yaml +39 -27
- data/lib/countries/data/countries/SJ.yaml +36 -25
- data/lib/countries/data/countries/SK.yaml +39 -27
- data/lib/countries/data/countries/SL.yaml +30 -20
- data/lib/countries/data/countries/SM.yaml +32 -21
- data/lib/countries/data/countries/SN.yaml +32 -21
- data/lib/countries/data/countries/SO.yaml +35 -23
- data/lib/countries/data/countries/SR.yaml +31 -21
- data/lib/countries/data/countries/SS.yaml +35 -23
- data/lib/countries/data/countries/ST.yaml +34 -24
- data/lib/countries/data/countries/SV.yaml +32 -21
- data/lib/countries/data/countries/SX.yaml +34 -22
- data/lib/countries/data/countries/SY.yaml +36 -26
- data/lib/countries/data/countries/SZ.yaml +35 -23
- data/lib/countries/data/countries/TC.yaml +38 -25
- data/lib/countries/data/countries/TD.yaml +36 -25
- data/lib/countries/data/countries/TF.yaml +39 -28
- data/lib/countries/data/countries/TG.yaml +30 -20
- data/lib/countries/data/countries/TH.yaml +39 -22
- data/lib/countries/data/countries/TJ.yaml +37 -25
- data/lib/countries/data/countries/TK.yaml +33 -23
- data/lib/countries/data/countries/TL.yaml +34 -24
- data/lib/countries/data/countries/TM.yaml +35 -23
- data/lib/countries/data/countries/TN.yaml +38 -26
- data/lib/countries/data/countries/TO.yaml +32 -21
- data/lib/countries/data/countries/TR.yaml +35 -24
- data/lib/countries/data/countries/TT.yaml +35 -24
- data/lib/countries/data/countries/TV.yaml +30 -20
- data/lib/countries/data/countries/TW.yaml +33 -22
- data/lib/countries/data/countries/TZ.yaml +36 -24
- data/lib/countries/data/countries/UA.yaml +42 -25
- data/lib/countries/data/countries/UG.yaml +33 -22
- data/lib/countries/data/countries/UM.yaml +37 -26
- data/lib/countries/data/countries/US.yaml +37 -24
- data/lib/countries/data/countries/UY.yaml +31 -20
- data/lib/countries/data/countries/UZ.yaml +37 -25
- data/lib/countries/data/countries/VA.yaml +39 -27
- data/lib/countries/data/countries/VC.yaml +38 -24
- data/lib/countries/data/countries/VE.yaml +31 -20
- data/lib/countries/data/countries/VG.yaml +38 -26
- data/lib/countries/data/countries/VI.yaml +37 -25
- data/lib/countries/data/countries/VN.yaml +38 -21
- data/lib/countries/data/countries/VU.yaml +34 -22
- data/lib/countries/data/countries/WF.yaml +36 -25
- data/lib/countries/data/countries/WS.yaml +32 -21
- data/lib/countries/data/countries/YE.yaml +33 -23
- data/lib/countries/data/countries/YT.yaml +32 -21
- data/lib/countries/data/countries/ZA.yaml +52 -32
- data/lib/countries/data/countries/ZM.yaml +33 -22
- data/lib/countries/data/countries/ZW.yaml +36 -24
- data/lib/countries/data/subdivisions/AD.yaml +85 -50
- data/lib/countries/data/subdivisions/AE.yaml +513 -55
- data/lib/countries/data/subdivisions/AF.yaml +2239 -234
- data/lib/countries/data/subdivisions/AG.yaml +451 -57
- data/lib/countries/data/subdivisions/AI.yaml +197 -0
- data/lib/countries/data/subdivisions/AL.yaml +746 -316
- data/lib/countries/data/subdivisions/AM.yaml +788 -68
- data/lib/countries/data/subdivisions/AO.yaml +1145 -126
- data/lib/countries/data/subdivisions/AR.yaml +1668 -168
- data/lib/countries/data/subdivisions/AT.yaml +714 -63
- data/lib/countries/data/subdivisions/AU.yaml +673 -56
- data/lib/countries/data/subdivisions/AZ.yaml +4508 -536
- data/lib/countries/data/subdivisions/BA.yaml +359 -14
- data/lib/countries/data/subdivisions/BB.yaml +589 -79
- data/lib/countries/data/subdivisions/BD.yaml +2593 -400
- data/lib/countries/data/subdivisions/BE.yaml +943 -77
- data/lib/countries/data/subdivisions/BF.yaml +2917 -311
- data/lib/countries/data/subdivisions/BG.yaml +1965 -199
- data/lib/countries/data/subdivisions/BH.yaml +184 -31
- data/lib/countries/data/subdivisions/BI.yaml +982 -112
- data/lib/countries/data/subdivisions/BJ.yaml +691 -84
- data/lib/countries/data/subdivisions/BM.yaml +155 -0
- data/lib/countries/data/subdivisions/BN.yaml +225 -24
- data/lib/countries/data/subdivisions/BO.yaml +561 -63
- data/lib/countries/data/subdivisions/BQ.yaml +217 -21
- data/lib/countries/data/subdivisions/BR.yaml +2154 -185
- data/lib/countries/data/subdivisions/BS.yaml +1821 -143
- data/lib/countries/data/subdivisions/BT.yaml +1087 -140
- data/lib/countries/data/subdivisions/BW.yaml +923 -63
- data/lib/countries/data/subdivisions/BY.yaml +528 -31
- data/lib/countries/data/subdivisions/BZ.yaml +309 -42
- data/lib/countries/data/subdivisions/CA.yaml +1105 -92
- data/lib/countries/data/subdivisions/CD.yaml +1187 -78
- data/lib/countries/data/subdivisions/CF.yaml +961 -119
- data/lib/countries/data/subdivisions/CG.yaml +640 -77
- data/lib/countries/data/subdivisions/CH.yaml +1946 -182
- data/lib/countries/data/subdivisions/CI.yaml +859 -125
- data/lib/countries/data/subdivisions/CK.yaml +155 -0
- data/lib/countries/data/subdivisions/CL.yaml +968 -105
- data/lib/countries/data/subdivisions/CM.yaml +582 -70
- data/lib/countries/data/subdivisions/CN.yaml +2618 -274
- data/lib/countries/data/subdivisions/CO.yaml +2102 -227
- data/lib/countries/data/subdivisions/CR.yaml +393 -49
- data/lib/countries/data/subdivisions/CU.yaml +926 -119
- data/lib/countries/data/subdivisions/CV.yaml +1198 -119
- data/lib/countries/data/subdivisions/CY.yaml +328 -42
- data/lib/countries/data/subdivisions/CZ.yaml +2892 -129
- data/lib/countries/data/subdivisions/DE.yaml +1420 -112
- data/lib/countries/data/subdivisions/DJ.yaml +375 -42
- data/lib/countries/data/subdivisions/DK.yaml +344 -180
- data/lib/countries/data/subdivisions/DM.yaml +512 -72
- data/lib/countries/data/subdivisions/DO.yaml +1763 -219
- data/lib/countries/data/subdivisions/DZ.yaml +2869 -334
- data/lib/countries/data/subdivisions/EC.yaml +1348 -168
- data/lib/countries/data/subdivisions/EE.yaml +1368 -118
- data/lib/countries/data/subdivisions/EG.yaml +1628 -190
- data/lib/countries/data/subdivisions/EH.yaml +48 -28
- data/lib/countries/data/subdivisions/ER.yaml +348 -42
- data/lib/countries/data/subdivisions/ES.yaml +4875 -375
- data/lib/countries/data/subdivisions/ET.yaml +735 -77
- data/lib/countries/data/subdivisions/FI.yaml +890 -36
- data/lib/countries/data/subdivisions/FJ.yaml +720 -35
- data/lib/countries/data/subdivisions/FM.yaml +202 -24
- data/lib/countries/data/subdivisions/FR.yaml +8250 -684
- data/lib/countries/data/subdivisions/GA.yaml +526 -63
- data/lib/countries/data/subdivisions/GB.yaml +12522 -1516
- data/lib/countries/data/subdivisions/GD.yaml +354 -49
- data/lib/countries/data/subdivisions/GE.yaml +833 -85
- data/lib/countries/data/subdivisions/GH.yaml +658 -70
- data/lib/countries/data/subdivisions/GL.yaml +262 -0
- data/lib/countries/data/subdivisions/GM.yaml +381 -42
- data/lib/countries/data/subdivisions/GN.yaml +1919 -234
- data/lib/countries/data/subdivisions/GQ.yaml +459 -59
- data/lib/countries/data/subdivisions/GR.yaml +871 -527
- data/lib/countries/data/subdivisions/GT.yaml +1270 -150
- data/lib/countries/data/subdivisions/GW.yaml +563 -59
- data/lib/countries/data/subdivisions/GY.yaml +498 -70
- data/lib/countries/data/subdivisions/HN.yaml +1019 -126
- data/lib/countries/data/subdivisions/HR.yaml +1419 -151
- data/lib/countries/data/subdivisions/HT.yaml +525 -63
- data/lib/countries/data/subdivisions/HU.yaml +2949 -302
- data/lib/countries/data/subdivisions/ID.yaml +2679 -243
- data/lib/countries/data/subdivisions/IE.yaml +2027 -177
- data/lib/countries/data/subdivisions/IL.yaml +376 -42
- data/lib/countries/data/subdivisions/IN.yaml +3110 -252
- data/lib/countries/data/subdivisions/IQ.yaml +1105 -126
- data/lib/countries/data/subdivisions/IR.yaml +2092 -215
- data/lib/countries/data/subdivisions/IS.yaml +830 -59
- data/lib/countries/data/subdivisions/IT.yaml +8525 -790
- data/lib/countries/data/subdivisions/JM.yaml +732 -100
- data/lib/countries/data/subdivisions/JO.yaml +662 -48
- data/lib/countries/data/subdivisions/JP.yaml +3562 -327
- data/lib/countries/data/subdivisions/KE.yaml +1449 -56
- data/lib/countries/data/subdivisions/KG.yaml +624 -57
- data/lib/countries/data/subdivisions/KH.yaml +1332 -147
- data/lib/countries/data/subdivisions/KI.yaml +163 -17
- data/lib/countries/data/subdivisions/KM.yaml +189 -21
- data/lib/countries/data/subdivisions/KN.yaml +835 -100
- data/lib/countries/data/subdivisions/KP.yaml +922 -80
- data/lib/countries/data/subdivisions/KR.yaml +1225 -88
- data/lib/countries/data/subdivisions/KW.yaml +280 -42
- data/lib/countries/data/subdivisions/KZ.yaml +1213 -122
- data/lib/countries/data/subdivisions/LA.yaml +947 -120
- data/lib/countries/data/subdivisions/LB.yaml +386 -22
- data/lib/countries/data/subdivisions/LC.yaml +470 -0
- data/lib/countries/data/subdivisions/LI.yaml +557 -39
- data/lib/countries/data/subdivisions/LK.yaml +1546 -175
- data/lib/countries/data/subdivisions/LR.yaml +857 -105
- data/lib/countries/data/subdivisions/LS.yaml +529 -70
- data/lib/countries/data/subdivisions/LT.yaml +2616 -71
- data/lib/countries/data/subdivisions/LU.yaml +490 -24
- data/lib/countries/data/subdivisions/LV.yaml +2501 -178
- data/lib/countries/data/subdivisions/LY.yaml +1188 -262
- data/lib/countries/data/subdivisions/MA.yaml +3375 -437
- data/lib/countries/data/subdivisions/MC.yaml +484 -0
- data/lib/countries/data/subdivisions/MD.yaml +2240 -71
- data/lib/countries/data/subdivisions/ME.yaml +1136 -151
- data/lib/countries/data/subdivisions/MG.yaml +253 -42
- data/lib/countries/data/subdivisions/MH.yaml +995 -151
- data/lib/countries/data/subdivisions/MK.yaml +3964 -752
- data/lib/countries/data/subdivisions/ML.yaml +569 -63
- data/lib/countries/data/subdivisions/MM.yaml +849 -98
- data/lib/countries/data/subdivisions/MN.yaml +1389 -160
- data/lib/countries/data/subdivisions/MR.yaml +702 -94
- data/lib/countries/data/subdivisions/MT.yaml +3726 -478
- data/lib/countries/data/subdivisions/MU.yaml +923 -115
- data/lib/countries/data/subdivisions/MV.yaml +1219 -148
- data/lib/countries/data/subdivisions/MW.yaml +1646 -189
- data/lib/countries/data/subdivisions/MX.yaml +2414 -222
- data/lib/countries/data/subdivisions/MY.yaml +1071 -114
- data/lib/countries/data/subdivisions/MZ.yaml +665 -77
- data/lib/countries/data/subdivisions/NA.yaml +736 -98
- data/lib/countries/data/subdivisions/NE.yaml +475 -56
- data/lib/countries/data/subdivisions/NG.yaml +2370 -259
- data/lib/countries/data/subdivisions/NI.yaml +952 -119
- data/lib/countries/data/subdivisions/NL.yaml +1205 -84
- data/lib/countries/data/subdivisions/NO.yaml +856 -164
- data/lib/countries/data/subdivisions/NP.yaml +982 -90
- data/lib/countries/data/subdivisions/NR.yaml +827 -100
- data/lib/countries/data/subdivisions/NZ.yaml +946 -122
- data/lib/countries/data/subdivisions/OM.yaml +633 -63
- data/lib/countries/data/subdivisions/PA.yaml +708 -69
- data/lib/countries/data/subdivisions/PE.yaml +1489 -179
- data/lib/countries/data/subdivisions/PG.yaml +1211 -140
- data/lib/countries/data/subdivisions/PH.yaml +5089 -572
- data/lib/countries/data/subdivisions/PK.yaml +566 -56
- data/lib/countries/data/subdivisions/PL.yaml +1042 -150
- data/lib/countries/data/subdivisions/PS.yaml +747 -0
- data/lib/countries/data/subdivisions/PT.yaml +1124 -145
- data/lib/countries/data/subdivisions/PW.yaml +832 -108
- data/lib/countries/data/subdivisions/PY.yaml +1045 -127
- data/lib/countries/data/subdivisions/QA.yaml +469 -64
- data/lib/countries/data/subdivisions/RO.yaml +2746 -294
- data/lib/countries/data/subdivisions/RS.yaml +1786 -195
- data/lib/countries/data/subdivisions/RU.yaml +6570 -655
- data/lib/countries/data/subdivisions/RW.yaml +327 -35
- data/lib/countries/data/subdivisions/SA.yaml +768 -102
- data/lib/countries/data/subdivisions/SB.yaml +550 -70
- data/lib/countries/data/subdivisions/SC.yaml +1286 -163
- data/lib/countries/data/subdivisions/SD.yaml +1002 -254
- data/lib/countries/data/subdivisions/SE.yaml +1416 -149
- data/lib/countries/data/subdivisions/SG.yaml +108 -31
- data/lib/countries/data/subdivisions/SH.yaml +197 -21
- data/lib/countries/data/subdivisions/SI.yaml +10997 -1403
- data/lib/countries/data/subdivisions/SJ.yaml +29 -0
- data/lib/countries/data/subdivisions/SK.yaml +533 -57
- data/lib/countries/data/subdivisions/SL.yaml +231 -28
- data/lib/countries/data/subdivisions/SM.yaml +577 -65
- data/lib/countries/data/subdivisions/SN.yaml +761 -77
- data/lib/countries/data/subdivisions/SO.yaml +914 -126
- data/lib/countries/data/subdivisions/SR.yaml +512 -70
- data/lib/countries/data/subdivisions/SS.yaml +624 -0
- data/lib/countries/data/subdivisions/ST.yaml +73 -14
- data/lib/countries/data/subdivisions/SV.yaml +747 -98
- data/lib/countries/data/subdivisions/SY.yaml +806 -91
- data/lib/countries/data/subdivisions/SZ.yaml +217 -28
- data/lib/countries/data/subdivisions/TD.yaml +1242 -126
- data/lib/countries/data/subdivisions/TG.yaml +264 -35
- data/lib/countries/data/subdivisions/TH.yaml +4535 -539
- data/lib/countries/data/subdivisions/TJ.yaml +356 -0
- data/lib/countries/data/subdivisions/TK.yaml +43 -0
- data/lib/countries/data/subdivisions/TL.yaml +682 -91
- data/lib/countries/data/subdivisions/TM.yaml +390 -46
- data/lib/countries/data/subdivisions/TN.yaml +1301 -168
- data/lib/countries/data/subdivisions/TO.yaml +260 -36
- data/lib/countries/data/subdivisions/TR.yaml +5858 -624
- data/lib/countries/data/subdivisions/TT.yaml +865 -112
- data/lib/countries/data/subdivisions/TV.yaml +382 -44
- data/lib/countries/data/subdivisions/TW.yaml +1281 -145
- data/lib/countries/data/subdivisions/TZ.yaml +1868 -184
- data/lib/countries/data/subdivisions/UA.yaml +1988 -192
- data/lib/countries/data/subdivisions/UG.yaml +6150 -544
- data/lib/countries/data/subdivisions/UM.yaml +710 -59
- data/lib/countries/data/subdivisions/US.yaml +4789 -404
- data/lib/countries/data/subdivisions/UY.yaml +1163 -112
- data/lib/countries/data/subdivisions/UZ.yaml +902 -99
- data/lib/countries/data/subdivisions/VC.yaml +289 -38
- data/lib/countries/data/subdivisions/VE.yaml +1559 -175
- data/lib/countries/data/subdivisions/VN.yaml +3799 -550
- data/lib/countries/data/subdivisions/VU.yaml +333 -43
- data/lib/countries/data/subdivisions/WF.yaml +201 -0
- data/lib/countries/data/subdivisions/WS.yaml +587 -77
- data/lib/countries/data/subdivisions/YE.yaml +1262 -135
- data/lib/countries/data/subdivisions/ZA.yaml +712 -63
- data/lib/countries/data/subdivisions/ZM.yaml +568 -65
- data/lib/countries/data/subdivisions/ZW.yaml +520 -70
- data/lib/countries/data/translation_corrections.yaml +38 -1
- data/lib/countries/data.rb +161 -16
- data/lib/countries/global.rb +13 -3
- data/lib/countries/iso3166.rb +9 -2
- data/lib/countries/kwarg_struct.rb +12 -0
- data/lib/countries/mongoid.rb +25 -22
- data/lib/countries/setup.rb +7 -7
- data/lib/countries/sources/cldr/downloader.rb +37 -0
- data/lib/countries/sources/cldr/subdivision.rb +35 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +35 -0
- data/lib/countries/sources/local/cached_loader.rb +29 -0
- data/lib/countries/sources/local/subdivision.rb +33 -0
- data/lib/countries/sources.rb +6 -0
- data/lib/countries/structure.rb +72 -0
- data/lib/countries/subdivision.rb +10 -0
- data/lib/countries/tasks/geocoding.rake +97 -0
- data/lib/countries/tasks/postal_codes.rake +48 -0
- data/lib/countries/timezones.rb +13 -0
- data/lib/countries/translations.rb +11 -0
- data/lib/countries/version.rb +1 -1
- data/lib/countries.rb +2 -0
- data/spec/00_global_spec.rb +56 -0
- data/spec/configuration_spec.rb +54 -0
- data/spec/country_spec.rb +473 -87
- data/spec/data_spec.rb +181 -0
- data/spec/mongoid_spec.rb +2 -2
- data/spec/perf_spec.rb +74 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/subdivision_spec.rb +32 -0
- data/spec/thread_safety_spec.rb +46 -0
- data/spec/timezone_spec.rb +32 -0
- metadata +206 -30
- data/.travis.yml +0 -6
- data/lib/countries/cache/countries +0 -0
- data/lib/countries/data/countries/AN.yaml +0 -42
- data/lib/countries/data/countries.yaml +0 -251
- data/lib/countries/data/subdivisions/Ky.yaml +0 -55
- data/lib/countries/data/subdivisions/TF.yaml +0 -27
- data/lib/countries/data/subdivisions/Tj.yaml +0 -38
- data/spec/setup_spec.rb +0 -14
@@ -1,6 +1,5 @@
|
|
1
1
|
---
|
2
2
|
'NO':
|
3
|
-
continent: Europe
|
4
3
|
address_format: |-
|
5
4
|
{{recipient}}
|
6
5
|
{{street}}
|
@@ -8,39 +7,58 @@
|
|
8
7
|
{{country}}
|
9
8
|
alpha2: 'NO'
|
10
9
|
alpha3: NOR
|
10
|
+
continent: Europe
|
11
11
|
country_code: '47'
|
12
|
-
|
12
|
+
currency_code: NOK
|
13
|
+
eea_member: true
|
14
|
+
gec: 'NO'
|
15
|
+
geo:
|
16
|
+
latitude: 60.47202399999999
|
17
|
+
longitude: 8.468945999999999
|
18
|
+
max_latitude: 71.30780000000001
|
19
|
+
max_longitude: 31.3549999
|
20
|
+
min_latitude: 57.8097
|
21
|
+
min_longitude: 4.0649
|
22
|
+
bounds:
|
23
|
+
northeast:
|
24
|
+
lat: 71.30780000000001
|
25
|
+
lng: 31.3549999
|
26
|
+
southwest:
|
27
|
+
lat: 57.8097
|
28
|
+
lng: 4.0649
|
13
29
|
international_prefix: '00'
|
14
30
|
ioc: NOR
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- Noruega
|
24
|
-
- "ノルウェー"
|
25
|
-
- Noorwegen
|
31
|
+
iso_long_name: The Kingdom of Norway
|
32
|
+
iso_short_name: Norway
|
33
|
+
languages_official:
|
34
|
+
- nb
|
35
|
+
- nn
|
36
|
+
languages_spoken:
|
37
|
+
- nb
|
38
|
+
- nn
|
26
39
|
national_destination_code_lengths:
|
27
40
|
- 2
|
28
41
|
national_number_lengths:
|
29
42
|
- 8
|
30
43
|
national_prefix: None
|
44
|
+
nationality: Norwegian
|
31
45
|
number: '578'
|
46
|
+
postal_code: true
|
47
|
+
postal_code_format: "\\d{4}"
|
32
48
|
region: Europe
|
49
|
+
start_of_week: monday
|
33
50
|
subregion: Northern Europe
|
51
|
+
un_locode: 'NO'
|
52
|
+
unofficial_names:
|
53
|
+
- Norway
|
54
|
+
- Norwegen
|
55
|
+
- Norvège
|
56
|
+
- Noruega
|
57
|
+
- ノルウェー
|
58
|
+
- Noorwegen
|
59
|
+
vat_rates:
|
60
|
+
standard: 25
|
61
|
+
reduced: []
|
62
|
+
super_reduced:
|
63
|
+
parking:
|
34
64
|
world_region: EMEA
|
35
|
-
un_locode: NO
|
36
|
-
languages:
|
37
|
-
- 'nb'
|
38
|
-
- 'nn'
|
39
|
-
nationality: Norwegian
|
40
|
-
postal_code: true
|
41
|
-
min_longitude: '3.033333'
|
42
|
-
min_latitude: '56.15'
|
43
|
-
max_longitude: '31.166667'
|
44
|
-
max_latitude: '71.181944'
|
45
|
-
latitude_dec: '66.76667022705078'
|
46
|
-
longitude_dec: '14.899925231933594'
|
@@ -1,39 +1,60 @@
|
|
1
1
|
---
|
2
2
|
NP:
|
3
|
-
|
3
|
+
address_format: |-
|
4
|
+
{{recipient}}
|
5
|
+
{{street}}
|
6
|
+
{{city}}
|
7
|
+
{{region}} {{postalcode}}
|
8
|
+
{{country}}
|
4
9
|
alpha2: NP
|
5
10
|
alpha3: NPL
|
11
|
+
continent: Asia
|
6
12
|
country_code: '977'
|
7
|
-
|
13
|
+
currency_code: NPR
|
14
|
+
gec: NP
|
15
|
+
geo:
|
16
|
+
latitude: 28.394857
|
17
|
+
longitude: 84.12400799999999
|
18
|
+
max_latitude: 30.4473898
|
19
|
+
max_longitude: 88.20182969999999
|
20
|
+
min_latitude: 26.3473741
|
21
|
+
min_longitude: 80.05846980000001
|
22
|
+
bounds:
|
23
|
+
northeast:
|
24
|
+
lat: 30.4473898
|
25
|
+
lng: 88.20182969999999
|
26
|
+
southwest:
|
27
|
+
lat: 26.3473741
|
28
|
+
lng: 80.05846980000001
|
8
29
|
international_prefix: '00'
|
9
30
|
ioc: NEP
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
18
|
-
-
|
31
|
+
iso_long_name: The Federal Democratic Republic of Nepal
|
32
|
+
iso_short_name: Nepal
|
33
|
+
languages_official:
|
34
|
+
- ne
|
35
|
+
languages_spoken:
|
36
|
+
- ne
|
37
|
+
- mai
|
38
|
+
- bho
|
39
|
+
- new
|
40
|
+
- urd
|
19
41
|
national_destination_code_lengths:
|
20
42
|
- 2
|
21
43
|
national_number_lengths:
|
22
44
|
- 7
|
23
45
|
- 8
|
24
46
|
national_prefix: '0'
|
47
|
+
nationality: Nepalese
|
25
48
|
number: '524'
|
49
|
+
postal_code: true
|
50
|
+
postal_code_format: "\\d{5}"
|
26
51
|
region: Asia
|
52
|
+
start_of_week: sunday
|
27
53
|
subregion: Southern Asia
|
28
|
-
world_region: APAC
|
29
54
|
un_locode: NP
|
30
|
-
|
31
|
-
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
max_longitude: '88.183333'
|
37
|
-
max_latitude: '30.45'
|
38
|
-
latitude_dec: '28.259138107299805'
|
39
|
-
longitude_dec: '83.94416046142578'
|
55
|
+
unofficial_names:
|
56
|
+
- Nepal
|
57
|
+
- Népal
|
58
|
+
- the Federal Democratic Republic of Nepal
|
59
|
+
- ネパール
|
60
|
+
world_region: APAC
|
@@ -1,37 +1,48 @@
|
|
1
1
|
---
|
2
2
|
NR:
|
3
|
-
continent: Australia
|
4
3
|
alpha2: NR
|
5
4
|
alpha3: NRU
|
5
|
+
continent: Australia
|
6
6
|
country_code: '674'
|
7
|
-
|
7
|
+
currency_code: AUD
|
8
|
+
gec: NR
|
9
|
+
geo:
|
10
|
+
latitude: -0.522778
|
11
|
+
longitude: 166.931503
|
12
|
+
max_latitude: -0.4978976000000001
|
13
|
+
max_longitude: 166.9631767
|
14
|
+
min_latitude: -0.5580623
|
15
|
+
min_longitude: 166.9071293
|
16
|
+
bounds:
|
17
|
+
northeast:
|
18
|
+
lat: -0.4978976000000001
|
19
|
+
lng: 166.9631767
|
20
|
+
southwest:
|
21
|
+
lat: -0.5580623
|
22
|
+
lng: 166.9071293
|
8
23
|
international_prefix: '00'
|
9
24
|
ioc: NRU
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
-
|
25
|
+
iso_long_name: The Republic of Nauru
|
26
|
+
iso_short_name: Nauru
|
27
|
+
languages_official:
|
28
|
+
- en
|
29
|
+
- na
|
30
|
+
languages_spoken:
|
31
|
+
- en
|
32
|
+
- na
|
17
33
|
national_destination_code_lengths:
|
18
34
|
- 2
|
19
35
|
national_number_lengths:
|
20
36
|
- 7
|
21
37
|
national_prefix: '0'
|
38
|
+
nationality: Nauruan
|
22
39
|
number: '520'
|
40
|
+
postal_code: false
|
23
41
|
region: Oceania
|
42
|
+
start_of_week: monday
|
24
43
|
subregion: Micronesia
|
25
|
-
world_region: APAC
|
26
44
|
un_locode: NR
|
27
|
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
|
31
|
-
postal_code: false
|
32
|
-
min_longitude: '166.916667'
|
33
|
-
min_latitude: "-0.55"
|
34
|
-
max_longitude: '166.95'
|
35
|
-
max_latitude: "-0.5"
|
36
|
-
latitude_dec: "-0.5316064953804016"
|
37
|
-
longitude_dec: '166.9364013671875'
|
45
|
+
unofficial_names:
|
46
|
+
- Nauru
|
47
|
+
- ナウル
|
48
|
+
world_region: APAC
|
@@ -1,36 +1,46 @@
|
|
1
1
|
---
|
2
2
|
NU:
|
3
|
-
continent: Australia
|
4
3
|
alpha2: NU
|
5
4
|
alpha3: NIU
|
5
|
+
continent: Australia
|
6
6
|
country_code: '683'
|
7
|
-
|
7
|
+
currency_code: NZD
|
8
|
+
gec: NE
|
9
|
+
geo:
|
10
|
+
latitude: -19.054445
|
11
|
+
longitude: -169.867233
|
12
|
+
max_latitude: -18.952625
|
13
|
+
max_longitude: -169.7743248
|
14
|
+
min_latitude: -19.1555668
|
15
|
+
min_longitude: -169.9500846
|
16
|
+
bounds:
|
17
|
+
northeast:
|
18
|
+
lat: -18.952625
|
19
|
+
lng: -169.7743248
|
20
|
+
southwest:
|
21
|
+
lat: -19.1555668
|
22
|
+
lng: -169.9500846
|
8
23
|
international_prefix: '00'
|
9
24
|
ioc:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
-
|
16
|
-
- "ニウエ"
|
25
|
+
iso_long_name: Niue
|
26
|
+
iso_short_name: Niue
|
27
|
+
languages_official:
|
28
|
+
- en
|
29
|
+
languages_spoken:
|
30
|
+
- en
|
17
31
|
national_destination_code_lengths:
|
18
32
|
- 2
|
19
33
|
national_number_lengths:
|
20
34
|
- 4
|
21
35
|
national_prefix: None
|
36
|
+
nationality: Niuean
|
22
37
|
number: '570'
|
38
|
+
postal_code: false
|
23
39
|
region: Oceania
|
40
|
+
start_of_week: monday
|
24
41
|
subregion: Polynesia
|
25
|
-
world_region: APAC
|
26
42
|
un_locode: NU
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
|
31
|
-
min_longitude: "-169.916667"
|
32
|
-
min_latitude: "-19.1"
|
33
|
-
max_longitude: "-169.783333"
|
34
|
-
max_latitude: "-18.933333"
|
35
|
-
latitude_dec: "-19.03806495666504"
|
36
|
-
longitude_dec: "-169.8302459716797"
|
43
|
+
unofficial_names:
|
44
|
+
- Niue
|
45
|
+
- ニウエ
|
46
|
+
world_region: APAC
|
@@ -1,6 +1,5 @@
|
|
1
1
|
---
|
2
2
|
NZ:
|
3
|
-
continent: Australia
|
4
3
|
address_format: |-
|
5
4
|
{{recipient}}
|
6
5
|
{{street}}
|
@@ -9,39 +8,57 @@ NZ:
|
|
9
8
|
{{country}}
|
10
9
|
alpha2: NZ
|
11
10
|
alpha3: NZL
|
11
|
+
continent: Australia
|
12
12
|
country_code: '64'
|
13
|
-
|
13
|
+
currency_code: NZD
|
14
|
+
gec: NZ
|
15
|
+
geo:
|
16
|
+
latitude: -40.900557
|
17
|
+
longitude: 174.885971
|
18
|
+
max_latitude: -28.8773225
|
19
|
+
max_longitude: -175.1235077
|
20
|
+
min_latitude: -52.7224663
|
21
|
+
min_longitude: 165.7437641
|
22
|
+
bounds:
|
23
|
+
northeast:
|
24
|
+
lat: -28.8773225
|
25
|
+
lng: -175.1235077
|
26
|
+
southwest:
|
27
|
+
lat: -52.7224663
|
28
|
+
lng: 165.7437641
|
14
29
|
international_prefix: '00'
|
15
30
|
ioc: NZL
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
-
|
22
|
-
- Neuseeland
|
23
|
-
- Nouvelle Zélande
|
24
|
-
- Nueva Zelanda
|
25
|
-
- "ニュージーランド"
|
26
|
-
- Nieuw-Zeeland
|
31
|
+
iso_long_name: New Zealand
|
32
|
+
iso_short_name: New Zealand
|
33
|
+
languages_official:
|
34
|
+
- en
|
35
|
+
languages_spoken:
|
36
|
+
- en
|
27
37
|
national_destination_code_lengths:
|
28
38
|
- 1
|
29
39
|
national_number_lengths:
|
30
40
|
- 8
|
31
41
|
- 9
|
32
42
|
national_prefix: '0'
|
43
|
+
nationality: New Zealander
|
33
44
|
number: '554'
|
45
|
+
postal_code: true
|
46
|
+
postal_code_format: "\\d{4}"
|
34
47
|
region: Oceania
|
48
|
+
start_of_week: monday
|
35
49
|
subregion: Australia and New Zealand
|
36
|
-
world_region: APAC
|
37
50
|
un_locode: NZ
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
51
|
+
unofficial_names:
|
52
|
+
- New Zealand
|
53
|
+
- Neuseeland
|
54
|
+
- Nouvelle Zélande
|
55
|
+
- Nueva Zelanda
|
56
|
+
- ニュージーランド
|
57
|
+
- Nieuw-Zeeland
|
58
|
+
vat_rates:
|
59
|
+
standard: 15
|
60
|
+
reduced:
|
61
|
+
- 9
|
62
|
+
super_reduced:
|
63
|
+
parking:
|
64
|
+
world_region: APAC
|
@@ -1,6 +1,5 @@
|
|
1
1
|
---
|
2
2
|
OM:
|
3
|
-
continent: Asia
|
4
3
|
address_format: |-
|
5
4
|
{{recipient}}
|
6
5
|
{{street}}
|
@@ -9,36 +8,48 @@ OM:
|
|
9
8
|
{{country}}
|
10
9
|
alpha2: OM
|
11
10
|
alpha3: OMN
|
11
|
+
continent: Asia
|
12
12
|
country_code: '968'
|
13
|
-
|
13
|
+
currency_code: OMR
|
14
|
+
gec: MU
|
15
|
+
geo:
|
16
|
+
latitude: 21.4735329
|
17
|
+
longitude: 55.975413
|
18
|
+
max_latitude: 26.4361001
|
19
|
+
max_longitude: 60.30399999999999
|
20
|
+
min_latitude: 16.4571999
|
21
|
+
min_longitude: 52.0000019
|
22
|
+
bounds:
|
23
|
+
northeast:
|
24
|
+
lat: 26.4361001
|
25
|
+
lng: 60.30399999999999
|
26
|
+
southwest:
|
27
|
+
lat: 16.4571999
|
28
|
+
lng: 52.0000019
|
14
29
|
international_prefix: '00'
|
15
30
|
ioc: OMA
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
-
|
22
|
-
- "عمان"
|
23
|
-
- Omán
|
24
|
-
- "オマーン"
|
31
|
+
iso_long_name: The Sultanate of Oman
|
32
|
+
iso_short_name: Oman
|
33
|
+
languages_official:
|
34
|
+
- ar
|
35
|
+
languages_spoken:
|
36
|
+
- ar
|
25
37
|
national_destination_code_lengths:
|
26
38
|
- 2
|
27
39
|
national_number_lengths:
|
28
40
|
- 8
|
29
41
|
national_prefix: None
|
42
|
+
nationality: Omani
|
30
43
|
number: '512'
|
44
|
+
postal_code: true
|
45
|
+
postal_code_format: "(?:PC )?\\d{3}"
|
31
46
|
region: Asia
|
47
|
+
start_of_week: sunday
|
32
48
|
subregion: Western Asia
|
33
|
-
world_region: EMEA
|
34
49
|
un_locode: OM
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
max_longitude: '59.838056'
|
42
|
-
max_latitude: '26.505'
|
43
|
-
latitude_dec: '20.566621780395508'
|
44
|
-
longitude_dec: '56.157962799072266'
|
50
|
+
unofficial_names:
|
51
|
+
- Oman
|
52
|
+
- عمان
|
53
|
+
- Omán
|
54
|
+
- オマーン
|
55
|
+
world_region: EMEA
|
@@ -1,38 +1,48 @@
|
|
1
1
|
---
|
2
2
|
PA:
|
3
|
-
continent: North America
|
4
3
|
alpha2: PA
|
5
4
|
alpha3: PAN
|
6
5
|
alt_currency: USD
|
6
|
+
continent: North America
|
7
7
|
country_code: '507'
|
8
|
-
|
8
|
+
currency_code: PAB
|
9
|
+
gec: PM
|
10
|
+
geo:
|
11
|
+
latitude: 8.537981
|
12
|
+
longitude: -80.782127
|
13
|
+
max_latitude: 9.7145001
|
14
|
+
max_longitude: -77.1584879
|
15
|
+
min_latitude: 7.0409
|
16
|
+
min_longitude: -83.05224109999999
|
17
|
+
bounds:
|
18
|
+
northeast:
|
19
|
+
lat: 9.7145001
|
20
|
+
lng: -77.1584879
|
21
|
+
southwest:
|
22
|
+
lat: 7.0409
|
23
|
+
lng: -83.05224109999999
|
9
24
|
international_prefix: '00'
|
10
25
|
ioc: PAN
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
-
|
17
|
-
- Panamá
|
18
|
-
- "パナマ"
|
26
|
+
iso_long_name: The Republic of Panamá
|
27
|
+
iso_short_name: Panama
|
28
|
+
languages_official:
|
29
|
+
- es
|
30
|
+
languages_spoken:
|
31
|
+
- es
|
19
32
|
national_destination_code_lengths:
|
20
33
|
- 2
|
21
34
|
national_number_lengths:
|
22
35
|
- 7
|
23
36
|
national_prefix: None
|
37
|
+
nationality: Panamanian
|
24
38
|
number: '591'
|
39
|
+
postal_code: false
|
25
40
|
region: Americas
|
41
|
+
start_of_week: monday
|
26
42
|
subregion: Central America
|
27
|
-
world_region: AMER
|
28
43
|
un_locode: PA
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
min_latitude: '7.213333'
|
35
|
-
max_longitude: "-77.283333"
|
36
|
-
max_latitude: '9.65'
|
37
|
-
latitude_dec: '8.646247863769531'
|
38
|
-
longitude_dec: "-80.50607299804688"
|
44
|
+
unofficial_names:
|
45
|
+
- Panama
|
46
|
+
- Panamá
|
47
|
+
- パナマ
|
48
|
+
world_region: AMER
|
@@ -1,39 +1,50 @@
|
|
1
1
|
---
|
2
2
|
PE:
|
3
|
-
continent: South America
|
4
3
|
alpha2: PE
|
5
4
|
alpha3: PER
|
5
|
+
continent: South America
|
6
6
|
country_code: '51'
|
7
|
-
|
7
|
+
currency_code: PEN
|
8
|
+
gec: PE
|
9
|
+
geo:
|
10
|
+
latitude: -9.189967
|
11
|
+
longitude: -75.015152
|
12
|
+
max_latitude: -0.0387769
|
13
|
+
max_longitude: -68.65232879999999
|
14
|
+
min_latitude: -18.4483
|
15
|
+
min_longitude: -81.3867001
|
16
|
+
bounds:
|
17
|
+
northeast:
|
18
|
+
lat: -0.0387769
|
19
|
+
lng: -68.65232879999999
|
20
|
+
southwest:
|
21
|
+
lat: -18.4483
|
22
|
+
lng: -81.3867001
|
8
23
|
international_prefix: '00'
|
9
24
|
ioc: PER
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
-
|
16
|
-
- Pérou
|
17
|
-
- Perú
|
18
|
-
- "ペルー"
|
25
|
+
iso_long_name: The Republic of Perú
|
26
|
+
iso_short_name: Peru
|
27
|
+
languages_official:
|
28
|
+
- es
|
29
|
+
languages_spoken:
|
30
|
+
- es
|
19
31
|
national_destination_code_lengths:
|
20
32
|
- 2
|
21
33
|
national_number_lengths:
|
22
34
|
- 8
|
23
35
|
- 9
|
24
36
|
national_prefix: '0'
|
37
|
+
nationality: Peruvian
|
25
38
|
number: '604'
|
39
|
+
postal_code: true
|
40
|
+
postal_code_format: "(?:LIMA \\d{1,2}|CALLAO 0?\\d)|[0-2]\\d{4}"
|
26
41
|
region: Americas
|
42
|
+
start_of_week: monday
|
27
43
|
subregion: South America
|
28
|
-
world_region: AMER
|
29
44
|
un_locode: PE
|
30
|
-
|
31
|
-
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
max_longitude: "-68.833333"
|
37
|
-
max_latitude: '4.626667'
|
38
|
-
latitude_dec: "-9.212532997131348"
|
39
|
-
longitude_dec: "-74.422119140625"
|
45
|
+
unofficial_names:
|
46
|
+
- Peru
|
47
|
+
- Pérou
|
48
|
+
- Perú
|
49
|
+
- ペルー
|
50
|
+
world_region: AMER
|
@@ -1,40 +1,51 @@
|
|
1
1
|
---
|
2
2
|
PF:
|
3
|
-
continent: Australia
|
4
3
|
alpha2: PF
|
5
4
|
alpha3: PYF
|
5
|
+
continent: Australia
|
6
6
|
country_code: '689'
|
7
|
-
|
8
|
-
international_prefix: '00'
|
9
|
-
ioc:
|
7
|
+
currency_code: XPF
|
10
8
|
gec: FP
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
9
|
+
geo:
|
10
|
+
latitude: -17.679742
|
11
|
+
longitude: -149.406843
|
12
|
+
max_latitude: -6.4682
|
13
|
+
max_longitude: -134.0551932
|
14
|
+
min_latitude: -28.61346
|
15
|
+
min_longitude: -155.125483
|
16
|
+
bounds:
|
17
|
+
northeast:
|
18
|
+
lat: -6.4682
|
19
|
+
lng: -134.0551932
|
20
|
+
southwest:
|
21
|
+
lat: -28.61346
|
22
|
+
lng: -155.125483
|
23
|
+
international_prefix: '00'
|
24
|
+
ioc:
|
25
|
+
iso_long_name: French Polynesia
|
26
|
+
iso_short_name: French Polynesia
|
27
|
+
languages_official:
|
28
|
+
- fr
|
29
|
+
languages_spoken:
|
30
|
+
- fr
|
21
31
|
national_destination_code_lengths:
|
22
32
|
- 2
|
23
33
|
national_number_lengths:
|
24
34
|
- 6
|
25
35
|
national_prefix: None
|
36
|
+
nationality: French Polynesian
|
26
37
|
number: '258'
|
38
|
+
postal_code: true
|
39
|
+
postal_code_format: 987\d{2}
|
27
40
|
region: Oceania
|
41
|
+
start_of_week: monday
|
28
42
|
subregion: Polynesia
|
29
|
-
world_region: APAC
|
30
43
|
un_locode: PF
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
latitude_dec: "-17.648122787475586"
|
40
|
-
longitude_dec: "-149.4647216796875"
|
44
|
+
unofficial_names:
|
45
|
+
- French Polynesia
|
46
|
+
- Französisch-Polynesien
|
47
|
+
- Polynésie Française
|
48
|
+
- Polinesia Francesa
|
49
|
+
- フランス領ポリネシア
|
50
|
+
- Frans-Polynesië
|
51
|
+
world_region: APAC
|