telephone_number 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (435) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +72 -49
  3. data/Rakefile +2 -2
  4. data/data/geocoding/ar/82.dat +0 -0
  5. data/data/geocoding/ar/82.txt +34 -0
  6. data/data/geocoding/ar/966.dat +0 -0
  7. data/data/geocoding/ar/966.txt +27 -0
  8. data/data/geocoding/be/375.dat +0 -0
  9. data/data/geocoding/be/375.txt +144 -0
  10. data/data/geocoding/bg/359.dat +0 -0
  11. data/data/geocoding/bg/359.txt +2105 -0
  12. data/data/geocoding/bg/82.dat +0 -0
  13. data/data/geocoding/bg/82.txt +34 -0
  14. data/data/geocoding/ca/82.dat +0 -0
  15. data/data/geocoding/ca/82.txt +34 -0
  16. data/data/geocoding/cs/82.dat +0 -0
  17. data/data/geocoding/cs/82.txt +35 -0
  18. data/data/geocoding/de/32.dat +0 -0
  19. data/data/geocoding/de/32.txt +59 -0
  20. data/data/geocoding/de/352.dat +0 -0
  21. data/data/geocoding/de/352.txt +229 -0
  22. data/data/geocoding/de/41.dat +0 -0
  23. data/data/geocoding/de/41.txt +37 -0
  24. data/data/geocoding/de/43.dat +0 -0
  25. data/data/geocoding/de/43.txt +1037 -0
  26. data/data/geocoding/de/49.dat +0 -0
  27. data/data/geocoding/de/49.txt +5219 -0
  28. data/data/geocoding/el/30.dat +0 -0
  29. data/data/geocoding/el/30.txt +259 -0
  30. data/data/geocoding/el/82.dat +0 -0
  31. data/data/geocoding/el/82.txt +28 -0
  32. data/data/geocoding/en/1.dat +0 -0
  33. data/data/geocoding/en/1.txt +36239 -0
  34. data/data/geocoding/en/20.dat +0 -0
  35. data/data/geocoding/en/20.txt +45 -0
  36. data/data/geocoding/en/212.dat +0 -0
  37. data/data/geocoding/en/212.txt +86 -0
  38. data/data/geocoding/en/213.dat +0 -0
  39. data/data/geocoding/en/213.txt +30 -0
  40. data/data/geocoding/en/216.dat +0 -0
  41. data/data/geocoding/en/216.txt +26 -0
  42. data/data/geocoding/en/218.dat +0 -0
  43. data/data/geocoding/en/218.txt +42 -0
  44. data/data/geocoding/en/220.dat +0 -0
  45. data/data/geocoding/en/220.txt +59 -0
  46. data/data/geocoding/en/221.dat +0 -0
  47. data/data/geocoding/en/221.txt +19 -0
  48. data/data/geocoding/en/222.dat +0 -0
  49. data/data/geocoding/en/222.txt +28 -0
  50. data/data/geocoding/en/223.dat +0 -0
  51. data/data/geocoding/en/223.txt +37 -0
  52. data/data/geocoding/en/224.dat +0 -0
  53. data/data/geocoding/en/224.txt +38 -0
  54. data/data/geocoding/en/225.dat +0 -0
  55. data/data/geocoding/en/225.txt +28 -0
  56. data/data/geocoding/en/226.dat +0 -0
  57. data/data/geocoding/en/226.txt +50 -0
  58. data/data/geocoding/en/227.dat +0 -0
  59. data/data/geocoding/en/227.txt +42 -0
  60. data/data/geocoding/en/228.dat +0 -0
  61. data/data/geocoding/en/228.txt +24 -0
  62. data/data/geocoding/en/229.dat +0 -0
  63. data/data/geocoding/en/229.txt +52 -0
  64. data/data/geocoding/en/230.dat +0 -0
  65. data/data/geocoding/en/230.txt +25 -0
  66. data/data/geocoding/en/232.dat +0 -0
  67. data/data/geocoding/en/232.txt +20 -0
  68. data/data/geocoding/en/233.dat +0 -0
  69. data/data/geocoding/en/233.txt +96 -0
  70. data/data/geocoding/en/234.dat +0 -0
  71. data/data/geocoding/en/234.txt +79 -0
  72. data/data/geocoding/en/237.dat +0 -0
  73. data/data/geocoding/en/237.txt +125 -0
  74. data/data/geocoding/en/238.dat +0 -0
  75. data/data/geocoding/en/238.txt +54 -0
  76. data/data/geocoding/en/239.dat +0 -0
  77. data/data/geocoding/en/239.txt +35 -0
  78. data/data/geocoding/en/240.dat +0 -0
  79. data/data/geocoding/en/240.txt +547 -0
  80. data/data/geocoding/en/241.dat +0 -0
  81. data/data/geocoding/en/241.txt +48 -0
  82. data/data/geocoding/en/242.dat +0 -0
  83. data/data/geocoding/en/242.txt +23 -0
  84. data/data/geocoding/en/243.dat +0 -0
  85. data/data/geocoding/en/243.txt +22 -0
  86. data/data/geocoding/en/244.dat +0 -0
  87. data/data/geocoding/en/244.txt +54 -0
  88. data/data/geocoding/en/245.dat +0 -0
  89. data/data/geocoding/en/245.txt +38 -0
  90. data/data/geocoding/en/247.dat +0 -0
  91. data/data/geocoding/en/247.txt +27 -0
  92. data/data/geocoding/en/249.dat +0 -0
  93. data/data/geocoding/en/249.txt +28 -0
  94. data/data/geocoding/en/251.dat +0 -0
  95. data/data/geocoding/en/251.txt +386 -0
  96. data/data/geocoding/en/252.dat +0 -0
  97. data/data/geocoding/en/252.txt +23 -0
  98. data/data/geocoding/en/254.dat +0 -0
  99. data/data/geocoding/en/254.txt +46 -0
  100. data/data/geocoding/en/255.dat +0 -0
  101. data/data/geocoding/en/255.txt +24 -0
  102. data/data/geocoding/en/256.dat +0 -0
  103. data/data/geocoding/en/256.txt +30 -0
  104. data/data/geocoding/en/257.dat +0 -0
  105. data/data/geocoding/en/257.txt +28 -0
  106. data/data/geocoding/en/258.dat +0 -0
  107. data/data/geocoding/en/258.txt +27 -0
  108. data/data/geocoding/en/260.dat +0 -0
  109. data/data/geocoding/en/260.txt +26 -0
  110. data/data/geocoding/en/261.dat +0 -0
  111. data/data/geocoding/en/261.txt +40 -0
  112. data/data/geocoding/en/263.dat +0 -0
  113. data/data/geocoding/en/263.txt +138 -0
  114. data/data/geocoding/en/264.dat +0 -0
  115. data/data/geocoding/en/264.txt +1047 -0
  116. data/data/geocoding/en/266.dat +0 -0
  117. data/data/geocoding/en/266.txt +18 -0
  118. data/data/geocoding/en/267.dat +0 -0
  119. data/data/geocoding/en/267.txt +35 -0
  120. data/data/geocoding/en/268.dat +0 -0
  121. data/data/geocoding/en/268.txt +58 -0
  122. data/data/geocoding/en/269.dat +0 -0
  123. data/data/geocoding/en/269.txt +32 -0
  124. data/data/geocoding/en/27.dat +0 -0
  125. data/data/geocoding/en/27.txt +56 -0
  126. data/data/geocoding/en/290.dat +0 -0
  127. data/data/geocoding/en/290.txt +24 -0
  128. data/data/geocoding/en/299.dat +0 -0
  129. data/data/geocoding/en/299.txt +43 -0
  130. data/data/geocoding/en/30.dat +0 -0
  131. data/data/geocoding/en/30.txt +261 -0
  132. data/data/geocoding/en/31.dat +0 -0
  133. data/data/geocoding/en/31.txt +137 -0
  134. data/data/geocoding/en/32.dat +0 -0
  135. data/data/geocoding/en/32.txt +59 -0
  136. data/data/geocoding/en/33.dat +0 -0
  137. data/data/geocoding/en/33.txt +5592 -0
  138. data/data/geocoding/en/34.dat +0 -0
  139. data/data/geocoding/en/34.txt +132 -0
  140. data/data/geocoding/en/351.dat +0 -0
  141. data/data/geocoding/en/351.txt +67 -0
  142. data/data/geocoding/en/352.dat +0 -0
  143. data/data/geocoding/en/352.txt +229 -0
  144. data/data/geocoding/en/353.dat +0 -0
  145. data/data/geocoding/en/353.txt +71 -0
  146. data/data/geocoding/en/354.dat +0 -0
  147. data/data/geocoding/en/354.txt +23 -0
  148. data/data/geocoding/en/355.dat +0 -0
  149. data/data/geocoding/en/355.txt +188 -0
  150. data/data/geocoding/en/358.dat +0 -0
  151. data/data/geocoding/en/358.txt +73 -0
  152. data/data/geocoding/en/359.dat +0 -0
  153. data/data/geocoding/en/359.txt +2102 -0
  154. data/data/geocoding/en/36.dat +0 -0
  155. data/data/geocoding/en/36.txt +70 -0
  156. data/data/geocoding/en/370.dat +0 -0
  157. data/data/geocoding/en/370.txt +64 -0
  158. data/data/geocoding/en/371.dat +0 -0
  159. data/data/geocoding/en/371.txt +56 -0
  160. data/data/geocoding/en/372.dat +0 -0
  161. data/data/geocoding/en/372.txt +35 -0
  162. data/data/geocoding/en/373.dat +0 -0
  163. data/data/geocoding/en/373.txt +62 -0
  164. data/data/geocoding/en/374.dat +0 -0
  165. data/data/geocoding/en/374.txt +522 -0
  166. data/data/geocoding/en/375.dat +0 -0
  167. data/data/geocoding/en/375.txt +142 -0
  168. data/data/geocoding/en/380.dat +0 -0
  169. data/data/geocoding/en/380.txt +44 -0
  170. data/data/geocoding/en/381.dat +0 -0
  171. data/data/geocoding/en/381.txt +50 -0
  172. data/data/geocoding/en/389.dat +0 -0
  173. data/data/geocoding/en/389.txt +28 -0
  174. data/data/geocoding/en/39.dat +0 -0
  175. data/data/geocoding/en/39.txt +137 -0
  176. data/data/geocoding/en/40.dat +0 -0
  177. data/data/geocoding/en/40.txt +98 -0
  178. data/data/geocoding/en/41.dat +0 -0
  179. data/data/geocoding/en/41.txt +37 -0
  180. data/data/geocoding/en/420.dat +0 -0
  181. data/data/geocoding/en/420.txt +37 -0
  182. data/data/geocoding/en/421.dat +0 -0
  183. data/data/geocoding/en/421.txt +42 -0
  184. data/data/geocoding/en/43.dat +0 -0
  185. data/data/geocoding/en/43.txt +1036 -0
  186. data/data/geocoding/en/44.dat +0 -0
  187. data/data/geocoding/en/44.txt +870 -0
  188. data/data/geocoding/en/46.dat +0 -0
  189. data/data/geocoding/en/46.txt +280 -0
  190. data/data/geocoding/en/47.dat +0 -0
  191. data/data/geocoding/en/47.txt +49 -0
  192. data/data/geocoding/en/48.dat +0 -0
  193. data/data/geocoding/en/48.txt +65 -0
  194. data/data/geocoding/en/49.dat +0 -0
  195. data/data/geocoding/en/49.txt +5218 -0
  196. data/data/geocoding/en/501.dat +0 -0
  197. data/data/geocoding/en/501.txt +23 -0
  198. data/data/geocoding/en/504.dat +0 -0
  199. data/data/geocoding/en/504.txt +23 -0
  200. data/data/geocoding/en/51.dat +0 -0
  201. data/data/geocoding/en/51.txt +42 -0
  202. data/data/geocoding/en/52.dat +0 -0
  203. data/data/geocoding/en/52.txt +417 -0
  204. data/data/geocoding/en/53.dat +0 -0
  205. data/data/geocoding/en/53.txt +33 -0
  206. data/data/geocoding/en/54.dat +0 -0
  207. data/data/geocoding/en/54.txt +236 -0
  208. data/data/geocoding/en/55.dat +0 -0
  209. data/data/geocoding/en/55.txt +15271 -0
  210. data/data/geocoding/en/56.dat +0 -0
  211. data/data/geocoding/en/56.txt +41 -0
  212. data/data/geocoding/en/57.dat +0 -0
  213. data/data/geocoding/en/57.txt +186 -0
  214. data/data/geocoding/en/58.dat +0 -0
  215. data/data/geocoding/en/58.txt +73 -0
  216. data/data/geocoding/en/592.dat +0 -0
  217. data/data/geocoding/en/592.txt +82 -0
  218. data/data/geocoding/en/599.dat +0 -0
  219. data/data/geocoding/en/599.txt +22 -0
  220. data/data/geocoding/en/62.dat +0 -0
  221. data/data/geocoding/en/62.txt +325 -0
  222. data/data/geocoding/en/64.dat +0 -0
  223. data/data/geocoding/en/64.txt +124 -0
  224. data/data/geocoding/en/66.dat +0 -0
  225. data/data/geocoding/en/66.txt +40 -0
  226. data/data/geocoding/en/675.dat +0 -0
  227. data/data/geocoding/en/675.txt +28 -0
  228. data/data/geocoding/en/686.dat +0 -0
  229. data/data/geocoding/en/686.txt +71 -0
  230. data/data/geocoding/en/688.dat +0 -0
  231. data/data/geocoding/en/688.txt +25 -0
  232. data/data/geocoding/en/7.dat +0 -0
  233. data/data/geocoding/en/7.txt +397 -0
  234. data/data/geocoding/en/81.dat +0 -0
  235. data/data/geocoding/en/81.txt +1547 -0
  236. data/data/geocoding/en/82.dat +0 -0
  237. data/data/geocoding/en/82.txt +35 -0
  238. data/data/geocoding/en/84.dat +0 -0
  239. data/data/geocoding/en/84.txt +91 -0
  240. data/data/geocoding/en/86.dat +0 -0
  241. data/data/geocoding/en/86.txt +154857 -0
  242. data/data/geocoding/en/886.dat +0 -0
  243. data/data/geocoding/en/886.txt +30 -0
  244. data/data/geocoding/en/90.dat +0 -0
  245. data/data/geocoding/en/90.txt +182 -0
  246. data/data/geocoding/en/91.dat +0 -0
  247. data/data/geocoding/en/91.txt +2672 -0
  248. data/data/geocoding/en/93.dat +0 -0
  249. data/data/geocoding/en/93.txt +52 -0
  250. data/data/geocoding/en/94.dat +0 -0
  251. data/data/geocoding/en/94.txt +46 -0
  252. data/data/geocoding/en/95.dat +0 -0
  253. data/data/geocoding/en/95.txt +88 -0
  254. data/data/geocoding/en/960.dat +0 -0
  255. data/data/geocoding/en/960.txt +64 -0
  256. data/data/geocoding/en/962.dat +0 -0
  257. data/data/geocoding/en/962.txt +32 -0
  258. data/data/geocoding/en/966.dat +0 -0
  259. data/data/geocoding/en/966.txt +29 -0
  260. data/data/geocoding/en/968.dat +0 -0
  261. data/data/geocoding/en/968.txt +18 -0
  262. data/data/geocoding/en/972.dat +0 -0
  263. data/data/geocoding/en/972.txt +19 -0
  264. data/data/geocoding/en/975.dat +0 -0
  265. data/data/geocoding/en/975.txt +21 -0
  266. data/data/geocoding/en/976.dat +0 -0
  267. data/data/geocoding/en/976.txt +693 -0
  268. data/data/geocoding/en/98.dat +0 -0
  269. data/data/geocoding/en/98.txt +51 -0
  270. data/data/geocoding/en/992.dat +0 -0
  271. data/data/geocoding/en/992.txt +77 -0
  272. data/data/geocoding/en/994.dat +0 -0
  273. data/data/geocoding/en/994.txt +98 -0
  274. data/data/geocoding/es/228.dat +0 -0
  275. data/data/geocoding/es/228.txt +23 -0
  276. data/data/geocoding/es/230.dat +0 -0
  277. data/data/geocoding/es/230.txt +23 -0
  278. data/data/geocoding/es/34.dat +0 -0
  279. data/data/geocoding/es/34.txt +133 -0
  280. data/data/geocoding/es/52.dat +0 -0
  281. data/data/geocoding/es/52.txt +417 -0
  282. data/data/geocoding/es/54.dat +0 -0
  283. data/data/geocoding/es/54.txt +238 -0
  284. data/data/geocoding/es/56.dat +0 -0
  285. data/data/geocoding/es/56.txt +46 -0
  286. data/data/geocoding/es/57.dat +0 -0
  287. data/data/geocoding/es/57.txt +186 -0
  288. data/data/geocoding/es/58.dat +0 -0
  289. data/data/geocoding/es/58.txt +72 -0
  290. data/data/geocoding/es/82.dat +0 -0
  291. data/data/geocoding/es/82.txt +33 -0
  292. data/data/geocoding/fa/93.dat +0 -0
  293. data/data/geocoding/fa/93.txt +53 -0
  294. data/data/geocoding/fa/98.dat +0 -0
  295. data/data/geocoding/fa/98.txt +48 -0
  296. data/data/geocoding/fi/358.dat +0 -0
  297. data/data/geocoding/fi/358.txt +73 -0
  298. data/data/geocoding/fi/82.dat +0 -0
  299. data/data/geocoding/fi/82.txt +34 -0
  300. data/data/geocoding/fr/212.dat +0 -0
  301. data/data/geocoding/fr/212.txt +85 -0
  302. data/data/geocoding/fr/222.dat +0 -0
  303. data/data/geocoding/fr/222.txt +29 -0
  304. data/data/geocoding/fr/225.dat +0 -0
  305. data/data/geocoding/fr/225.txt +30 -0
  306. data/data/geocoding/fr/228.dat +0 -0
  307. data/data/geocoding/fr/228.txt +24 -0
  308. data/data/geocoding/fr/229.dat +0 -0
  309. data/data/geocoding/fr/229.txt +55 -0
  310. data/data/geocoding/fr/230.dat +0 -0
  311. data/data/geocoding/fr/230.txt +23 -0
  312. data/data/geocoding/fr/242.dat +0 -0
  313. data/data/geocoding/fr/242.txt +25 -0
  314. data/data/geocoding/fr/243.dat +0 -0
  315. data/data/geocoding/fr/243.txt +24 -0
  316. data/data/geocoding/fr/269.dat +0 -0
  317. data/data/geocoding/fr/269.txt +34 -0
  318. data/data/geocoding/fr/290.dat +0 -0
  319. data/data/geocoding/fr/290.txt +24 -0
  320. data/data/geocoding/fr/32.dat +0 -0
  321. data/data/geocoding/fr/32.txt +59 -0
  322. data/data/geocoding/fr/33.dat +0 -0
  323. data/data/geocoding/fr/33.txt +5593 -0
  324. data/data/geocoding/fr/352.dat +0 -0
  325. data/data/geocoding/fr/352.txt +231 -0
  326. data/data/geocoding/fr/41.dat +0 -0
  327. data/data/geocoding/fr/41.txt +37 -0
  328. data/data/geocoding/fr/82.dat +0 -0
  329. data/data/geocoding/fr/82.txt +33 -0
  330. data/data/geocoding/hi/82.dat +0 -0
  331. data/data/geocoding/hi/82.txt +36 -0
  332. data/data/geocoding/hu/36.dat +0 -0
  333. data/data/geocoding/hu/36.txt +71 -0
  334. data/data/geocoding/hu/82.dat +0 -0
  335. data/data/geocoding/hu/82.txt +35 -0
  336. data/data/geocoding/hy/374.dat +0 -0
  337. data/data/geocoding/hy/374.txt +515 -0
  338. data/data/geocoding/id/62.dat +0 -0
  339. data/data/geocoding/id/62.txt +326 -0
  340. data/data/geocoding/it/39.dat +0 -0
  341. data/data/geocoding/it/39.txt +248 -0
  342. data/data/geocoding/it/41.dat +0 -0
  343. data/data/geocoding/it/41.txt +37 -0
  344. data/data/geocoding/iw/82.dat +0 -0
  345. data/data/geocoding/iw/82.txt +37 -0
  346. data/data/geocoding/iw/972.dat +0 -0
  347. data/data/geocoding/iw/972.txt +21 -0
  348. data/data/geocoding/ja/81.dat +0 -0
  349. data/data/geocoding/ja/81.txt +1546 -0
  350. data/data/geocoding/ja/82.dat +0 -0
  351. data/data/geocoding/ja/82.txt +35 -0
  352. data/data/geocoding/ko/82.dat +0 -0
  353. data/data/geocoding/ko/82.txt +35 -0
  354. data/data/geocoding/nl/31.dat +0 -0
  355. data/data/geocoding/nl/31.txt +145 -0
  356. data/data/geocoding/nl/32.dat +0 -0
  357. data/data/geocoding/nl/32.txt +59 -0
  358. data/data/geocoding/pl/48.dat +0 -0
  359. data/data/geocoding/pl/48.txt +66 -0
  360. data/data/geocoding/pl/82.dat +0 -0
  361. data/data/geocoding/pl/82.txt +33 -0
  362. data/data/geocoding/pt/238.dat +0 -0
  363. data/data/geocoding/pt/238.txt +58 -0
  364. data/data/geocoding/pt/239.dat +0 -0
  365. data/data/geocoding/pt/239.txt +37 -0
  366. data/data/geocoding/pt/244.dat +0 -0
  367. data/data/geocoding/pt/244.txt +59 -0
  368. data/data/geocoding/pt/245.dat +0 -0
  369. data/data/geocoding/pt/245.txt +37 -0
  370. data/data/geocoding/pt/258.dat +0 -0
  371. data/data/geocoding/pt/258.txt +29 -0
  372. data/data/geocoding/pt/351.dat +0 -0
  373. data/data/geocoding/pt/351.txt +69 -0
  374. data/data/geocoding/pt/55.dat +0 -0
  375. data/data/geocoding/pt/55.txt +15269 -0
  376. data/data/geocoding/pt/82.dat +0 -0
  377. data/data/geocoding/pt/82.txt +34 -0
  378. data/data/geocoding/ro/373.dat +0 -0
  379. data/data/geocoding/ro/373.txt +61 -0
  380. data/data/geocoding/ro/40.dat +0 -0
  381. data/data/geocoding/ro/40.txt +99 -0
  382. data/data/geocoding/ro/82.dat +0 -0
  383. data/data/geocoding/ro/82.txt +29 -0
  384. data/data/geocoding/ru/373.dat +0 -0
  385. data/data/geocoding/ru/373.txt +61 -0
  386. data/data/geocoding/ru/374.dat +0 -0
  387. data/data/geocoding/ru/374.txt +515 -0
  388. data/data/geocoding/ru/375.dat +0 -0
  389. data/data/geocoding/ru/375.txt +143 -0
  390. data/data/geocoding/ru/7.dat +0 -0
  391. data/data/geocoding/ru/7.txt +313 -0
  392. data/data/geocoding/ru/82.dat +0 -0
  393. data/data/geocoding/ru/82.txt +34 -0
  394. data/data/geocoding/sl/82.dat +0 -0
  395. data/data/geocoding/sl/82.txt +17 -0
  396. data/data/geocoding/sr/381.dat +0 -0
  397. data/data/geocoding/sr/381.txt +51 -0
  398. data/data/geocoding/sr/82.dat +0 -0
  399. data/data/geocoding/sr/82.txt +23 -0
  400. data/data/geocoding/sv/358.dat +0 -0
  401. data/data/geocoding/sv/358.txt +73 -0
  402. data/data/geocoding/sv/46.dat +0 -0
  403. data/data/geocoding/sv/46.txt +266 -0
  404. data/data/geocoding/th/66.dat +0 -0
  405. data/data/geocoding/th/66.txt +39 -0
  406. data/data/geocoding/tr/82.dat +0 -0
  407. data/data/geocoding/tr/82.txt +35 -0
  408. data/data/geocoding/tr/90.dat +0 -0
  409. data/data/geocoding/tr/90.txt +182 -0
  410. data/data/geocoding/uk/82.dat +0 -0
  411. data/data/geocoding/uk/82.txt +34 -0
  412. data/data/geocoding/vi/82.dat +0 -0
  413. data/data/geocoding/vi/82.txt +33 -0
  414. data/data/geocoding/vi/84.dat +0 -0
  415. data/data/geocoding/vi/84.txt +91 -0
  416. data/data/geocoding/zh/82.dat +0 -0
  417. data/data/geocoding/zh/82.txt +35 -0
  418. data/data/geocoding/zh/86.dat +0 -0
  419. data/data/geocoding/zh/86.txt +154857 -0
  420. data/data/geocoding/zh/886.dat +0 -0
  421. data/data/geocoding/zh/886.txt +30 -0
  422. data/data/geocoding/zh_Hant/82.dat +0 -0
  423. data/data/geocoding/zh_Hant/82.txt +35 -0
  424. data/data/geocoding/zh_Hant/886.dat +0 -0
  425. data/data/geocoding/zh_Hant/886.txt +30 -0
  426. data/lib/importers/geo_location_data_importer.rb +20 -0
  427. data/lib/{telephone_number/data_importer.rb → importers/phone_data_importer.rb} +1 -1
  428. data/lib/{telephone_number/test_data_generator.rb → importers/test_data_importer.rb} +3 -3
  429. data/lib/telephone_number.rb +12 -9
  430. data/lib/telephone_number/class_methods.rb +3 -12
  431. data/lib/telephone_number/country.rb +1 -1
  432. data/lib/telephone_number/geo_locator.rb +62 -0
  433. data/lib/telephone_number/number.rb +22 -4
  434. data/lib/telephone_number/version.rb +1 -1
  435. metadata +428 -4
