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
|
'01':
|
3
3
|
name: Blagoevgrad
|
4
|
-
code:
|
4
|
+
code: '01'
|
5
5
|
unofficial_names: Blagoevgrad
|
6
6
|
geo:
|
7
7
|
latitude: 42.0208569
|
@@ -73,9 +73,10 @@
|
|
73
73
|
mk: Благоевградска област
|
74
74
|
'no': Blagoevgrad oblast
|
75
75
|
comments:
|
76
|
+
type: district
|
76
77
|
'02':
|
77
78
|
name: Burgas
|
78
|
-
code:
|
79
|
+
code: '02'
|
79
80
|
unofficial_names: Burgas
|
80
81
|
geo:
|
81
82
|
latitude: 42.50479259999999
|
@@ -147,9 +148,10 @@
|
|
147
148
|
mk: Бургаска област
|
148
149
|
'no': Burgas oblast
|
149
150
|
comments:
|
151
|
+
type: district
|
150
152
|
'03':
|
151
153
|
name: Varna
|
152
|
-
code:
|
154
|
+
code: '03'
|
153
155
|
unofficial_names: Varna
|
154
156
|
geo:
|
155
157
|
latitude: 43.2140504
|
@@ -210,9 +212,10 @@
|
|
210
212
|
mk: Варненска област
|
211
213
|
'no': Varna oblast
|
212
214
|
comments:
|
215
|
+
type: district
|
213
216
|
'04':
|
214
217
|
name: Veliko Tarnovo
|
215
|
-
code:
|
218
|
+
code: '04'
|
216
219
|
unofficial_names: Veliko Tarnovo
|
217
220
|
geo:
|
218
221
|
latitude: 43.0756739
|
@@ -283,9 +286,10 @@
|
|
283
286
|
mk: Великотрновска област
|
284
287
|
'no': Veliko Tarnovo oblast
|
285
288
|
comments:
|
289
|
+
type: district
|
286
290
|
'05':
|
287
291
|
name: Vidin
|
288
|
-
code:
|
292
|
+
code: '05'
|
289
293
|
unofficial_names: Vidin
|
290
294
|
geo:
|
291
295
|
latitude: 43.996159
|
@@ -357,9 +361,10 @@
|
|
357
361
|
mk: Видинска област
|
358
362
|
'no': Vidin oblast
|
359
363
|
comments:
|
364
|
+
type: district
|
360
365
|
'06':
|
361
366
|
name: Vratsa
|
362
|
-
code:
|
367
|
+
code: '06'
|
363
368
|
unofficial_names: Vratsa
|
364
369
|
geo:
|
365
370
|
latitude: 43.2102375
|
@@ -432,9 +437,10 @@
|
|
432
437
|
mk: Врачанска област
|
433
438
|
'no': Vratsa oblast
|
434
439
|
comments:
|
440
|
+
type: district
|
435
441
|
'07':
|
436
442
|
name: Gabrovo
|
437
|
-
code:
|
443
|
+
code: '07'
|
438
444
|
unofficial_names: Gabrovo
|
439
445
|
geo:
|
440
446
|
latitude: 42.8742212
|
@@ -505,9 +511,10 @@
|
|
505
511
|
mk: Габровска област
|
506
512
|
'no': Gabrovo oblast
|
507
513
|
comments:
|
514
|
+
type: district
|
508
515
|
'08':
|
509
516
|
name: Dobrich
|
510
|
-
code:
|
517
|
+
code: '08'
|
511
518
|
unofficial_names: Dobrich
|
512
519
|
geo:
|
513
520
|
latitude: 43.57259
|
@@ -578,9 +585,10 @@
|
|
578
585
|
mk: Добричка област
|
579
586
|
'no': Dobritsj oblast
|
580
587
|
comments:
|
588
|
+
type: district
|
581
589
|
'09':
|
582
590
|
name: Kardzhali
|
583
|
-
code:
|
591
|
+
code: '09'
|
584
592
|
unofficial_names: Kardzhali
|
585
593
|
geo:
|
586
594
|
latitude: 41.6338439
|
@@ -652,9 +660,10 @@
|
|
652
660
|
mk: Крџалиска област
|
653
661
|
'no': Kardzhali provins
|
654
662
|
comments:
|
663
|
+
type: district
|
655
664
|
'10':
|
656
665
|
name: Kjustendil
|
657
|
-
code:
|
666
|
+
code: '10'
|
658
667
|
unofficial_names: Kjustendil
|
659
668
|
geo:
|
660
669
|
latitude: 42.2868817
|
@@ -724,9 +733,10 @@
|
|
724
733
|
mk: Ќустендилска област
|
725
734
|
'no': Kyustendil provins
|
726
735
|
comments:
|
736
|
+
type: district
|
727
737
|
'11':
|
728
738
|
name: Lovech
|
729
|
-
code:
|
739
|
+
code: '11'
|
730
740
|
unofficial_names: Lovech
|
731
741
|
geo:
|
732
742
|
latitude: 43.1369534
|
@@ -797,9 +807,10 @@
|
|
797
807
|
mk: Ловечка област
|
798
808
|
'no': Lovetsj oblast
|
799
809
|
comments:
|
810
|
+
type: district
|
800
811
|
'12':
|
801
812
|
name: Montana
|
802
|
-
code:
|
813
|
+
code: '12'
|
803
814
|
unofficial_names: Montana
|
804
815
|
geo:
|
805
816
|
latitude: 43.4085161
|
@@ -859,9 +870,10 @@
|
|
859
870
|
mk: Монтанска област
|
860
871
|
'no': Montana oblast
|
861
872
|
comments:
|
873
|
+
type: district
|
862
874
|
'13':
|
863
875
|
name: Pazardzhik
|
864
|
-
code:
|
876
|
+
code: '13'
|
865
877
|
unofficial_names: Pazardzhik
|
866
878
|
geo:
|
867
879
|
latitude: 42.1927654
|
@@ -932,9 +944,10 @@
|
|
932
944
|
mk: Пазарџичка област
|
933
945
|
'no': Pazardzhik provins
|
934
946
|
comments:
|
947
|
+
type: district
|
935
948
|
'14':
|
936
949
|
name: Pernik
|
937
|
-
code:
|
950
|
+
code: '14'
|
938
951
|
unofficial_names: Pernik
|
939
952
|
geo:
|
940
953
|
latitude: 42.6051862
|
@@ -1005,9 +1018,10 @@
|
|
1005
1018
|
mk: Перничка област
|
1006
1019
|
'no': Pernik oblast
|
1007
1020
|
comments:
|
1021
|
+
type: district
|
1008
1022
|
'15':
|
1009
1023
|
name: Pleven
|
1010
|
-
code:
|
1024
|
+
code: '15'
|
1011
1025
|
unofficial_names: Pleven
|
1012
1026
|
geo:
|
1013
1027
|
latitude: 43.4170423
|
@@ -1078,9 +1092,10 @@
|
|
1078
1092
|
mk: Плевенска област
|
1079
1093
|
'no': Pleven oblast
|
1080
1094
|
comments:
|
1095
|
+
type: district
|
1081
1096
|
'16':
|
1082
1097
|
name: Plovdiv
|
1083
|
-
code:
|
1098
|
+
code: '16'
|
1084
1099
|
unofficial_names: Plovdiv
|
1085
1100
|
geo:
|
1086
1101
|
latitude: 42.1354079
|
@@ -1151,9 +1166,10 @@
|
|
1151
1166
|
mk: Пловдивска област
|
1152
1167
|
'no': Plovdiv oblast
|
1153
1168
|
comments:
|
1169
|
+
type: district
|
1154
1170
|
'17':
|
1155
1171
|
name: Razgrad
|
1156
|
-
code:
|
1172
|
+
code: '17'
|
1157
1173
|
unofficial_names: Razgrad
|
1158
1174
|
geo:
|
1159
1175
|
latitude: 43.53367189999999
|
@@ -1224,9 +1240,10 @@
|
|
1224
1240
|
mk: Разградска област
|
1225
1241
|
'no': Razgrad oblast
|
1226
1242
|
comments:
|
1243
|
+
type: district
|
1227
1244
|
'18':
|
1228
1245
|
name: Ruse
|
1229
|
-
code:
|
1246
|
+
code: '18'
|
1230
1247
|
unofficial_names: Ruse
|
1231
1248
|
geo:
|
1232
1249
|
latitude: 43.83557130000001
|
@@ -1297,9 +1314,10 @@
|
|
1297
1314
|
mk: Русенска област
|
1298
1315
|
'no': Ruse oblast
|
1299
1316
|
comments:
|
1317
|
+
type: district
|
1300
1318
|
'19':
|
1301
1319
|
name: Silistra
|
1302
|
-
code:
|
1320
|
+
code: '19'
|
1303
1321
|
unofficial_names: Silistra
|
1304
1322
|
geo:
|
1305
1323
|
latitude: 44.1147271
|
@@ -1370,9 +1388,10 @@
|
|
1370
1388
|
mk: Силистренска област
|
1371
1389
|
'no': Silistra oblast
|
1372
1390
|
comments:
|
1391
|
+
type: district
|
1373
1392
|
'20':
|
1374
1393
|
name: Sliven
|
1375
|
-
code:
|
1394
|
+
code: '20'
|
1376
1395
|
unofficial_names: Sliven
|
1377
1396
|
geo:
|
1378
1397
|
latitude: 42.6816536
|
@@ -1443,9 +1462,10 @@
|
|
1443
1462
|
mk: Сливенска област
|
1444
1463
|
'no': Sliven oblast
|
1445
1464
|
comments:
|
1465
|
+
type: district
|
1446
1466
|
'21':
|
1447
1467
|
name: Smolyan
|
1448
|
-
code:
|
1468
|
+
code: '21'
|
1449
1469
|
unofficial_names: Smolyan
|
1450
1470
|
geo:
|
1451
1471
|
latitude: 41.5774233
|
@@ -1516,9 +1536,10 @@
|
|
1516
1536
|
mk: Смолјанска област
|
1517
1537
|
'no': Smoljan oblast
|
1518
1538
|
comments:
|
1539
|
+
type: district
|
1519
1540
|
'22':
|
1520
1541
|
name: Sofia-Grad
|
1521
|
-
code:
|
1542
|
+
code: '22'
|
1522
1543
|
unofficial_names: Sofia-Grad
|
1523
1544
|
geo:
|
1524
1545
|
latitude: 42.6977082
|
@@ -1560,9 +1581,10 @@
|
|
1560
1581
|
bs: Oblast Sofija-grad
|
1561
1582
|
mk: Софија-град
|
1562
1583
|
comments:
|
1584
|
+
type: district
|
1563
1585
|
'23':
|
1564
1586
|
name: Sofia
|
1565
|
-
code:
|
1587
|
+
code: '23'
|
1566
1588
|
unofficial_names: Sofia
|
1567
1589
|
geo:
|
1568
1590
|
latitude: 42.6977082
|
@@ -1652,9 +1674,10 @@
|
|
1652
1674
|
'no': Sofia provins
|
1653
1675
|
yo_BJ: Sofia
|
1654
1676
|
comments:
|
1677
|
+
type: district
|
1655
1678
|
'24':
|
1656
1679
|
name: Stara Zagora
|
1657
|
-
code:
|
1680
|
+
code: '24'
|
1658
1681
|
unofficial_names: Stara Zagora
|
1659
1682
|
geo:
|
1660
1683
|
latitude: 42.4257769
|
@@ -1724,9 +1747,10 @@
|
|
1724
1747
|
mk: Старозагорска област
|
1725
1748
|
'no': Stara Zagora oblast
|
1726
1749
|
comments:
|
1750
|
+
type: district
|
1727
1751
|
'25':
|
1728
1752
|
name: Targovishte
|
1729
|
-
code:
|
1753
|
+
code: '25'
|
1730
1754
|
unofficial_names: Targovishte
|
1731
1755
|
geo:
|
1732
1756
|
latitude: 43.2493556
|
@@ -1797,9 +1821,10 @@
|
|
1797
1821
|
mk: Трговишка област
|
1798
1822
|
'no': Targovishte provins
|
1799
1823
|
comments:
|
1824
|
+
type: district
|
1800
1825
|
'26':
|
1801
1826
|
name: Haskovo
|
1802
|
-
code:
|
1827
|
+
code: '26'
|
1803
1828
|
unofficial_names: Haskovo
|
1804
1829
|
geo:
|
1805
1830
|
latitude: 41.9344366
|
@@ -1870,9 +1895,10 @@
|
|
1870
1895
|
mk: Хасковска област
|
1871
1896
|
'no': Haskovo oblast
|
1872
1897
|
comments:
|
1898
|
+
type: district
|
1873
1899
|
'27':
|
1874
1900
|
name: Šumen
|
1875
|
-
code:
|
1901
|
+
code: '27'
|
1876
1902
|
unofficial_names: Šumen
|
1877
1903
|
geo:
|
1878
1904
|
latitude: 43.2712398
|
@@ -1943,9 +1969,10 @@
|
|
1943
1969
|
mk: Шуменска област
|
1944
1970
|
'no': Sjumen oblast
|
1945
1971
|
comments:
|
1972
|
+
type: district
|
1946
1973
|
'28':
|
1947
1974
|
name: Yambol
|
1948
|
-
code:
|
1975
|
+
code: '28'
|
1949
1976
|
unofficial_names: Yambol
|
1950
1977
|
geo:
|
1951
1978
|
latitude: 42.48419990000001
|
@@ -2017,3 +2044,4 @@
|
|
2017
2044
|
mk: Јамболска област
|
2018
2045
|
'no': Jambol oblast
|
2019
2046
|
comments:
|
2047
|
+
type: district
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
'13':
|
3
3
|
name: Al Manamah (Al ‘Asimah)
|
4
|
-
code:
|
4
|
+
code: '13'
|
5
5
|
unofficial_names:
|
6
6
|
- Manāmah
|
7
7
|
- al-Manāmah
|
@@ -45,9 +45,10 @@
|
|
45
45
|
ca: Governació de la Capital
|
46
46
|
'no': Hovedstadsguvernementet
|
47
47
|
comments:
|
48
|
+
type: governorate
|
48
49
|
'14':
|
49
50
|
name: Al Janubiyah
|
50
|
-
code:
|
51
|
+
code: '14'
|
51
52
|
unofficial_names:
|
52
53
|
- Eastern
|
53
54
|
- Hawa
|
@@ -92,9 +93,10 @@
|
|
92
93
|
ca: Governació del Sud
|
93
94
|
'no': Sørlige guvernement
|
94
95
|
comments:
|
96
|
+
type: governorate
|
95
97
|
'15':
|
96
98
|
name: Al Muharraq
|
97
|
-
code:
|
99
|
+
code: '15'
|
98
100
|
unofficial_names: Al Muharraq
|
99
101
|
geo:
|
100
102
|
latitude: 26.266941
|
@@ -149,26 +151,10 @@
|
|
149
151
|
uk: Муніципалітет Мухаррак
|
150
152
|
'no': Muharraq guvernement
|
151
153
|
comments:
|
152
|
-
|
153
|
-
name: Al Wustá
|
154
|
-
code:
|
155
|
-
unofficial_names:
|
156
|
-
- Central
|
157
|
-
- al-Mintaqah al-Wusta
|
158
|
-
geo:
|
159
|
-
latitude: 26.1426093
|
160
|
-
longitude: 50.5653294
|
161
|
-
min_latitude: 26.096567
|
162
|
-
min_longitude: 50.5095921
|
163
|
-
max_latitude: 26.1932879
|
164
|
-
max_longitude: 50.671664
|
165
|
-
translations:
|
166
|
-
en: Central
|
167
|
-
ccp: "\U00011125\U0001112C\U0001111A\U00011111\U00011133\U00011122\U00011123\U00011134"
|
168
|
-
comments:
|
154
|
+
type: governorate
|
169
155
|
'17':
|
170
156
|
name: Ash Shamaliyah
|
171
|
-
code:
|
157
|
+
code: '17'
|
172
158
|
unofficial_names:
|
173
159
|
- Northern
|
174
160
|
- al-Mintaqa ash Shamaliyah
|
@@ -209,3 +195,4 @@
|
|
209
195
|
ca: Governació del Nord
|
210
196
|
'no': Nordlige guvernement
|
211
197
|
comments:
|
198
|
+
type: governorate
|