telephone_number 1.2.4 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/data/geocoding/ar/82.txt +0 -0
  4. data/data/geocoding/ar/966.txt +0 -0
  5. data/data/geocoding/be/375.txt +0 -0
  6. data/data/geocoding/bg/359.txt +0 -0
  7. data/data/geocoding/bg/82.txt +0 -0
  8. data/data/geocoding/bs/387.txt +0 -0
  9. data/data/geocoding/ca/82.txt +0 -0
  10. data/data/geocoding/cs/82.txt +0 -0
  11. data/data/geocoding/de/32.txt +0 -0
  12. data/data/geocoding/de/352.txt +0 -0
  13. data/data/geocoding/de/41.txt +0 -0
  14. data/data/geocoding/de/43.txt +0 -0
  15. data/data/geocoding/de/49.txt +0 -0
  16. data/data/geocoding/el/30.txt +0 -0
  17. data/data/geocoding/el/82.txt +0 -0
  18. data/data/geocoding/en/1.dat +0 -0
  19. data/data/geocoding/en/1.txt +1 -0
  20. data/data/geocoding/en/20.txt +0 -0
  21. data/data/geocoding/en/212.txt +0 -0
  22. data/data/geocoding/en/213.txt +0 -0
  23. data/data/geocoding/en/216.txt +0 -0
  24. data/data/geocoding/en/218.txt +0 -0
  25. data/data/geocoding/en/220.txt +0 -0
  26. data/data/geocoding/en/221.txt +0 -0
  27. data/data/geocoding/en/222.txt +0 -0
  28. data/data/geocoding/en/223.txt +0 -0
  29. data/data/geocoding/en/224.txt +0 -0
  30. data/data/geocoding/en/225.txt +0 -0
  31. data/data/geocoding/en/226.txt +0 -0
  32. data/data/geocoding/en/227.txt +0 -0
  33. data/data/geocoding/en/228.txt +0 -0
  34. data/data/geocoding/en/229.txt +0 -0
  35. data/data/geocoding/en/230.txt +0 -0
  36. data/data/geocoding/en/232.txt +0 -0
  37. data/data/geocoding/en/233.txt +0 -0
  38. data/data/geocoding/en/234.txt +0 -0
  39. data/data/geocoding/en/237.txt +0 -0
  40. data/data/geocoding/en/238.txt +0 -0
  41. data/data/geocoding/en/239.txt +0 -0
  42. data/data/geocoding/en/240.txt +0 -0
  43. data/data/geocoding/en/241.txt +0 -0
  44. data/data/geocoding/en/242.txt +0 -0
  45. data/data/geocoding/en/243.txt +0 -0
  46. data/data/geocoding/en/244.txt +0 -0
  47. data/data/geocoding/en/245.txt +0 -0
  48. data/data/geocoding/en/247.txt +0 -0
  49. data/data/geocoding/en/249.txt +0 -0
  50. data/data/geocoding/en/251.txt +0 -0
  51. data/data/geocoding/en/252.txt +0 -0
  52. data/data/geocoding/en/254.txt +0 -0
  53. data/data/geocoding/en/255.txt +0 -0
  54. data/data/geocoding/en/256.txt +0 -0
  55. data/data/geocoding/en/257.txt +0 -0
  56. data/data/geocoding/en/258.txt +0 -0
  57. data/data/geocoding/en/260.txt +0 -0
  58. data/data/geocoding/en/261.txt +0 -0
  59. data/data/geocoding/en/263.txt +0 -0
  60. data/data/geocoding/en/264.txt +0 -0
  61. data/data/geocoding/en/266.txt +0 -0
  62. data/data/geocoding/en/267.txt +0 -0
  63. data/data/geocoding/en/268.dat +0 -0
  64. data/data/geocoding/en/268.txt +4 -4
  65. data/data/geocoding/en/269.txt +0 -0
  66. data/data/geocoding/en/27.txt +0 -0
  67. data/data/geocoding/en/290.txt +0 -0
  68. data/data/geocoding/en/299.txt +0 -0
  69. data/data/geocoding/en/30.txt +0 -0
  70. data/data/geocoding/en/31.txt +0 -0
  71. data/data/geocoding/en/32.txt +0 -0
  72. data/data/geocoding/en/33.txt +0 -0
  73. data/data/geocoding/en/34.txt +0 -0
  74. data/data/geocoding/en/351.txt +0 -0
  75. data/data/geocoding/en/352.txt +0 -0
  76. data/data/geocoding/en/353.txt +0 -0
  77. data/data/geocoding/en/354.txt +0 -0
  78. data/data/geocoding/en/355.txt +0 -0
  79. data/data/geocoding/en/358.txt +0 -0
  80. data/data/geocoding/en/359.txt +0 -0
  81. data/data/geocoding/en/36.txt +0 -0
  82. data/data/geocoding/en/370.txt +0 -0
  83. data/data/geocoding/en/371.txt +0 -0
  84. data/data/geocoding/en/372.txt +0 -0
  85. data/data/geocoding/en/373.txt +0 -0
  86. data/data/geocoding/en/374.txt +0 -0
  87. data/data/geocoding/en/375.txt +0 -0
  88. data/data/geocoding/en/380.txt +0 -0
  89. data/data/geocoding/en/381.txt +0 -0
  90. data/data/geocoding/en/383.txt +0 -0
  91. data/data/geocoding/en/387.txt +0 -0
  92. data/data/geocoding/en/389.txt +0 -0
  93. data/data/geocoding/en/39.txt +0 -0
  94. data/data/geocoding/en/40.txt +0 -0
  95. data/data/geocoding/en/41.txt +0 -0
  96. data/data/geocoding/en/420.txt +0 -0
  97. data/data/geocoding/en/421.txt +0 -0
  98. data/data/geocoding/en/43.txt +0 -0
  99. data/data/geocoding/en/44.txt +0 -0
  100. data/data/geocoding/en/46.txt +0 -0
  101. data/data/geocoding/en/47.txt +0 -0
  102. data/data/geocoding/en/48.txt +0 -0
  103. data/data/geocoding/en/49.txt +0 -0
  104. data/data/geocoding/en/501.txt +0 -0
  105. data/data/geocoding/en/504.txt +0 -0
  106. data/data/geocoding/en/51.txt +0 -0
  107. data/data/geocoding/en/52.txt +0 -0
  108. data/data/geocoding/en/53.txt +0 -0
  109. data/data/geocoding/en/54.txt +0 -0
  110. data/data/geocoding/en/55.txt +0 -0
  111. data/data/geocoding/en/56.txt +0 -0
  112. data/data/geocoding/en/57.txt +0 -0
  113. data/data/geocoding/en/58.txt +0 -0
  114. data/data/geocoding/en/592.txt +0 -0
  115. data/data/geocoding/en/599.txt +0 -0
  116. data/data/geocoding/en/61.txt +0 -0
  117. data/data/geocoding/en/62.txt +0 -0
  118. data/data/geocoding/en/64.txt +0 -0
  119. data/data/geocoding/en/66.txt +0 -0
  120. data/data/geocoding/en/675.txt +0 -0
  121. data/data/geocoding/en/680.txt +0 -0
  122. data/data/geocoding/en/686.txt +0 -0
  123. data/data/geocoding/en/688.txt +0 -0
  124. data/data/geocoding/en/7.txt +0 -0
  125. data/data/geocoding/en/81.txt +0 -0
  126. data/data/geocoding/en/82.txt +0 -0
  127. data/data/geocoding/en/84.txt +0 -0
  128. data/data/geocoding/en/86.txt +0 -0
  129. data/data/geocoding/en/886.txt +0 -0
  130. data/data/geocoding/en/90.txt +0 -0
  131. data/data/geocoding/en/91.txt +0 -0
  132. data/data/geocoding/en/93.txt +0 -0
  133. data/data/geocoding/en/94.txt +0 -0
  134. data/data/geocoding/en/95.txt +0 -0
  135. data/data/geocoding/en/960.txt +0 -0
  136. data/data/geocoding/en/962.txt +0 -0
  137. data/data/geocoding/en/966.txt +0 -0
  138. data/data/geocoding/en/968.txt +0 -0
  139. data/data/geocoding/en/972.txt +0 -0
  140. data/data/geocoding/en/975.txt +0 -0
  141. data/data/geocoding/en/976.txt +0 -0
  142. data/data/geocoding/en/98.txt +0 -0
  143. data/data/geocoding/en/992.txt +0 -0
  144. data/data/geocoding/en/994.txt +0 -0
  145. data/data/geocoding/es/228.txt +0 -0
  146. data/data/geocoding/es/230.txt +0 -0
  147. data/data/geocoding/es/34.txt +0 -0
  148. data/data/geocoding/es/52.txt +0 -0
  149. data/data/geocoding/es/54.txt +0 -0
  150. data/data/geocoding/es/56.txt +0 -0
  151. data/data/geocoding/es/57.txt +0 -0
  152. data/data/geocoding/es/58.txt +0 -0
  153. data/data/geocoding/es/82.txt +0 -0
  154. data/data/geocoding/fa/93.txt +0 -0
  155. data/data/geocoding/fa/98.txt +0 -0
  156. data/data/geocoding/fi/358.txt +0 -0
  157. data/data/geocoding/fi/82.txt +0 -0
  158. data/data/geocoding/fr/212.txt +0 -0
  159. data/data/geocoding/fr/222.txt +0 -0
  160. data/data/geocoding/fr/225.txt +0 -0
  161. data/data/geocoding/fr/228.txt +0 -0
  162. data/data/geocoding/fr/229.txt +0 -0
  163. data/data/geocoding/fr/230.txt +0 -0
  164. data/data/geocoding/fr/242.txt +0 -0
  165. data/data/geocoding/fr/243.txt +0 -0
  166. data/data/geocoding/fr/269.txt +0 -0
  167. data/data/geocoding/fr/290.txt +0 -0
  168. data/data/geocoding/fr/32.txt +0 -0
  169. data/data/geocoding/fr/33.txt +0 -0
  170. data/data/geocoding/fr/352.txt +0 -0
  171. data/data/geocoding/fr/41.txt +0 -0
  172. data/data/geocoding/fr/82.txt +0 -0
  173. data/data/geocoding/hi/82.txt +0 -0
  174. data/data/geocoding/hr/387.txt +0 -0
  175. data/data/geocoding/hu/36.txt +0 -0
  176. data/data/geocoding/hu/82.txt +0 -0
  177. data/data/geocoding/hy/374.txt +0 -0
  178. data/data/geocoding/id/62.txt +0 -0
  179. data/data/geocoding/it/39.txt +0 -0
  180. data/data/geocoding/it/41.txt +0 -0
  181. data/data/geocoding/iw/82.txt +0 -0
  182. data/data/geocoding/iw/972.txt +0 -0
  183. data/data/geocoding/ja/81.txt +0 -0
  184. data/data/geocoding/ja/82.txt +0 -0
  185. data/data/geocoding/ko/82.txt +0 -0
  186. data/data/geocoding/nl/31.txt +0 -0
  187. data/data/geocoding/nl/32.txt +0 -0
  188. data/data/geocoding/pl/48.txt +0 -0
  189. data/data/geocoding/pl/82.txt +0 -0
  190. data/data/geocoding/pt/238.txt +0 -0
  191. data/data/geocoding/pt/239.txt +0 -0
  192. data/data/geocoding/pt/244.txt +0 -0
  193. data/data/geocoding/pt/245.txt +0 -0
  194. data/data/geocoding/pt/258.txt +0 -0
  195. data/data/geocoding/pt/351.txt +0 -0
  196. data/data/geocoding/pt/55.txt +0 -0
  197. data/data/geocoding/pt/82.txt +0 -0
  198. data/data/geocoding/ro/373.txt +0 -0
  199. data/data/geocoding/ro/40.txt +0 -0
  200. data/data/geocoding/ro/82.txt +0 -0
  201. data/data/geocoding/ru/373.txt +0 -0
  202. data/data/geocoding/ru/374.txt +0 -0
  203. data/data/geocoding/ru/375.txt +0 -0
  204. data/data/geocoding/ru/7.txt +0 -0
  205. data/data/geocoding/ru/82.txt +0 -0
  206. data/data/geocoding/sl/82.txt +0 -0
  207. data/data/geocoding/sq/383.txt +0 -0
  208. data/data/geocoding/sr/381.txt +0 -0
  209. data/data/geocoding/sr/383.txt +0 -0
  210. data/data/geocoding/sr/387.txt +0 -0
  211. data/data/geocoding/sr/82.txt +0 -0
  212. data/data/geocoding/sv/358.txt +0 -0
  213. data/data/geocoding/sv/46.txt +0 -0
  214. data/data/geocoding/th/66.txt +0 -0
  215. data/data/geocoding/tr/82.txt +0 -0
  216. data/data/geocoding/tr/90.txt +0 -0
  217. data/data/geocoding/uk/82.txt +0 -0
  218. data/data/geocoding/vi/82.txt +0 -0
  219. data/data/geocoding/vi/84.txt +0 -0
  220. data/data/geocoding/zh/82.txt +0 -0
  221. data/data/geocoding/zh/86.txt +0 -0
  222. data/data/geocoding/zh/886.txt +0 -0
  223. data/data/geocoding/zh_Hant/82.txt +0 -0
  224. data/data/geocoding/zh_Hant/886.txt +0 -0
  225. data/data/telephone_number_data_file.dat +0 -0
  226. data/data/telephone_number_data_file.xml +437 -282
  227. data/data/timezones/README.md +0 -0
  228. data/data/timezones/map_data.dat +0 -0
  229. data/data/timezones/map_data.txt +662 -29
  230. data/lib/active_model/telephone_number_validator.rb +17 -3
  231. data/lib/telephone_number/formatter.rb +1 -1
  232. data/lib/telephone_number/version.rb +1 -1
  233. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9df5a8f3886543f14085089835520ed86c3cbe19
