telephone_number 1.4.22 → 1.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/CHANGELOG.md +6 -0
  4. data/data/geocoding/en/1.dat +0 -0
  5. data/data/geocoding/en/1.txt +11 -2
  6. data/data/geocoding/en/230.dat +0 -0
  7. data/data/geocoding/en/230.txt +15 -1
  8. data/data/geocoding/en/234.dat +0 -0
  9. data/data/geocoding/en/234.txt +0 -1
  10. data/data/geocoding/en/34.dat +0 -0
  11. data/data/geocoding/en/34.txt +2 -2
  12. data/data/geocoding/en/39.dat +0 -0
  13. data/data/geocoding/en/39.txt +1 -0
  14. data/data/geocoding/en/52.dat +0 -0
  15. data/data/geocoding/en/52.txt +1 -2
  16. data/data/geocoding/en/55.dat +0 -0
  17. data/data/geocoding/en/55.txt +6 -1
  18. data/data/geocoding/en/57.dat +0 -0
  19. data/data/geocoding/en/57.txt +1 -0
  20. data/data/geocoding/en/61.dat +0 -0
  21. data/data/geocoding/en/61.txt +22 -27
  22. data/data/geocoding/en/7.dat +0 -0
  23. data/data/geocoding/en/7.txt +4 -1
  24. data/data/geocoding/en/81.dat +0 -0
  25. data/data/geocoding/en/81.txt +1 -1
  26. data/data/geocoding/en/86.dat +0 -0
  27. data/data/geocoding/en/86.txt +0 -1
  28. data/data/geocoding/en/960.dat +0 -0
  29. data/data/geocoding/en/960.txt +1 -0
  30. data/data/geocoding/en/975.dat +0 -0
  31. data/data/geocoding/en/975.txt +3 -1
  32. data/data/geocoding/es/230.dat +0 -0
  33. data/data/geocoding/es/230.txt +15 -1
  34. data/data/geocoding/es/34.dat +0 -0
  35. data/data/geocoding/es/34.txt +1 -1
  36. data/data/geocoding/es/52.dat +0 -0
  37. data/data/geocoding/es/52.txt +1 -2
  38. data/data/geocoding/es/57.dat +0 -0
  39. data/data/geocoding/es/57.txt +1 -0
  40. data/data/geocoding/fr/230.dat +0 -0
  41. data/data/geocoding/fr/230.txt +15 -1
  42. data/data/geocoding/ja/81.dat +0 -0
  43. data/data/geocoding/ja/81.txt +1 -1
  44. data/data/geocoding/pt/55.dat +0 -0
  45. data/data/geocoding/pt/55.txt +6 -1
  46. data/data/geocoding/ru/7.dat +0 -0
  47. data/data/geocoding/ru/7.txt +4 -1
  48. data/data/geocoding/zh/86.dat +0 -0
  49. data/data/geocoding/zh/86.txt +0 -1
  50. data/data/telephone_number_data_file.dat +0 -0
  51. data/data/telephone_number_data_file.xml +1051 -822
  52. data/data/timezones/map_data.dat +0 -0
  53. data/data/timezones/map_data.txt +21 -33
  54. data/lib/importers/test_data_importer.rb +5 -4
  55. data/lib/telephone_number/version.rb +1 -1
  56. metadata +3 -4
  57. data/data/geocoding/en/372.dat +0 -0
  58. data/data/geocoding/en/372.txt +0 -35
Binary file
@@ -501,6 +501,7 @@
501
501
  1253|America/Los_Angeles
502
502
  1254|America/Chicago
503
503
  1256|America/Chicago
504
+ 1257|America/Vancouver
504
505
  1260|America/New_York
505
506
  1262|America/Chicago
506
507
  1263|America/Toronto
@@ -633,6 +634,7 @@
633
634
  1270965|America/Chicago
634
635
  1270988|America/Chicago
635
636
  1272|America/New_York
637
+ 1274|America/Chicago
636
638
  1276|America/New_York
637
639
  1279|America/Los_Angeles
638
640
  1281|America/Chicago
@@ -690,8 +692,10 @@
690
692
  1320|America/Chicago
691
693
  1321|America/New_York
692
694
  1323|America/Los_Angeles
695
+ 1324|America/New_York
693
696
  1325|America/Chicago
694
697
  1326|America/New_York
698
+ 1327|America/Chicago
695
699
  1329|America/New_York
696
700
  1330|America/New_York
697
701
  1331|America/Chicago
@@ -927,7 +931,7 @@
927
931
  1432|America/Chicago
928
932
  1434|America/New_York
929
933
  1435|America/Denver
930
- 1437|America/Winnipeg
934
+ 1437|America/Toronto
931
935
  1438|America/Toronto
932
936
  1440|America/New_York
933
937
  1441|Atlantic/Bermuda
@@ -1221,6 +1225,7 @@
1221
1225
  1682|America/Chicago
1222
1226
  1683|America/Toronto
1223
1227
  1684|Pacific/Pago_Pago
1228
+ 1686|America/New_York
1224
1229
  1689|America/Chicago
1225
1230
  1701|America/Denver&America/North_Dakota/Center
1226
1231
  1701200|America/Chicago
@@ -1442,6 +1447,7 @@
1442
1447
  1742|America/Toronto
1443
1448
  1743|America/New_York
1444
1449
  1747|America/Los_Angeles
1450
+ 1748|America/Denver
1445
1451
  1753|America/Toronto
1446
1452
  1754|America/New_York
1447
1453
  1757|America/New_York
@@ -1637,6 +1643,7 @@
1637
1643
  1818|America/Los_Angeles
1638
1644
  1819|America/Toronto
1639
1645
  1820|America/Los_Angeles
1646
+ 1821|America/New_York
1640
1647
  1825|America/Edmonton
1641
1648
  1826|America/New_York
1642
1649
  1828|America/New_York
@@ -2002,50 +2009,22 @@
2002
2009
  1920|America/Chicago
2003
2010
  1925|America/Los_Angeles
2004
2011
  1928|America/Phoenix
2005
- 1928206|America/Denver&America/Phoenix
2006
- 1928209|America/Denver&America/Phoenix
2007
- 1928212|America/Denver&America/Phoenix
2008
- 192826|America/Denver&America/Phoenix
2009
- 1928280|America/Denver&America/Phoenix
2010
2012
  1928283|America/Denver&America/Phoenix
2011
- 192830|America/Denver&America/Phoenix
2012
- 1928319|America/Denver&America/Phoenix
2013
- 1928349|America/Denver&America/Phoenix
2014
- 192835|America/Denver&America/Phoenix
2015
- 1928360|America/Denver&America/Phoenix
2016
- 192838|America/Denver&America/Phoenix
2017
- 192840|America/Denver&America/Phoenix
2018
- 192841|America/Denver&America/Phoenix
2019
- 1928429|America/Denver&America/Phoenix
2020
- 1928461|America/Denver&America/Phoenix
2021
- 192848|America/Denver&America/Phoenix
2022
- 1928545|America/Denver&America/Phoenix
2023
- 1928608|America/Denver&America/Phoenix
2024
- 192861|America/Denver&America/Phoenix
2025
- 1928640|America/Denver&America/Phoenix
2026
- 1928645|America/Denver&America/Phoenix
2027
- 192865|America/Denver&America/Phoenix
2028
- 1928660|America/Denver&America/Phoenix
2029
- 1928663|America/Denver&America/Phoenix
2030
2013
  1928672|America/Denver&America/Phoenix
2031
2014
  1928673|America/Denver&America/Phoenix
2032
2015
  1928674|America/Denver&America/Phoenix
2033
- 1928675|America/Denver&America/Phoenix
2016
+ 1928677|America/Denver&America/Phoenix
2034
2017
  1928686|America/Denver&America/Phoenix
2035
- 1928691|America/Denver&America/Phoenix
2036
- 1928693|America/Denver&America/Phoenix
2037
2018
  1928697|America/Denver&America/Phoenix
