telephone_number 1.4.9 → 1.4.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/CHANGELOG.md +14 -0
  4. data/README.md +11 -5
  5. data/data/geocoding/de/49.dat +0 -0
  6. data/data/geocoding/de/49.txt +3 -3
  7. data/data/geocoding/en/1.dat +0 -0
  8. data/data/geocoding/en/1.txt +13 -1
  9. data/data/geocoding/en/212.dat +0 -0
  10. data/data/geocoding/en/212.txt +9 -1
  11. data/data/geocoding/en/225.dat +0 -0
  12. data/data/geocoding/en/225.txt +36 -22
  13. data/data/geocoding/en/267.dat +0 -0
  14. data/data/geocoding/en/267.txt +1 -0
  15. data/data/geocoding/en/44.dat +0 -0
  16. data/data/geocoding/en/44.txt +6 -1
  17. data/data/geocoding/en/49.dat +0 -0
  18. data/data/geocoding/en/49.txt +3 -3
  19. data/data/geocoding/en/504.dat +0 -0
  20. data/data/geocoding/en/504.txt +1 -0
  21. data/data/geocoding/en/52.dat +0 -0
  22. data/data/geocoding/en/52.txt +2 -0
  23. data/data/geocoding/en/55.dat +0 -0
  24. data/data/geocoding/en/55.txt +1 -1
  25. data/data/geocoding/en/57.dat +0 -0
  26. data/data/geocoding/en/57.txt +149 -0
  27. data/data/geocoding/en/598.dat +0 -0
  28. data/data/geocoding/en/598.txt +9 -1
  29. data/data/geocoding/en/61.dat +0 -0
  30. data/data/geocoding/en/61.txt +39 -9
  31. data/data/geocoding/en/678.dat +0 -0
  32. data/data/geocoding/en/678.txt +1 -1
  33. data/data/geocoding/en/81.dat +0 -0
  34. data/data/geocoding/en/81.txt +9 -1
  35. data/data/geocoding/en/880.dat +0 -0
  36. data/data/geocoding/en/880.txt +5 -1
  37. data/data/geocoding/en/961.dat +0 -0
  38. data/data/geocoding/en/961.txt +23 -0
  39. data/data/geocoding/en/994.dat +0 -0
  40. data/data/geocoding/en/994.txt +2 -2
  41. data/data/geocoding/es/52.dat +0 -0
  42. data/data/geocoding/es/52.txt +18 -16
  43. data/data/geocoding/es/57.dat +0 -0
  44. data/data/geocoding/es/57.txt +146 -0
  45. data/data/geocoding/fr/212.dat +0 -0
  46. data/data/geocoding/fr/212.txt +9 -1
  47. data/data/geocoding/fr/225.dat +0 -0
  48. data/data/geocoding/fr/225.txt +36 -22
  49. data/data/geocoding/ja/81.dat +0 -0
  50. data/data/geocoding/ja/81.txt +9 -1
  51. data/data/geocoding/pt/55.dat +0 -0
  52. data/data/geocoding/pt/55.txt +1 -1
  53. data/data/telephone_number_data_file.dat +0 -0
  54. data/data/telephone_number_data_file.xml +2162 -1297
  55. data/data/timezones/map_data.dat +0 -0
  56. data/data/timezones/map_data.txt +81 -177
  57. data/lib/telephone_number/country.rb +22 -9
  58. data/lib/telephone_number/version.rb +1 -1
  59. data/lib/telephone_number.rb +0 -1
  60. data/telephone_number.gemspec +1 -0
  61. metadata +6 -4
  62. data/lib/utilities/hash.rb +0 -47
Binary file
@@ -0,0 +1,23 @@
1
+ # Copyright (C) 2021 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
+ # https://www.itu.int/oth/T0202000077/en
16
+
17
+ 96121|Beirut
18
+ 96124|Metn
19
+ 96125|Chouf
20
+ 96126|North Lebanon
21
+ 96127|South Lebanon
22
+ 96128|Bekaa
23
+ 96129|Jbeil & Keserwan
Binary file
@@ -36,7 +36,7 @@
36
36
  9942126|Neftchala
37
37
  9942127|Agjabadi
38
38
  9942128|Saatli
39
- 99421428|Hajigabul
39
+ 994214|Hajigabul
40
40
  9942220|Goygol
41
41
  9942221|Dashkasan
42
42
  9942222|Agstafa
@@ -51,7 +51,7 @@
51
51
  9942232|Gadabay
