countries 1.2.5 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (645) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/tests.yml +39 -0
  3. data/.gitignore +2 -1
  4. data/.rubocop.yml +1 -0
  5. data/.rubocop_todo.yml +52 -0
  6. data/CHANGELOG.md +557 -1
  7. data/Gemfile +7 -0
  8. data/LICENSE +3 -1
  9. data/README.markdown +264 -132
  10. data/Rakefile +44 -74
  11. data/bin/console +14 -0
  12. data/countries.gemspec +15 -9
  13. data/lib/countries/cache/countries.json +1 -0
  14. data/lib/countries/cache/locales/ab.json +1 -0
  15. data/lib/countries/cache/locales/af.json +1 -0
  16. data/lib/countries/cache/locales/ak.json +1 -0
  17. data/lib/countries/cache/locales/am.json +1 -0
  18. data/lib/countries/cache/locales/an.json +1 -0
  19. data/lib/countries/cache/locales/ar.json +1 -0
  20. data/lib/countries/cache/locales/as.json +1 -0
  21. data/lib/countries/cache/locales/ay.json +1 -0
  22. data/lib/countries/cache/locales/az.json +1 -0
  23. data/lib/countries/cache/locales/ba.json +1 -0
  24. data/lib/countries/cache/locales/be.json +1 -0
  25. data/lib/countries/cache/locales/bg.json +1 -0
  26. data/lib/countries/cache/locales/bi.json +1 -0
  27. data/lib/countries/cache/locales/bn-in.json +1 -0
  28. data/lib/countries/cache/locales/bn.json +1 -0
  29. data/lib/countries/cache/locales/br.json +1 -0
  30. data/lib/countries/cache/locales/bs.json +1 -0
  31. data/lib/countries/cache/locales/ca.json +1 -0
  32. data/lib/countries/cache/locales/ce.json +1 -0
  33. data/lib/countries/cache/locales/ch.json +1 -0
  34. data/lib/countries/cache/locales/cs.json +1 -0
  35. data/lib/countries/cache/locales/cv.json +1 -0
  36. data/lib/countries/cache/locales/cy.json +1 -0
  37. data/lib/countries/cache/locales/da.json +1 -0
  38. data/lib/countries/cache/locales/de.json +1 -0
  39. data/lib/countries/cache/locales/dv.json +1 -0
  40. data/lib/countries/cache/locales/dz.json +1 -0
  41. data/lib/countries/cache/locales/ee.json +1 -0
  42. data/lib/countries/cache/locales/el.json +1 -0
  43. data/lib/countries/cache/locales/en.json +1 -0
  44. data/lib/countries/cache/locales/eo.json +1 -0
  45. data/lib/countries/cache/locales/es.json +1 -0
  46. data/lib/countries/cache/locales/et.json +1 -0
  47. data/lib/countries/cache/locales/eu.json +1 -0
  48. data/lib/countries/cache/locales/fa.json +1 -0
  49. data/lib/countries/cache/locales/ff.json +1 -0
  50. data/lib/countries/cache/locales/fi.json +1 -0
  51. data/lib/countries/cache/locales/fo.json +1 -0
  52. data/lib/countries/cache/locales/fr.json +1 -0
  53. data/lib/countries/cache/locales/fy.json +1 -0
  54. data/lib/countries/cache/locales/ga.json +1 -0
  55. data/lib/countries/cache/locales/gl.json +1 -0
  56. data/lib/countries/cache/locales/gn.json +1 -0
  57. data/lib/countries/cache/locales/gu.json +1 -0
  58. data/lib/countries/cache/locales/gv.json +1 -0
  59. data/lib/countries/cache/locales/ha.json +1 -0
  60. data/lib/countries/cache/locales/he.json +1 -0
  61. data/lib/countries/cache/locales/hi.json +1 -0
  62. data/lib/countries/cache/locales/hr.json +1 -0
  63. data/lib/countries/cache/locales/ht.json +1 -0
  64. data/lib/countries/cache/locales/hu.json +1 -0
  65. data/lib/countries/cache/locales/hy.json +1 -0
  66. data/lib/countries/cache/locales/ia.json +1 -0
  67. data/lib/countries/cache/locales/id.json +1 -0
  68. data/lib/countries/cache/locales/io.json +1 -0
  69. data/lib/countries/cache/locales/is.json +1 -0
  70. data/lib/countries/cache/locales/it.json +1 -0
  71. data/lib/countries/cache/locales/iu.json +1 -0
  72. data/lib/countries/cache/locales/ja.json +1 -0
  73. data/lib/countries/cache/locales/ka.json +1 -0
  74. data/lib/countries/cache/locales/ki.json +1 -0
  75. data/lib/countries/cache/locales/kk.json +1 -0
  76. data/lib/countries/cache/locales/kl.json +1 -0
  77. data/lib/countries/cache/locales/km.json +1 -0
  78. data/lib/countries/cache/locales/kn.json +1 -0
  79. data/lib/countries/cache/locales/ko.json +1 -0
  80. data/lib/countries/cache/locales/ku.json +1 -0
  81. data/lib/countries/cache/locales/kv.json +1 -0
  82. data/lib/countries/cache/locales/kw.json +1 -0
  83. data/lib/countries/cache/locales/ky.json +1 -0
  84. data/lib/countries/cache/locales/lo.json +1 -0
  85. data/lib/countries/cache/locales/lt.json +1 -0
  86. data/lib/countries/cache/locales/lv.json +1 -0
  87. data/lib/countries/cache/locales/mi.json +1 -0
  88. data/lib/countries/cache/locales/mk.json +1 -0
  89. data/lib/countries/cache/locales/ml.json +1 -0
  90. data/lib/countries/cache/locales/mn.json +1 -0
  91. data/lib/countries/cache/locales/mr.json +1 -0
  92. data/lib/countries/cache/locales/ms.json +1 -0
  93. data/lib/countries/cache/locales/mt.json +1 -0
  94. data/lib/countries/cache/locales/my.json +1 -0
  95. data/lib/countries/cache/locales/na.json +1 -0
  96. data/lib/countries/cache/locales/nb.json +1 -0
  97. data/lib/countries/cache/locales/ne.json +1 -0
  98. data/lib/countries/cache/locales/nl.json +1 -0
  99. data/lib/countries/cache/locales/nn.json +1 -0
  100. data/lib/countries/cache/locales/nv.json +1 -0
  101. data/lib/countries/cache/locales/oc.json +1 -0
  102. data/lib/countries/cache/locales/or.json +1 -0
  103. data/lib/countries/cache/locales/pa.json +1 -0
  104. data/lib/countries/cache/locales/pi.json +1 -0
  105. data/lib/countries/cache/locales/pl.json +1 -0
  106. data/lib/countries/cache/locales/ps.json +1 -0
  107. data/lib/countries/cache/locales/pt-br.json +1 -0
  108. data/lib/countries/cache/locales/pt.json +1 -0
  109. data/lib/countries/cache/locales/ro.json +1 -0
  110. data/lib/countries/cache/locales/ru.json +1 -0
  111. data/lib/countries/cache/locales/rw.json +1 -0
  112. data/lib/countries/cache/locales/sc.json +1 -0
  113. data/lib/countries/cache/locales/sd.json +1 -0
  114. data/lib/countries/cache/locales/si.json +1 -0
  115. data/lib/countries/cache/locales/sk.json +1 -0
  116. data/lib/countries/cache/locales/sl.json +1 -0
  117. data/lib/countries/cache/locales/so.json +1 -0
  118. data/lib/countries/cache/locales/sq.json +1 -0
  119. data/lib/countries/cache/locales/sr.json +1 -0
  120. data/lib/countries/cache/locales/sv.json +1 -0
  121. data/lib/countries/cache/locales/sw.json +1 -0
  122. data/lib/countries/cache/locales/ta.json +1 -0
  123. data/lib/countries/cache/locales/te.json +1 -0
  124. data/lib/countries/cache/locales/tg.json +1 -0
  125. data/lib/countries/cache/locales/th.json +1 -0
  126. data/lib/countries/cache/locales/ti.json +1 -0
  127. data/lib/countries/cache/locales/tk.json +1 -0
  128. data/lib/countries/cache/locales/tl.json +1 -0
  129. data/lib/countries/cache/locales/tr.json +1 -0
  130. data/lib/countries/cache/locales/tt.json +1 -0
  131. data/lib/countries/cache/locales/ug.json +1 -0
  132. data/lib/countries/cache/locales/uk.json +1 -0
  133. data/lib/countries/cache/locales/ur.json +1 -0
  134. data/lib/countries/cache/locales/uz.json +1 -0
  135. data/lib/countries/cache/locales/ve.json +1 -0
  136. data/lib/countries/cache/locales/vi.json +1 -0
  137. data/lib/countries/cache/locales/wa.json +1 -0
  138. data/lib/countries/cache/locales/wo.json +1 -0
  139. data/lib/countries/cache/locales/xh.json +1 -0
  140. data/lib/countries/cache/locales/yo.json +1 -0
  141. data/lib/countries/cache/locales/zh-cn.json +1 -0
  142. data/lib/countries/cache/locales/zh-hk.json +1 -0
  143. data/lib/countries/cache/locales/zh-tw.json +1 -0
  144. data/lib/countries/cache/locales/zh.json +1 -0
  145. data/lib/countries/cache/locales/zu.json +1 -0
  146. data/lib/countries/configuration.rb +57 -0
  147. data/lib/countries/country/class_methods.rb +196 -0
  148. data/lib/countries/country/currency_methods.rb +13 -0
  149. data/lib/countries/country/emoji.rb +42 -0
  150. data/lib/countries/country.rb +214 -158
  151. data/lib/countries/data/countries/AD.yaml +32 -21
  152. data/lib/countries/data/countries/AE.yaml +40 -25
  153. data/lib/countries/data/countries/AF.yaml +36 -23
  154. data/lib/countries/data/countries/AG.yaml +36 -25
  155. data/lib/countries/data/countries/AI.yaml +33 -21
  156. data/lib/countries/data/countries/AL.yaml +35 -24
  157. data/lib/countries/data/countries/AM.yaml +36 -24
  158. data/lib/countries/data/countries/AO.yaml +30 -20
  159. data/lib/countries/data/countries/AQ.yaml +31 -22
  160. data/lib/countries/data/countries/AR.yaml +36 -24
  161. data/lib/countries/data/countries/AS.yaml +38 -25
  162. data/lib/countries/data/countries/AT.yaml +37 -25
  163. data/lib/countries/data/countries/AU.yaml +39 -23
  164. data/lib/countries/data/countries/AW.yaml +30 -20
  165. data/lib/countries/data/countries/AX.yaml +33 -22
  166. data/lib/countries/data/countries/AZ.yaml +37 -25
  167. data/lib/countries/data/countries/BA.yaml +40 -27
  168. data/lib/countries/data/countries/BB.yaml +33 -21
  169. data/lib/countries/data/countries/BD.yaml +32 -21
  170. data/lib/countries/data/countries/BE.yaml +42 -28
  171. data/lib/countries/data/countries/BF.yaml +32 -21
  172. data/lib/countries/data/countries/BG.yaml +38 -26
  173. data/lib/countries/data/countries/BH.yaml +35 -24
  174. data/lib/countries/data/countries/BI.yaml +32 -21
  175. data/lib/countries/data/countries/BJ.yaml +31 -21
  176. data/lib/countries/data/countries/BL.yaml +33 -22
  177. data/lib/countries/data/countries/BM.yaml +34 -22
  178. data/lib/countries/data/countries/BN.yaml +32 -21
  179. data/lib/countries/data/countries/BO.yaml +37 -25
  180. data/lib/countries/data/countries/BQ.yaml +33 -22
  181. data/lib/countries/data/countries/BR.yaml +42 -24
  182. data/lib/countries/data/countries/BS.yaml +32 -21
  183. data/lib/countries/data/countries/BT.yaml +33 -22
  184. data/lib/countries/data/countries/BV.yaml +31 -22
  185. data/lib/countries/data/countries/BW.yaml +32 -21
  186. data/lib/countries/data/countries/BY.yaml +38 -26
  187. data/lib/countries/data/countries/BZ.yaml +34 -23
  188. data/lib/countries/data/countries/CA.yaml +35 -23
  189. data/lib/countries/data/countries/CC.yaml +34 -23
  190. data/lib/countries/data/countries/CD.yaml +44 -28
  191. data/lib/countries/data/countries/CF.yaml +36 -25
  192. data/lib/countries/data/countries/CG.yaml +35 -23
  193. data/lib/countries/data/countries/CH.yaml +47 -26
  194. data/lib/countries/data/countries/CI.yaml +35 -24
  195. data/lib/countries/data/countries/CK.yaml +34 -24
  196. data/lib/countries/data/countries/CL.yaml +37 -21
  197. data/lib/countries/data/countries/CM.yaml +36 -25
  198. data/lib/countries/data/countries/CN.yaml +32 -21
  199. data/lib/countries/data/countries/CO.yaml +33 -22
  200. data/lib/countries/data/countries/CR.yaml +31 -20
  201. data/lib/countries/data/countries/CU.yaml +32 -21
  202. data/lib/countries/data/countries/CV.yaml +35 -24
  203. data/lib/countries/data/countries/CW.yaml +31 -21
  204. data/lib/countries/data/countries/CX.yaml +38 -25
  205. data/lib/countries/data/countries/CY.yaml +42 -28
  206. data/lib/countries/data/countries/CZ.yaml +42 -28
  207. data/lib/countries/data/countries/DE.yaml +39 -27
  208. data/lib/countries/data/countries/DJ.yaml +34 -23
  209. data/lib/countries/data/countries/DK.yaml +39 -27
  210. data/lib/countries/data/countries/DM.yaml +31 -20
  211. data/lib/countries/data/countries/DO.yaml +35 -24
  212. data/lib/countries/data/countries/DZ.yaml +36 -25
  213. data/lib/countries/data/countries/EC.yaml +32 -21
  214. data/lib/countries/data/countries/EE.yaml +37 -26
  215. data/lib/countries/data/countries/EG.yaml +36 -25
  216. data/lib/countries/data/countries/EH.yaml +38 -26
  217. data/lib/countries/data/countries/ER.yaml +36 -24
  218. data/lib/countries/data/countries/ES.yaml +38 -26
  219. data/lib/countries/data/countries/ET.yaml +35 -24
  220. data/lib/countries/data/countries/FI.yaml +40 -27
  221. data/lib/countries/data/countries/FJ.yaml +38 -25
  222. data/lib/countries/data/countries/FK.yaml +36 -25
  223. data/lib/countries/data/countries/FM.yaml +34 -23
  224. data/lib/countries/data/countries/FO.yaml +35 -24
  225. data/lib/countries/data/countries/FR.yaml +38 -26
  226. data/lib/countries/data/countries/GA.yaml +32 -22
  227. data/lib/countries/data/countries/GB.yaml +46 -28
  228. data/lib/countries/data/countries/GD.yaml +31 -20
  229. data/lib/countries/data/countries/GE.yaml +34 -23
  230. data/lib/countries/data/countries/GF.yaml +35 -23
  231. data/lib/countries/data/countries/GG.yaml +38 -26
  232. data/lib/countries/data/countries/GH.yaml +30 -20
  233. data/lib/countries/data/countries/GI.yaml +32 -21
  234. data/lib/countries/data/countries/GL.yaml +35 -24
  235. data/lib/countries/data/countries/GM.yaml +30 -20
  236. data/lib/countries/data/countries/GN.yaml +35 -23
  237. data/lib/countries/data/countries/GP.yaml +33 -22
  238. data/lib/countries/data/countries/GQ.yaml +36 -25
  239. data/lib/countries/data/countries/GR.yaml +41 -29
  240. data/lib/countries/data/countries/GS.yaml +34 -22
  241. data/lib/countries/data/countries/GT.yaml +31 -20
  242. data/lib/countries/data/countries/GU.yaml +36 -22
  243. data/lib/countries/data/countries/GW.yaml +34 -22
  244. data/lib/countries/data/countries/GY.yaml +30 -20
  245. data/lib/countries/data/countries/HK.yaml +33 -22
  246. data/lib/countries/data/countries/HM.yaml +35 -24
  247. data/lib/countries/data/countries/HN.yaml +31 -20
  248. data/lib/countries/data/countries/HR.yaml +40 -28
  249. data/lib/countries/data/countries/HT.yaml +34 -22
  250. data/lib/countries/data/countries/HU.yaml +39 -27
  251. data/lib/countries/data/countries/ID.yaml +34 -23
  252. data/lib/countries/data/countries/IE.yaml +39 -26
  253. data/lib/countries/data/countries/IL.yaml +39 -22
  254. data/lib/countries/data/countries/IM.yaml +37 -25
  255. data/lib/countries/data/countries/IN.yaml +35 -23
  256. data/lib/countries/data/countries/IO.yaml +35 -24
  257. data/lib/countries/data/countries/IQ.yaml +33 -22
  258. data/lib/countries/data/countries/IR.yaml +34 -23
  259. data/lib/countries/data/countries/IS.yaml +42 -24
  260. data/lib/countries/data/countries/IT.yaml +38 -26
  261. data/lib/countries/data/countries/JE.yaml +34 -22
  262. data/lib/countries/data/countries/JM.yaml +33 -22
  263. data/lib/countries/data/countries/JO.yaml +36 -25
  264. data/lib/countries/data/countries/JP.yaml +33 -22
  265. data/lib/countries/data/countries/KE.yaml +34 -22
  266. data/lib/countries/data/countries/KG.yaml +38 -26
  267. data/lib/countries/data/countries/KH.yaml +35 -24
  268. data/lib/countries/data/countries/KI.yaml +30 -20
  269. data/lib/countries/data/countries/KM.yaml +35 -24
  270. data/lib/countries/data/countries/KN.yaml +38 -25
  271. data/lib/countries/data/countries/KP.yaml +37 -26
  272. data/lib/countries/data/countries/KR.yaml +37 -26
  273. data/lib/countries/data/countries/KW.yaml +34 -23
  274. data/lib/countries/data/countries/KY.yaml +36 -24
  275. data/lib/countries/data/countries/KZ.yaml +36 -24
  276. data/lib/countries/data/countries/LA.yaml +32 -21
  277. data/lib/countries/data/countries/LB.yaml +37 -25
  278. data/lib/countries/data/countries/LC.yaml +35 -22
  279. data/lib/countries/data/countries/LI.yaml +32 -20
  280. data/lib/countries/data/countries/LK.yaml +33 -21
  281. data/lib/countries/data/countries/LR.yaml +31 -20
  282. data/lib/countries/data/countries/LS.yaml +33 -21
  283. data/lib/countries/data/countries/LT.yaml +41 -28
  284. data/lib/countries/data/countries/LU.yaml +39 -25
  285. data/lib/countries/data/countries/LV.yaml +45 -27
  286. data/lib/countries/data/countries/LY.yaml +36 -26
  287. data/lib/countries/data/countries/MA.yaml +35 -24
  288. data/lib/countries/data/countries/MC.yaml +32 -21
  289. data/lib/countries/data/countries/MD.yaml +36 -25
  290. data/lib/countries/data/countries/ME.yaml +38 -24
  291. data/lib/countries/data/countries/MF.yaml +37 -24
  292. data/lib/countries/data/countries/MG.yaml +35 -23
  293. data/lib/countries/data/countries/MH.yaml +37 -25
  294. data/lib/countries/data/countries/MK.yaml +37 -25
  295. data/lib/countries/data/countries/ML.yaml +30 -20
  296. data/lib/countries/data/countries/MM.yaml +31 -20
  297. data/lib/countries/data/countries/MN.yaml +34 -23
  298. data/lib/countries/data/countries/MO.yaml +33 -22
  299. data/lib/countries/data/countries/MP.yaml +38 -26
  300. data/lib/countries/data/countries/MQ.yaml +33 -22
  301. data/lib/countries/data/countries/MR.yaml +36 -25
  302. data/lib/countries/data/countries/MS.yaml +32 -21
  303. data/lib/countries/data/countries/MT.yaml +38 -25
  304. data/lib/countries/data/countries/MU.yaml +33 -22
  305. data/lib/countries/data/countries/MV.yaml +34 -23
  306. data/lib/countries/data/countries/MW.yaml +32 -21
  307. data/lib/countries/data/countries/MX.yaml +39 -23
  308. data/lib/countries/data/countries/MY.yaml +36 -24
  309. data/lib/countries/data/countries/MZ.yaml +32 -21
  310. data/lib/countries/data/countries/NA.yaml +35 -23
  311. data/lib/countries/data/countries/NC.yaml +36 -25
  312. data/lib/countries/data/countries/NE.yaml +32 -21
  313. data/lib/countries/data/countries/NF.yaml +36 -25
  314. data/lib/countries/data/countries/NG.yaml +39 -23
  315. data/lib/countries/data/countries/NI.yaml +31 -20
  316. data/lib/countries/data/countries/NL.yaml +41 -28
  317. data/lib/countries/data/countries/NO.yaml +43 -25
  318. data/lib/countries/data/countries/NP.yaml +43 -22
  319. data/lib/countries/data/countries/NR.yaml +32 -21
  320. data/lib/countries/data/countries/NU.yaml +30 -20
  321. data/lib/countries/data/countries/NZ.yaml +41 -24
  322. data/lib/countries/data/countries/OM.yaml +33 -22
  323. data/lib/countries/data/countries/PA.yaml +31 -21
  324. data/lib/countries/data/countries/PE.yaml +33 -22
  325. data/lib/countries/data/countries/PF.yaml +36 -25
  326. data/lib/countries/data/countries/PG.yaml +35 -24
  327. data/lib/countries/data/countries/PH.yaml +41 -24
  328. data/lib/countries/data/countries/PK.yaml +34 -22
  329. data/lib/countries/data/countries/PL.yaml +38 -26
  330. data/lib/countries/data/countries/PM.yaml +36 -25
  331. data/lib/countries/data/countries/PN.yaml +35 -23
  332. data/lib/countries/data/countries/PR.yaml +33 -21
  333. data/lib/countries/data/countries/PS.yaml +41 -28
  334. data/lib/countries/data/countries/PT.yaml +34 -22
  335. data/lib/countries/data/countries/PW.yaml +31 -20
  336. data/lib/countries/data/countries/PY.yaml +33 -21
  337. data/lib/countries/data/countries/QA.yaml +32 -22
  338. data/lib/countries/data/countries/RE.yaml +34 -23
  339. data/lib/countries/data/countries/RO.yaml +40 -28
  340. data/lib/countries/data/countries/RS.yaml +34 -23
  341. data/lib/countries/data/countries/RU.yaml +37 -26
  342. data/lib/countries/data/countries/RW.yaml +35 -23
  343. data/lib/countries/data/countries/SA.yaml +42 -25
  344. data/lib/countries/data/countries/SB.yaml +35 -25
  345. data/lib/countries/data/countries/SC.yaml +33 -22
  346. data/lib/countries/data/countries/SD.yaml +37 -25
  347. data/lib/countries/data/countries/SE.yaml +39 -27
  348. data/lib/countries/data/countries/SG.yaml +38 -25
  349. data/lib/countries/data/countries/SH.yaml +37 -25
  350. data/lib/countries/data/countries/SI.yaml +39 -27
  351. data/lib/countries/data/countries/SJ.yaml +36 -25
  352. data/lib/countries/data/countries/SK.yaml +39 -27
  353. data/lib/countries/data/countries/SL.yaml +30 -20
  354. data/lib/countries/data/countries/SM.yaml +32 -21
  355. data/lib/countries/data/countries/SN.yaml +32 -21
  356. data/lib/countries/data/countries/SO.yaml +35 -23
  357. data/lib/countries/data/countries/SR.yaml +31 -21
  358. data/lib/countries/data/countries/SS.yaml +35 -23
  359. data/lib/countries/data/countries/ST.yaml +34 -24
  360. data/lib/countries/data/countries/SV.yaml +32 -21
  361. data/lib/countries/data/countries/SX.yaml +34 -22
  362. data/lib/countries/data/countries/SY.yaml +36 -26
  363. data/lib/countries/data/countries/SZ.yaml +35 -23
  364. data/lib/countries/data/countries/TC.yaml +38 -25
  365. data/lib/countries/data/countries/TD.yaml +36 -25
  366. data/lib/countries/data/countries/TF.yaml +39 -28
  367. data/lib/countries/data/countries/TG.yaml +30 -20
  368. data/lib/countries/data/countries/TH.yaml +39 -22
  369. data/lib/countries/data/countries/TJ.yaml +37 -25
  370. data/lib/countries/data/countries/TK.yaml +33 -23
  371. data/lib/countries/data/countries/TL.yaml +34 -24
  372. data/lib/countries/data/countries/TM.yaml +35 -23
  373. data/lib/countries/data/countries/TN.yaml +38 -26
  374. data/lib/countries/data/countries/TO.yaml +32 -21
  375. data/lib/countries/data/countries/TR.yaml +35 -24
  376. data/lib/countries/data/countries/TT.yaml +35 -24
  377. data/lib/countries/data/countries/TV.yaml +30 -20
  378. data/lib/countries/data/countries/TW.yaml +33 -22
  379. data/lib/countries/data/countries/TZ.yaml +36 -24
  380. data/lib/countries/data/countries/UA.yaml +42 -25
  381. data/lib/countries/data/countries/UG.yaml +33 -22
  382. data/lib/countries/data/countries/UM.yaml +37 -26
  383. data/lib/countries/data/countries/US.yaml +37 -24
  384. data/lib/countries/data/countries/UY.yaml +31 -20
  385. data/lib/countries/data/countries/UZ.yaml +37 -25
  386. data/lib/countries/data/countries/VA.yaml +39 -27
  387. data/lib/countries/data/countries/VC.yaml +38 -24
  388. data/lib/countries/data/countries/VE.yaml +31 -20
  389. data/lib/countries/data/countries/VG.yaml +38 -26
  390. data/lib/countries/data/countries/VI.yaml +37 -25
  391. data/lib/countries/data/countries/VN.yaml +38 -21
  392. data/lib/countries/data/countries/VU.yaml +34 -22
  393. data/lib/countries/data/countries/WF.yaml +36 -25
  394. data/lib/countries/data/countries/WS.yaml +32 -21
  395. data/lib/countries/data/countries/YE.yaml +33 -23
  396. data/lib/countries/data/countries/YT.yaml +32 -21
  397. data/lib/countries/data/countries/ZA.yaml +52 -32
  398. data/lib/countries/data/countries/ZM.yaml +33 -22
  399. data/lib/countries/data/countries/ZW.yaml +36 -24
  400. data/lib/countries/data/subdivisions/AD.yaml +85 -50
  401. data/lib/countries/data/subdivisions/AE.yaml +513 -55
  402. data/lib/countries/data/subdivisions/AF.yaml +2239 -234
  403. data/lib/countries/data/subdivisions/AG.yaml +451 -57
  404. data/lib/countries/data/subdivisions/AI.yaml +197 -0
  405. data/lib/countries/data/subdivisions/AL.yaml +746 -316
  406. data/lib/countries/data/subdivisions/AM.yaml +788 -68
  407. data/lib/countries/data/subdivisions/AO.yaml +1145 -126
  408. data/lib/countries/data/subdivisions/AR.yaml +1668 -168
  409. data/lib/countries/data/subdivisions/AT.yaml +714 -63
  410. data/lib/countries/data/subdivisions/AU.yaml +673 -56
  411. data/lib/countries/data/subdivisions/AZ.yaml +4508 -536
  412. data/lib/countries/data/subdivisions/BA.yaml +359 -14
  413. data/lib/countries/data/subdivisions/BB.yaml +589 -79
  414. data/lib/countries/data/subdivisions/BD.yaml +2593 -400
  415. data/lib/countries/data/subdivisions/BE.yaml +943 -77
  416. data/lib/countries/data/subdivisions/BF.yaml +2917 -311
  417. data/lib/countries/data/subdivisions/BG.yaml +1965 -199
  418. data/lib/countries/data/subdivisions/BH.yaml +184 -31
  419. data/lib/countries/data/subdivisions/BI.yaml +982 -112
  420. data/lib/countries/data/subdivisions/BJ.yaml +691 -84
  421. data/lib/countries/data/subdivisions/BM.yaml +155 -0
  422. data/lib/countries/data/subdivisions/BN.yaml +225 -24
  423. data/lib/countries/data/subdivisions/BO.yaml +561 -63
  424. data/lib/countries/data/subdivisions/BQ.yaml +217 -21
  425. data/lib/countries/data/subdivisions/BR.yaml +2154 -185
  426. data/lib/countries/data/subdivisions/BS.yaml +1821 -143
  427. data/lib/countries/data/subdivisions/BT.yaml +1087 -140
  428. data/lib/countries/data/subdivisions/BW.yaml +923 -63
  429. data/lib/countries/data/subdivisions/BY.yaml +528 -31
  430. data/lib/countries/data/subdivisions/BZ.yaml +309 -42
  431. data/lib/countries/data/subdivisions/CA.yaml +1105 -92
  432. data/lib/countries/data/subdivisions/CD.yaml +1187 -78
  433. data/lib/countries/data/subdivisions/CF.yaml +961 -119
  434. data/lib/countries/data/subdivisions/CG.yaml +640 -77
  435. data/lib/countries/data/subdivisions/CH.yaml +1946 -182
  436. data/lib/countries/data/subdivisions/CI.yaml +859 -125
  437. data/lib/countries/data/subdivisions/CK.yaml +155 -0
  438. data/lib/countries/data/subdivisions/CL.yaml +968 -105
  439. data/lib/countries/data/subdivisions/CM.yaml +582 -70
  440. data/lib/countries/data/subdivisions/CN.yaml +2618 -274
  441. data/lib/countries/data/subdivisions/CO.yaml +2102 -227
  442. data/lib/countries/data/subdivisions/CR.yaml +393 -49
  443. data/lib/countries/data/subdivisions/CU.yaml +926 -119
  444. data/lib/countries/data/subdivisions/CV.yaml +1198 -119
  445. data/lib/countries/data/subdivisions/CY.yaml +328 -42
  446. data/lib/countries/data/subdivisions/CZ.yaml +2892 -129
  447. data/lib/countries/data/subdivisions/DE.yaml +1420 -112
  448. data/lib/countries/data/subdivisions/DJ.yaml +375 -42
  449. data/lib/countries/data/subdivisions/DK.yaml +344 -180
  450. data/lib/countries/data/subdivisions/DM.yaml +512 -72
  451. data/lib/countries/data/subdivisions/DO.yaml +1763 -219
  452. data/lib/countries/data/subdivisions/DZ.yaml +2869 -334
  453. data/lib/countries/data/subdivisions/EC.yaml +1348 -168
  454. data/lib/countries/data/subdivisions/EE.yaml +1368 -118
  455. data/lib/countries/data/subdivisions/EG.yaml +1628 -190
  456. data/lib/countries/data/subdivisions/EH.yaml +48 -28
  457. data/lib/countries/data/subdivisions/ER.yaml +348 -42
  458. data/lib/countries/data/subdivisions/ES.yaml +4875 -375
  459. data/lib/countries/data/subdivisions/ET.yaml +735 -77
  460. data/lib/countries/data/subdivisions/FI.yaml +890 -36
  461. data/lib/countries/data/subdivisions/FJ.yaml +720 -35
  462. data/lib/countries/data/subdivisions/FM.yaml +202 -24
  463. data/lib/countries/data/subdivisions/FR.yaml +8250 -684
  464. data/lib/countries/data/subdivisions/GA.yaml +526 -63
  465. data/lib/countries/data/subdivisions/GB.yaml +12522 -1516
  466. data/lib/countries/data/subdivisions/GD.yaml +354 -49
  467. data/lib/countries/data/subdivisions/GE.yaml +833 -85
  468. data/lib/countries/data/subdivisions/GH.yaml +658 -70
  469. data/lib/countries/data/subdivisions/GL.yaml +262 -0
  470. data/lib/countries/data/subdivisions/GM.yaml +381 -42
  471. data/lib/countries/data/subdivisions/GN.yaml +1919 -234
  472. data/lib/countries/data/subdivisions/GQ.yaml +459 -59
  473. data/lib/countries/data/subdivisions/GR.yaml +871 -527
  474. data/lib/countries/data/subdivisions/GT.yaml +1270 -150
  475. data/lib/countries/data/subdivisions/GW.yaml +563 -59
  476. data/lib/countries/data/subdivisions/GY.yaml +498 -70
  477. data/lib/countries/data/subdivisions/HN.yaml +1019 -126
  478. data/lib/countries/data/subdivisions/HR.yaml +1419 -151
  479. data/lib/countries/data/subdivisions/HT.yaml +525 -63
  480. data/lib/countries/data/subdivisions/HU.yaml +2949 -302
  481. data/lib/countries/data/subdivisions/ID.yaml +2679 -243
  482. data/lib/countries/data/subdivisions/IE.yaml +2027 -177
  483. data/lib/countries/data/subdivisions/IL.yaml +376 -42
  484. data/lib/countries/data/subdivisions/IN.yaml +3110 -252
  485. data/lib/countries/data/subdivisions/IQ.yaml +1105 -126
  486. data/lib/countries/data/subdivisions/IR.yaml +2092 -215
  487. data/lib/countries/data/subdivisions/IS.yaml +830 -59
  488. data/lib/countries/data/subdivisions/IT.yaml +8525 -790
  489. data/lib/countries/data/subdivisions/JM.yaml +732 -100
  490. data/lib/countries/data/subdivisions/JO.yaml +662 -48
  491. data/lib/countries/data/subdivisions/JP.yaml +3562 -327
  492. data/lib/countries/data/subdivisions/KE.yaml +1449 -56
  493. data/lib/countries/data/subdivisions/KG.yaml +624 -57
  494. data/lib/countries/data/subdivisions/KH.yaml +1332 -147
  495. data/lib/countries/data/subdivisions/KI.yaml +163 -17
  496. data/lib/countries/data/subdivisions/KM.yaml +189 -21
  497. data/lib/countries/data/subdivisions/KN.yaml +835 -100
  498. data/lib/countries/data/subdivisions/KP.yaml +922 -80
  499. data/lib/countries/data/subdivisions/KR.yaml +1225 -88
  500. data/lib/countries/data/subdivisions/KW.yaml +280 -42
  501. data/lib/countries/data/subdivisions/KZ.yaml +1213 -122
  502. data/lib/countries/data/subdivisions/LA.yaml +947 -120
  503. data/lib/countries/data/subdivisions/LB.yaml +386 -22
  504. data/lib/countries/data/subdivisions/LC.yaml +470 -0
  505. data/lib/countries/data/subdivisions/LI.yaml +557 -39
  506. data/lib/countries/data/subdivisions/LK.yaml +1546 -175
  507. data/lib/countries/data/subdivisions/LR.yaml +857 -105
  508. data/lib/countries/data/subdivisions/LS.yaml +529 -70
  509. data/lib/countries/data/subdivisions/LT.yaml +2616 -71
  510. data/lib/countries/data/subdivisions/LU.yaml +490 -24
  511. data/lib/countries/data/subdivisions/LV.yaml +2501 -178
  512. data/lib/countries/data/subdivisions/LY.yaml +1188 -262
  513. data/lib/countries/data/subdivisions/MA.yaml +3375 -437
  514. data/lib/countries/data/subdivisions/MC.yaml +484 -0
  515. data/lib/countries/data/subdivisions/MD.yaml +2240 -71
  516. data/lib/countries/data/subdivisions/ME.yaml +1136 -151
  517. data/lib/countries/data/subdivisions/MG.yaml +253 -42
  518. data/lib/countries/data/subdivisions/MH.yaml +995 -151
  519. data/lib/countries/data/subdivisions/MK.yaml +3964 -752
  520. data/lib/countries/data/subdivisions/ML.yaml +569 -63
  521. data/lib/countries/data/subdivisions/MM.yaml +849 -98
  522. data/lib/countries/data/subdivisions/MN.yaml +1389 -160
  523. data/lib/countries/data/subdivisions/MR.yaml +702 -94
  524. data/lib/countries/data/subdivisions/MT.yaml +3726 -478
  525. data/lib/countries/data/subdivisions/MU.yaml +923 -115
  526. data/lib/countries/data/subdivisions/MV.yaml +1219 -148
  527. data/lib/countries/data/subdivisions/MW.yaml +1646 -189
  528. data/lib/countries/data/subdivisions/MX.yaml +2414 -222
  529. data/lib/countries/data/subdivisions/MY.yaml +1071 -114
  530. data/lib/countries/data/subdivisions/MZ.yaml +665 -77
  531. data/lib/countries/data/subdivisions/NA.yaml +736 -98
  532. data/lib/countries/data/subdivisions/NE.yaml +475 -56
  533. data/lib/countries/data/subdivisions/NG.yaml +2370 -259
  534. data/lib/countries/data/subdivisions/NI.yaml +952 -119
  535. data/lib/countries/data/subdivisions/NL.yaml +1205 -84
  536. data/lib/countries/data/subdivisions/NO.yaml +856 -164
  537. data/lib/countries/data/subdivisions/NP.yaml +982 -90
  538. data/lib/countries/data/subdivisions/NR.yaml +827 -100
  539. data/lib/countries/data/subdivisions/NZ.yaml +945 -121
  540. data/lib/countries/data/subdivisions/OM.yaml +633 -63
  541. data/lib/countries/data/subdivisions/PA.yaml +708 -69
  542. data/lib/countries/data/subdivisions/PE.yaml +1489 -179
  543. data/lib/countries/data/subdivisions/PG.yaml +1211 -140
  544. data/lib/countries/data/subdivisions/PH.yaml +5089 -572
  545. data/lib/countries/data/subdivisions/PK.yaml +566 -56
  546. data/lib/countries/data/subdivisions/PL.yaml +1042 -150
  547. data/lib/countries/data/subdivisions/PS.yaml +747 -0
  548. data/lib/countries/data/subdivisions/PT.yaml +1122 -143
  549. data/lib/countries/data/subdivisions/PW.yaml +832 -108
  550. data/lib/countries/data/subdivisions/PY.yaml +1045 -127
  551. data/lib/countries/data/subdivisions/QA.yaml +469 -64
  552. data/lib/countries/data/subdivisions/RO.yaml +2746 -294
  553. data/lib/countries/data/subdivisions/RS.yaml +1786 -195
  554. data/lib/countries/data/subdivisions/RU.yaml +6570 -655
  555. data/lib/countries/data/subdivisions/RW.yaml +327 -35
  556. data/lib/countries/data/subdivisions/SA.yaml +768 -102
  557. data/lib/countries/data/subdivisions/SB.yaml +550 -70
  558. data/lib/countries/data/subdivisions/SC.yaml +1286 -163
  559. data/lib/countries/data/subdivisions/SD.yaml +1002 -254
  560. data/lib/countries/data/subdivisions/SE.yaml +1416 -149
  561. data/lib/countries/data/subdivisions/SG.yaml +108 -31
  562. data/lib/countries/data/subdivisions/SH.yaml +197 -21
  563. data/lib/countries/data/subdivisions/SI.yaml +10997 -1403
  564. data/lib/countries/data/subdivisions/SJ.yaml +29 -0
  565. data/lib/countries/data/subdivisions/SK.yaml +533 -57
  566. data/lib/countries/data/subdivisions/SL.yaml +231 -28
  567. data/lib/countries/data/subdivisions/SM.yaml +577 -65
  568. data/lib/countries/data/subdivisions/SN.yaml +761 -77
  569. data/lib/countries/data/subdivisions/SO.yaml +914 -126
  570. data/lib/countries/data/subdivisions/SR.yaml +512 -70
  571. data/lib/countries/data/subdivisions/SS.yaml +624 -0
  572. data/lib/countries/data/subdivisions/ST.yaml +73 -14
  573. data/lib/countries/data/subdivisions/SV.yaml +747 -98
  574. data/lib/countries/data/subdivisions/SY.yaml +806 -91
  575. data/lib/countries/data/subdivisions/SZ.yaml +217 -28
  576. data/lib/countries/data/subdivisions/TD.yaml +1242 -126
  577. data/lib/countries/data/subdivisions/TG.yaml +264 -35
  578. data/lib/countries/data/subdivisions/TH.yaml +4535 -539
  579. data/lib/countries/data/subdivisions/TJ.yaml +356 -0
  580. data/lib/countries/data/subdivisions/TK.yaml +43 -0
  581. data/lib/countries/data/subdivisions/TL.yaml +682 -91
  582. data/lib/countries/data/subdivisions/TM.yaml +390 -46
  583. data/lib/countries/data/subdivisions/TN.yaml +1301 -168
  584. data/lib/countries/data/subdivisions/TO.yaml +260 -36
  585. data/lib/countries/data/subdivisions/TR.yaml +5858 -624
  586. data/lib/countries/data/subdivisions/TT.yaml +865 -112
  587. data/lib/countries/data/subdivisions/TV.yaml +382 -44
  588. data/lib/countries/data/subdivisions/TW.yaml +1281 -145
  589. data/lib/countries/data/subdivisions/TZ.yaml +1868 -184
  590. data/lib/countries/data/subdivisions/UA.yaml +1988 -192
  591. data/lib/countries/data/subdivisions/UG.yaml +6150 -544
  592. data/lib/countries/data/subdivisions/UM.yaml +710 -59
  593. data/lib/countries/data/subdivisions/US.yaml +4789 -404
  594. data/lib/countries/data/subdivisions/UY.yaml +1163 -112
  595. data/lib/countries/data/subdivisions/UZ.yaml +902 -99
  596. data/lib/countries/data/subdivisions/VC.yaml +289 -38
  597. data/lib/countries/data/subdivisions/VE.yaml +1559 -175
  598. data/lib/countries/data/subdivisions/VN.yaml +3799 -550
  599. data/lib/countries/data/subdivisions/VU.yaml +333 -43
  600. data/lib/countries/data/subdivisions/WF.yaml +201 -0
  601. data/lib/countries/data/subdivisions/WS.yaml +587 -77
  602. data/lib/countries/data/subdivisions/YE.yaml +1262 -135
  603. data/lib/countries/data/subdivisions/ZA.yaml +712 -63
  604. data/lib/countries/data/subdivisions/ZM.yaml +568 -65
  605. data/lib/countries/data/subdivisions/ZW.yaml +520 -70
  606. data/lib/countries/data/translation_corrections.yaml +35 -5
  607. data/lib/countries/data.rb +161 -16
  608. data/lib/countries/global.rb +13 -3
  609. data/lib/countries/iso3166.rb +9 -2
  610. data/lib/countries/kwarg_struct.rb +12 -0
  611. data/lib/countries/mongoid.rb +25 -22
  612. data/lib/countries/setup.rb +7 -7
  613. data/lib/countries/sources/cldr/downloader.rb +37 -0
  614. data/lib/countries/sources/cldr/subdivision.rb +35 -0
  615. data/lib/countries/sources/cldr/subdivision_updater.rb +35 -0
  616. data/lib/countries/sources/local/cached_loader.rb +29 -0
  617. data/lib/countries/sources/local/subdivision.rb +33 -0
  618. data/lib/countries/sources.rb +6 -0
  619. data/lib/countries/structure.rb +72 -0
  620. data/lib/countries/subdivision.rb +10 -0
  621. data/lib/countries/tasks/geocoding.rake +97 -0
  622. data/lib/countries/tasks/postal_codes.rake +48 -0
  623. data/lib/countries/timezones.rb +13 -0
  624. data/lib/countries/translations.rb +11 -0
  625. data/lib/countries/version.rb +1 -1
  626. data/lib/countries.rb +2 -0
  627. data/spec/00_global_spec.rb +56 -0
  628. data/spec/configuration_spec.rb +54 -0
  629. data/spec/country_spec.rb +473 -87
  630. data/spec/data_spec.rb +181 -0
  631. data/spec/mongoid_spec.rb +2 -2
  632. data/spec/perf_spec.rb +74 -0
  633. data/spec/spec_helper.rb +12 -0
  634. data/spec/subdivision_spec.rb +32 -0
  635. data/spec/thread_safety_spec.rb +46 -0
  636. data/spec/timezone_spec.rb +32 -0
  637. metadata +206 -30
  638. data/.travis.yml +0 -11
  639. data/lib/countries/cache/countries +0 -0
  640. data/lib/countries/data/countries/AN.yaml +0 -42
  641. data/lib/countries/data/countries.yaml +0 -251
  642. data/lib/countries/data/subdivisions/Ky.yaml +0 -55
  643. data/lib/countries/data/subdivisions/TF.yaml +0 -27
  644. data/lib/countries/data/subdivisions/Tj.yaml +0 -38
  645. data/spec/setup_spec.rb +0 -14
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  AU:
3
- continent: Australia
4
3
  address_format: |-
