countries 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +3 -3
  3. data/CHANGELOG.md +29 -1
  4. data/README.markdown +51 -74
  5. data/Rakefile +15 -21
  6. data/UPGRADE.md +39 -0
  7. data/countries.gemspec +0 -1
  8. data/lib/countries/cache/locales/ab.json +1 -1
  9. data/lib/countries/cache/locales/af.json +1 -1
  10. data/lib/countries/cache/locales/ak.json +1 -1
  11. data/lib/countries/cache/locales/am.json +1 -1
  12. data/lib/countries/cache/locales/an.json +1 -1
  13. data/lib/countries/cache/locales/ar.json +1 -1
  14. data/lib/countries/cache/locales/as.json +1 -1
  15. data/lib/countries/cache/locales/ay.json +1 -1
  16. data/lib/countries/cache/locales/az.json +1 -1
  17. data/lib/countries/cache/locales/ba.json +1 -1
  18. data/lib/countries/cache/locales/be.json +1 -1
  19. data/lib/countries/cache/locales/bg.json +1 -1
  20. data/lib/countries/cache/locales/bi.json +1 -1
  21. data/lib/countries/cache/locales/bn-in.json +1 -1
  22. data/lib/countries/cache/locales/bn.json +1 -1
  23. data/lib/countries/cache/locales/br.json +1 -1
  24. data/lib/countries/cache/locales/bs.json +1 -1
  25. data/lib/countries/cache/locales/ca.json +1 -1
  26. data/lib/countries/cache/locales/ce.json +1 -1
  27. data/lib/countries/cache/locales/ch.json +1 -1
  28. data/lib/countries/cache/locales/cs.json +1 -1
  29. data/lib/countries/cache/locales/cv.json +1 -1
  30. data/lib/countries/cache/locales/cy.json +1 -1
  31. data/lib/countries/cache/locales/da.json +1 -1
  32. data/lib/countries/cache/locales/de.json +1 -1
  33. data/lib/countries/cache/locales/dv.json +1 -1
  34. data/lib/countries/cache/locales/dz.json +1 -1
  35. data/lib/countries/cache/locales/ee.json +1 -1
  36. data/lib/countries/cache/locales/el.json +1 -1
  37. data/lib/countries/cache/locales/en.json +1 -1
  38. data/lib/countries/cache/locales/eo.json +1 -1
  39. data/lib/countries/cache/locales/es.json +1 -1
  40. data/lib/countries/cache/locales/et.json +1 -1
  41. data/lib/countries/cache/locales/eu.json +1 -1
  42. data/lib/countries/cache/locales/fa.json +1 -1
  43. data/lib/countries/cache/locales/ff.json +1 -1
  44. data/lib/countries/cache/locales/fi.json +1 -1
  45. data/lib/countries/cache/locales/fo.json +1 -1
  46. data/lib/countries/cache/locales/fr.json +1 -1
  47. data/lib/countries/cache/locales/fy.json +1 -1
  48. data/lib/countries/cache/locales/ga.json +1 -1
  49. data/lib/countries/cache/locales/gl.json +1 -1
  50. data/lib/countries/cache/locales/gn.json +1 -1
  51. data/lib/countries/cache/locales/gu.json +1 -1
  52. data/lib/countries/cache/locales/gv.json +1 -1
  53. data/lib/countries/cache/locales/ha.json +1 -1
  54. data/lib/countries/cache/locales/he.json +1 -1
  55. data/lib/countries/cache/locales/hi.json +1 -1
  56. data/lib/countries/cache/locales/hr.json +1 -1
  57. data/lib/countries/cache/locales/ht.json +1 -1
  58. data/lib/countries/cache/locales/hu.json +1 -1
  59. data/lib/countries/cache/locales/hy.json +1 -1
  60. data/lib/countries/cache/locales/ia.json +1 -1
  61. data/lib/countries/cache/locales/id.json +1 -1
  62. data/lib/countries/cache/locales/io.json +1 -1
  63. data/lib/countries/cache/locales/is.json +1 -1
  64. data/lib/countries/cache/locales/it.json +1 -1
  65. data/lib/countries/cache/locales/iu.json +1 -1
  66. data/lib/countries/cache/locales/ja.json +1 -1
  67. data/lib/countries/cache/locales/ka.json +1 -1
  68. data/lib/countries/cache/locales/ki.json +1 -1
  69. data/lib/countries/cache/locales/kk.json +1 -1
  70. data/lib/countries/cache/locales/kl.json +1 -1
  71. data/lib/countries/cache/locales/km.json +1 -1
  72. data/lib/countries/cache/locales/kn.json +1 -1
  73. data/lib/countries/cache/locales/ko.json +1 -1
  74. data/lib/countries/cache/locales/kv.json +1 -1
  75. data/lib/countries/cache/locales/kw.json +1 -1
  76. data/lib/countries/cache/locales/ky.json +1 -1
  77. data/lib/countries/cache/locales/lo.json +1 -1
  78. data/lib/countries/cache/locales/lt.json +1 -1
  79. data/lib/countries/cache/locales/lv.json +1 -1
  80. data/lib/countries/cache/locales/mi.json +1 -1
  81. data/lib/countries/cache/locales/mk.json +1 -1
  82. data/lib/countries/cache/locales/ml.json +1 -1
  83. data/lib/countries/cache/locales/mn.json +1 -1
  84. data/lib/countries/cache/locales/mr.json +1 -1
  85. data/lib/countries/cache/locales/ms.json +1 -1
  86. data/lib/countries/cache/locales/mt.json +1 -1
  87. data/lib/countries/cache/locales/my.json +1 -1
  88. data/lib/countries/cache/locales/na.json +1 -1
  89. data/lib/countries/cache/locales/nb.json +1 -1
  90. data/lib/countries/cache/locales/ne.json +1 -1
  91. data/lib/countries/cache/locales/nl.json +1 -1
  92. data/lib/countries/cache/locales/nn.json +1 -1
  93. data/lib/countries/cache/locales/nv.json +1 -1
  94. data/lib/countries/cache/locales/oc.json +1 -1
  95. data/lib/countries/cache/locales/or.json +1 -1
  96. data/lib/countries/cache/locales/pa.json +1 -1
  97. data/lib/countries/cache/locales/pi.json +1 -1
  98. data/lib/countries/cache/locales/pl.json +1 -1
  99. data/lib/countries/cache/locales/ps.json +1 -1
  100. data/lib/countries/cache/locales/pt-br.json +1 -1
  101. data/lib/countries/cache/locales/pt.json +1 -1
  102. data/lib/countries/cache/locales/ro.json +1 -1
  103. data/lib/countries/cache/locales/ru.json +1 -1
  104. data/lib/countries/cache/locales/rw.json +1 -1
  105. data/lib/countries/cache/locales/sc.json +1 -1
  106. data/lib/countries/cache/locales/sd.json +1 -1
  107. data/lib/countries/cache/locales/si.json +1 -1
  108. data/lib/countries/cache/locales/sk.json +1 -1
  109. data/lib/countries/cache/locales/sl.json +1 -1
  110. data/lib/countries/cache/locales/so.json +1 -1
  111. data/lib/countries/cache/locales/sq.json +1 -1
  112. data/lib/countries/cache/locales/sr.json +1 -1
  113. data/lib/countries/cache/locales/sv.json +1 -1
  114. data/lib/countries/cache/locales/sw.json +1 -1
  115. data/lib/countries/cache/locales/ta.json +1 -1
  116. data/lib/countries/cache/locales/te.json +1 -1
  117. data/lib/countries/cache/locales/tg.json +1 -1
  118. data/lib/countries/cache/locales/th.json +1 -1
  119. data/lib/countries/cache/locales/ti.json +1 -1
  120. data/lib/countries/cache/locales/tk.json +1 -1
  121. data/lib/countries/cache/locales/tl.json +1 -1
  122. data/lib/countries/cache/locales/tr.json +1 -1
  123. data/lib/countries/cache/locales/tt.json +1 -1
  124. data/lib/countries/cache/locales/ug.json +1 -1
  125. data/lib/countries/cache/locales/uk.json +1 -1
  126. data/lib/countries/cache/locales/ur.json +1 -1
  127. data/lib/countries/cache/locales/uz.json +1 -1
  128. data/lib/countries/cache/locales/ve.json +1 -1
  129. data/lib/countries/cache/locales/vi.json +1 -1
  130. data/lib/countries/cache/locales/wa.json +1 -1
  131. data/lib/countries/cache/locales/wo.json +1 -1
  132. data/lib/countries/cache/locales/xh.json +1 -1
  133. data/lib/countries/cache/locales/yo.json +1 -1
  134. data/lib/countries/cache/locales/zh-cn.json +1 -1
  135. data/lib/countries/cache/locales/zh-hk.json +1 -1
  136. data/lib/countries/cache/locales/zh-tw.json +1 -1
  137. data/lib/countries/cache/locales/zu.json +1 -1
  138. data/lib/countries/country/class_methods.rb +9 -7
  139. data/lib/countries/country.rb +29 -3
  140. data/lib/countries/data/subdivisions/AD.yaml +14 -7
  141. data/lib/countries/data/subdivisions/AE.yaml +14 -7
  142. data/lib/countries/data/subdivisions/AF.yaml +196 -201
  143. data/lib/countries/data/subdivisions/AG.yaml +16 -22
  144. data/lib/countries/data/subdivisions/AL.yaml +24 -12
  145. data/lib/countries/data/subdivisions/AM.yaml +22 -11
  146. data/lib/countries/data/subdivisions/AO.yaml +36 -18
  147. data/lib/countries/data/subdivisions/AR.yaml +48 -24
  148. data/lib/countries/data/subdivisions/AT.yaml +18 -9
  149. data/lib/countries/data/subdivisions/AU.yaml +16 -8
  150. data/lib/countries/data/subdivisions/AZ.yaml +434 -412
  151. data/lib/countries/data/subdivisions/BA.yaml +75 -223
  152. data/lib/countries/data/subdivisions/BB.yaml +22 -11
  153. data/lib/countries/data/subdivisions/BD.yaml +188 -116
  154. data/lib/countries/data/subdivisions/BE.yaml +174 -161
  155. data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
  156. data/lib/countries/data/subdivisions/BG.yaml +56 -28
  157. data/lib/countries/data/subdivisions/BH.yaml +8 -21
  158. data/lib/countries/data/subdivisions/BI.yaml +176 -157
  159. data/lib/countries/data/subdivisions/BJ.yaml +24 -12
  160. data/lib/countries/data/subdivisions/BN.yaml +8 -4
  161. data/lib/countries/data/subdivisions/BO.yaml +18 -9
  162. data/lib/countries/data/subdivisions/BQ.yaml +6 -3
  163. data/lib/countries/data/subdivisions/BR.yaml +54 -27
  164. data/lib/countries/data/subdivisions/BS.yaml +575 -697
  165. data/lib/countries/data/subdivisions/BT.yaml +40 -20
  166. data/lib/countries/data/subdivisions/BW.yaml +337 -321
  167. data/lib/countries/data/subdivisions/BY.yaml +106 -116
  168. data/lib/countries/data/subdivisions/BZ.yaml +12 -6
  169. data/lib/countries/data/subdivisions/CA.yaml +26 -13
  170. data/lib/countries/data/subdivisions/CD.yaml +488 -525
  171. data/lib/countries/data/subdivisions/CF.yaml +34 -17
  172. data/lib/countries/data/subdivisions/CG.yaml +40 -28
  173. data/lib/countries/data/subdivisions/CH.yaml +52 -26
  174. data/lib/countries/data/subdivisions/CI.yaml +244 -516
  175. data/lib/countries/data/subdivisions/CL.yaml +81 -65
  176. data/lib/countries/data/subdivisions/CM.yaml +20 -10
  177. data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
  178. data/lib/countries/data/subdivisions/CO.yaml +66 -33
  179. data/lib/countries/data/subdivisions/CR.yaml +14 -7
  180. data/lib/countries/data/subdivisions/CU.yaml +32 -16
  181. data/lib/countries/data/subdivisions/CV.yaml +427 -401
  182. data/lib/countries/data/subdivisions/CY.yaml +12 -6
  183. data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
  184. data/lib/countries/data/subdivisions/DE.yaml +32 -16
  185. data/lib/countries/data/subdivisions/DJ.yaml +12 -6
  186. data/lib/countries/data/subdivisions/DK.yaml +25 -17
  187. data/lib/countries/data/subdivisions/DM.yaml +20 -10
  188. data/lib/countries/data/subdivisions/DO.yaml +84 -42
  189. data/lib/countries/data/subdivisions/DZ.yaml +96 -48
  190. data/lib/countries/data/subdivisions/EC.yaml +158 -134
  191. data/lib/countries/data/subdivisions/EE.yaml +501 -334
  192. data/lib/countries/data/subdivisions/EG.yaml +54 -27
  193. data/lib/countries/data/subdivisions/ER.yaml +12 -6
  194. data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
  195. data/lib/countries/data/subdivisions/ET.yaml +22 -11
  196. data/lib/countries/data/subdivisions/FI.yaml +185 -1
  197. data/lib/countries/data/subdivisions/FJ.yaml +443 -424
  198. data/lib/countries/data/subdivisions/FM.yaml +8 -4
  199. data/lib/countries/data/subdivisions/FR.yaml +438 -275
  200. data/lib/countries/data/subdivisions/GA.yaml +18 -9
  201. data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
  202. data/lib/countries/data/subdivisions/GD.yaml +14 -7
  203. data/lib/countries/data/subdivisions/GE.yaml +24 -12
  204. data/lib/countries/data/subdivisions/GH.yaml +114 -155
  205. data/lib/countries/data/subdivisions/GL.yaml +24 -79
  206. data/lib/countries/data/subdivisions/GM.yaml +12 -6
  207. data/lib/countries/data/subdivisions/GN.yaml +444 -403
  208. data/lib/countries/data/subdivisions/GQ.yaml +24 -13
  209. data/lib/countries/data/subdivisions/GR.yaml +114 -73
  210. data/lib/countries/data/subdivisions/GT.yaml +44 -22
  211. data/lib/countries/data/subdivisions/GW.yaml +69 -57
  212. data/lib/countries/data/subdivisions/GY.yaml +20 -10
  213. data/lib/countries/data/subdivisions/HN.yaml +36 -18
  214. data/lib/countries/data/subdivisions/HR.yaml +42 -21
  215. data/lib/countries/data/subdivisions/HT.yaml +73 -63
  216. data/lib/countries/data/subdivisions/HU.yaml +106 -63
  217. data/lib/countries/data/subdivisions/ID.yaml +229 -188
  218. data/lib/countries/data/subdivisions/IE.yaml +128 -97
  219. data/lib/countries/data/subdivisions/IL.yaml +12 -6
  220. data/lib/countries/data/subdivisions/IN.yaml +245 -396
  221. data/lib/countries/data/subdivisions/IQ.yaml +111 -91
  222. data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
  223. data/lib/countries/data/subdivisions/IS.yaml +160 -25
  224. data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
  225. data/lib/countries/data/subdivisions/JM.yaml +28 -14
  226. data/lib/countries/data/subdivisions/JO.yaml +24 -12
  227. data/lib/countries/data/subdivisions/JP.yaml +94 -47
  228. data/lib/countries/data/subdivisions/KE.yaml +95 -48
  229. data/lib/countries/data/subdivisions/KG.yaml +95 -86
  230. data/lib/countries/data/subdivisions/KH.yaml +64 -39
  231. data/lib/countries/data/subdivisions/KI.yaml +6 -3
  232. data/lib/countries/data/subdivisions/KM.yaml +6 -3
  233. data/lib/countries/data/subdivisions/KN.yaml +32 -16
  234. data/lib/countries/data/subdivisions/KP.yaml +24 -227
  235. data/lib/countries/data/subdivisions/KR.yaml +34 -17
  236. data/lib/countries/data/subdivisions/KW.yaml +12 -6
  237. data/lib/countries/data/subdivisions/KZ.yaml +47 -102
  238. data/lib/countries/data/subdivisions/LA.yaml +36 -34
  239. data/lib/countries/data/subdivisions/LB.yaml +71 -63
  240. data/lib/countries/data/subdivisions/LC.yaml +116 -106
  241. data/lib/countries/data/subdivisions/LI.yaml +22 -11
  242. data/lib/countries/data/subdivisions/LK.yaml +445 -411
  243. data/lib/countries/data/subdivisions/LR.yaml +146 -129
  244. data/lib/countries/data/subdivisions/LS.yaml +20 -10
  245. data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
  246. data/lib/countries/data/subdivisions/LU.yaml +24 -12
  247. data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
  248. data/lib/countries/data/subdivisions/LY.yaml +44 -22
  249. data/lib/countries/data/subdivisions/MA.yaml +810 -1589
  250. data/lib/countries/data/subdivisions/MC.yaml +261 -244
  251. data/lib/countries/data/subdivisions/MD.yaml +74 -79
  252. data/lib/countries/data/subdivisions/ME.yaml +217 -195
  253. data/lib/countries/data/subdivisions/MG.yaml +12 -6
  254. data/lib/countries/data/subdivisions/MH.yaml +167 -140
  255. data/lib/countries/data/subdivisions/MK.yaml +160 -80
  256. data/lib/countries/data/subdivisions/ML.yaml +48 -37
  257. data/lib/countries/data/subdivisions/MM.yaml +30 -15
  258. data/lib/countries/data/subdivisions/MN.yaml +44 -22
  259. data/lib/countries/data/subdivisions/MR.yaml +30 -34
  260. data/lib/countries/data/subdivisions/MT.yaml +136 -68
  261. data/lib/countries/data/subdivisions/MU.yaml +24 -262
  262. data/lib/countries/data/subdivisions/MV.yaml +161 -254
  263. data/lib/countries/data/subdivisions/MW.yaml +250 -219
  264. data/lib/countries/data/subdivisions/MX.yaml +67 -47
  265. data/lib/countries/data/subdivisions/MY.yaml +32 -16
  266. data/lib/countries/data/subdivisions/MZ.yaml +22 -11
  267. data/lib/countries/data/subdivisions/NA.yaml +58 -44
  268. data/lib/countries/data/subdivisions/NE.yaml +16 -8
  269. data/lib/countries/data/subdivisions/NG.yaml +74 -37
  270. data/lib/countries/data/subdivisions/NI.yaml +34 -17
  271. data/lib/countries/data/subdivisions/NL.yaml +303 -285
  272. data/lib/countries/data/subdivisions/NO.yaml +39 -17
  273. data/lib/countries/data/subdivisions/NP.yaml +302 -276
  274. data/lib/countries/data/subdivisions/NR.yaml +28 -14
  275. data/lib/countries/data/subdivisions/NZ.yaml +34 -17
  276. data/lib/countries/data/subdivisions/OM.yaml +260 -311
  277. data/lib/countries/data/subdivisions/PA.yaml +57 -44
  278. data/lib/countries/data/subdivisions/PE.yaml +107 -81
  279. data/lib/countries/data/subdivisions/PG.yaml +163 -158
  280. data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
  281. data/lib/countries/data/subdivisions/PK.yaml +145 -235
  282. data/lib/countries/data/subdivisions/PL.yaml +51 -3
  283. data/lib/countries/data/subdivisions/PS.yaml +32 -16
  284. data/lib/countries/data/subdivisions/PT.yaml +53 -33
  285. data/lib/countries/data/subdivisions/PW.yaml +32 -16
  286. data/lib/countries/data/subdivisions/PY.yaml +36 -18
  287. data/lib/countries/data/subdivisions/QA.yaml +27 -78
  288. data/lib/countries/data/subdivisions/RO.yaml +84 -42
  289. data/lib/countries/data/subdivisions/RS.yaml +104 -72
  290. data/lib/countries/data/subdivisions/RU.yaml +166 -83
  291. data/lib/countries/data/subdivisions/RW.yaml +10 -5
  292. data/lib/countries/data/subdivisions/SA.yaml +26 -13
  293. data/lib/countries/data/subdivisions/SB.yaml +20 -10
  294. data/lib/countries/data/subdivisions/SC.yaml +54 -25
  295. data/lib/countries/data/subdivisions/SD.yaml +798 -780
  296. data/lib/countries/data/subdivisions/SE.yaml +42 -21
  297. data/lib/countries/data/subdivisions/SG.yaml +15 -10
  298. data/lib/countries/data/subdivisions/SH.yaml +21 -32
  299. data/lib/countries/data/subdivisions/SI.yaml +475 -263
  300. data/lib/countries/data/subdivisions/SK.yaml +16 -8
  301. data/lib/countries/data/subdivisions/SL.yaml +23 -18
  302. data/lib/countries/data/subdivisions/SM.yaml +18 -9
  303. data/lib/countries/data/subdivisions/SN.yaml +188 -174
  304. data/lib/countries/data/subdivisions/SO.yaml +36 -18
  305. data/lib/countries/data/subdivisions/SR.yaml +20 -10
  306. data/lib/countries/data/subdivisions/SS.yaml +20 -10
  307. data/lib/countries/data/subdivisions/ST.yaml +38 -52
  308. data/lib/countries/data/subdivisions/SV.yaml +28 -14
  309. data/lib/countries/data/subdivisions/SY.yaml +28 -14
  310. data/lib/countries/data/subdivisions/SZ.yaml +8 -4
  311. data/lib/countries/data/subdivisions/TD.yaml +312 -303
  312. data/lib/countries/data/subdivisions/TG.yaml +10 -5
  313. data/lib/countries/data/subdivisions/TH.yaml +211 -133
  314. data/lib/countries/data/subdivisions/TJ.yaml +161 -156
  315. data/lib/countries/data/subdivisions/TL.yaml +26 -13
  316. data/lib/countries/data/subdivisions/TM.yaml +12 -6
  317. data/lib/countries/data/subdivisions/TN.yaml +48 -24
  318. data/lib/countries/data/subdivisions/TO.yaml +10 -5
  319. data/lib/countries/data/subdivisions/TR.yaml +162 -81
  320. data/lib/countries/data/subdivisions/TT.yaml +128 -160
  321. data/lib/countries/data/subdivisions/TV.yaml +57 -63
  322. data/lib/countries/data/subdivisions/TW.yaml +143 -183
  323. data/lib/countries/data/subdivisions/TZ.yaml +62 -31
  324. data/lib/countries/data/subdivisions/UA.yaml +55 -28
  325. data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
  326. data/lib/countries/data/subdivisions/UM.yaml +18 -9
  327. data/lib/countries/data/subdivisions/US.yaml +114 -57
  328. data/lib/countries/data/subdivisions/UY.yaml +99 -80
  329. data/lib/countries/data/subdivisions/UZ.yaml +28 -14
  330. data/lib/countries/data/subdivisions/VC.yaml +12 -6
  331. data/lib/countries/data/subdivisions/VE.yaml +50 -25
  332. data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
  333. data/lib/countries/data/subdivisions/VU.yaml +12 -6
  334. data/lib/countries/data/subdivisions/WF.yaml +6 -3
  335. data/lib/countries/data/subdivisions/WS.yaml +22 -11
  336. data/lib/countries/data/subdivisions/YE.yaml +222 -200
  337. data/lib/countries/data/subdivisions/ZA.yaml +86 -100
  338. data/lib/countries/data/subdivisions/ZM.yaml +20 -10
  339. data/lib/countries/data/subdivisions/ZW.yaml +20 -10
  340. data/lib/countries/data/translations/countries-ab.yaml +254 -0
  341. data/lib/countries/data/translations/countries-af.yaml +254 -0
  342. data/lib/countries/data/translations/countries-ak.yaml +254 -0
  343. data/lib/countries/data/translations/countries-am.yaml +254 -0
  344. data/lib/countries/data/translations/countries-an.yaml +254 -0
  345. data/lib/countries/data/translations/countries-ar.yaml +254 -0
  346. data/lib/countries/data/translations/countries-as.yaml +254 -0
  347. data/lib/countries/data/translations/countries-ay.yaml +254 -0
  348. data/lib/countries/data/translations/countries-az.yaml +254 -0
  349. data/lib/countries/data/translations/countries-ba.yaml +254 -0
  350. data/lib/countries/data/translations/countries-be.yaml +254 -0
  351. data/lib/countries/data/translations/countries-bg.yaml +254 -0
  352. data/lib/countries/data/translations/countries-bi.yaml +254 -0
  353. data/lib/countries/data/translations/countries-bn.yaml +254 -0
  354. data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
  355. data/lib/countries/data/translations/countries-br.yaml +254 -0
  356. data/lib/countries/data/translations/countries-bs.yaml +254 -0
  357. data/lib/countries/data/translations/countries-ca.yaml +254 -0
  358. data/lib/countries/data/translations/countries-ce.yaml +254 -0
  359. data/lib/countries/data/translations/countries-ch.yaml +254 -0
  360. data/lib/countries/data/translations/countries-cs.yaml +254 -0
  361. data/lib/countries/data/translations/countries-cv.yaml +254 -0
  362. data/lib/countries/data/translations/countries-cy.yaml +254 -0
  363. data/lib/countries/data/translations/countries-da.yaml +254 -0
  364. data/lib/countries/data/translations/countries-de.yaml +254 -0
  365. data/lib/countries/data/translations/countries-dv.yaml +254 -0
  366. data/lib/countries/data/translations/countries-dz.yaml +254 -0
  367. data/lib/countries/data/translations/countries-ee.yaml +254 -0
  368. data/lib/countries/data/translations/countries-el.yaml +254 -0
  369. data/lib/countries/data/translations/countries-en.yaml +254 -0
  370. data/lib/countries/data/translations/countries-eo.yaml +254 -0
  371. data/lib/countries/data/translations/countries-es.yaml +254 -0
  372. data/lib/countries/data/translations/countries-et.yaml +254 -0
  373. data/lib/countries/data/translations/countries-eu.yaml +254 -0
  374. data/lib/countries/data/translations/countries-fa.yaml +254 -0
  375. data/lib/countries/data/translations/countries-ff.yaml +254 -0
  376. data/lib/countries/data/translations/countries-fi.yaml +254 -0
  377. data/lib/countries/data/translations/countries-fo.yaml +254 -0
  378. data/lib/countries/data/translations/countries-fr.yaml +254 -0
  379. data/lib/countries/data/translations/countries-fy.yaml +254 -0
  380. data/lib/countries/data/translations/countries-ga.yaml +254 -0
  381. data/lib/countries/data/translations/countries-gl.yaml +254 -0
  382. data/lib/countries/data/translations/countries-gn.yaml +254 -0
  383. data/lib/countries/data/translations/countries-gu.yaml +254 -0
  384. data/lib/countries/data/translations/countries-gv.yaml +254 -0
  385. data/lib/countries/data/translations/countries-ha.yaml +254 -0
  386. data/lib/countries/data/translations/countries-he.yaml +254 -0
  387. data/lib/countries/data/translations/countries-hi.yaml +254 -0
  388. data/lib/countries/data/translations/countries-hr.yaml +254 -0
  389. data/lib/countries/data/translations/countries-ht.yaml +254 -0
  390. data/lib/countries/data/translations/countries-hu.yaml +254 -0
  391. data/lib/countries/data/translations/countries-hy.yaml +254 -0
  392. data/lib/countries/data/translations/countries-ia.yaml +254 -0
  393. data/lib/countries/data/translations/countries-id.yaml +254 -0
  394. data/lib/countries/data/translations/countries-io.yaml +254 -0
  395. data/lib/countries/data/translations/countries-is.yaml +254 -0
  396. data/lib/countries/data/translations/countries-it.yaml +254 -0
  397. data/lib/countries/data/translations/countries-iu.yaml +254 -0
  398. data/lib/countries/data/translations/countries-ja.yaml +254 -0
  399. data/lib/countries/data/translations/countries-ka.yaml +254 -0
  400. data/lib/countries/data/translations/countries-ki.yaml +254 -0
  401. data/lib/countries/data/translations/countries-kk.yaml +254 -0
  402. data/lib/countries/data/translations/countries-kl.yaml +254 -0
  403. data/lib/countries/data/translations/countries-km.yaml +254 -0
  404. data/lib/countries/data/translations/countries-kn.yaml +254 -0
  405. data/lib/countries/data/translations/countries-ko.yaml +254 -0
  406. data/lib/countries/data/translations/countries-ku.yaml +254 -0
  407. data/lib/countries/data/translations/countries-kv.yaml +254 -0
  408. data/lib/countries/data/translations/countries-kw.yaml +254 -0
  409. data/lib/countries/data/translations/countries-ky.yaml +254 -0
  410. data/lib/countries/data/translations/countries-lo.yaml +254 -0
  411. data/lib/countries/data/translations/countries-lt.yaml +254 -0
  412. data/lib/countries/data/translations/countries-lv.yaml +254 -0
  413. data/lib/countries/data/translations/countries-mi.yaml +254 -0
  414. data/lib/countries/data/translations/countries-mk.yaml +254 -0
  415. data/lib/countries/data/translations/countries-ml.yaml +254 -0
  416. data/lib/countries/data/translations/countries-mn.yaml +254 -0
  417. data/lib/countries/data/translations/countries-mr.yaml +254 -0
  418. data/lib/countries/data/translations/countries-ms.yaml +254 -0
  419. data/lib/countries/data/translations/countries-mt.yaml +254 -0
  420. data/lib/countries/data/translations/countries-my.yaml +254 -0
  421. data/lib/countries/data/translations/countries-na.yaml +254 -0
  422. data/lib/countries/data/translations/countries-nb.yaml +254 -0
  423. data/lib/countries/data/translations/countries-ne.yaml +254 -0
  424. data/lib/countries/data/translations/countries-nl.yaml +254 -0
  425. data/lib/countries/data/translations/countries-nn.yaml +254 -0
  426. data/lib/countries/data/translations/countries-nv.yaml +254 -0
  427. data/lib/countries/data/translations/countries-oc.yaml +254 -0
  428. data/lib/countries/data/translations/countries-or.yaml +254 -0
  429. data/lib/countries/data/translations/countries-pa.yaml +254 -0
  430. data/lib/countries/data/translations/countries-pi.yaml +254 -0
  431. data/lib/countries/data/translations/countries-pl.yaml +254 -0
  432. data/lib/countries/data/translations/countries-ps.yaml +254 -0
  433. data/lib/countries/data/translations/countries-pt.yaml +254 -0
  434. data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
  435. data/lib/countries/data/translations/countries-ro.yaml +254 -0
  436. data/lib/countries/data/translations/countries-ru.yaml +254 -0
  437. data/lib/countries/data/translations/countries-rw.yaml +254 -0
  438. data/lib/countries/data/translations/countries-sc.yaml +254 -0
  439. data/lib/countries/data/translations/countries-sd.yaml +254 -0
  440. data/lib/countries/data/translations/countries-si.yaml +254 -0
  441. data/lib/countries/data/translations/countries-sk.yaml +254 -0
  442. data/lib/countries/data/translations/countries-sl.yaml +254 -0
  443. data/lib/countries/data/translations/countries-so.yaml +254 -0
  444. data/lib/countries/data/translations/countries-sq.yaml +254 -0
  445. data/lib/countries/data/translations/countries-sr.yaml +254 -0
  446. data/lib/countries/data/translations/countries-sv.yaml +254 -0
  447. data/lib/countries/data/translations/countries-sw.yaml +254 -0
  448. data/lib/countries/data/translations/countries-ta.yaml +254 -0
  449. data/lib/countries/data/translations/countries-te.yaml +254 -0
  450. data/lib/countries/data/translations/countries-tg.yaml +254 -0
  451. data/lib/countries/data/translations/countries-th.yaml +254 -0
  452. data/lib/countries/data/translations/countries-ti.yaml +254 -0
  453. data/lib/countries/data/translations/countries-tk.yaml +254 -0
  454. data/lib/countries/data/translations/countries-tl.yaml +254 -0
  455. data/lib/countries/data/translations/countries-tr.yaml +254 -0
  456. data/lib/countries/data/translations/countries-tt.yaml +254 -0
  457. data/lib/countries/data/translations/countries-ug.yaml +254 -0
  458. data/lib/countries/data/translations/countries-uk.yaml +254 -0
  459. data/lib/countries/data/translations/countries-ur.yaml +254 -0
  460. data/lib/countries/data/translations/countries-uz.yaml +254 -0
  461. data/lib/countries/data/translations/countries-ve.yaml +254 -0
  462. data/lib/countries/data/translations/countries-vi.yaml +254 -0
  463. data/lib/countries/data/translations/countries-wa.yaml +254 -0
  464. data/lib/countries/data/translations/countries-wo.yaml +254 -0
  465. data/lib/countries/data/translations/countries-xh.yaml +254 -0
  466. data/lib/countries/data/translations/countries-yo.yaml +254 -0
  467. data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
  468. data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
  469. data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
  470. data/lib/countries/data/translations/countries-zu.yaml +254 -0
  471. data/lib/countries/data.rb +14 -8
  472. data/lib/countries/iso3166.rb +0 -1
  473. data/lib/countries/sources/cldr/subdivision_updater.rb +1 -1
  474. data/lib/countries/subdivision.rb +19 -8
  475. data/lib/countries/version.rb +1 -1
  476. data/spec/country_spec.rb +63 -19
  477. data/spec/data_spec.rb +63 -5
  478. metadata +134 -24
  479. data/lib/countries/cache/locales/zh.json +0 -1
  480. data/lib/countries/data/subdivisions/AI.yaml +0 -197
  481. data/lib/countries/data/subdivisions/BM.yaml +0 -155
  482. data/lib/countries/data/subdivisions/CK.yaml +0 -155
  483. data/lib/countries/data/subdivisions/EH.yaml +0 -80
  484. data/lib/countries/data/subdivisions/SJ.yaml +0 -29
  485. data/lib/countries/data/subdivisions/TK.yaml +0 -43
  486. data/lib/countries/data/translation_corrections.yaml +0 -51
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  AG:
3
3
  name: Agalega Islands
4
- code:
4
+ code: AG
5
5
  unofficial_names: Agalega Islands
6
6
  geo:
7
7
  latitude: -10.4681988
@@ -65,9 +65,10 @@ AG:
65
65
  yo: Àwọn Erékùṣù Agalega
66
66
  'no': Agalegaøyene
67
67
  comments:
68
+ type: dependency
68
69
  BL:
69
70
  name: Black River
70
- code:
71
+ code: BL
71
72
  unofficial_names: Black River
72
73
  geo:
73
74
  latitude: -20.34756
@@ -124,45 +125,10 @@ BL:
124
125
  yue: 黑河區
125
126
  'no': Black River
126
127
  comments:
127
- BR:
128
- name: Beau Bassin-Rose Hill
129
- code:
130
- unofficial_names: Beau Bassin-Rose Hill
131
- geo:
132
- latitude: -20.239806
133
- longitude: 57.47169400000001
134
- min_latitude: -20.2644097
135
- min_longitude: 57.44771590000001
136
- max_latitude: -20.1898941
137
- max_longitude: 57.48024589999999
138
- translations:
139
- en: Beau-Bassin Rose-Hill
140
- de: Beau Bassin-Rose Hill
141
- es: Beau Bassin-Rose Hill
142
- fr: Beau-Bassin Rose-Hill
143
- he: בו בסין-רוז איל
144
- it: Beau Bassin-Rose Hill
145
- ja: ボーバッサン・ローズヒル
146
- ko: 보베이신로즈힐
147
- lt: Bo Basenas-Rouz Hilis
148
- nb: Beau Bassin-Rosehill
149
- nl: Beau Bassin
150
- pl: Beau Bassin
151
- ru: Роз-Хилл
152
- sv: Beau Bassin
153
- tr: Beau Bassin-Rose Hill
154
- ur: بو-باسن روز-ہل
155
- zh: 羅斯希爾
156
- yue_Hans: 博巴森罗斯希尔
157
- ccp: "\U0001111D\U00011128\U00011105\U0001112A-\U0001111D\U00011125\U00011128\U0001111A\U00011134
158
- \U00011122\U0001112E\U0001110C\U00011134 \U00011126\U00011128\U00011123\U00011134"
159
- uk: Роз-Гілл
160
- yue: 博巴森羅斯希爾
161
- 'no': Beau Bassin-Rosehill
162
- comments:
128
+ type: district
163
129
  CC:
164
130
  name: Cargados Carajos Shoals [Saint Brandon Islands]
165
- code:
131
+ code: CC
166
132
  unofficial_names: Cargados Carajos Shoals [Saint Brandon Islands]
167
133
  geo:
168
134
  latitude: -16.6333333
@@ -224,45 +190,10 @@ CC:
224
190
  'no': Cargados Carajos
225
191
  yo_BJ: Cargados Carajos
226
192
  comments:
227
- CU:
228
- name: Curepipe
229
- code:
230
- unofficial_names: Curepipe
231
- geo:
232
- latitude: -20.3170872
233
- longitude: 57.5265289
234
- min_latitude: -20.3392349
235
- min_longitude: 57.4977753
236
- max_latitude: -20.2971679
237
- max_longitude: 57.5484643
238
- translations:
239
- en: Curepipe
240
- ar: كوريبيب
241
- de: Curepipe
242
- es: Curepipe
243
- fr: Curepipe
244
- it: Curepipe
245
- ja: キュールピップ
246
- ko: 쿠레피페
247
- lt: Kiurpipas
248
- nl: Curepipe
249
- pl: Curepipe
250
- pt: Curepipe
251
- ru: Кюрпип
252
- sr: Кјурпајп
253
- sv: Curepipe
254
- th: กูร์ปีป
255
- ur: کیورپیپہ
256
- ceb: Curepipe
257
- sr_Latn: Kjurpajp
258
- zh: 居爾皮普
259
- fa: کورپیپ
260
- ccp: "\U00011107\U00011128\U00011105\U0001112A\U00011122\U0001112C\U0001111B\U0001112D\U0001111B\U00011134"
261
- uk: Кьюрпайп
262
- comments:
193
+ type: dependency
263
194
  FL:
264
195
  name: Flacq
265
- code:
196
+ code: FL
266
197
  unofficial_names: Flacq
267
198
  geo:
268
199
  latitude: -20.2257836
@@ -320,9 +251,10 @@ FL:
320
251
  yue: 弗拉克區
321
252
  'no': Flacq
322
253
  comments:
254
+ type: district
323
255
  GP:
324
256
  name: Grand Port
325
- code:
257
+ code: GP
326
258
  unofficial_names: Grand Port
327
259
  geo:
328
260
  latitude: -20.3851546
@@ -379,9 +311,10 @@ GP:
379
311
  yue: 大港區
380
312
  'no': Grand Port
381
313
  comments:
314
+ type: district
382
315
  MO:
383
316
  name: Moka
384
- code:
317
+ code: MO
385
318
  unofficial_names: Moka
386
319
  geo:
387
320
  latitude: -20.219
@@ -438,9 +371,10 @@ MO:
438
371
  yue: 莫卡區
439
372
  'no': Moka
440
373
  comments:
374
+ type: district
441
375
  PA:
442
376
  name: Pamplemousses
443
- code:
377
+ code: PA
444
378
  unofficial_names: Pamplemousses
445
379
  geo:
446
380
  latitude: -20.116667
@@ -496,9 +430,10 @@ PA:
496
430
  yue: 龐波慕斯區