52
52
  9942233|Yevlakh
53
53
  9942235|Naftalan
54
- 99422428|Agstafa/Ganja/Yevlakh
54
+ 994224|Agstafa/Ganja/Yevlakh
55
55
  9942330|Siyazan
56
56
  9942331|Khizi
57
57
  9942332|Khachmaz
Binary file
@@ -178,14 +178,14 @@
178
178
  52498|Zacatecas
179
179
  52499|Jalisco/Zacatecas
180
180
  5255|Ciudad de México, CDMX
181
- 5258|Estado de Mexico
182
- 52591|Estado de Mexico
183
- 52592|Estado de Mexico
184
- 52593|Estado de Mexico
185
- 52594|Estado de Mexico
186
- 52595|Estado de Mexico
187
- 52596|Estado de Mexico
188
- 52599|Estado de Mexico
181
+ 5258|Estado de México
182
+ 52591|Estado de México
183
+ 52592|Estado de México
184
+ 52593|Estado de México
185
+ 52594|Estado de México
186
+ 52595|Estado de México
187
+ 52596|Estado de México
188
+ 52599|Estado de México
189
189
  52612|La Paz/Todos Santos, BCS
190
190
  52613|Baja California Sur
191
191
  52614|Chihuahua
@@ -223,6 +223,7 @@
223
223
  52652|Chihuahua
224
224
  52653|Luis B. Sánchez/San Luis Río Colorado, SON
225
225
  52656|Chihuahua
226
+ 52657|Chihuahua
226
227
  52658|Baja California
227
228
  52659|Chihuahua
228
229
  52661|Primo Tapia/Rosarito, BCN
@@ -242,23 +243,23 @@
242
243
  52687|Sinaloa
243
244
  5269|Sinaloa
244
245
  52711|México/Michoacán
245
- 52712|Estado de Mexico
246
+ 52712|Estado de México
246
247
  52713|Santiago Tianguistenco, MEX
247
- 52714|Estado de Mexico
248
+ 52714|Estado de México
248
249
  52715|Michoacán
249
- 52716|Estado de Mexico
250
- 52717|Estado de Mexico
251
- 52718|Estado de Mexico
250
+ 52716|Estado de México
251
+ 52717|Estado de México
252
+ 52718|Estado de México
252
253
  52719|San Francisco Xonacatlán/Temoaya, MEX
253
254
  52721|Ixtapan de la Sal, MEX
254
- 52722|Estado de Mexico
255
+ 52722|Estado de México
255
256
  52723|Coatepec Harinas, MEX
256
257
  52724|Luvianos/Tejupilco de Hidalgo, MEX
257
258
  52725|Almoloya de Juárez/Santa María del Monte, MEX
258
- 52726|Estado de Mexico
259
+ 52726|Estado de México
259
260
  52727|Guerrero
260
261
  52728|Lerma/Santa María Atarasquillo, MEX
261
- 52729|Estado de Mexico
262
+ 52729|Estado de México
262
263
  52731|Morelos
263
264
  52732|Guerrero
264
265
  52733|Iguala, GRO
@@ -378,6 +379,7 @@
378
379
  52986|Yucatán
379
380
  52987|Cozumel, QRO
380
381
  52988|Yucatán
382
+ 52990|Merida
381
383
  52991|Yucatán
382
384
  52992|Chiapas
383
385
  52993|Tabasco
Binary file
@@ -162,6 +162,152 @@
162
162
  57566|Cartagena
163
163
  57567|Cartagena
164
164
  57568|Cartagena