5
4
  {{recipient}}
6
5
  {{street}}
@@ -8,37 +7,54 @@ AU:
8
7
  {{country}}
9
8
  alpha2: AU
10
9
  alpha3: AUS
10
+ continent: Australia
11
11
  country_code: '61'
12
- currency: AUD
12
+ currency_code: AUD
13
+ gec: AS
14
+ geo:
15
+ latitude: -25.274398
16
+ longitude: 133.775136
17
+ max_latitude: -9.187026399999999
18
+ max_longitude: 159.2872223
19
+ min_latitude: -54.83376579999999
20
+ min_longitude: 110.9510339
21
+ bounds:
22
+ northeast:
23
+ lat: -9.187026399999999
24
+ lng: 159.2872223
25
+ southwest:
26
+ lat: -54.83376579999999
27
+ lng: 110.9510339
13
28
  international_prefix: '0011'
14
29
  ioc: AUS
15
- gec: AS
16
- latitude: 27 00 S
17
- longitude: 133 00 E
18
- name: Australia
19
- names:
20
- - Australia
21
- - Australien
22
- - Australie
23
- - "オーストラリア"
24
- - Australië
30
+ iso_long_name: The Commonwealth of Australia
31
+ iso_short_name: Australia
32
+ languages_official:
33
+ - en
34
+ languages_spoken:
35
+ - en
25
36
  national_destination_code_lengths:
26
37
  - 2
27
38
  national_number_lengths:
28
39
  - 9
29
40
  national_prefix: '0'
41
+ nationality: Australian
30
42
  number: '036'
43
+ postal_code: true
44
+ postal_code_format: "\\d{4}"
31
45
  region: Oceania
46
+ start_of_week: monday
32
47
  subregion: Australia and New Zealand
33
- world_region: APAC
34
48
  un_locode: AU
35
- languages:
36
- - en
37
- nationality: Australian
38
- postal_code: true
39
- min_longitude: '147.1'
40
- min_latitude: "-29.472222"
41
- max_longitude: '159.119444'
42
- max_latitude: "-15.5"
43
- latitude_dec: "-25.585241317749023"
44
- longitude_dec: '134.50411987304688'
49
+ unofficial_names:
50
+ - Australia
51
+ - Australien
52
+ - Australie
53
+ - オーストラリア
54
+ - Australië
55
+ vat_rates:
56
+ standard: 10
57
+ reduced: []
58
+ super_reduced:
59
+ parking:
60
+ world_region: APAC
@@ -1,36 +1,46 @@
1
1
  ---
2
2
  AW:
3
- continent: North America
4
3
  alpha2: AW
5
4
  alpha3: ABW
5
+ continent: North America
6
6
  country_code: '297'
