telephone_number 1.4.13 → 1.4.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/CHANGELOG.md +18 -0
- data/data/geocoding/en/1.dat +0 -0
- data/data/geocoding/en/1.txt +404 -6
- data/data/geocoding/en/212.txt +1 -1
- data/data/geocoding/en/213.dat +0 -0
- data/data/geocoding/en/213.txt +1 -0
- data/data/geocoding/en/225.txt +3 -1
- data/data/geocoding/en/229.dat +0 -0
- data/data/geocoding/en/229.txt +1 -0
- data/data/geocoding/en/238.dat +0 -0
- data/data/geocoding/en/238.txt +3 -3
- data/data/geocoding/en/251.dat +0 -0
- data/data/geocoding/en/251.txt +1 -0
- data/data/geocoding/en/33.txt +115 -1
- data/data/geocoding/en/34.txt +2 -2
- data/data/geocoding/en/351.txt +1 -0
- data/data/geocoding/en/389.dat +0 -0
- data/data/geocoding/en/389.txt +1 -0
- data/data/geocoding/en/44.txt +19 -21
- data/data/geocoding/en/504.dat +0 -0
- data/data/geocoding/en/504.txt +24 -2
- data/data/geocoding/en/52.dat +0 -0
- data/data/geocoding/en/52.txt +4 -1
- data/data/geocoding/en/54.dat +0 -0
- data/data/geocoding/en/54.txt +1 -0
- data/data/geocoding/en/56.dat +0 -0
- data/data/geocoding/en/56.txt +1 -0
- data/data/geocoding/en/57.txt +4 -168
- data/data/geocoding/en/61.dat +0 -0
- data/data/geocoding/en/61.txt +116 -264
- data/data/geocoding/en/64.dat +0 -0
- data/data/geocoding/en/64.txt +237 -513
- data/data/geocoding/en/7.dat +0 -0
- data/data/geocoding/en/7.txt +5 -1
- data/data/geocoding/en/960.txt +1 -0
- data/data/geocoding/es/52.dat +0 -0
- data/data/geocoding/es/52.txt +4 -1
- data/data/geocoding/es/54.txt +1 -0
- data/data/geocoding/es/56.dat +0 -0
- data/data/geocoding/es/56.txt +1 -0
- data/data/geocoding/es/57.dat +0 -0
- data/data/geocoding/es/57.txt +7 -168
- data/data/geocoding/fr/212.txt +1 -1
- data/data/geocoding/fr/225.txt +3 -1
- data/data/geocoding/fr/33.txt +115 -1
- data/data/geocoding/pt/238.dat +0 -0
- data/data/geocoding/pt/238.txt +3 -3
- data/data/geocoding/pt/351.txt +1 -0
- data/data/geocoding/ru/7.dat +0 -0
- data/data/geocoding/ru/7.txt +5 -1
- data/data/telephone_number_data_file.dat +0 -0
- data/data/telephone_number_data_file.xml +1366 -989
- data/data/timezones/map_data.dat +0 -0
- data/data/timezones/map_data.txt +169 -6
- data/lib/importers/test_data_importer.rb +3 -2
- data/lib/telephone_number/version.rb +1 -1
- metadata +7 -8
data/data/timezones/map_data.dat
CHANGED
Binary file
|
data/data/timezones/map_data.txt
CHANGED
@@ -501,6 +501,7 @@
|
|
501
501
|
1256|America/Chicago
|
502
502
|
1260|America/New_York
|
503
503
|
1262|America/Chicago
|
504
|
+
1263|America/Toronto
|
504
505
|
1264|America/Anguilla
|
505
506
|
1267|America/New_York
|
506
507
|
1268|America/Antigua
|
@@ -668,7 +669,14 @@
|
|
668
669
|
1308874|America/Denver
|
669
670
|
1308882|America/Denver
|
670
671
|
1309|America/Chicago
|
671
|
-
|
672
|
+
13102|America/Los_Angeles
|
673
|
+
13103|America/Los_Angeles
|
674
|
+
13104|America/Los_Angeles
|
675
|
+
13105|America/Los_Angeles
|
676
|
+
13106|America/Los_Angeles
|
677
|
+
13107|America/Los_Angeles
|
678
|
+
13108|America/Los_Angeles
|
679
|
+
13109|America/Los_Angeles
|
672
680
|
1312|America/Chicago
|
673
681
|
1313|America/New_York
|
674
682
|
1314|America/Chicago
|
@@ -695,8 +703,10 @@
|
|
695
703
|
1345|America/Cayman
|
696
704
|
1346|America/Chicago
|
697
705
|
1347|America/New_York
|
706
|
+
1350|America/Los_Angeles
|
698
707
|
1351|America/New_York
|
699
708
|
1352|America/New_York
|
709
|
+
1354|America/Toronto
|
700
710
|
1360|America/Los_Angeles
|
701
711
|
1361|America/Chicago
|
702
712
|
1364|America/New_York
|
@@ -704,6 +714,7 @@
|
|
704
714
|
1367|America/Toronto
|
705
715
|
1368|America/Edmonton
|
706
716
|
1380|America/New_York
|
717
|
+
1382|America/Toronto
|
707
718
|
1385|America/Denver
|
708
719
|
1386|America/New_York
|
709
720
|
1401|America/New_York
|
@@ -922,8 +933,11 @@
|
|
922
933
|
1450|America/Toronto
|
923
934
|
1458|America/Los_Angeles
|
924
935
|
1463|America/New_York
|
936
|
+
1464|America/Chicago
|
937
|
+
1468|America/Toronto
|
925
938
|
1469|America/Chicago
|
926
939
|
1470|America/New_York
|
940
|
+
1472|America/New_York
|
927
941
|
1473|America/Grenada
|
928
942
|
1474|America/Winnipeg
|
929
943
|
1475|America/New_York
|
@@ -962,6 +976,7 @@
|
|
962
976
|
1541889|America/Denver
|
963
977
|
1548|America/Toronto
|
964
978
|
1551|America/New_York
|
979
|
+
1557|America/Chicago
|
965
980
|
1559|America/Los_Angeles
|
966
981
|
1561|America/New_York
|
967
982
|
1562|America/Los_Angeles
|
@@ -980,6 +995,7 @@
|
|
980
995
|
1580|America/Chicago
|
981
996
|
1581|America/Toronto
|
982
997
|
1582|America/New_York
|
998
|
+
1584|America/Winnipeg
|
983
999
|
1585|America/New_York
|
984
1000
|
1586|America/New_York
|
985
1001
|
1587|America/Edmonton
|
@@ -1179,6 +1195,7 @@
|
|
1179
1195
|
1649|America/Grand_Turk
|
1180
1196
|
1650|America/Los_Angeles
|
1181
1197
|
1651|America/Chicago
|
1198
|
+
1656|America/New_York
|
1182
1199
|
1657|America/Los_Angeles
|
1183
1200
|
1658|America/Jamaica
|
1184
1201
|
1659|America/Chicago
|
@@ -1195,6 +1212,7 @@
|
|
1195
1212
|
1680|America/New_York
|
1196
1213
|
1681|America/New_York
|
1197
1214
|
1682|America/Chicago
|
1215
|
+
1683|America/Toronto
|
1198
1216
|
1684|Pacific/Pago_Pago
|
1199
1217
|
1689|America/Chicago
|
1200
1218
|
1701|America/Denver&America/North_Dakota/Center
|
@@ -1412,8 +1430,10 @@
|
|
1412
1430
|
1734|America/New_York
|
1413
1431
|
1737|America/Chicago
|
1414
1432
|
1740|America/New_York
|
1433
|
+
1742|America/Toronto
|
1415
1434
|
1743|America/New_York
|
1416
1435
|
1747|America/Los_Angeles
|
1436
|
+
1753|America/Toronto
|
1417
1437
|
1754|America/New_York
|
1418
1438
|
1757|America/New_York
|
1419
1439
|
1758|America/St_Lucia
|
@@ -1609,11 +1629,13 @@
|
|
1609
1629
|
1819|America/Toronto
|
1610
1630
|
1820|America/Los_Angeles
|
1611
1631
|
1825|America/Edmonton
|
1632
|
+
1826|America/New_York
|
1612
1633
|
1828|America/New_York
|
1613
1634
|
1829|America/Santo_Domingo
|
1614
1635
|
1830|America/Chicago
|
1615
1636
|
1831|America/Los_Angeles
|
1616
1637
|
1832|America/Chicago
|
1638
|
+
1835|America/New_York
|
1617
1639
|
1838|America/New_York
|
1618
1640
|
1839|America/New_York
|
1619
1641
|
1840|America/Los_Angeles
|
@@ -1980,8 +2002,10 @@
|
|
1980
2002
|
1939|America/Puerto_Rico
|
1981
2003
|
1940|America/Chicago
|
1982
2004
|
1941|America/New_York
|
2005
|
+
1943|America/New_York
|
1983
2006
|
1945|America/Chicago
|
1984
2007
|
1947|America/New_York
|
2008
|
+
1948|America/New_York
|
1985
2009
|
1949|America/Los_Angeles
|
1986
2010
|
1951|America/Los_Angeles
|
1987
2011
|
1952|America/Chicago
|
@@ -2065,7 +2089,10 @@
|
|
2065
2089
|
26282|Indian/Reunion
|
2066
2090
|
26288|Indian/Reunion
|
2067
2091
|
26289|Indian/Reunion
|
2068
|
-
|
2092
|
+
2629398|Indian/Mayotte
|
2093
|
+
2629399|Indian/Reunion
|
2094
|
+
26294|Indian/Reunion
|
2095
|
+
26297|Indian/Reunion
|
2069
2096
|
263|Africa/Harare
|
2070
2097
|
264|Africa/Windhoek
|
2071
2098
|
265|Africa/Blantyre
|
@@ -2155,7 +2182,7 @@
|
|
2155
2182
|
376|Europe/Andorra
|
2156
2183
|
377|Europe/Monaco
|
2157
2184
|
378|Europe/San_Marino
|
2158
|
-
380|Europe/
|
2185
|
+
380|Europe/Kyiv
|
2159
2186
|
381|Europe/Belgrade
|
2160
2187
|
382|Europe/Podgorica
|
2161
2188
|
383|Europe/Belgrade
|
@@ -2170,6 +2197,7 @@
|
|
2170
2197
|
391|Europe/Rome&Europe/Vatican
|
2171
2198
|
393|Europe/Rome&Europe/Vatican
|
2172
2199
|
395|Europe/Rome&Europe/Vatican
|
2200
|
+
397|Europe/Rome
|
2173
2201
|
398|Europe/Rome&Europe/Vatican
|
2174
2202
|
40|Europe/Bucharest
|
2175
2203
|
41|Europe/Zurich
|
@@ -2752,7 +2780,7 @@
|
|
2752
2780
|
5997|America/Kralendijk
|
2753
2781
|
5999|America/Curacao
|
2754
2782
|
60|Asia/Kuching
|
2755
|
-
61|Australia/Adelaide&Australia/Eucla&Australia/Lord_Howe&Australia/Perth&Australia/Sydney&Indian/Christmas&Indian/Cocos
|
2783
|
+
61|Australia/Adelaide&Australia/Brisbane&Australia/Eucla&Australia/Lord_Howe&Australia/Perth&Australia/Sydney&Indian/Christmas&Indian/Cocos
|
2756
2784
|
611|Australia/Sydney
|
2757
2785
|
612|Australia/Sydney
|
2758
2786
|
61255007|Australia/Lord_Howe
|
@@ -2780,6 +2808,136 @@
|
|
2780
2808
|
613|Australia/Sydney
|
2781
2809
|
614|Australia/Sydney
|
2782
2810
|
617|Australia/Sydney
|
2811
|
+
61721000|Australia/Brisbane
|
2812
|
+
61721001|Australia/Brisbane
|
2813
|
+
61721002|Australia/Brisbane
|
2814
|
+
61721003|Australia/Brisbane
|
2815
|
+
6172101|Australia/Brisbane
|
2816
|
+
6172102|Australia/Brisbane
|
2817
|
+
6172103|Australia/Brisbane
|
2818
|
+
6172104|Australia/Brisbane
|
2819
|
+
6173018|Australia/Brisbane
|
2820
|
+
6173019|Australia/Brisbane
|
2821
|
+
617303|Australia/Brisbane
|
2822
|
+
6173040|Australia/Brisbane
|
2823
|
+
6173041|Australia/Brisbane
|
2824
|
+
6173046|Australia/Brisbane
|
2825
|
+
617305|Australia/Brisbane
|
2826
|
+
61730600|Australia/Brisbane
|
2827
|
+
6173061|Australia/Brisbane
|
2828
|
+
61730640|Australia/Brisbane
|
2829
|
+
61730641|Australia/Brisbane
|
2830
|
+
61730643|Australia/Brisbane
|
2831
|
+
61730651|Australia/Brisbane
|
2832
|
+
61730659|Australia/Brisbane
|
2833
|
+
6173066|Australia/Brisbane
|
2834
|
+
6173067|Australia/Brisbane
|
2835
|
+
6173068|Australia/Brisbane
|
2836
|
+
6173069|Australia/Brisbane
|
2837
|
+
617307|Australia/Brisbane
|
2838
|
+
617308|Australia/Brisbane
|
2839
|
+
61730923|Australia/Brisbane
|
2840
|
+
61730938|Australia/Brisbane
|
2841
|
+
6173096|Australia/Brisbane
|
2842
|
+
6173097|Australia/Brisbane
|
2843
|
+
61730992|Australia/Brisbane
|
2844
|
+
61731|Australia/Brisbane
|
2845
|
+
617322|Australia/Brisbane
|
2846
|
+
617323|Australia/Brisbane
|
2847
|
+
617326|Australia/Brisbane
|
2848
|
+
6173291|Australia/Brisbane
|
2849
|
+
6173292|Australia/Brisbane
|
2850
|
+
6173295|Australia/Brisbane
|
2851
|
+
6173296|Australia/Brisbane
|
2852
|
+
6173300|Australia/Brisbane
|
2853
|
+
61733095|Australia/Brisbane
|
2854
|
+
61733099|Australia/Brisbane
|
2855
|
+
6173316|Australia/Brisbane
|
2856
|
+
6173319|Australia/Brisbane
|
2857
|
+
6173322|Australia/Brisbane
|
2858
|
+
6173330|Australia/Brisbane
|
2859
|
+
6173333|Australia/Brisbane
|
2860
|
+
6173342|Australia/Brisbane
|
2861
|
+
617335|Australia/Brisbane
|
2862
|
+
617336|Australia/Brisbane
|
2863
|
+
6173403|Australia/Brisbane
|
2864
|
+
6173404|Australia/Brisbane
|
2865
|
+
6173405|Australia/Brisbane
|
2866
|
+
6173406|Australia/Brisbane
|
2867
|
+
6173407|Australia/Brisbane
|
2868
|
+
6173411|Australia/Brisbane
|
2869
|
+
6173414|Australia/Brisbane
|
2870
|
+
617342|Australia/Brisbane
|
2871
|
+
6173434|Australia/Brisbane
|
2872
|
+
6173435|Australia/Brisbane
|
2873
|
+
6173443|Australia/Brisbane
|
2874
|
+
6173452|Australia/Brisbane
|
2875
|
+
6173455|Australia/Brisbane
|
2876
|
+
6173456|Australia/Brisbane
|
2877
|
+
6173457|Australia/Brisbane
|
2878
|
+
6173460|Australia/Brisbane
|
2879
|
+
6173493|Australia/Brisbane
|
2880
|
+
61734973|Australia/Brisbane
|
2881
|
+
61734974|Australia/Brisbane
|
2882
|
+
61734975|Australia/Brisbane
|
2883
|
+
61734976|Australia/Brisbane
|
2884
|
+
617350|Australia/Brisbane
|
2885
|
+
617353|Australia/Brisbane
|
2886
|
+
6173540|Australia/Brisbane
|
2887
|
+
6173546|Australia/Brisbane
|
2888
|
+
6173547|Australia/Brisbane
|
2889
|
+
6173548|Australia/Brisbane
|
2890
|
+
617355|Australia/Brisbane
|
2891
|
+
61735678|Australia/Brisbane
|
2892
|
+
617360|Australia/Brisbane
|
2893
|
+
6173613|Australia/Brisbane
|
2894
|
+
617362|Australia/Brisbane
|
2895
|
+
617363|Australia/Brisbane
|
2896
|
+
61736404|Australia/Brisbane
|
2897
|
+
61736405|Australia/Brisbane
|
2898
|
+
61736406|Australia/Brisbane
|
2899
|
+
61736409|Australia/Brisbane
|
2900
|
+
6173646|Australia/Brisbane
|
2901
|
+
6173647|Australia/Brisbane
|
2902
|
+
6173648|Australia/Brisbane
|
2903
|
+
6173666|Australia/Brisbane
|
2904
|
+
61736677|Australia/Brisbane
|
2905
|
+
61736678|Australia/Brisbane
|
2906
|
+
61736679|Australia/Brisbane
|
2907
|
+
61736680|Australia/Brisbane
|
2908
|
+
617370|Australia/Brisbane
|
2909
|
+
617371|Australia/Brisbane
|
2910
|
+
617372|Australia/Brisbane
|
2911
|
+
617373|Australia/Brisbane
|
2912
|
+
6173748|Australia/Brisbane
|
2913
|
+
6173777|Australia/Brisbane
|
2914
|
+
61737788|Australia/Brisbane
|
2915
|
+
6173811|Australia/Brisbane
|
2916
|
+
6173815|Australia/Brisbane
|
2917
|
+
6173823|Australia/Brisbane
|
2918
|
+
6173828|Australia/Brisbane
|
2919
|
+
61738348|Australia/Brisbane
|
2920
|
+
61738359|Australia/Brisbane
|
2921
|
+
6173887|Australia/Brisbane
|
2922
|
+
617389|Australia/Brisbane
|
2923
|
+
6173900|Australia/Brisbane
|
2924
|
+
6173901|Australia/Brisbane
|
2925
|
+
6173904|Australia/Brisbane
|
2926
|
+
6173905|Australia/Brisbane
|
2927
|
+
6173910|Australia/Brisbane
|
2928
|
+
61739110|Australia/Brisbane
|
2929
|
+
61739111|Australia/Brisbane
|
2930
|
+
61739112|Australia/Brisbane
|
2931
|
+
6173914|Australia/Brisbane
|
2932
|
+
6173915|Australia/Brisbane
|
2933
|
+
61739160|Australia/Brisbane
|
2934
|
+
61739161|Australia/Brisbane
|
2935
|
+
6173917|Australia/Brisbane
|
2936
|
+
6173918|Australia/Brisbane
|
2937
|
+
6173922|Australia/Brisbane
|
2938
|
+
6173924|Australia/Brisbane
|
2939
|
+
61739475|Australia/Brisbane
|
2940
|
+
6173999|Australia/Brisbane
|
2783
2941
|
618510|Australia/Adelaide&Australia/Perth
|
2784
2942
|
61851001|Indian/Christmas
|
2785
2943
|
61851002|Indian/Cocos
|
@@ -2968,8 +3126,7 @@
|
|
2968
3126
|
645|Pacific/Auckland
|
2969
3127
|
646|Pacific/Auckland
|
2970
3128
|
647|Pacific/Auckland
|
2971
|
-
|
2972
|
-
6486|Pacific/Auckland
|
3129
|
+
648|Pacific/Auckland
|
2973
3130
|
649|Pacific/Auckland
|
2974
3131
|
65|Asia/Singapore
|
2975
3132
|
66|Asia/Bangkok
|
@@ -3047,6 +3204,7 @@
|
|
3047
3204
|
7713|Asia/Aqtobe
|
3048
3205
|
772|Asia/Almaty
|
3049
3206
|
7729|Asia/Aqtobe
|
3207
|
+
779|Asia/Almaty
|
3050
3208
|
7800|Asia/Almaty&Asia/Aqtobe&Europe/Moscow
|
3051
3209
|
7803|Europe/Moscow
|
3052
3210
|
7804|Europe/Moscow
|
@@ -3126,6 +3284,11 @@
|
|
3126
3284
|
97624|Asia/Hovd
|
3127
3285
|
97625|Asia/Ulaanbaatar
|
3128
3286
|
976258|Asia/Choibalsan
|
3287
|
+
9765|Asia/Ulaanbaatar
|
3288
|
+
9766|Asia/Ulaanbaatar
|
3289
|
+
9767|Asia/Ulaanbaatar
|
3290
|
+
9768|Asia/Ulaanbaatar
|
3291
|
+
9769|Asia/Ulaanbaatar
|
3129
3292
|
977|Asia/Katmandu
|
3130
3293
|
98|Asia/Tehran
|
3131
3294
|
992|Asia/Dushanbe
|
@@ -18,7 +18,7 @@ module TelephoneNumber
|
|
18
18
|
CH: %w(41794173875 41795061129 41795820985),
|
19
19
|
CL: %w(961234567 221234567),
|
20
20
|
CN: %w(15694876068 13910503766 15845989469 05523245954 04717158875 03748086894),
|
21
|
-
CO: %w(3211234567
|
21
|
+
CO: %w(6012345678 3211234567),
|
22
22
|
CR: %w(22123456 83123456),
|
23
23
|
DE: %w(15222503070),
|
24
24
|
DK: %w(4524453744 4551622172 4542428484),
|
@@ -59,7 +59,8 @@ module TelephoneNumber
|
|
59
59
|
US: %w(16502530000 14044879000 15123435283 13032450086 16175751300
|
60
60
|
3175083345 13128404100 12485934000 19497941600 14257395600 13103106000
|
61
61
|
16086699600 12125650000 14123456700 14157360000 12068761800
|
62
|
-
12023461100 3175082333
|
62
|
+
12023461100 3175082333, 3502341234, 3502523420, 3502504620, 5292500143,
|
63
|
+
5292520412),
|
63
64
|
VE: %w(584149993108 584248407260 584248271518),
|
64
65
|
ZA: %w(27826187617 27823014578 27828840632)
|
65
66
|
}.freeze
|
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.
|
4
|
+
version: 1.4.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MOBI Wireless Management
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description:
|
139
|
+
description:
|
140
140
|
email:
|
141
141
|
- adam.fernung@mobiwm.com
|
142
142
|
- josh.wetzel@mobiwm.com
|
@@ -640,7 +640,7 @@ homepage: https://github.com/mobi/telephone_number
|
|
640
640
|
licenses:
|
641
641
|
- MIT
|
642
642
|
metadata: {}
|
643
|
-
post_install_message:
|
643
|
+
post_install_message:
|
644
644
|
rdoc_options: []
|
645
645
|
require_paths:
|
646
646
|
- lib
|
@@ -655,9 +655,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
655
655
|
- !ruby/object:Gem::Version
|
656
656
|
version: '0'
|
657
657
|
requirements: []
|
658
|
-
|
659
|
-
|
660
|
-
signing_key:
|
658
|
+
rubygems_version: 3.2.3
|
659
|
+
signing_key:
|
661
660
|
specification_version: 4
|
662
661
|
summary: Phone number validation
|
663
662
|
test_files: []
|