165
+ 576012|Bogotá
166
+ 576013|Bogotá
167
+ 576014|Bogotá
168
+ 576015|Bogotá
169
+ 576016|Bogotá
170
+ 576017|Bogotá
171
+ 57601821|Funza
172
+ 57601822|Funza
173
+ 576018230|Subachoque
174
+ 576018232|Funza
175
+ 576018240|El Rosal
176
+ 576018241|El Rosal
177
+ 576018242|La Pradera/Subachoque/Subachique
178
+ 576018243|Bojaca
179
+ 576018245|Subachoque
180
+ 576018246|Puente Piedra
181
+ 576018247|La Punta
182
+ 576018249|Zipacon
183
+ 576018250|Madrid
184
+ 576018251|Madrid
185
+ 576018252|Madrid
186
+ 576018253|Madrid
187
+ 576018254|Madrid
188
+ 576018255|Madrid
189
+ 576018256|Madrid
190
+ 576018257|Funza
191
+ 57601826|Funza
192
+ 57601827|Mosquera
193
+ 576018283|Mosquera
194
+ 576018288|Madrid
195
+ 576018289|Madrid
196
+ 57601830|Girardot
197
+ 57601831|Girardot
198
+ 57601832|Girardot
199
+ 57601833|Girardot
200
+ 576018370|Jerusalén
201
+ 576018371|Guataqui
202
+ 576018373|Beltrán
203
+ 576018375|Nariño
204
+ 576018376|Tocaima
205
+ 576018381|Agua de Dios
206
+ 576018383|Nilo
207
+ 576018384|Viota
208
+ 576018385|Nariño
209
+ 576018386|Apulo
210
+ 576018392|Nilo/La Esmeralda
211
+ 576018393|Girardot
212
+ 576018397|Apulo
213
+ 576018398|Apulo
214
+ 576018402|San Antonio de Tequendama
215
+ 576018403|Choachi
216
+ 576018404|Fomeque
217
+ 576018412|Santa Inés
218
+ 576018416|Guaduas
219
+ 576018417|Guaduas
220
+ 576018419|Pandi
221
+ 57601842|Facatativa
222
+ 576018430|Facatativa
223
+ 576018431|Facatativa
224
+ 576018433|Ninaima/Tobia
225
+ 576018434|Cartagenita
226
+ 576018435|Cartagenita
227
+ 576018436|Facatativa
228
+ 576018437|Facatativa
229
+ 576018438|Facatativa
230
+ 576018439|Facatativa
231
+ 576018442|Cachipay
232
+ 576018443|Cachipay
233
+ 576018444|Villeta
234
+ 576018445|Villeta
235
+ 576018446|Villeta
236
+ 576018447|Villeta
237
+ 576018449|La Peña
238
+ 576018450|San Antonio de Tequendama
239
+ 576018451|Nocaima
240
+ 576018453|La Florida
241
+ 576018480|Quebradanegra
242
+ 576018481|Quebradanegra
243
+ 576018482|La Magdalena
244
+ 5760230|Cali
245
+ 5760231|Cali
246
+ 5760232|Cali
247
+ 5760233|Cali
248
+ 5760234|Cali
249
+ 5760235|Cali
250
+ 5760236|Cali
251
+ 5760272|Pasto
252
+ 5760273|Pasto
253
+ 5760288|Cali
254
+ 5760289|Cali
255
+ 5760290|Cali
256
+ 5760292|Cali
257
+ 576042|Medellín
258
+ 576043|Medellín
259
+ 576044|Medellín
260
+ 576045|Medellín
261
+ 57604842|Medellín
262
+ 576048510|Medellín
263
+ 576048511|Medellín
264
+ 576048720|Medellín
265
+ 576048721|Medellín
266
+ 576048722|Medellín
267
+ 576048723|Medellín
268
+ 576048724|Medellín
269
+ 576048725|Medellín
270
+ 576048726|Medellín
271
+ 576049092|Medellín
272
+ 57604911|Medellín
273
+ 57604913|Medellín
274
+ 57604917|Medellín
275
+ 5760492|Medellín
276
+ 5760532|Barranquilla
277
+ 5760533|Barranquilla
278
+ 5760534|Barranquilla
279
+ 5760535|Barranquilla
280
+ 5760536|Barranquilla
281
+ 5760537|Barranquilla
282
+ 5760538|Barranquilla
283
+ 5760557|Valledupar
284
+ 576056295|Cartagena
285
+ 5760565|Cartagena
286
+ 5760566|Cartagena
287
+ 5760567|Cartagena
288
+ 5760568|Cartagena
289
+ 5760631|Pereira
290
+ 5760632|Pereira
291
+ 5760633|Pereira
292
+ 5760634|Pereira
293
+ 5760635|Pereira
294
+ 5760687|Manizales
295
+ 5760688|Manizales
296
+ 5760689|Manizales
297
+ 5760757|Cucuta
298
+ 5760758|Cucuta
299
+ 5760761|Bucaramanga
300
+ 5760763|Bucaramanga
301
+ 5760764|Bucaramanga
302
+ 5760765|Bucaramanga
303
+ 5760767|Bucaramanga
304
+ 5760768|Bucaramanga
305
+ 5760790|Bucaramanga
306
+ 5760826|Ibague
307
+ 5760827|Ibague
308
+ 5760866|Villavicencio
309
+ 5760886|Neiva
310
+ 5760887|Neiva
165
311
  57631|Pereira