7
- currency: AWG
7
+ currency_code: AWG
8
+ gec: AA
9
+ geo:
10
+ latitude: 12.52111
11
+ longitude: -69.968338
12
+ max_latitude: 12.6306179
13
+ max_longitude: -69.8644638
14
+ min_latitude: 12.406093
15
+ min_longitude: -70.070114
16
+ bounds:
17
+ northeast:
18
+ lat: 12.6306179
19
+ lng: -69.8644638
20
+ southwest:
21
+ lat: 12.406093
22
+ lng: -70.070114
8
23
  international_prefix: '00'
9
24
  ioc: ARU
10
- gec: AA
11
- latitude: 12 30 N
12
- longitude: 69 58 W
13
- name: Aruba
14
- names:
15
- - Aruba
16
- - "アルバ"
25
+ iso_long_name: Aruba
26
+ iso_short_name: Aruba
27
+ languages_official:
28
+ - nl
29
+ languages_spoken:
30
+ - nl
17
31
  national_destination_code_lengths:
18
32
  - 2
19
33
  national_number_lengths:
20
34
  - 7
21
35
  national_prefix: None
36
+ nationality: Aruban
22
37
  number: '533'
38
+ postal_code: false
23
39
  region: Americas
40
+ start_of_week: monday
24
41
  subregion: Caribbean
