countries 5.0.2 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.markdown +13 -7
- data/Rakefile +15 -21
- data/UPGRADE.md +15 -2
- data/countries.gemspec +0 -1
- data/lib/countries/cache/locales/ab.json +1 -1
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -1
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -1
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -1
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -1
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -1
- data/lib/countries/cache/locales/bn-in.json +1 -1
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -1
- data/lib/countries/cache/locales/ch.json +1 -1
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -1
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -1
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -1
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -1
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -1
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -1
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -1
- data/lib/countries/cache/locales/ha.json +1 -1
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -1
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -1
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -1
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -1
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -1
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -1
- data/lib/countries/cache/locales/kw.json +1 -1
- data/lib/countries/cache/locales/ky.json +1 -1
- data/lib/countries/cache/locales/lo.json +1 -1
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -1
- data/lib/countries/cache/locales/na.json +1 -1
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -1
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -1
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -1
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -1
- data/lib/countries/cache/locales/sd.json +1 -1
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -1
- data/lib/countries/cache/locales/uz.json +1 -1
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -1
- data/lib/countries/cache/locales/zh-cn.json +1 -1
- data/lib/countries/cache/locales/zh-hk.json +1 -1
- data/lib/countries/cache/locales/zh-tw.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/country/class_methods.rb +9 -7
- data/lib/countries/country.rb +29 -3
- data/lib/countries/data/subdivisions/AD.yaml +14 -7
- data/lib/countries/data/subdivisions/AE.yaml +14 -7
- data/lib/countries/data/subdivisions/AF.yaml +196 -201
- data/lib/countries/data/subdivisions/AG.yaml +16 -22
- data/lib/countries/data/subdivisions/AL.yaml +24 -12
- data/lib/countries/data/subdivisions/AM.yaml +22 -11
- data/lib/countries/data/subdivisions/AO.yaml +36 -18
- data/lib/countries/data/subdivisions/AR.yaml +48 -24
- data/lib/countries/data/subdivisions/AT.yaml +18 -9
- data/lib/countries/data/subdivisions/AU.yaml +16 -8
- data/lib/countries/data/subdivisions/AZ.yaml +434 -412
- data/lib/countries/data/subdivisions/BA.yaml +75 -223
- data/lib/countries/data/subdivisions/BB.yaml +22 -11
- data/lib/countries/data/subdivisions/BD.yaml +188 -116
- data/lib/countries/data/subdivisions/BE.yaml +174 -161
- data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
- data/lib/countries/data/subdivisions/BG.yaml +56 -28
- data/lib/countries/data/subdivisions/BH.yaml +8 -21
- data/lib/countries/data/subdivisions/BI.yaml +176 -157
- data/lib/countries/data/subdivisions/BJ.yaml +24 -12
- data/lib/countries/data/subdivisions/BN.yaml +8 -4
- data/lib/countries/data/subdivisions/BO.yaml +18 -9
- data/lib/countries/data/subdivisions/BQ.yaml +6 -3
- data/lib/countries/data/subdivisions/BR.yaml +54 -27
- data/lib/countries/data/subdivisions/BS.yaml +575 -697
- data/lib/countries/data/subdivisions/BT.yaml +40 -20
- data/lib/countries/data/subdivisions/BW.yaml +337 -321
- data/lib/countries/data/subdivisions/BY.yaml +106 -116
- data/lib/countries/data/subdivisions/BZ.yaml +12 -6
- data/lib/countries/data/subdivisions/CA.yaml +26 -13
- data/lib/countries/data/subdivisions/CD.yaml +488 -525
- data/lib/countries/data/subdivisions/CF.yaml +34 -17
- data/lib/countries/data/subdivisions/CG.yaml +40 -28
- data/lib/countries/data/subdivisions/CH.yaml +52 -26
- data/lib/countries/data/subdivisions/CI.yaml +244 -516
- data/lib/countries/data/subdivisions/CL.yaml +81 -65
- data/lib/countries/data/subdivisions/CM.yaml +20 -10
- data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
- data/lib/countries/data/subdivisions/CO.yaml +66 -33
- data/lib/countries/data/subdivisions/CR.yaml +14 -7
- data/lib/countries/data/subdivisions/CU.yaml +32 -16
- data/lib/countries/data/subdivisions/CV.yaml +427 -401
- data/lib/countries/data/subdivisions/CY.yaml +12 -6
- data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
- data/lib/countries/data/subdivisions/DE.yaml +32 -16
- data/lib/countries/data/subdivisions/DJ.yaml +12 -6
- data/lib/countries/data/subdivisions/DK.yaml +25 -17
- data/lib/countries/data/subdivisions/DM.yaml +20 -10
- data/lib/countries/data/subdivisions/DO.yaml +84 -42
- data/lib/countries/data/subdivisions/DZ.yaml +96 -48
- data/lib/countries/data/subdivisions/EC.yaml +158 -134
- data/lib/countries/data/subdivisions/EE.yaml +501 -334
- data/lib/countries/data/subdivisions/EG.yaml +54 -27
- data/lib/countries/data/subdivisions/ER.yaml +12 -6
- data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
- data/lib/countries/data/subdivisions/ET.yaml +22 -11
- data/lib/countries/data/subdivisions/FI.yaml +185 -1
- data/lib/countries/data/subdivisions/FJ.yaml +443 -424
- data/lib/countries/data/subdivisions/FM.yaml +8 -4
- data/lib/countries/data/subdivisions/FR.yaml +438 -275
- data/lib/countries/data/subdivisions/GA.yaml +18 -9
- data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
- data/lib/countries/data/subdivisions/GD.yaml +14 -7
- data/lib/countries/data/subdivisions/GE.yaml +24 -12
- data/lib/countries/data/subdivisions/GH.yaml +114 -155
- data/lib/countries/data/subdivisions/GL.yaml +24 -79
- data/lib/countries/data/subdivisions/GM.yaml +12 -6
- data/lib/countries/data/subdivisions/GN.yaml +444 -403
- data/lib/countries/data/subdivisions/GQ.yaml +24 -13
- data/lib/countries/data/subdivisions/GR.yaml +114 -73
- data/lib/countries/data/subdivisions/GT.yaml +44 -22
- data/lib/countries/data/subdivisions/GW.yaml +69 -57
- data/lib/countries/data/subdivisions/GY.yaml +20 -10
- data/lib/countries/data/subdivisions/HN.yaml +36 -18
- data/lib/countries/data/subdivisions/HR.yaml +42 -21
- data/lib/countries/data/subdivisions/HT.yaml +73 -63
- data/lib/countries/data/subdivisions/HU.yaml +106 -63
- data/lib/countries/data/subdivisions/ID.yaml +229 -188
- data/lib/countries/data/subdivisions/IE.yaml +128 -97
- data/lib/countries/data/subdivisions/IL.yaml +12 -6
- data/lib/countries/data/subdivisions/IN.yaml +245 -396
- data/lib/countries/data/subdivisions/IQ.yaml +111 -91
- data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
- data/lib/countries/data/subdivisions/IS.yaml +160 -25
- data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
- data/lib/countries/data/subdivisions/JM.yaml +28 -14
- data/lib/countries/data/subdivisions/JO.yaml +24 -12
- data/lib/countries/data/subdivisions/JP.yaml +94 -47
- data/lib/countries/data/subdivisions/KE.yaml +95 -48
- data/lib/countries/data/subdivisions/KG.yaml +95 -86
- data/lib/countries/data/subdivisions/KH.yaml +64 -39
- data/lib/countries/data/subdivisions/KI.yaml +6 -3
- data/lib/countries/data/subdivisions/KM.yaml +6 -3
- data/lib/countries/data/subdivisions/KN.yaml +32 -16
- data/lib/countries/data/subdivisions/KP.yaml +24 -227
- data/lib/countries/data/subdivisions/KR.yaml +34 -17
- data/lib/countries/data/subdivisions/KW.yaml +12 -6
- data/lib/countries/data/subdivisions/KZ.yaml +47 -102
- data/lib/countries/data/subdivisions/LA.yaml +36 -34
- data/lib/countries/data/subdivisions/LB.yaml +71 -63
- data/lib/countries/data/subdivisions/LC.yaml +116 -106
- data/lib/countries/data/subdivisions/LI.yaml +22 -11
- data/lib/countries/data/subdivisions/LK.yaml +445 -411
- data/lib/countries/data/subdivisions/LR.yaml +146 -129
- data/lib/countries/data/subdivisions/LS.yaml +20 -10
- data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
- data/lib/countries/data/subdivisions/LU.yaml +24 -12
- data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
- data/lib/countries/data/subdivisions/LY.yaml +44 -22
- data/lib/countries/data/subdivisions/MA.yaml +810 -1589
- data/lib/countries/data/subdivisions/MC.yaml +261 -244
- data/lib/countries/data/subdivisions/MD.yaml +74 -79
- data/lib/countries/data/subdivisions/ME.yaml +217 -195
- data/lib/countries/data/subdivisions/MG.yaml +12 -6
- data/lib/countries/data/subdivisions/MH.yaml +167 -140
- data/lib/countries/data/subdivisions/MK.yaml +160 -80
- data/lib/countries/data/subdivisions/ML.yaml +48 -37
- data/lib/countries/data/subdivisions/MM.yaml +30 -15
- data/lib/countries/data/subdivisions/MN.yaml +44 -22
- data/lib/countries/data/subdivisions/MR.yaml +30 -34
- data/lib/countries/data/subdivisions/MT.yaml +136 -68
- data/lib/countries/data/subdivisions/MU.yaml +24 -262
- data/lib/countries/data/subdivisions/MV.yaml +161 -254
- data/lib/countries/data/subdivisions/MW.yaml +250 -219
- data/lib/countries/data/subdivisions/MX.yaml +64 -32
- data/lib/countries/data/subdivisions/MY.yaml +32 -16
- data/lib/countries/data/subdivisions/MZ.yaml +22 -11
- data/lib/countries/data/subdivisions/NA.yaml +58 -44
- data/lib/countries/data/subdivisions/NE.yaml +16 -8
- data/lib/countries/data/subdivisions/NG.yaml +74 -37
- data/lib/countries/data/subdivisions/NI.yaml +34 -17
- data/lib/countries/data/subdivisions/NL.yaml +303 -285
- data/lib/countries/data/subdivisions/NO.yaml +39 -17
- data/lib/countries/data/subdivisions/NP.yaml +302 -276
- data/lib/countries/data/subdivisions/NR.yaml +28 -14
- data/lib/countries/data/subdivisions/NZ.yaml +34 -17
- data/lib/countries/data/subdivisions/OM.yaml +260 -311
- data/lib/countries/data/subdivisions/PA.yaml +57 -44
- data/lib/countries/data/subdivisions/PE.yaml +107 -81
- data/lib/countries/data/subdivisions/PG.yaml +163 -158
- data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
- data/lib/countries/data/subdivisions/PK.yaml +145 -235
- data/lib/countries/data/subdivisions/PL.yaml +51 -3
- data/lib/countries/data/subdivisions/PS.yaml +32 -16
- data/lib/countries/data/subdivisions/PT.yaml +40 -20
- data/lib/countries/data/subdivisions/PW.yaml +32 -16
- data/lib/countries/data/subdivisions/PY.yaml +36 -18
- data/lib/countries/data/subdivisions/QA.yaml +27 -78
- data/lib/countries/data/subdivisions/RO.yaml +84 -42
- data/lib/countries/data/subdivisions/RS.yaml +104 -72
- data/lib/countries/data/subdivisions/RU.yaml +166 -83
- data/lib/countries/data/subdivisions/RW.yaml +10 -5
- data/lib/countries/data/subdivisions/SA.yaml +26 -13
- data/lib/countries/data/subdivisions/SB.yaml +20 -10
- data/lib/countries/data/subdivisions/SC.yaml +54 -25
- data/lib/countries/data/subdivisions/SD.yaml +798 -780
- data/lib/countries/data/subdivisions/SE.yaml +42 -21
- data/lib/countries/data/subdivisions/SG.yaml +15 -10
- data/lib/countries/data/subdivisions/SH.yaml +21 -32
- data/lib/countries/data/subdivisions/SI.yaml +475 -263
- data/lib/countries/data/subdivisions/SK.yaml +16 -8
- data/lib/countries/data/subdivisions/SL.yaml +23 -18
- data/lib/countries/data/subdivisions/SM.yaml +18 -9
- data/lib/countries/data/subdivisions/SN.yaml +188 -174
- data/lib/countries/data/subdivisions/SO.yaml +36 -18
- data/lib/countries/data/subdivisions/SR.yaml +20 -10
- data/lib/countries/data/subdivisions/SS.yaml +20 -10
- data/lib/countries/data/subdivisions/ST.yaml +38 -52
- data/lib/countries/data/subdivisions/SV.yaml +28 -14
- data/lib/countries/data/subdivisions/SY.yaml +28 -14
- data/lib/countries/data/subdivisions/SZ.yaml +8 -4
- data/lib/countries/data/subdivisions/TD.yaml +312 -303
- data/lib/countries/data/subdivisions/TG.yaml +10 -5
- data/lib/countries/data/subdivisions/TH.yaml +211 -133
- data/lib/countries/data/subdivisions/TJ.yaml +161 -156
- data/lib/countries/data/subdivisions/TL.yaml +26 -13
- data/lib/countries/data/subdivisions/TM.yaml +12 -6
- data/lib/countries/data/subdivisions/TN.yaml +48 -24
- data/lib/countries/data/subdivisions/TO.yaml +10 -5
- data/lib/countries/data/subdivisions/TR.yaml +162 -81
- data/lib/countries/data/subdivisions/TT.yaml +128 -160
- data/lib/countries/data/subdivisions/TV.yaml +57 -63
- data/lib/countries/data/subdivisions/TW.yaml +143 -183
- data/lib/countries/data/subdivisions/TZ.yaml +62 -31
- data/lib/countries/data/subdivisions/UA.yaml +55 -28
- data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
- data/lib/countries/data/subdivisions/UM.yaml +18 -9
- data/lib/countries/data/subdivisions/US.yaml +114 -57
- data/lib/countries/data/subdivisions/UY.yaml +99 -80
- data/lib/countries/data/subdivisions/UZ.yaml +28 -14
- data/lib/countries/data/subdivisions/VC.yaml +12 -6
- data/lib/countries/data/subdivisions/VE.yaml +50 -25
- data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
- data/lib/countries/data/subdivisions/VU.yaml +12 -6
- data/lib/countries/data/subdivisions/WF.yaml +6 -3
- data/lib/countries/data/subdivisions/WS.yaml +22 -11
- data/lib/countries/data/subdivisions/YE.yaml +222 -200
- data/lib/countries/data/subdivisions/ZA.yaml +86 -100
- data/lib/countries/data/subdivisions/ZM.yaml +20 -10
- data/lib/countries/data/subdivisions/ZW.yaml +20 -10
- data/lib/countries/data/translations/countries-ab.yaml +254 -0
- data/lib/countries/data/translations/countries-af.yaml +254 -0
- data/lib/countries/data/translations/countries-ak.yaml +254 -0
- data/lib/countries/data/translations/countries-am.yaml +254 -0
- data/lib/countries/data/translations/countries-an.yaml +254 -0
- data/lib/countries/data/translations/countries-ar.yaml +254 -0
- data/lib/countries/data/translations/countries-as.yaml +254 -0
- data/lib/countries/data/translations/countries-ay.yaml +254 -0
- data/lib/countries/data/translations/countries-az.yaml +254 -0
- data/lib/countries/data/translations/countries-ba.yaml +254 -0
- data/lib/countries/data/translations/countries-be.yaml +254 -0
- data/lib/countries/data/translations/countries-bg.yaml +254 -0
- data/lib/countries/data/translations/countries-bi.yaml +254 -0
- data/lib/countries/data/translations/countries-bn.yaml +254 -0
- data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
- data/lib/countries/data/translations/countries-br.yaml +254 -0
- data/lib/countries/data/translations/countries-bs.yaml +254 -0
- data/lib/countries/data/translations/countries-ca.yaml +254 -0
- data/lib/countries/data/translations/countries-ce.yaml +254 -0
- data/lib/countries/data/translations/countries-ch.yaml +254 -0
- data/lib/countries/data/translations/countries-cs.yaml +254 -0
- data/lib/countries/data/translations/countries-cv.yaml +254 -0
- data/lib/countries/data/translations/countries-cy.yaml +254 -0
- data/lib/countries/data/translations/countries-da.yaml +254 -0
- data/lib/countries/data/translations/countries-de.yaml +254 -0
- data/lib/countries/data/translations/countries-dv.yaml +254 -0
- data/lib/countries/data/translations/countries-dz.yaml +254 -0
- data/lib/countries/data/translations/countries-ee.yaml +254 -0
- data/lib/countries/data/translations/countries-el.yaml +254 -0
- data/lib/countries/data/translations/countries-en.yaml +254 -0
- data/lib/countries/data/translations/countries-eo.yaml +254 -0
- data/lib/countries/data/translations/countries-es.yaml +254 -0
- data/lib/countries/data/translations/countries-et.yaml +254 -0
- data/lib/countries/data/translations/countries-eu.yaml +254 -0
- data/lib/countries/data/translations/countries-fa.yaml +254 -0
- data/lib/countries/data/translations/countries-ff.yaml +254 -0
- data/lib/countries/data/translations/countries-fi.yaml +254 -0
- data/lib/countries/data/translations/countries-fo.yaml +254 -0
- data/lib/countries/data/translations/countries-fr.yaml +254 -0
- data/lib/countries/data/translations/countries-fy.yaml +254 -0
- data/lib/countries/data/translations/countries-ga.yaml +254 -0
- data/lib/countries/data/translations/countries-gl.yaml +254 -0
- data/lib/countries/data/translations/countries-gn.yaml +254 -0
- data/lib/countries/data/translations/countries-gu.yaml +254 -0
- data/lib/countries/data/translations/countries-gv.yaml +254 -0
- data/lib/countries/data/translations/countries-ha.yaml +254 -0
- data/lib/countries/data/translations/countries-he.yaml +254 -0
- data/lib/countries/data/translations/countries-hi.yaml +254 -0
- data/lib/countries/data/translations/countries-hr.yaml +254 -0
- data/lib/countries/data/translations/countries-ht.yaml +254 -0
- data/lib/countries/data/translations/countries-hu.yaml +254 -0
- data/lib/countries/data/translations/countries-hy.yaml +254 -0
- data/lib/countries/data/translations/countries-ia.yaml +254 -0
- data/lib/countries/data/translations/countries-id.yaml +254 -0
- data/lib/countries/data/translations/countries-io.yaml +254 -0
- data/lib/countries/data/translations/countries-is.yaml +254 -0
- data/lib/countries/data/translations/countries-it.yaml +254 -0
- data/lib/countries/data/translations/countries-iu.yaml +254 -0
- data/lib/countries/data/translations/countries-ja.yaml +254 -0
- data/lib/countries/data/translations/countries-ka.yaml +254 -0
- data/lib/countries/data/translations/countries-ki.yaml +254 -0
- data/lib/countries/data/translations/countries-kk.yaml +254 -0
- data/lib/countries/data/translations/countries-kl.yaml +254 -0
- data/lib/countries/data/translations/countries-km.yaml +254 -0
- data/lib/countries/data/translations/countries-kn.yaml +254 -0
- data/lib/countries/data/translations/countries-ko.yaml +254 -0
- data/lib/countries/data/translations/countries-ku.yaml +254 -0
- data/lib/countries/data/translations/countries-kv.yaml +254 -0
- data/lib/countries/data/translations/countries-kw.yaml +254 -0
- data/lib/countries/data/translations/countries-ky.yaml +254 -0
- data/lib/countries/data/translations/countries-lo.yaml +254 -0
- data/lib/countries/data/translations/countries-lt.yaml +254 -0
- data/lib/countries/data/translations/countries-lv.yaml +254 -0
- data/lib/countries/data/translations/countries-mi.yaml +254 -0
- data/lib/countries/data/translations/countries-mk.yaml +254 -0
- data/lib/countries/data/translations/countries-ml.yaml +254 -0
- data/lib/countries/data/translations/countries-mn.yaml +254 -0
- data/lib/countries/data/translations/countries-mr.yaml +254 -0
- data/lib/countries/data/translations/countries-ms.yaml +254 -0
- data/lib/countries/data/translations/countries-mt.yaml +254 -0
- data/lib/countries/data/translations/countries-my.yaml +254 -0
- data/lib/countries/data/translations/countries-na.yaml +254 -0
- data/lib/countries/data/translations/countries-nb.yaml +254 -0
- data/lib/countries/data/translations/countries-ne.yaml +254 -0
- data/lib/countries/data/translations/countries-nl.yaml +254 -0
- data/lib/countries/data/translations/countries-nn.yaml +254 -0
- data/lib/countries/data/translations/countries-nv.yaml +254 -0
- data/lib/countries/data/translations/countries-oc.yaml +254 -0
- data/lib/countries/data/translations/countries-or.yaml +254 -0
- data/lib/countries/data/translations/countries-pa.yaml +254 -0
- data/lib/countries/data/translations/countries-pi.yaml +254 -0
- data/lib/countries/data/translations/countries-pl.yaml +254 -0
- data/lib/countries/data/translations/countries-ps.yaml +254 -0
- data/lib/countries/data/translations/countries-pt.yaml +254 -0
- data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
- data/lib/countries/data/translations/countries-ro.yaml +254 -0
- data/lib/countries/data/translations/countries-ru.yaml +254 -0
- data/lib/countries/data/translations/countries-rw.yaml +254 -0
- data/lib/countries/data/translations/countries-sc.yaml +254 -0
- data/lib/countries/data/translations/countries-sd.yaml +254 -0
- data/lib/countries/data/translations/countries-si.yaml +254 -0
- data/lib/countries/data/translations/countries-sk.yaml +254 -0
- data/lib/countries/data/translations/countries-sl.yaml +254 -0
- data/lib/countries/data/translations/countries-so.yaml +254 -0
- data/lib/countries/data/translations/countries-sq.yaml +254 -0
- data/lib/countries/data/translations/countries-sr.yaml +254 -0
- data/lib/countries/data/translations/countries-sv.yaml +254 -0
- data/lib/countries/data/translations/countries-sw.yaml +254 -0
- data/lib/countries/data/translations/countries-ta.yaml +254 -0
- data/lib/countries/data/translations/countries-te.yaml +254 -0
- data/lib/countries/data/translations/countries-tg.yaml +254 -0
- data/lib/countries/data/translations/countries-th.yaml +254 -0
- data/lib/countries/data/translations/countries-ti.yaml +254 -0
- data/lib/countries/data/translations/countries-tk.yaml +254 -0
- data/lib/countries/data/translations/countries-tl.yaml +254 -0
- data/lib/countries/data/translations/countries-tr.yaml +254 -0
- data/lib/countries/data/translations/countries-tt.yaml +254 -0
- data/lib/countries/data/translations/countries-ug.yaml +254 -0
- data/lib/countries/data/translations/countries-uk.yaml +254 -0
- data/lib/countries/data/translations/countries-ur.yaml +254 -0
- data/lib/countries/data/translations/countries-uz.yaml +254 -0
- data/lib/countries/data/translations/countries-ve.yaml +254 -0
- data/lib/countries/data/translations/countries-vi.yaml +254 -0
- data/lib/countries/data/translations/countries-wa.yaml +254 -0
- data/lib/countries/data/translations/countries-wo.yaml +254 -0
- data/lib/countries/data/translations/countries-xh.yaml +254 -0
- data/lib/countries/data/translations/countries-yo.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
- data/lib/countries/data/translations/countries-zu.yaml +254 -0
- data/lib/countries/data.rb +14 -8
- data/lib/countries/iso3166.rb +0 -1
- data/lib/countries/sources/cldr/subdivision_updater.rb +1 -1
- data/lib/countries/subdivision.rb +19 -8
- data/lib/countries/version.rb +1 -1
- data/spec/country_spec.rb +63 -19
- data/spec/data_spec.rb +63 -5
- metadata +133 -24
- data/lib/countries/cache/locales/zh.json +0 -1
- data/lib/countries/data/subdivisions/AI.yaml +0 -197
- data/lib/countries/data/subdivisions/BM.yaml +0 -155
- data/lib/countries/data/subdivisions/CK.yaml +0 -155
- data/lib/countries/data/subdivisions/EH.yaml +0 -80
- data/lib/countries/data/subdivisions/SJ.yaml +0 -29
- data/lib/countries/data/subdivisions/TK.yaml +0 -43
- data/lib/countries/data/translation_corrections.yaml +0 -53
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
ALX:
|
3
3
|
name: Al Iskandariyah
|
4
|
-
code:
|
4
|
+
code: ALX
|
5
5
|
unofficial_names:
|
6
6
|
- El Iskandariya
|
7
7
|
- al-Iskandariyah
|
@@ -70,9 +70,10 @@ ALX:
|
|
70
70
|
bs: Aleksandrija
|
71
71
|
'no': Guvernementet Al Iskandariyah
|
72
72
|
comments:
|
73
|
+
type: governorate
|
73
74
|
ASN:
|
74
75
|
name: Aswan
|
75
|
-
code:
|
76
|
+
code: ASN
|
76
77
|
unofficial_names:
|
77
78
|
- Aswān
|
78
79
|
- Assuan
|
@@ -127,9 +128,10 @@ ASN:
|
|
127
128
|
bs: Asuan
|
128
129
|
'no': Aswan
|
129
130
|
comments:
|
131
|
+
type: governorate
|
130
132
|
AST:
|
131
133
|
name: Asyut
|
132
|
-
code:
|
134
|
+
code: AST
|
133
135
|
unofficial_names:
|
134
136
|
- Asiut
|
135
137
|
- Assyût
|
@@ -198,9 +200,10 @@ AST:
|
|
198
200
|
bs: Asyut
|
199
201
|
'no': Guvernementet Asyut
|
200
202
|
comments:
|
203
|
+
type: governorate
|
201
204
|
BA:
|
202
205
|
name: Al Bahr al Ahmar
|
203
|
-
code:
|
206
|
+
code: BA
|
204
207
|
unofficial_names:
|
205
208
|
- El Bahr el Ahmar
|
206
209
|
geo:
|
@@ -264,9 +267,10 @@ BA:
|
|
264
267
|
bs: Crveno more
|
265
268
|
'no': Guvernementet Al-Bahr al-Ahmar
|
266
269
|
comments:
|
270
|
+
type: governorate
|
267
271
|
BH:
|
268
272
|
name: Al Buhayrah
|
269
|
-
code:
|
273
|
+
code: BH
|
270
274
|
unofficial_names:
|
271
275
|
- El Buhayra
|
272
276
|
- al-Buh̨ayrah
|
@@ -333,9 +337,10 @@ BH:
|
|
333
337
|
bs: Beheira
|
334
338
|
'no': Guvernementet Al Buhayrah
|
335
339
|
comments:
|
340
|
+
type: governorate
|
336
341
|
BNS:
|
337
342
|
name: Bani Suwayf
|
338
|
-
code:
|
343
|
+
code: BNS
|
339
344
|
unofficial_names:
|
340
345
|
- Bani Suwayf
|
341
346
|
- Banī Suwayf
|
@@ -399,9 +404,10 @@ BNS:
|
|
399
404
|
bs: Beni Suef
|
400
405
|
'no': Guvernementet Bani Suwayf
|
401
406
|
comments:
|
407
|
+
type: governorate
|
402
408
|
C:
|
403
409
|
name: Al Qahirah
|
404
|
-
code:
|
410
|
+
code: C
|
405
411
|
unofficial_names:
|
406
412
|
- El Qahira
|
407
413
|
- Le Caire-sur-Mer
|
@@ -469,9 +475,10 @@ C:
|
|
469
475
|
bs: Kairo
|
470
476
|
'no': Guvernementet Al Qahirah
|
471
477
|
comments:
|
478
|
+
type: governorate
|
472
479
|
DK:
|
473
480
|
name: Ad Daqahliyah
|
474
|
-
code:
|
481
|
+
code: DK
|
475
482
|
unofficial_names:
|
476
483
|
- Dakahlia
|
477
484
|
- El Daqahliya
|
@@ -534,9 +541,10 @@ DK:
|
|
534
541
|
bs: Dakahlia
|
535
542
|
'no': Ad Daqahliyah
|
536
543
|
comments:
|
544
|
+
type: governorate
|
537
545
|
DT:
|
538
546
|
name: Dumyat
|
539
|
-
code:
|
547
|
+
code: DT
|
540
548
|
unofficial_names:
|
541
549
|
- Damiat
|
542
550
|
- Dumyat
|
@@ -599,9 +607,10 @@ DT:
|
|
599
607
|
bs: Damietta
|
600
608
|
'no': Guvernementet Dumyat
|
601
609
|
comments:
|
610
|
+
type: governorate
|
602
611
|
FYM:
|
603
612
|
name: Al Fayyum
|
604
|
-
code:
|
613
|
+
code: FYM
|
605
614
|
unofficial_names:
|
606
615
|
- El Faiyūm
|
607
616
|
- al-Fayyum
|
@@ -653,9 +662,10 @@ FYM:
|
|
653
662
|
bs: Faiyum
|
654
663
|
'no': Guvernementet Al Fayyum
|
655
664
|
comments:
|
665
|
+
type: governorate
|
656
666
|
GH:
|
657
667
|
name: Al Gharbiyah
|
658
|
-
code:
|
668
|
+
code: GH
|
659
669
|
unofficial_names:
|
660
670
|
- El Gharbiya
|
661
671
|
- Gharbiya
|
@@ -720,9 +730,10 @@ GH:
|
|
720
730
|
bs: Gharbia
|
721
731
|
'no': Guvernementet Al Gharbiyah
|
722
732
|
comments:
|
733
|
+
type: governorate
|
723
734
|
GZ:
|
724
735
|
name: Al Jizah
|
725
|
-
code:
|
736
|
+
code: GZ
|
726
737
|
unofficial_names:
|
727
738
|
- El Giza
|
728
739
|
- Gise
|
@@ -794,9 +805,10 @@ GZ:
|
|
794
805
|
bs: Giza
|
795
806
|
'no': Guvernementet Al Jizah
|
796
807
|
comments:
|
808
|
+
type: governorate
|
797
809
|
IS:
|
798
810
|
name: Al Ismā`īlīyah
|
799
|
-
code:
|
811
|
+
code: IS
|
800
812
|
unofficial_names:
|
801
813
|
- El Ismailia
|
802
814
|
- Ismaʿiliya
|
@@ -861,9 +873,10 @@ IS:
|
|
861
873
|
bs: Ismailija
|
862
874
|
'no': Guvernementet Al Isma’iliyah
|
863
875
|
comments:
|
876
|
+
type: governorate
|
864
877
|
JS:
|
865
878
|
name: Janub Sina'
|
866
|
-
code:
|
879
|
+
code: JS
|
867
880
|
unofficial_names:
|
868
881
|
- Sina al-Janūbīyah
|
869
882
|
- Sinai al-Janubiyah
|
@@ -930,9 +943,10 @@ JS:
|
|
930
943
|
mk: Јужен Синај
|
931
944
|
'no': Guvernementet Janub Sina’
|
932
945
|
comments:
|
946
|
+
type: governorate
|
933
947
|
KB:
|
934
948
|
name: Al Qalyubiyah
|
935
|
-
code:
|
949
|
+
code: KB
|
936
950
|
unofficial_names:
|
937
951
|
- El Qalubiya
|
938
952
|
- al-Qalyubiyah
|
@@ -993,9 +1007,10 @@ KB:
|
|
993
1007
|
bs: Qalyubia
|
994
1008
|
'no': Al Qalyubiyah
|
995
1009
|
comments:
|
1010
|
+
type: governorate
|
996
1011
|
KFS:
|
997
1012
|
name: Kafr ash Shaykh
|
998
|
-
code:
|
1013
|
+
code: KFS
|
999
1014
|
unofficial_names:
|
1000
1015
|
- Kafr-ash-Shaykh
|
1001
1016
|
- Kafr-aš-Šayẖ
|
@@ -1057,9 +1072,10 @@ KFS:
|
|
1057
1072
|
bs: Kafr el-Sheikh
|
1058
1073
|
'no': Kafr ash Shaykh
|
1059
1074
|
comments:
|
1075
|
+
type: governorate
|
1060
1076
|
KN:
|
1061
1077
|
name: Qina
|
1062
|
-
code:
|
1078
|
+
code: KN
|
1063
1079
|
unofficial_names:
|
1064
1080
|
- Qina
|
1065
1081
|
- Qinā
|
@@ -1122,9 +1138,10 @@ KN:
|
|
1122
1138
|
bs: Qena
|
1123
1139
|
'no': Guvernementet Qina
|
1124
1140
|
comments:
|
1141
|
+
type: governorate
|
1125
1142
|
LX:
|
1126
1143
|
name: al-Uqsur
|
1127
|
-
code:
|
1144
|
+
code: LX
|
1128
1145
|
unofficial_names:
|
1129
1146
|
- al-Uqsur
|
1130
1147
|
- al-Uqşur
|
@@ -1178,9 +1195,10 @@ LX:
|
|
1178
1195
|
bs: Luxor
|
1179
1196
|
'no': Guvernementet Luxor
|
1180
1197
|
comments:
|
1198
|
+
type: governorate
|
1181
1199
|
MN:
|
1182
1200
|
name: Al Minya
|
1183
|
-
code:
|
1201
|
+
code: MN
|
1184
1202
|
unofficial_names:
|
1185
1203
|
- El Minya
|
1186
1204
|
- Minia
|
@@ -1246,9 +1264,10 @@ MN:
|
|
1246
1264
|
bs: Minya
|
1247
1265
|
'no': Guvernementet Al Minya
|
1248
1266
|
comments:
|
1267
|
+
type: governorate
|
1249
1268
|
MNF:
|
1250
1269
|
name: Al Minufiyah
|
1251
|
-
code:
|
1270
|
+
code: MNF
|
1252
1271
|
unofficial_names:
|
1253
1272
|
- El Minufiya
|
1254
1273
|
- Menufiya
|
@@ -1313,9 +1332,10 @@ MNF:
|
|
1313
1332
|
bs: Monufia
|
1314
1333
|
'no': Guvernementet Al Minufiyah
|
1315
1334
|
comments:
|
1335
|
+
type: governorate
|
1316
1336
|
MT:
|
1317
1337
|
name: Matrūh
|
1318
|
-
code:
|
1338
|
+
code: MT
|
1319
1339
|
unofficial_names:
|
1320
1340
|
- Matrah
|
1321
1341
|
- Matrūh
|
@@ -1379,9 +1399,10 @@ MT:
|
|
1379
1399
|
mk: Матрух
|
1380
1400
|
'no': Guvernementet Matruh
|
1381
1401
|
comments:
|
1402
|
+
type: governorate
|
1382
1403
|
PTS:
|
1383
1404
|
name: Būr Sa`īd
|
1384
|
-
code:
|
1405
|
+
code: PTS
|
1385
1406
|
unofficial_names:
|
1386
1407
|
- Bur Said
|
1387
1408
|
- Būr Saʿīd
|
@@ -1442,9 +1463,10 @@ PTS:
|
|
1442
1463
|
bs: Port Said
|
1443
1464
|
'no': Bur Sa’id
|
1444
1465
|
comments:
|
1466
|
+
type: governorate
|
1445
1467
|
SHG:
|
1446
1468
|
name: Suhaj
|
1447
|
-
code:
|
1469
|
+
code: SHG
|
1448
1470
|
unofficial_names:
|
1449
1471
|
- Sawhaj
|
1450
1472
|
- Suhag
|
@@ -1510,9 +1532,10 @@ SHG:
|
|
1510
1532
|
bs: Sohag
|
1511
1533
|
'no': Suhaj
|
1512
1534
|
comments:
|
1535
|
+
type: governorate
|
1513
1536
|
SHR:
|
1514
1537
|
name: Ash Sharqiyah
|
1515
|
-
code:
|
1538
|
+
code: SHR
|
1516
1539
|
unofficial_names:
|
1517
1540
|
- ash-Sharqiyah
|
1518
1541
|
- aš-Šarqīyah
|
@@ -1574,9 +1597,10 @@ SHR:
|
|
1574
1597
|
bs: Sharqia
|
1575
1598
|
'no': Ash Sharqiyah
|
1576
1599
|
comments:
|
1600
|
+
type: governorate
|
1577
1601
|
SIN:
|
1578
1602
|
name: Shamal Sina'
|
1579
|
-
code:
|
1603
|
+
code: SIN
|
1580
1604
|
unofficial_names:
|
1581
1605
|
- Shamal Sina
|
1582
1606
|
- Sina aš-Šamālīyah
|
@@ -1643,9 +1667,10 @@ SIN:
|
|
1643
1667
|
mk: Северен Синај
|
1644
1668
|
'no': Guvernementet Shamal Sina’
|
1645
1669
|
comments:
|
1670
|
+
type: governorate
|
1646
1671
|
SUZ:
|
1647
1672
|
name: As Suways
|
1648
|
-
code:
|
1673
|
+
code: SUZ
|
1649
1674
|
unofficial_names:
|
1650
1675
|
- El Suweiz
|
1651
1676
|
- as-Suways
|
@@ -1707,9 +1732,10 @@ SUZ:
|
|
1707
1732
|
bs: Suez
|
1708
1733
|
'no': As Suways
|
1709
1734
|
comments:
|
1735
|
+
type: governorate
|
1710
1736
|
WAD:
|
1711
1737
|
name: Al Wadi al Jadid
|
1712
|
-
code:
|
1738
|
+
code: WAD
|
1713
1739
|
unofficial_names:
|
1714
1740
|
- El Wadi el Jadid
|
1715
1741
|
- El Wadi el Jedid
|
@@ -1773,3 +1799,4 @@ WAD:
|
|
1773
1799
|
bs: Nova Dolina
|
1774
1800
|
'no': Guvernementet Al Wadi al Jadid
|
1775
1801
|
comments:
|
1802
|
+
type: governorate
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AN:
|
3
3
|
name: Anseba
|
4
|
-
code:
|
4
|
+
code: AN
|
5
5
|
unofficial_names: Anseba
|
6
6
|
geo:
|
7
7
|
latitude: 16.4745531
|
@@ -59,9 +59,10 @@ AN:
|
|
59
59
|
yue: 安塞巴地區
|
60
60
|
'no': Anseba
|
61
61
|
comments:
|
62
|
+
type: region
|
62
63
|
DK:
|
63
64
|
name: Debubawi Keyih Bahri [Debub-Keih-Bahri]
|
64
|
-
code:
|
65
|
+
code: DK
|
65
66
|
unofficial_names: Debubawi Keyih Bahri [Debub-Keih-Bahri]
|
66
67
|
geo:
|
67
68
|
latitude: 13.5137103
|
@@ -120,9 +121,10 @@ DK:
|
|
120
121
|
yue: 南紅海地區
|
121
122
|
'no': Debubawi Keyih Bahri
|
122
123
|
comments:
|
124
|
+
type: region
|
123
125
|
DU:
|
124
126
|
name: Debub
|
125
|
-
code:
|
127
|
+
code: DU
|
126
128
|
unofficial_names: Debub
|
127
129
|
geo:
|
128
130
|
latitude: 14.9478692
|
@@ -180,9 +182,10 @@ DU:
|
|
180
182
|
yue: 南部地區
|
181
183
|
'no': Debub
|
182
184
|
comments:
|
185
|
+
type: region
|
183
186
|
GB:
|
184
187
|
name: Gash-Barka
|
185
|
-
code:
|
188
|
+
code: GB
|
186
189
|
unofficial_names: Gash-Barka
|
187
190
|
geo:
|
188
191
|
latitude: 15.4068825
|
@@ -239,9 +242,10 @@ GB:
|
|
239
242
|
yue: 加什-巴爾卡地區
|
240
243
|
'no': Gash-Barka
|
241
244
|
comments:
|
245
|
+
type: region
|
242
246
|
MA:
|
243
247
|
name: Maakel [Maekel]
|
244
|
-
code:
|
248
|
+
code: MA
|
245
249
|
unofficial_names: Maakel [Maekel]
|
246
250
|
geo:
|
247
251
|
latitude: 15.3551409
|
@@ -299,9 +303,10 @@ MA:
|
|
299
303
|
yue: 中部地區
|
300
304
|
'no': Maekel
|
301
305
|
comments:
|
306
|
+
type: region
|
302
307
|
SK:
|
303
308
|
name: Semenawi Keyih Bahri [Semien-Keih-Bahri]
|
304
|
-
code:
|
309
|
+
code: SK
|
305
310
|
unofficial_names: Semenawi Keyih Bahri [Semien-Keih-Bahri]
|
306
311
|
geo:
|
307
312
|
latitude: 16.2583997
|
@@ -359,3 +364,4 @@ SK:
|
|
359
364
|
yue: 北紅海地區
|
360
365
|
'no': Semenawi Keyih Bahri
|
361
366
|
comments:
|
367
|
+
type: region
|