166
312
  57632|Pereira
167
313
  57633|Pereira
Binary file
@@ -17,7 +17,15 @@
17
17
 
18
18
  212520|Casablanca
19
19
  212521|Casablanca/Maroc Central
20
- 212522|Casablanca
20
+ 2125220|Casablanca
21
+ 2125222|Casablanca
22
+ 2125223|Casablanca
23
+ 2125224|Casablanca
24
+ 2125225|Casablanca
25
+ 2125226|Casablanca
26
+ 2125227|Casablanca
27
+ 2125228|Casablanca
28
+ 2125229|Casablanca
21
29
  2125232|Mohammedia
22
30
  2125233|Mohammedia/El Jadida
23
31
  2125234|Settat
Binary file
@@ -16,25 +16,39 @@
16
16
  # http://www.itu.int/oth/T0202000031/en [2009-02-17]
17
17
  # http://en.wikipedia.org/wiki/+225 [451649778]
18
18
 
19
- 225200|Plateau, Abidjan
20
- 225202|Plateau, Abidjan
21
- 225203|Plateau, Abidjan
22
- 225210|Abidjan (southeast)
23
- 225212|Abidjan (southeast)
24
- 225213|Abidjan (southeast)
25
- 225215|Abidjan (southeast)
26
- 225217|Abidjan (southeast)
27
- 225220|Cocody, Abidjan
28
- 225224|Cocody, Abidjan
29
- 225225|Cocody, Abidjan
30
- 225230|Banco, Abidjan
31
- 225234|Banco, Abidjan
32
- 225235|Banco, Abidjan
33
- 22524|Abobo, Abidjan
34
- 22530|Yamoussoukro
35
- 22531|Bouaké
36
- 22532|Daloa
37
- 22533|Man
38
- 22534|San-Pédro
39
- 22535|Abengourou
40
- 22536|Korhogo
19
+ 2252120|Plateau, Abidjan
20
+ 2252121|Abidjan-sud
21
+ 2252122|Cocody, Abidjan
22
+ 2252123|Banco, Abidjan
23
+ 2252124|Abobo, Abidjan
24
+ 2252130|Yamoussoukro
25
+ 2252131|Bouaké
26
+ 2252132|Daloa
27
+ 2252133|Man
28
+ 2252134|San-Pédro
29
+ 2252135|Abengourou
30
+ 2252136|Korhogo
31
+ 2252520|Plateau, Abidjan
32
+ 2252521|Abidjan-sud
33
+ 2252522|Cocody, Abidjan
34
+ 2252523|Banco, Abidjan
35
+ 2252524|Abobo, Abidjan
36
+ 2252530|Yamoussoukro
37
+ 2252531|Bouaké
38
+ 2252532|Daloa
39
+ 2252533|Man
40
+ 2252534|San-Pédro
41
+ 2252535|Abengourou
42
+ 2252536|Korhogo
43
+ 2252720|Plateau, Abidjan
44
+ 2252721|Abidjan-sud
45
+ 2252722|Cocody, Abidjan
46
+ 2252723|Banco, Abidjan
47
+ 2252724|Abobo, Abidjan
48
+ 2252730|Yamoussoukro
49
+ 2252731|Bouaké
50
+ 2252732|Daloa
51
+ 2252733|Man
52
+ 2252734|San-Pédro
53
+ 2252735|Abengourou
54
+ 2252736|Korhogo
Binary file
@@ -759,7 +759,15 @@
759
759
  815997|阿児
760
760
  815998|阿児
761
761
  815999|津
762
- 816|大阪
762
+ 8161|大阪
763
+ 8162|大阪
764
+ 8163|大阪
765
+ 8164|大阪
766
+ 8165|大阪
767
+ 8166|大阪
768
+ 8167|大阪
769
+ 8168|大阪
770
+ 8169|大阪
763
771
  81721|富田林
764
772
  81722|堺
765
773
  81723|堺
Binary file
@@ -2738,7 +2738,7 @@
2738
2738
  55213642|Teresópolis - RJ
2739
2739
  55213643|Teresópolis - RJ
2740
2740
  55213644|Teresópolis - RJ
2741
- 55213660|Barra Mansa - RJ
2741
+ 55213660|Magé - RJ
2742
2742
  55213664|Belford Roxo - RJ
2743
2743
  55213665|Queimados - RJ
2744
2744
  55213667|Duque de Caxias - RJ
Binary file