2038
2019
  1928698|America/Denver&America/Phoenix
2039
2020
  1928724|America/Denver&America/Phoenix
2040
2021
  1928725|America/Denver&America/Phoenix
2022
+ 1928728|America/Denver&America/Phoenix
2023
+ 1928729|America/Denver&America/Phoenix
2041
2024
  1928755|America/Denver&America/Phoenix
2042
2025
  1928781|America/Denver&America/Phoenix
2043
2026
  1928787|America/Denver&America/Phoenix
2044
- 192879|America/Denver&America/Phoenix
2045
- 192881|America/Denver&America/Phoenix
2046
2027
  1928871|America/Denver&America/Phoenix
2047
- 192890|America/Denver&America/Phoenix
2048
- 192896|America/Denver&America/Phoenix
2049
2028
  1929|America/New_York
2050
2029
  1930|America/New_York
2051
2030
  1931|America/Chicago
@@ -2056,6 +2035,7 @@
2056
2035
  1939|America/Puerto_Rico
2057
2036
  1940|America/Chicago
2058
2037
  1941|America/New_York
2038
+ 1942|America/Toronto
2059
2039
  1943|America/New_York
2060
2040
  1945|America/Chicago
2061
2041
  1947|America/New_York
@@ -2070,6 +2050,7 @@
2070
2050
  1971|America/Los_Angeles
2071
2051
  1972|America/Chicago
2072
2052
  1973|America/New_York
2053
+ 1975|America/Chicago
2073
2054
  1978|America/New_York
2074
2055
  1979|America/Chicago
2075
2056
  1980|America/New_York
@@ -2139,6 +2120,8 @@
2139
2120
  262269|Indian/Mayotte
2140
2121
  26263|Indian/Mayotte
2141
2122
  26269|Indian/Reunion
2123
+ 2627092|Indian/Reunion
2124
+ 2627093|Indian/Mayotte
2142
2125
  26280|Indian/Mayotte&Indian/Reunion
2143
2126
  26281|Indian/Reunion
2144
2127
  26282|Indian/Reunion
@@ -3013,6 +2996,7 @@
3013
2996
  6185128|Australia/Adelaide&Australia/Perth
3014
2997
  6185129|Australia/Adelaide&Australia/Perth
3015
2998
  618513|Australia/Sydney
2999
+ 618514|Australia/Sydney
3016
3000
  6186|Australia/Adelaide&Australia/Perth
3017
3001
  6187|Australia/Adelaide&Australia/Perth
3018
3002
  6188|Australia/Adelaide&Australia/Perth
@@ -3183,7 +3167,8 @@
3183
3167
  7|Asia/Almaty&Asia/Anadyr&Asia/Aqtobe&Asia/Irkutsk&Asia/Kamchatka&Asia/Krasnoyarsk&Asia/Magadan&Asia/Novosibirsk&Asia/Omsk&Asia/Sakhalin&Asia/Vladivostok&Asia/Yakutsk&Asia/Yekaterinburg&Europe/Bucharest&Europe/Moscow&Europe/Samara
3184
3168
  7301|Asia/Irkutsk
3185
3169
  7302|Asia/Yakutsk
3186
- 733|Asia/Almaty
3170
+ 7336|Asia/Yekaterinburg
3171
+ 733622|Asia/Almaty
3187
3172
  734|Asia/Yekaterinburg
3188
3173
  7341|Europe/Samara
3189
3174
  735|Asia/Yekaterinburg
@@ -3239,10 +3224,13 @@
3239
3224
  7848|Europe/Samara
3240
3225
  7851|Europe/Samara
3241
3226
  7855|Europe/Moscow
3227
+ 7856|Europe/Moscow
3228
+ 7857|Europe/Moscow
3242
3229
  786|Europe/Moscow
3243
3230
  787|Europe/Moscow
3244
3231
  79|Europe/Moscow
3245
3232
  81|Asia/Tokyo