25
- world_region: AMER
26
42
  un_locode: AW
27
- languages:
28
- - nl
29
- nationality: Aruban
30
- postal_code: false
31
- min_longitude: "-70.066667"
32
- min_latitude: '12.416667'
33
- max_longitude: "-69.85"
34
- max_latitude: '12.616667'
35
- latitude_dec: '12.506523132324219'
36
- longitude_dec: "-69.96931457519531"
43
+ unofficial_names:
44
+ - Aruba
45
+ - アルバ
46
+ world_region: AMER
@@ -1,36 +1,47 @@
1
1
  ---
2
2
  AX:
3
- continent: Europe
4
3
  alpha2: AX
5
4
  alpha3: ALA
5
+ continent: Europe
6
6
  country_code: '358'
7
- currency: EUR
7
+ currency_code: EUR
8
+ gec:
9
+ geo:
10
+ latitude: 60.1785247
11
+ longitude: 19.9156105
12
+ max_latitude: 60.8400009
13
+ max_longitude: 21.4866841
14
+ min_latitude: 59.6872001
15
+ min_longitude: 19.2095998
16
+ bounds:
17
+ northeast:
18
+ lat: 60.8400009
19
+ lng: 21.4866841
20
+ southwest:
21
+ lat: 59.6872001
22
+ lng: 19.2095998
8
23
  international_prefix: ''
9
24
  ioc:
10
- gec:
11
- latitude: ''
12
- longitude: ''
13
- name: "Åland Islands"
14
- names:
15
- - "Åland Islands"
16
- - "Åland"
17
- - "オーランド諸島"
18
- - "Ålandeilanden"
25
+ iso_long_name: Åland
26
+ iso_short_name: Åland Islands
27
+ languages_official:
28
+ - sv
29
+ languages_spoken:
30
+ - sv
19
31
  national_destination_code_lengths: []
20
32
  national_number_lengths: []
21
33
  national_prefix: ''
34
+ nationality: Swedish
22
35
  number: '248'
36
+ postal_code: true
37
+ postal_code_format: 22\d{3}
23
38
  region: Europe
39
+ start_of_week: monday
24
40
  subregion: Northern Europe
41
+ un_locode: AX
42
+ unofficial_names:
43
+ - Åland Islands
44
+ - Åland
45
+ - オーランド諸島
46
+ - Ålandeilanden
25
47
  world_region: EMEA
26
- un_locode:
27
- languages:
28
- - sv
29
- nationality: Swedish
30
- postal_code: true
31
- min_longitude: '19.2633194'
32
- min_latitude: '59.7272227'
33
- max_longitude: '21.4858534'
34
- max_latitude: '60.7411127'
35
- latitude_dec: '60.2023811340332'
36
- longitude_dec: '19.96520233154297'
@@ -1,42 +1,54 @@
1
1
  ---