4
- data.tar.gz: 9fbad40abe2edcd62869b1031596c566b61b23f5
3
+ metadata.gz: a780e373e6198f4aa095bd0422139b3291f3c366
4
+ data.tar.gz: 32bc3929687bf590df532c665e7d0e754db61f4a
5
5
  SHA512:
6
- metadata.gz: 855a285c739e890959539debc87500a13c8c3c83727c69265b66cbf6e5c15208a993337fe7adb39b3eb34a2dee942ee50133716604a395bc64db6822974e3a9f
7
- data.tar.gz: 1ed78c96f1e70923346164fd3b883394f6a60587848bc8111b2fc9b3a2f33da424bbf6c2328e32add389af7ab301563373c176e94de551408443915ff650dcc5
6
+ metadata.gz: 49425b521570ee9503da8b052e9df03f853f762adbdb03119441286382b84c5c0f1dad5038f1e76184a90be0efbf6d5c2d84e6a034c46654e9bfd1e40d4259e4
7
+ data.tar.gz: 0c8298ff3795d869dd64710241a14c140ec8ac1364ffe3ba8309e9091e5755a9d02b840d9e85fd1969d43bb77b7da753c037ed28d6ac84d786f669f0a3c5531c
data/README.md CHANGED
@@ -46,7 +46,8 @@ Or install it yourself as:
46
46
 
47
47
  #### Country
48
48
 
49
- - In this example, `record.country` must yield a valid two letter country code such as `:us` or `:ca`
49
+ - In this example, `record.country` must yield a valid two letter country code such as `:us`, `:ca` or `'DE'`
50
+ - You can also just pass a `String` or `Symbol` instead of a `Proc`.
50
51
 
51
52
  ## Manual Usage
52
53
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
Binary file
@@ -4227,6 +4227,7 @@
4227
4227
  1276956|Ridgeway, VA
4228
4228
  1276964|Richlands, VA
4229
4229
  1276988|Tazewell, VA
4230
+ 1279|California
4230
4231
  1281|Texas
4231
4232
  1281207|Sugar Land, TX
4232
4233
  1281208|Missouri City, TX
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
Binary file
@@ -52,7 +52,7 @@
52
52
  2682528|Malkerns, Manzini district
53
53
  2682538|Mankayane, Manzini district
54
54
  2682548|Ludzeludze, Manzini district
55
- 26826|Hhohho
56
- 26827|Manzini
57
- 26828|Lubombo
58
- 26829|Shiselweni
55
+ 26832|Shiselweni
56
+ 26833|Lubombo
57
+ 26834|Hhohho
58
+ 26835|Manzini
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes