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
|
AB:
|
3
3
|
name: Stockholms län
|
4
|
-
code:
|
4
|
+
code: AB
|
5
5
|
unofficial_names: Stockholms län
|
6
6
|
geo:
|
7
7
|
latitude: 59.60249579999999
|
@@ -70,9 +70,10 @@ AB:
|
|
70
70
|
mk: Стокхолм
|
71
71
|
'no': Stockholms län
|
72
72
|
comments:
|
73
|
+
type: county
|
73
74
|
AC:
|
74
75
|
name: Västerbottens län
|
75
|
-
code:
|
76
|
+
code: AC
|
76
77
|
unofficial_names: Västerbottens län
|
77
78
|
geo:
|
78
79
|
latitude: 65.3337311
|
@@ -138,9 +139,10 @@ AC:
|
|
138
139
|
mk: Вестерботен
|
139
140
|
'no': Västerbottens län
|
140
141
|
comments:
|
142
|
+
type: county
|
141
143
|
BD:
|
142
144
|
name: Norrbottens län
|
143
|
-
code:
|
145
|
+
code: BD
|
144
146
|
unofficial_names: Norrbottens län
|
145
147
|
geo:
|
146
148
|
latitude: 66.8309216
|
@@ -208,9 +210,10 @@ BD:
|
|
208
210
|
mk: Норботен
|
209
211
|
'no': Norrbottens län
|
210
212
|
comments:
|
213
|
+
type: county
|
211
214
|
C:
|
212
215
|
name: Uppsala län
|
213
|
-
code:
|
216
|
+
code: C
|
214
217
|
unofficial_names: Uppsala län
|
215
218
|
geo:
|
216
219
|
latitude: 60.00922619999999
|
@@ -280,9 +283,10 @@ C:
|
|
280
283
|
mk: Упсала
|
281
284
|
'no': Uppsala län
|
282
285
|
comments:
|
286
|
+
type: county
|
283
287
|
D:
|
284
288
|
name: Södermanlands län
|
285
|
-
code:
|
289
|
+
code: D
|
286
290
|
unofficial_names: Södermanlands län
|
287
291
|
geo:
|
288
292
|
latitude: 59.03363489999999
|
@@ -350,9 +354,10 @@ D:
|
|
350
354
|
mk: Седерманланд
|
351
355
|
'no': Södermanlands län
|
352
356
|
comments:
|
357
|
+
type: county
|
353
358
|
E:
|
354
359
|
name: Östergötlands län
|
355
|
-
code:
|
360
|
+
code: E
|
356
361
|
unofficial_names: Östergötlands län
|
357
362
|
geo:
|
358
363
|
latitude: 58.3453635
|
@@ -420,9 +425,10 @@ E:
|
|
420
425
|
mk: Естерјетланд
|
421
426
|
'no': Östergötlands län
|
422
427
|
comments:
|
428
|
+
type: county
|
423
429
|
F:
|
424
430
|
name: Jönköpings län
|
425
|
-
code:
|
431
|
+
code: F
|
426
432
|
unofficial_names: Jönköpings län
|
427
433
|
geo:
|
428
434
|
latitude: 57.3708434
|
@@ -490,9 +496,10 @@ F:
|
|
490
496
|
mk: Јеншепинг
|
491
497
|
'no': Jönköpings län
|
492
498
|
comments:
|
499
|
+
type: county
|
493
500
|
G:
|
494
501
|
name: Kronobergs län
|
495
|
-
code:
|
502
|
+
code: G
|
496
503
|
unofficial_names: Kronobergs län
|
497
504
|
geo:
|
498
505
|
latitude: 56.71834029999999
|
@@ -558,9 +565,10 @@ G:
|
|
558
565
|
mk: Крунуберг
|
559
566
|
'no': Kronobergs län
|
560
567
|
comments:
|
568
|
+
type: county
|
561
569
|
H:
|
562
570
|
name: Kalmar län
|
563
|
-
code:
|
571
|
+
code: H
|
564
572
|
unofficial_names:
|
565
573
|
- Calmar
|
566
574
|
geo:
|
@@ -627,9 +635,10 @@ H:
|
|
627
635
|
mk: Калмар
|
628
636
|
'no': Kalmar län
|
629
637
|
comments:
|
638
|
+
type: county
|
630
639
|
I:
|
631
640
|
name: Gotlands län
|
632
|
-
code:
|
641
|
+
code: I
|
633
642
|
unofficial_names: Gotlands län
|
634
643
|
geo:
|
635
644
|
latitude: 57.46841209999999
|
@@ -696,9 +705,10 @@ I:
|
|
696
705
|
mk: Готланд
|
697
706
|
'no': Gotlands län
|
698
707
|
comments:
|
708
|
+
type: county
|
699
709
|
K:
|
700
710
|
name: Blekinge län
|
701
|
-
code:
|
711
|
+
code: K
|
702
712
|
unofficial_names: Blekinge län
|
703
713
|
geo:
|
704
714
|
latitude: 56.2783837
|
@@ -765,9 +775,10 @@ K:
|
|
765
775
|
mk: Блекинге
|
766
776
|
'no': Blekinge län
|
767
777
|
comments:
|
778
|
+
type: county
|
768
779
|
M:
|
769
780
|
name: Skåne län
|
770
|
-
code:
|
781
|
+
code: M
|
771
782
|
unofficial_names:
|
772
783
|
- Scania
|
773
784
|
geo:
|
@@ -837,9 +848,10 @@ M:
|
|
837
848
|
mk: Сконе
|
838
849
|
'no': Skåne län
|
839
850
|
comments:
|
851
|
+
type: county
|
840
852
|
N:
|
841
853
|
name: Hallands län
|
842
|
-
code:
|
854
|
+
code: N
|
843
855
|
unofficial_names: Hallands län
|
844
856
|
geo:
|
845
857
|
latitude: 56.8966805
|
@@ -906,9 +918,10 @@ N:
|
|
906
918
|
mk: Халанд
|
907
919
|
'no': Hallands län
|
908
920
|
comments:
|
921
|
+
type: county
|
909
922
|
O:
|
910
923
|
name: Västra Götalands län
|
911
|
-
code:
|
924
|
+
code: O
|
912
925
|
unofficial_names: Västra Götalands län
|
913
926
|
geo:
|
914
927
|
latitude: 58.2527926
|
@@ -977,9 +990,10 @@ O:
|
|
977
990
|
mk: Вестра Јеталанд
|
978
991
|
'no': Västra Götalands län
|
979
992
|
comments:
|
993
|
+
type: county
|
980
994
|
S:
|
981
995
|
name: Värmlands län
|
982
|
-
code:
|
996
|
+
code: S
|
983
997
|
unofficial_names: Värmlands län
|
984
998
|
geo:
|
985
999
|
latitude: 59.7294065
|
@@ -1046,9 +1060,10 @@ S:
|
|
1046
1060
|
mk: Вермланд
|
1047
1061
|
'no': Värmlands län
|
1048
1062
|
comments:
|
1063
|
+
type: county
|
1049
1064
|
T:
|
1050
1065
|
name: Örebro län
|
1051
|
-
code:
|
1066
|
+
code: T
|
1052
1067
|
unofficial_names: Örebro län
|
1053
1068
|
geo:
|
1054
1069
|
latitude: 59.535036
|
@@ -1117,9 +1132,10 @@ T:
|
|
1117
1132
|
mk: Еребру
|
1118
1133
|
'no': Örebro län
|
1119
1134
|
comments:
|
1135
|
+
type: county
|
1120
1136
|
U:
|
1121
1137
|
name: Västmanlands län
|
1122
|
-
code:
|
1138
|
+
code: U
|
1123
1139
|
unofficial_names: Västmanlands län
|
1124
1140
|
geo:
|
1125
1141
|
latitude: 59.6713879
|
@@ -1185,9 +1201,10 @@ U:
|
|
1185
1201
|
mk: Вестманланд
|
1186
1202
|
'no': Västmanlands län
|
1187
1203
|
comments:
|
1204
|
+
type: county
|
1188
1205
|
W:
|
1189
1206
|
name: Dalarnas län
|
1190
|
-
code:
|
1207
|
+
code: W
|
1191
1208
|
unofficial_names:
|
1192
1209
|
- Dalarnas
|
1193
1210
|
- Dalecarlia
|
@@ -1257,9 +1274,10 @@ W:
|
|
1257
1274
|
mk: Даларна
|
1258
1275
|
'no': Dalarnas län
|
1259
1276
|
comments:
|
1277
|
+
type: county
|
1260
1278
|
X:
|
1261
1279
|
name: Gävleborgs län
|
1262
|
-
code:
|
1280
|
+
code: X
|
1263
1281
|
unofficial_names: Gävleborgs län
|
1264
1282
|
geo:
|
1265
1283
|
latitude: 61.30119930000001
|
@@ -1325,9 +1343,10 @@ X:
|
|
1325
1343
|
mk: Јевлеборг
|
1326
1344
|
'no': Gävleborgs län
|
1327
1345
|
comments:
|
1346
|
+
type: county
|
1328
1347
|
Y:
|
1329
1348
|
name: Västernorrlands län
|
1330
|
-
code:
|
1349
|
+
code: Y
|
1331
1350
|
unofficial_names: Västernorrlands län
|
1332
1351
|
geo:
|
1333
1352
|
latitude: 63.4276473
|
@@ -1392,9 +1411,10 @@ Y:
|
|
1392
1411
|
mk: Вестернорланд
|
1393
1412
|
'no': Västernorrlands län
|
1394
1413
|
comments:
|
1414
|
+
type: county
|
1395
1415
|
Z:
|
1396
1416
|
name: Jämtlands län
|
1397
|
-
code:
|
1417
|
+
code: Z
|
1398
1418
|
unofficial_names: Jämtlands län
|
1399
1419
|
geo:
|
1400
1420
|
latitude: 63.1711922
|
@@ -1460,3 +1480,4 @@ Z:
|
|
1460
1480
|
mk: Јемтланд
|
1461
1481
|
'no': Jämtlands län
|
1462
1482
|
comments:
|
1483
|
+
type: county
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
2
|
+
'01':
|
3
3
|
name: Central Singapore
|
4
|
-
code:
|
4
|
+
code: '01'
|
5
5
|
unofficial_names: Central Singapore
|
6
6
|
geo:
|
7
7
|
latitude: 1.3418329
|
@@ -23,9 +23,10 @@ SG-01:
|
|
23
23
|
\U00011125\U00011128\U00011101\U00011109\U0001111B\U0001112A\U00011122\U00011134"
|
24
24
|
fr: Singapour central
|
25
25
|
comments:
|
26
|
-
|
26
|
+
type: district
|
27
|
+
'02':
|
27
28
|
name: North East
|
28
|
-
code:
|
29
|
+
code: '02'
|
29
30
|
unofficial_names: North East
|
30
31
|
geo:
|
31
32
|
latitude: 1.352083
|
@@ -48,9 +49,10 @@ SG-02:
|
|
48
49
|
\U0001111B\U0001112A\U00011107\U00011134"
|
49
50
|
fr: District du Nord-Est
|
50
51
|
comments:
|
51
|
-
|
52
|
+
type: district
|
53
|
+
'03':
|
52
54
|
name: North West
|
53
|
-
code:
|
55
|
+
code: '03'
|
54
56
|
unofficial_names: North West
|
55
57
|
geo:
|
56
58
|
latitude: 1.3537604
|
@@ -71,9 +73,10 @@ SG-03:
|
|
71
73
|
\U0001111B\U00011127\U0001110F\U00011128\U0001111F\U00011134"
|
72
74
|
fr: District du Nord-Ouest
|
73
75
|
comments:
|
74
|
-
|
76
|
+
type: district
|
77
|
+
'04':
|
75
78
|
name: South East
|
76
|
-
code:
|
79
|
+
code: '04'
|
77
80
|
unofficial_names: South East
|
78
81
|
geo:
|
79
82
|
latitude: 1.352083
|
@@ -94,9 +97,10 @@ SG-04:
|
|
94
97
|
ccp: "\U00011118\U00011127\U0001110A\U00011128\U0001111A\U00011134 \U0001111B\U0001112A\U00011107\U00011134"
|
95
98
|
fr: District du Sud-Est
|
96
99
|
comments:
|
97
|
-
|
100
|
+
type: district
|
101
|
+
'05':
|
98
102
|
name: South West
|
99
|
-
code:
|
103
|
+
code: '05'
|
100
104
|
unofficial_names: South West
|
101
105
|
geo:
|
102
106
|
latitude: 1.352083
|
@@ -117,3 +121,4 @@ SG-05:
|
|
117
121
|
ccp: "\U00011118\U00011127\U0001110A\U00011128\U0001111A\U00011134 \U0001111B\U00011127\U0001110F\U00011128\U0001111F\U00011134"
|
118
122
|
fr: District du Sud-Ouest
|
119
123
|
comments:
|
124
|
+
type: district
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AC:
|
3
3
|
name: Ascension
|
4
|
-
code:
|
4
|
+
code: AC
|
5
5
|
unofficial_names: Ascension
|
6
6
|
geo:
|
7
7
|
latitude: -7.946716599999999
|
@@ -85,39 +85,10 @@ AC:
|
|
85
85
|
mk: Вознесение
|
86
86
|
'no': Ascension
|
87
87
|
comments:
|
88
|
-
|
89
|
-
name: Saint Helena
|
90
|
-
code:
|
91
|
-
unofficial_names: Saint Helena
|
92
|
-
geo:
|
93
|
-
latitude: -15.9650104
|
94
|
-
longitude: -5.7089241
|
95
|
-
min_latitude: -16.0203149
|
96
|
-
min_longitude: -5.7874086
|
97
|
-
max_latitude: -15.9038239
|
98
|
-
max_longitude: -5.639430099999999
|
99
|
-
translations:
|
100
|
-
en: Saint Helena
|
101
|
-
comments:
|
102
|
-
TA:
|
103
|
-
name: Tristan da Cunha
|
104
|
-
code:
|
105
|
-
unofficial_names: Tristan da Cunha
|
106
|
-
geo:
|
107
|
-
latitude: -37.1052489
|
108
|
-
longitude: -12.2776838
|
109
|
-
min_latitude: -37.1702333
|
110
|
-
min_longitude: -12.3511792
|
111
|
-
max_latitude: -37.0621779
|
112
|
-
max_longitude: -12.2167732
|
113
|
-
translations:
|
114
|
-
en: Tristan da Cunha
|
115
|
-
ccp: "\U00011111\U00011133\U00011122\U00011128\U0001110C\U00011134\U00011111\U0001111A\U00011134
|
116
|
-
\U00011113 \U00011107\U0001112A\U0001111A\U00011134\U00011126"
|
117
|
-
comments:
|
88
|
+
type: geographical_entity
|
118
89
|
HL:
|
119
90
|
name: Saint Helena
|
120
|
-
code:
|
91
|
+
code: HL
|
121
92
|
unofficial_names:
|
122
93
|
geo:
|
123
94
|
latitude:
|
@@ -202,3 +173,21 @@ HL:
|
|
202
173
|
'no': St. Helena
|
203
174
|
yo_BJ: Saint Helena
|
204
175
|
comments:
|
176
|
+
type: geographical_entity
|
177
|
+
TA:
|
178
|
+
name: Tristan da Cunha
|
179
|
+
code: TA
|
180
|
+
unofficial_names: Tristan da Cunha
|
181
|
+
geo:
|
182
|
+
latitude: -37.1052489
|
183
|
+
longitude: -12.2776838
|
184
|
+
min_latitude: -37.1702333
|
185
|
+
min_longitude: -12.3511792
|
186
|
+
max_latitude: -37.0621779
|
187
|
+
max_longitude: -12.2167732
|
188
|
+
translations:
|
189
|
+
en: Tristan da Cunha
|
190
|
+
ccp: "\U00011111\U00011133\U00011122\U00011128\U0001110C\U00011134\U00011111\U0001111A\U00011134
|
191
|
+
\U00011113 \U00011107\U0001112A\U0001111A\U00011134\U00011126"
|
192
|
+
comments:
|
193
|
+
type: geographical_entity
|