2
2
  AZ:
3
- continent: Asia
4
3
  alpha2: AZ
5
4
  alpha3: AZE
5
+ continent: Asia
6
6
  country_code: '994'
7
- currency: AZN
7
+ currency_code: AZN
8
+ gec: AJ
9
+ geo:
10
+ latitude: 40.143105
11
+ longitude: 47.576927
12
+ max_latitude: 41.9594999
13
+ max_longitude: 50.7458001
14
+ min_latitude: 38.3922171
15
+ min_longitude: 44.7632599
16
+ bounds:
17
+ northeast:
18
+ lat: 41.9594999
19
+ lng: 50.7458001
20
+ southwest:
21
+ lat: 38.3922171
22
+ lng: 44.7632599
8
23
  international_prefix: '810'
9
24
  ioc: AZE
10
- gec: AJ
11
- latitude: 40 30 N
12
- longitude: 47 30 E
13
- name: Azerbaijan
14
- names:
15
- - Azerbaijan
16
- - Aserbaidschan
17
- - Azerbaïdjan
18
- - Azerbaiyán
19
- - "アゼルバイジャン"
20
- - Azerbeidzjan
25
+ iso_long_name: The Republic of Azerbaijan
26
+ iso_short_name: Azerbaijan
27
+ languages_official:
28
+ - az
29
+ - hy
30
+ languages_spoken:
31
+ - az
32
+ - hy
21
33
  national_destination_code_lengths:
22
34
  - 2
23
35
  national_number_lengths:
24
36
  - 8
25
37
  - 9
26
38
  national_prefix: '8'
39
+ nationality: Azerbaijani
27
40
  number: '031'
41
+ postal_code: true
42
+ postal_code_format: "\\d{4}"
28
43
  region: Asia
44
+ start_of_week: monday
29
45
  subregion: Western Asia
30
- world_region: EMEA
31
46
  un_locode: AZ
32
- languages:
33
- - az
34
- - hy
35
- nationality: Azerbaijani
36
- postal_code: true
37
- min_longitude: '44.876389'
38
- min_latitude: '38.416667'
39
- max_longitude: '50.858333'
40
- max_latitude: '41.910556'
41
- latitude_dec: '40.33100509643555'
42
- longitude_dec: '47.80820083618164'
47
+ unofficial_names:
48
+ - Azerbaijan
49
+ - Aserbaidschan
50
+ - Azerbaïdjan
51
+ - Azerbaiyán
52
+ - アゼルバイジャン
53
+ - Azerbeidzjan
54
+ world_region: EMEA
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  BA:
3
- continent: Europe
4
3
  address_format: |-
5
4
  {{recipient}}
6
5
  {{street}}
@@ -8,41 +7,55 @@ BA:
8
7
  {{country}}
9
8
  alpha2: BA
10
9
  alpha3: BIH
10
+ continent: Europe
11
11
  country_code: '387'
12
- currency: BAM
12
+ currency_code: BAM
13
+ gec: BK
14
+ geo:
15
+ latitude: 43.915886
16
+ longitude: 17.679076
17
+ max_latitude: 45.2766262
18
+ max_longitude: 19.6237016
19
+ min_latitude: 42.5564808
20
+ min_longitude: 15.7223665
21
+ bounds:
22
+ northeast:
23
+ lat: 45.2766262
24
+ lng: 19.6237016
25
+ southwest:
26
+ lat: 42.5564808
27
+ lng: 15.7223665
13
28
  international_prefix: '00'
14
29
  ioc: BIH
15
- gec: BK
16
- latitude: 44 00 N
17
- longitude: 18 00 E
18
- name: Bosnia and Herzegovina
19
- names:
20
- - Bosnia and Herzegovina
21
- - Bosnien und Herzegowina
22
- - Bosnie et Herzégovine
23
- - Bosnia y Herzegovina
24
- - "ボスニア・ヘルツェゴビナ"
25
- - Bosnië en Herzegovina
26
- - Bosnia Herzegovina
30
+ iso_long_name: Bosnia and Herzegovina
31
+ iso_short_name: Bosnia and Herzegovina
32
+ languages_official:
33
+ - bs
34
+ - hr
35
+ - sr
36
+ languages_spoken:
37
+ - bs
38
+ - hr
39
+ - sr
27
40
  national_destination_code_lengths:
28
41
  - 2
29
42
  national_number_lengths:
30
43
  - 8
31
44
  national_prefix: '0'
45
+ nationality: Bosnian, Herzegovinian
32
46
  number: '070'
47
+ postal_code: true
48
+ postal_code_format: "\\d{5}"
33
49
  region: Europe
50
+ start_of_week: monday
34
51
  subregion: Southern Europe
35
- world_region: EMEA
36
52
  un_locode: BA
37
- languages:
38
- - bs
39
- - hr
40
- - sr
41
- nationality: Bosnian, Herzegovinian
42
- postal_code: true
43
- min_longitude: '15.747222'
44
- min_latitude: '42.558056'
45
- max_longitude: '19.618333'
46
- max_latitude: '45.268333'
47
- latitude_dec: '44.16533279418945'
48
- longitude_dec: '17.790241241455078'
53
+ unofficial_names:
54
+ - Bosnia and Herzegovina
55
+ - Bosnien und Herzegowina
56
+ - Bosnie et Herzégovine
57
+ - Bosnia y Herzegovina
58
+ - ボスニア・ヘルツェゴビナ
59
+ - Bosnië en Herzegovina
60
+ - Bosnia Herzegovina
61
+ world_region: EMEA
@@ -1,37 +1,49 @@
1
1
  ---
2
2
  BB:
3
- continent: North America
4
3
  alpha2: BB
5
4
  alpha3: BRB
5
+ continent: North America
6
6
  country_code: '1'
7
- currency: BBD
7
+ currency_code: BBD
8
+ gec: BB
9
+ geo:
10
+ latitude: 13.193887
11
+ longitude: -59.543198
12
+ max_latitude: 13.3365093
13
+ max_longitude: -59.4174957
14
+ min_latitude: 13.039844
15
+ min_longitude: -59.6530151
16
+ bounds:
17
+ northeast:
18
+ lat: 13.3365093
19
+ lng: -59.4174957
20
+ southwest:
21
+ lat: 13.039844
22
+ lng: -59.6530151
8
23
  international_prefix: '011'
9
24
  ioc: BAR