3233
+ 8170859|Asia/Tokyo
3246
3234
  82|Asia/Seoul
3247
3235
  84|Asia/Ho_Chi_Minh
3248
3236
  850|Asia/Seoul
@@ -14,7 +14,7 @@ module TelephoneNumber
14
14
  BR: %w(011992339376 1123456789 11961234567 55991472683),
15
15
  BY: %w(80152450911 294911911 152450911),
16
16
  CA: %w(16135550119 16135550171 16135550112 16135550194
17
- 16135550122 16135550131 15146708700 14169158200),
17
+ 16135550122 16135550131 15146708700 14169158200 19424440337),
18
18
  CH: %w(41794173875 41795061129 41795820985),
19
19
  CL: %w(961234567 221234567),
20
20
  CN: %w(15694876068 13910503766 15845989469 05523245954 04717158875 03748086894),
@@ -52,7 +52,7 @@ module TelephoneNumber
52
52
  RO: %w(40724242563 40727798526 40727735377),
53
53
  SA: %w(966503891468 966501543349 966500939012),
54
54
  SE: %w(46708922920 46723985268 46761001966),
55
- SG: %w(96924755),
55
+ SG: %w(96924755 6561234567),
56
56
  TR: %w(905497728782 905497728780 905497728781),
57
57
  TT: %w(18687804765 18687804843 18687804752),
58
58
  TW: %w(886905627933 886905627901 886905627925),
@@ -60,9 +60,10 @@ module TelephoneNumber
60
60
  3175083345 13128404100 12485934000 19497941600 14257395600 13103106000
61
61
  16086699600 12125650000 14123456700 14157360000 12068761800
62
62
  12023461100 3175082333, 3502341234, 3502523420, 3502504620, 5292500143,
63
- 5292520412),
63
+ 5292520412, 8555559815),
64
64
  VE: %w(584149993108 584248407260 584248271518),
65
- ZA: %w(27826187617 27823014578 27828840632)
65
+ ZA: %w(27826187617 27823014578 27828840632),
66
+ ZM: %w(260971234567)
66
67
  }.freeze
67
68
  def self.import!
68
69
  output_hash = {}
@@ -1,3 +1,3 @@
1
1
  module TelephoneNumber
2
- VERSION = "1.4.22"
2
+ VERSION = "1.4.24"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telephone_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.22
4
+ version: 1.4.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - MOBI Wireless Management
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-21 00:00:00.000000000 Z
11
+ date: 2025-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -304,8 +304,6 @@ files:
304
304
  - data/geocoding/en/36.txt
305
305
  - data/geocoding/en/370.dat
306
306
  - data/geocoding/en/370.txt
307
- - data/geocoding/en/372.dat
308
- - data/geocoding/en/372.txt
309
307
  - data/geocoding/en/373.dat
310
308
  - data/geocoding/en/373.txt
311
309
  - data/geocoding/en/374.dat
@@ -609,6 +607,7 @@ files:
609
607
  - data/telephone_number_data_file.dat
610
608
  - data/telephone_number_data_file.xml
611
609
  - data/timezones/README.md
610
+ - data/timezones/map_data.dat
612
611
  - data/timezones/map_data.txt
613
612
  - lib/active_model/telephone_number_validator.rb
614
613
  - lib/importers/geo_location_data_importer.rb
Binary file
@@ -1,35 +0,0 @@
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/+372 [428435162]
17
-
18
- 37232|Rakvere
19
- 37233|Kohtla-Järve
20
- 37235|Narva/Sillamäe
21
- 37238|Paide
22
- 37243|Viljandi
23
- 37244|Pärnu
24
- 37245|Kuressaare
25
- 37246|Kärdla
26
- 37247|Haapsalu
27
- 37248|Rapla
28
- 3726|Tallinn/Harju County
29
- 37273|Tartu
30
- 37274|Tartu
31
- 37275|Tartu
32
- 37276|Valga
33
- 37277|Jõgeva
34
- 37278|Võru
35
- 37279|Põlva