497
431
  'no': Pamplemousses
498
432
  comments:
433
+ type: district
499
434
  PL:
500
435
  name: Port Louis City
501
- code:
436
+ code: PL
502
437
  unofficial_names: Port Louis City
503
438
  geo:
504
439
  latitude: -20.166667
@@ -538,104 +473,10 @@ PL:
538
473
  yue: 路易港區
539
474
  'no': Port Louis
540
475
  comments:
541
- PU:
542
- name: Port Louis District
543
- code:
544
- unofficial_names: Port Louis District
545
- geo:
546
- latitude: -20.166667
547
- longitude: 57.516667
548
- min_latitude: -20.2016751
549
- min_longitude: 57.42768760000001
550
- max_latitude: -20.124287
551
- max_longitude: 57.5659989
552
- translations:
553
- en: Port Louis
554
- af: Port Louis
555
- am: ፖርት ሉዊስ
556
- ar: بور لويس
557
- az: Port Luiz
558
- be: Порт-Луі
559
- bg: Порт Луи
560
- bn: পোর্ট লুইস
561
- ca: Port Louis
562
- cs: Port Louis
563
- da: Port Louis
564
- de: Port Louis²
565
- el: Πορ-Λουί
566
- es: Port Louis
567
- et: Port Louis
568
- eu: Port Louis
569
- fa: پورت‌لوئیس
570
- fi: Port Louis
571
- fr: Port-Louis
572
- gl: Port Louis, Port Louis
573
- gu: પોર્ટ લુઇસ
574
- he: פור לואי
575
- hi: पोर्ट लुई
576
- hr: Port Louis
577
- hu: Port Louis
578
- hy: Պորտ Լուի
579
- id: Port Louis
580
- is: Port Lois
581
- it: Port Louis
582
- ja: ポートルイス
583
- ka: პორტ-ლუი
584
- kn: ಪೋರ್ಟ್ ಲೂಯಿಸ್
585
- ko: 포트루이스
586
- lt: Port Luisas
587
- lv: Portluī
588
- ml: പോർട്ട് ലൂയിസ്
589
- mn: Порт Луйс
590
- mr: पोर्ट लुईस
591
- ms: Port Louis
592
- nb: Port Louis²
593
- nl: Port Louis²
594
- or: ପୋର୍ଟ ଲୁଇସ
595
- pl: Port Louis²
596
- pt: Port Louis²
597
- ro: Port Louis
598
- ru: Порт-Луи²
599
- si: පෝර්ට් ලුවිස්
600
- sk: Port Louis
601
- sl: Port Louis
602
- sr: Порт Луис
603
- sv: Port Louis²
604
- sw: Port Louis
605
- ta: போர்ட் லூயிஸ்
606
- te: పోర్ట్ లుయీస్
607
- th: พอร์ตลูอิส
608
- tk: Port-Lui
609
- tr: Port Louis
610
- uk: Порт-Луї
611
- ur: پورٹ لوئس
612
- vi: Port Louis
613
- cy: Port Louis
614
- ceb: Port Louis District
615
- sr_Latn: Port Luis
616
- zh: 路易港
617
- yue_Hans: 路易港
618
- jv: Port Louis
619
- sq: Port Louis
620
- ccp: "\U0001111B\U0001112E\U00011122\U00011134\U00011111\U00011134 \U00011123\U0001112A\U00011103\U00011128\U0001110C\U00011134"
621
- ga: Port Louis
622
- ky: Порт-Луи
623
- ha: Port Louis
624
- so: Bort Lois
625
- pa: ਪੋਰਟ ਲੂਈ
626
- kk: Порт-Луи
627
- yue: 路易港
628
- yo: Port Louis
629
- uz: Port-Lui
630
- bs: Port Louis
631
- mk: Порт Луис
632
- ha_NE: Port Louis
633
- 'no': Port Louis²
634
- yo_BJ: Port Louis
635
- comments:
476
+ type: district
636
477
  PW:
637
478
  name: Plaines Wilhems
638
- code:
479
+ code: PW
639
480
  unofficial_names: Plaines Wilhems
640
481
  geo:
641
482
  latitude: -20.3054872
@@ -691,41 +532,10 @@ PW:
691
532
  yue: 威廉平原區
692
533
  'no': Plaines Wilhems
693
534
  comments:
694
- QB:
695
- name: Quatre Bornes
696
- code:
697
- unofficial_names: Quatre Bornes
698
- geo:
699
- latitude: -20.265358
700
- longitude: 57.47905299999999
701
- min_latitude: -20.3044439
702
- min_longitude: 57.44096529999999
703
- max_latitude: -20.2386383
704
- max_longitude: 57.5246287
705
- translations:
706
- en: Quatre Bornes
707
- ca: Quatre Bornes
708
- de: Quatre Bornes
709
- es: Quatre Bornes
710
- fr: Quatre Bornes
711
- it: Quatre Bornes
712
- ja: カトル・ボルヌ
713
- ko: 쿠아트레 보르네
714
- nl: Quatre Bornes
715
- pl: Quatre Bornes
716
- pt: Quatre Bornes
717
- ru: Катре-Борне
718
- sr: Катр Боне
719
- sv: Quatre Bornes (ort)
720
- ur: قیتخ بورن
721
- ceb: Quatre Bornes
722
- sr_Latn: Katr Bone
723
- zh: 卡特勒博爾納
724
- ccp: "\U00011107\U0001112A\U00011120\U00011116\U00011134\U00011122\U0001112C \U0001111D\U0001112E\U00011122\U00011134\U0001111A\U0001112C\U0001110C\U00011134"
725
- comments:
535
+ type: district
726
536
  RO:
727
537
  name: Rodrigues Island
728
- code:
538
+ code: RO
729
539
  unofficial_names: Rodrigues Island
730
540
  geo:
731
541
  latitude: -19.7245385
@@ -791,9 +601,10 @@ RO:
791
601
  'no': Rodrigues
792
602
  yo_BJ: Rodrigues
793
603
  comments:
604
+ type: dependency
794
605
  RR:
795
606
  name: Rivière du Rempart
796
- code:
607
+ code: RR
797
608
  unofficial_names: Rivière du Rempart
798
609
  geo:
799
610
  latitude: -20.0905351
@@ -848,9 +659,10 @@ RR:
848
659
  yue: 朗帕河區
849
660
  'no': Rivière du Rempart
850
661
  comments:
662
+ type: district
851
663
  SA:
852
664
  name: Savanne
853
- code:
665
+ code: SA
854
666
  unofficial_names: Savanne
855
667
  geo:
856
668
  latitude: -20.473953
@@ -905,54 +717,4 @@ SA:
905
717
  yue: 薩凡納區
906
718
  'no': Savanne
907
719
  comments:
908
- VP:
909
- name: Vacoas-Phoenix
910
- code:
911
- unofficial_names: Vacoas-Phoenix
912
- geo:
913
- latitude: -20.300047
914
- longitude: 57.474508
915
- min_latitude: -20.3481117
916
- min_longitude: 57.46740039999999
917
- max_latitude: -20.2580787
918
- max_longitude: 57.5513649
919
- translations:
920
- en: Vacoas-Phoenix
921
- ar: فاكوس-فينيكس
922
- bn: ভাকোয়াস-ফিনিক্স
923
- da: Vacoas-Phoenix
924
- de: Vacoas-Phoenix
925
- el: Βακόας-Φοίνιξ
926
- es: Vacoas-Phoenix
927
- fi: Vacoas-Phoenix
928
- fr: Vacoas-Phœnix
929
- gu: વેકોસ-ફિનિક્સ
930
- hi: वकाऊ फीनिक्स
931
- id: Vacoas-Phoenix
932
- it: Vacoas-Phoenix
933
- ja: ヴァコア・フェニックス
934
- kn: ವ್ಯಾಕೋವಾಸ್ ಫೀನಿಕ್ಸ್
935
- ko: 바코아스피닉스
936
- lt: Vakoasas
937
- mr: व्होकस-फिनिक्स
938
- ms: Vacoas-Phoenix
939
- nb: Vacoas-Phoenix
940
- nl: Vacoas-Phoenix
941
- pl: Vacoas-Phoenix
942
- pt: Vacoas-Phoenix
943
- ru: Вакоа-Феникс
944
- si: වාකොස් ෆීනික්ස්
945
- sr: Вакоа-Феникс
946
- sv: Vacoas-Phoenix
947
- ta: வாகோஸ் - போயெனிக்ஸ்
948
- te: వాకోవస్-ఫీనిక్స్
949
- th: วาโคอ์-โฟนิกส์
950
- tr: Vacaos-Phoneix
951
- uk: Вакоа-Фенікс
952
- ur: واکواس فینکس
953
- vi: Vacoas-Phoenix
954
- lv: Vakoasa-Fīniksa
955
- sr_Latn: Vakoa-Feniks
956
- ccp: "\U0001111E\U00011107\U0001112E\U00011120\U0001110C\U00011134-\U0001111C\U0001112E\U0001111A\U00011128\U00011107\U00011134"
957
- 'no': Vacoas-Phoenix
958
- comments:
720
+ type: district