10
- gec: BB
11
- latitude: 13 10 N
12
- longitude: 59 32 W
13
- name: Barbados
14
- names:
15
- - Barbade
16
- - Barbados
17
- - "バルバドス"
25
+ iso_long_name: Barbados
26
+ iso_short_name: Barbados
27
+ languages_official:
28
+ - en
29
+ languages_spoken:
30
+ - en
31
+ nanp_prefix: '1246'
18
32
  national_destination_code_lengths:
19
33
  - 3
20
34
  national_number_lengths:
21
35
  - 10
22
36
  national_prefix: '1'
37
+ nationality: Barbadian
23
38
  number: '052'
39
+ postal_code: true
40
+ postal_code_format: BB\d{5}
24
41
  region: Americas
42
+ start_of_week: monday
25
43
  subregion: Caribbean
26
- world_region: AMER
27
44
  un_locode: BB
28
- languages:
29
- - en
30
- nationality: Barbadian
31
- postal_code: true
32
- min_longitude: "-59.65"
33
- min_latitude: '13.033333'
34
- max_longitude: "-59.416667"
35
- max_latitude: '13.333333'
36
- latitude_dec: '13.178098678588867'
37
- longitude_dec: "-59.5485954284668"
45
+ unofficial_names:
46
+ - Barbade
47
+ - Barbados
48
+ - バルバドス
49
+ world_region: AMER
@@ -1,37 +1,48 @@
1
1
  ---
2
2
  BD:
3
- continent: Asia
4
3
  alpha2: BD
5
4
  alpha3: BGD
5
+ continent: Asia
6
6
  country_code: '880'
7
- currency: BDT
7
+ currency_code: BDT
8
+ gec: BG
9
+ geo:
10
+ latitude: 23.684994
11
+ longitude: 90.356331
12
+ max_latitude: 26.633914
13
+ max_longitude: 92.6801153
14
+ min_latitude: 20.3794
15
+ min_longitude: 88.00861410000002
16
+ bounds:
17
+ northeast:
18
+ lat: 26.633914
19
+ lng: 92.6801153
20
+ southwest:
21
+ lat: 20.3794
22
+ lng: 88.00861410000002
8
23
  international_prefix: '00'
9
24
  ioc: BAN
10
- gec: BG
11
- latitude: 24 00 N
12
- longitude: 90 00 E
13
- name: Bangladesh
14
- names:
15
- - Bangladesh
16
- - Bangladesch
17
- - "バングラデシュ"
25
+ iso_long_name: The People's Republic of Bangladesh
26
+ iso_short_name: Bangladesh
27
+ languages_official:
28
+ - bn
29
+ languages_spoken:
30
+ - bn
18
31
  national_destination_code_lengths:
19
32
  - 2
20
33
  national_number_lengths:
21
34
  - 10
22
35
  national_prefix: '0'
36
+ nationality: Bangladeshi
23
37
  number: '050'
38
+ postal_code: true
39
+ postal_code_format: "\\d{4}"
24
40
  region: Asia
41
+ start_of_week: sunday
25
42
  subregion: Southern Asia
26
- world_region: APAC
27
43
  un_locode: BD
28
- languages:
29
- - bn
30
- nationality: Bangladeshi
31
- postal_code: true
32
- min_longitude: '84'
33
- min_latitude: '20.6'
34
- max_longitude: '92.683333'
35
- max_latitude: '26.5'
36
- latitude_dec: '23.730104446411133'
37
- longitude_dec: '90.30652618408203'
44
+ unofficial_names:
45
+ - Bangladesh
46
+ - Bangladesch
47
+ - バングラデシュ
48
+ world_region: APAC
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  BE:
3
- continent: Europe
4
3
  address_format: |-
5
4
  {{recipient}}
6
5
  {{street}}
@@ -8,49 +7,64 @@ BE:
8
7
  {{country}}
9
8
  alpha2: BE
10
9
  alpha3: BEL
10
+ continent: Europe
11
11
  country_code: '32'
12
- currency: EUR
12
+ currency_code: EUR
13
+ eea_member: true
14
+ eu_member: true
15
+ gec: BE
16
+ geo:
17
+ latitude: 50.503887
18
+ longitude: 4.469936
19
+ max_latitude: 51.5051449
20
+ max_longitude: 6.408124099999999
21
+ min_latitude: 49.497013
22
+ min_longitude: 2.5240999
23
+ bounds:
24
+ northeast:
25
+ lat: 51.5051449
26
+ lng: 6.408124099999999
27
+ southwest:
28
+ lat: 49.497013
29
+ lng: 2.5240999
13
30
  international_prefix: '00'
14
31
  ioc: BEL
15
- gec: BE
16
- latitude: 50 50 N
17
- longitude: 4 00 E
18
- name: Belgium
19
- names:
20
- - Belgium
21
- - Belgien
22
- - Belgique
23
- - Bélgica
24
- - "ベルギー"
25
- - België
32
+ iso_long_name: The Kingdom of Belgium
33
+ iso_short_name: Belgium
34
+ languages_official:
35
+ - nl
36
+ - fr
37
+ - de
38
+ languages_spoken:
39
+ - nl
40
+ - fr
41
+ - de
26
42
  national_destination_code_lengths:
27
43
  - 2
28
44
  national_number_lengths:
29
45
  - 8
30
46
  - 9
31
47
  national_prefix: '0'
48
+ nationality: Belgian
32
49
  number: '056'
50
+ postal_code: true
51
+ postal_code_format: "\\d{4}"
33
52
  region: Europe
53
+ start_of_week: monday
34
54
  subregion: Western Europe
35
- world_region: EMEA
36
55
  un_locode: BE
37
- languages:
38
- - nl
39
- - fr
40
- - de
41
- nationality: Belgian
42
- eu_member: true
56
+ unofficial_names:
57
+ - Belgium
58
+ - Belgien
59
+ - Belgique
60
+ - Bélgica
61
+ - ベルギー
62
+ - België
43
63
  vat_rates:
44
64
  standard: 21
45
65
  reduced:
46
66
  - 6
47
67
  - 12
48
- super_reduced:
68
+ super_reduced:
49
69
  parking: 12
50
- postal_code: true
51
- min_longitude: '2.566667'
52
- min_latitude: '49.516667'
53
- max_longitude: '6.4'
54
- max_latitude: '51.683333'
55
- latitude_dec: '50.648963928222656'
56
- longitude_dec: '4.641502380371094'
70
+ world_region: EMEA
@@ -1,37 +1,48 @@
1
1
  ---
2
2
  BF:
3
- continent: Africa
4
3
  alpha2: BF
5
4
  alpha3: BFA
5
+ continent: Africa
6
6
  country_code: '226'
7
- currency: XOF
7
+ currency_code: XOF
8
+ gec: UV
9
+ geo:
10
+ latitude: 12.238333
11
+ longitude: -1.561593
12
+ max_latitude: 15.0840397
13
+ max_longitude: 2.4043596
14
+ min_latitude: 9.4104717
15
+ min_longitude: -5.5132416
16
+ bounds:
17
+ northeast:
18
+ lat: 15.0840397
19
+ lng: 2.4043596
20
+ southwest:
21
+ lat: 9.4104717
22
+ lng: -5.5132416
8
23
  international_prefix: '00'
9
24
  ioc: BUR
10
- gec: UV
11
- latitude: 13 00 N
12
- longitude: 2 00 W
13
- name: Burkina Faso
14
- names:
15
- - Burkina Faso
16
- - "ブルキナファソ"
25
+ iso_long_name: Burkina Faso
26
+ iso_short_name: Burkina Faso
27
+ languages_official:
28
+ - fr
29
+ - ff
30
+ languages_spoken:
31
+ - fr
32
+ - ff
17
33
  national_destination_code_lengths:
18
34
  - 2
19
35
  national_number_lengths:
20
36
  - 8
21
37
  national_prefix: None
38
+ nationality: Burkinabe
22
39
  number: '854'
40
+ postal_code: false
23
41
  region: Africa
42
+ start_of_week: monday
24
43
  subregion: Western Africa
25
- world_region: EMEA
26
44
  un_locode: BF
27
- languages:
28
- - fr
29
- - ff
30
- nationality: Burkinabe
31
- postal_code: false
32
- min_longitude: "-5.466667"
33
- min_latitude: '9.45'
34
- max_longitude: '2.2655'
35
- max_latitude: '14.983333'
36
- latitude_dec: '12.284985542297363'
37
- longitude_dec: "-1.745560646057129"
45
+ unofficial_names:
46
+ - Burkina Faso
47
+ - ブルキナファソ
48
+ world_region: EMEA