Binary file
@@ -0,0 +1,142 @@
1
+ # Copyright (C) 2013 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Generated from:
16
+ # http://www.eng.beltelecom.by/info/num/ [2011-05-18]
17
+ # http://en.wikipedia.org/wiki/+375 [441040280]
18
+ # Berestovitsa was changed to Vyalikaya Byerastavitsa, following the name of
19
+ # city according to Wikipedia, Kobrin was changed to Kobryn, Bobruysk was
20
+ # changed to Babruysk, Logoysk to Lahoysk and Smolevichi to Smalyavichy.
21
+ # Navapolatsk was added to the prefix 375214 as per the Russian and Belarussian
22
+ # data.
23
+
24
+ 3751511|Vyalikaya Byerastavitsa, Grodno Region
25
+ 3751512|Volkovysk
26
+ 3751513|Svisloch, Grodno Region
27
+ 3751514|Shchuchin, Grodno Region
28
+ 3751515|Mosty, Grodno Region
29
+ 375152|Grodno
30
+ 375154|Lida
31
+ 3751562|Slonim
32
+ 3751563|Dyatlovo, Grodno Region
33
+ 3751564|Zelva, Grodno Region
34
+ 3751591|Ostrovets, Grodno Region
35
+ 3751592|Smorgon
36
+ 3751593|Oshmyany
37
+ 3751594|Voronovo, Grodno Region
38
+ 3751595|Ivye, Grodno Region
39
+ 3751596|Korelichi, Grodno Region
40
+ 3751597|Novogrudok
41
+ 375162|Brest
42
+ 375163|Baranovichi
43
+ 3751631|Kamenets, Brest Region
44
+ 3751632|Pruzhany, Brest Region
45
+ 3751633|Lyakhovichi, Brest Region
46
+ 3751641|Zhabinka, Brest Region
47
+ 3751642|Kobryn
48
+ 3751643|Bereza, Brest Region
49
+ 3751644|Drogichin, Brest Region
50
+ 3751645|Ivatsevichi, Brest Region
51
+ 3751646|Gantsevichi, Brest Region
52
+ 3751647|Luninets, Brest Region
53
+ 375165|Pinsk
54
+ 3751651|Malorita, Brest Region
55
+ 3751652|Ivanovo, Brest Region
56
+ 3751655|Stolin, Brest Region
57
+ 37517|Minsk
58
+ 3751713|Maryina Gorka, Minsk Region
59
+ 3751714|Cherven
60
+ 3751715|Berezino, Minsk Region
61
+ 3751716|Dzerzhinsk
62
+ 3751717|Stolbtsy
63
+ 3751718|Uzda, Minsk Region
64
+ 3751719|Kopyl, Minsk Region
65
+ 375174|Soligorsk
66
+ 375176|Molodechno
67
+ 375177|Borisov
68
+ 3751770|Nesvizh
69
+ 3751771|Vileyka
70
+ 3751772|Volozhin
71
+ 3751774|Lahoysk
72
+ 3751775|Zhodino
73
+ 3751776|Smalyavichy
74
+ 3751792|Starye Dorogi, Minsk Region
75
+ 3751793|Kletsk, Minsk Region
76
+ 3751794|Lyuban, Minsk Region
77
+ 3751795|Slutsk
78
+ 3751796|Krupki, Minsk Region
79
+ 3751797|Myadel
80
+ 375212|Vitebsk
81
+ 3752130|Shumilino, Vitebsk Region
82
+ 3752131|Beshenkovichi, Vitebsk Region
83
+ 3752132|Lepel
84
+ 3752133|Chashniki, Vitebsk Region
85
+ 3752135|Senno, Vitebsk Region
86
+ 3752136|Tolochin
87
+ 3752137|Dubrovno, Vitebsk Region
88
+ 3752138|Liozno, Vitebsk Region
89
+ 3752139|Gorodok, Vitebsk Region
90
+ 375214|Polotsk/Navapolatsk
91
+ 3752151|Verhnedvinsk, Vitebsk Region
92
+ 3752152|Miory, Vitebsk Region
93
+ 3752153|Braslav
94
+ 3752154|Sharkovshchina, Vitebsk Region
95
+ 3752155|Postavy
96
+ 3752156|Glubokoye
97
+ 3752157|Dokshitsy, Vitebsk Region
98
+ 3752158|Ushachi, Vitebsk Region
99
+ 3752159|Rossony, Vitebsk Region
100
+ 375216|Orsha
101
+ 375222|Mogilev
102
+ 3752230|Glusk, Mogilev Region
103
+ 3752231|Byhov, Mogilev Region
104
+ 3752232|Belynichi, Mogilev Region
105
+ 3752233|Gorki, Mogilev Region
106
+ 3752234|Krugloye, Mogilev Region
107
+ 3752235|Osipovichi
108
+ 3752236|Klichev, Mogilev Region
109
+ 3752237|Kirovsk, Mogilev Region
110
+ 3752238|Krasnopolye, Mogilev Region
111
+ 3752239|Shklov
112
+ 3752240|Mstislavl
113
+ 3752241|Krichev, Mogilev Region
114
+ 3752242|Chausy, Mogilev Region
115
+ 3752243|Cherikov, Mogilev Region
116
+ 3752244|Klimovichi, Mogilev Region
117
+ 3752245|Kostyukovichi, Mogilev Region
118
+ 3752246|Slavgorod, Mogilev Region
119
+ 3752247|Khotimsk, Mogilev Region
120
+ 3752248|Dribin, Mogilev Region
121
+ 375225|Babruysk
122
+ 375232|Gomel
123
+ 3752330|Vetka, Gomel Region
124
+ 3752332|Chechersk, Gomel Region
125
+ 3752333|Dobrush, Gomel Region
126
+ 3752334|Zhlobin
127
+ 3752336|Budo-Koshelevo, Gomel Region
128
+ 3752337|Korma, Gomel Region
129
+ 3752339|Rogachev
130
+ 3752340|Rechitsa
131
+ 3752342|Svetlogorsk
132
+ 3752344|Bragin, Gomel Region
133
+ 3752345|Kalinkovichi
134
+ 3752346|Khoiniki, Gomel Region
135
+ 3752347|Loyev, Gomel Region
136
+ 3752350|Petrikov, Gomel Region
137
+ 3752353|Zhitkovichi, Gomel Region
138
+ 3752354|Yelsk, Gomel Region
139
+ 3752355|Narovlya, Gomel Region
140
+ 3752356|Lelchitsy, Gomel Region
141
+ 3752357|Oktyabrskiy, Gomel Region
142
+ 375236|Mozyr
Binary file
@@ -0,0 +1,44 @@
1
+ # Copyright (C) 2017 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Data taken from:
16
+ # https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000DB0004PDFE.pdf
17
+
18
+ 38031|Zakarpattia
19
+ 38032|Lviv
20
+ 38033|Volyn
21
+ 38034|Ivano-Frankivsk
22
+ 38035|Ternopil
23
+ 38036|Rivne
24
+ 38037|Chernivtsi
25
+ 38038|Khmelnytskyi
26
+ 38041|Zhytomyr
27
+ 38043|Vinnytsia
28
+ 38044|Kyiv city
29
+ 38045|Kyiv
30
+ 38046|Chernihiv
31
+ 38047|Cherkasy
32
+ 38048|Odesa
33
+ 38051|Mykolayiv
34
+ 38052|Kirovohrad
35
+ 38053|Poltava
36
+ 38054|Sumy
37
+ 38055|Kherson
38
+ 38056|Dnipropetrovsk
39
+ 38057|Kharkiv
40
+ 38061|Zaporizhzhia
41
+ 38062|Donetsk
42
+ 38064|Luhansk
43
+ 38065|Crimea
44
+ 38069|Sevastopol city
Binary file
@@ -0,0 +1,50 @@
1
+ # Copyright (C) 2011 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Translated from sr/381.txt using Wikipedia and Freebase.
16
+
17
+ 38110|Pirot
18
+ 38111|Belgrade
19
+ 38112|Pozarevac
20
+ 38113|Pancevo
21
+ 38114|Valjevo
22
+ 38115|Sabac
23
+ 38116|Leskovac
24
+ 38117|Vranje
25
+ 38118|Nis
26
+ 38119|Zajecar
27
+ 38120|Novi Pazar
28
+ 38121|Novi Sad
29
+ 38122|Sremska Mitrovica
30
+ 38123|Zrenjanin
31
+ 381230|Kikinda
32
+ 38124|Subotica
33
+ 38125|Sombor
34
+ 38126|Smederevo
35
+ 38127|Prokuplje
36
+ 38128|Kosovska Mitrovica
37
+ 381280|Gnjilane
38
+ 38129|Prizren
39
+ 381290|Urosevac
40
+ 38130|Bor
41
+ 38131|Uzice
42
+ 38132|Cacak
43
+ 38133|Prijepolje
44
+ 38134|Kragujevac
45
+ 38135|Jagodina
46
+ 38136|Kraljevo
47
+ 38137|Krusevac
48
+ 38138|Pristina
49
+ 38139|Pec
50
+ 381390|Dakovica
Binary file
@@ -0,0 +1,28 @@
1
+ # Copyright (C) 2013 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License/Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing/software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND/either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000CE0001PDFE.pdf
16
+
17
+ 3892|Skopje
18
+ 38931|Kumanovo/Kriva Palanka/Kratovo
19
+ 38932|Stip/Probistip/Sveti Nikole/Radovis
20
+ 38933|Kocani/Berovo/Delcevo/Vinica
21
+ 38934|Gevgelija/Valandovo/Strumica/Dojran
22
+ 38942|Gostivar
23
+ 38943|Veles/Kavadarci/Negotino
24
+ 38944|Tetovo
25
+ 38945|Kicevo/Makedonski Brod
26
+ 38946|Ohrid/Struga/Debar
27
+ 38947|Bitola/Demir Hisar/Resen
28
+ 38948|Prilep/Krusevo
Binary file
@@ -0,0 +1,137 @@
1
+ # Copyright (C) 2011 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Generated from:
16
+ # http://en.wikipedia.org/wiki/Area_codes_in_Italy [426029162]
17
+
18
+ 39010|Genoa
19
+ 39011|Turin
20
+ 390122|Turin
21
+ 390125|Turin
22
+ 390131|Alessandria
23
+ 390141|Asti
24
+ 39015|Biella
25
+ 390161|Vercelli
26
+ 390165|Aosta Valley
27
+ 390166|Aosta Valley
28
+ 390171|Cuneo
29
+ 390183|Imperia
30
+ 390185|Genoa
31
+ 390187|La Spezia
32
+ 3902|Milan
33
+ 39030|Brescia
34
+ 39031|Como
35
+ 390321|Novara
36
+ 390322|Novara
37
+ 390324|Verbano-Cusio-Ossola
38
+ 390331|Varese
39
+ 390332|Varese
40
+ 390341|Lecco
41
+ 390342|Sondrio
42
+ 390343|Sondrio
43
+ 390344|Como
44
+ 390346|Bergamo
45
+ 39035|Bergamo
46
+ 390362|Cremona/Monza
47
+ 390363|Bergamo
48
+ 390364|Brescia
49
+ 390365|Brescia
50
+ 390371|Lodi
51
+ 390372|Cremona
52
+ 390373|Cremona
53
+ 390376|Mantua
54
+ 390382|Pavia
55
+ 39039|Monza
56
+ 39040|Trieste
57
+ 39041|Venice
58
+ 390421|Venice
59
+ 390422|Treviso
60
+ 390423|Treviso
61
+ 390424|Vicenza
62
+ 390425|Rovigo
63
+ 390426|Rovigo
64
+ 390432|Udine
65
+ 390444|Vicenza
66
+ 390445|Vicenza
67
+ 39045|Verona
68
+ 390461|Trento
69
+ 390471|Bolzano/Bozen
70
+ 390481|Gorizia
71
+ 39049|Padova
72
+ 39050|Pisa
73
+ 39051|Bologna
74
+ 390521|Parma
75
+ 390522|Reggio Emilia
76
+ 390523|Piacenza
77
+ 390532|Ferrara
78
+ 390541|Rimini
79
+ 390543|Forlì-Cesena
80
+ 390545|Ravenna
81
+ 390549|San Marino
82
+ 39055|Florence
83
+ 390565|Livorno
84
+ 390574|Prato
85
+ 390575|Arezzo
86
+ 390577|Siena
87
+ 390583|Lucca
88
+ 390585|Massa-Carrara
89
+ 390586|Livorno
90
+ 39059|Modena
91
+ 3906|Rome
92
+ 39070|Cagliari
93
+ 39071|Ancona
94
+ 390731|Ancona
95
+ 390732|Ancona
96
+ 390733|Macerata
97
+ 390734|Fermo
98
+ 390735|Ascoli Piceno
99
+ 390737|Macerata
100
+ 39075|Perugia
101
+ 390774|Rome
102
+ 390776|Frosinone
103
+ 390783|Oristano
104
+ 390789|Sassari
105
+ 39079|Sassari
106
+ 39080|Bari
107
+ 39081|Naples
108
+ 390823|Caserta
109
+ 390824|Benevento
110
+ 390825|Avellino
111
+ 390832|Lecce
112
+ 39085|Pescara
113
+ 390862|L'Aquila
114
+ 390865|Isernia
115
+ 390874|Campobasso
116
+ 390881|Foggia
117
+ 390882|Foggia
118
+ 390883|Andria Barletta Trani
119
+ 390884|Foggia
120
+ 39089|Salerno
121
+ 39090|Messina
122
+ 39091|Palermo
123
+ 390921|Palermo
124
+ 390922|Agrigento
125
+ 390924|Trapani
126
+ 390925|Agrigento
127
+ 390933|Caltanissetta
128
+ 390934|Caltanissetta and Enna
129
+ 390942|Catania
130
+ 39095|Catania
131
+ 390961|Catanzaro
132
+ 390962|Crotone
133
+ 390963|Vibo Valentia
134
+ 390965|Reggio Calabria
135
+ 390974|Salerno
136
+ 390975|Potenza
137
+ 39099|Taranto
Binary file
@@ -0,0 +1,98 @@
1
+ # Copyright (C) 2012 The Libphonenumber Authors
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Translated from ro/40.txt by opensource contributor.
16
+
17
+ 4021|Bucharest and Ilfov County
18
+ 40230|Suceava
19
+ 40231|Botoșani
20
+ 40232|Iași
21
+ 40233|Neamț
22
+ 40234|Bacău
23
+ 40235|Vaslui
24
+ 40236|Galați
25
+ 40237|Vrancea
26
+ 40238|Buzău
27
+ 40239|Brăila
28
+ 40240|Tulcea
29
+ 40241|Constanța
30
+ 40242|Călărași
31
+ 40243|Ialomița
32
+ 40244|Prahova
33
+ 40245|Dâmbovița
34
+ 40246|Giurgiu
35
+ 40247|Teleorman
36
+ 40248|Argeș
37
+ 40249|Olt
38
+ 40250|Vâlcea
39
+ 40251|Dolj
40
+ 40252|Mehedinți
41
+ 40253|Gorj
42
+ 40254|Hunedoara
43
+ 40255|Caraș-Severin
44
+ 40256|Timiș
45
+ 40257|Arad
46
+ 40258|Alba
47
+ 40259|Bihor
48
+ 40260|Sălaj
49
+ 40261|Satu Mare
50
+ 40262|Maramureș
51
+ 40263|Bistrița-Năsăud
52
+ 40264|Cluj
53
+ 40265|Mureș
54
+ 40266|Harghita
55
+ 40267|Covasna
56
+ 40268|Brașov
57
+ 40269|Sibiu
58
+ 4031|Bucharest and Ilfov County
59
+ 40330|Suceava
60
+ 40331|Botoșani
61
+ 40332|Iași
62
+ 40333|Neamț
63
+ 40334|Bacău
64
+ 40335|Vaslui
65
+ 40336|Galați
66
+ 40337|Vrancea
67
+ 40338|Buzău
68
+ 40339|Brăila
69
+ 40340|Tulcea
70
+ 40341|Constanța
71
+ 40342|Călărași
72
+ 40343|Ialomița
73
+ 40344|Prahova
74
+ 40345|Dâmbovița
75
+ 40346|Giurgiu
76
+ 40347|Teleorman
77
+ 40348|Argeș
78
+ 40349|Olt
79
+ 40350|Vâlcea
80
+ 40351|Dolj
81
+ 40352|Mehedinți
82
+ 40353|Gorj
83
+ 40354|Hunedoara
84
+ 40355|Caraș-Severin
85
+ 40356|Timiș
86
+ 40357|Arad
87
+ 40358|Alba
88
+ 40359|Bihor
89
+ 40360|Sălaj
90
+ 40361|Satu Mare
91
+ 40362|Maramureș
92
+ 40363|Bistrița-Năsăud
93
+ 40364|Cluj
94
+ 40365|Mureș
95
+ 40366|Harghita
96
+ 40367|Covasna
97
+ 40368|Brașov
98
+ 40369|Sibiu