telephone_number 1.4.6 → 1.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +0 -1
- data/CHANGELOG.md +23 -0
- data/README.md +11 -5
- data/data/geocoding/de/352.dat +0 -0
- data/data/geocoding/de/352.txt +0 -1
- data/data/geocoding/de/43.dat +0 -0
- data/data/geocoding/de/43.txt +2 -0
- data/data/geocoding/de/49.dat +0 -0
- data/data/geocoding/de/49.txt +3 -3
- data/data/geocoding/en/1.dat +0 -0
- data/data/geocoding/en/1.txt +441 -12
- data/data/geocoding/en/212.dat +0 -0
- data/data/geocoding/en/212.txt +12 -4
- data/data/geocoding/en/213.dat +0 -0
- data/data/geocoding/en/213.txt +1 -0
- data/data/geocoding/en/221.dat +0 -0
- data/data/geocoding/en/221.txt +7 -1
- data/data/geocoding/en/224.dat +0 -0
- data/data/geocoding/en/224.txt +1 -1
- data/data/geocoding/en/225.dat +0 -0
- data/data/geocoding/en/225.txt +36 -12
- data/data/geocoding/en/233.dat +0 -0
- data/data/geocoding/en/233.txt +1 -0
- data/data/geocoding/en/234.dat +0 -0
- data/data/geocoding/en/234.txt +16 -1
- data/data/geocoding/en/236.dat +0 -0
- data/data/geocoding/en/236.txt +15 -0
- data/data/geocoding/en/238.dat +0 -0
- data/data/geocoding/en/238.txt +3 -3
- data/data/geocoding/en/252.dat +0 -0
- data/data/geocoding/en/252.txt +0 -1
- data/data/geocoding/en/264.dat +0 -0
- data/data/geocoding/en/264.txt +2 -0
- data/data/geocoding/en/267.dat +0 -0
- data/data/geocoding/en/267.txt +1 -0
- data/data/geocoding/en/290.dat +0 -0
- data/data/geocoding/en/290.txt +6 -1
- data/data/geocoding/en/33.txt +115 -1
- data/data/geocoding/en/352.dat +0 -0
- data/data/geocoding/en/352.txt +0 -1
- data/data/geocoding/en/370.dat +0 -0
- data/data/geocoding/en/370.txt +9 -2
- data/data/geocoding/en/374.dat +0 -0
- data/data/geocoding/en/374.txt +0 -5
- data/data/geocoding/en/380.dat +0 -0
- data/data/geocoding/en/380.txt +1 -1
- data/data/geocoding/en/389.dat +0 -0
- data/data/geocoding/en/389.txt +29 -2
- data/data/geocoding/en/421.dat +0 -0
- data/data/geocoding/en/421.txt +15 -14
- data/data/geocoding/en/43.dat +0 -0
- data/data/geocoding/en/43.txt +2 -0
- data/data/geocoding/en/44.dat +0 -0
- data/data/geocoding/en/44.txt +17 -6
- data/data/geocoding/en/49.dat +0 -0
- data/data/geocoding/en/49.txt +3 -3
- data/data/geocoding/en/504.dat +0 -0
- data/data/geocoding/en/504.txt +77 -2
- data/data/geocoding/en/52.dat +0 -0
- data/data/geocoding/en/52.txt +2 -0
- data/data/geocoding/en/54.dat +0 -0
- data/data/geocoding/en/54.txt +18 -3
- data/data/geocoding/en/55.dat +0 -0
- data/data/geocoding/en/55.txt +1 -1
- data/data/geocoding/en/56.dat +0 -0
- data/data/geocoding/en/56.txt +38 -1
- data/data/geocoding/en/57.dat +0 -0
- data/data/geocoding/en/57.txt +149 -0
- data/data/geocoding/en/58.dat +0 -0
- data/data/geocoding/en/58.txt +21 -12
- data/data/geocoding/en/593.dat +0 -0
- data/data/geocoding/en/593.txt +21 -0
- data/data/geocoding/en/595.dat +0 -0
- data/data/geocoding/en/595.txt +73 -0
- data/data/geocoding/en/598.dat +0 -0
- data/data/geocoding/en/598.txt +41 -0
- data/data/geocoding/en/599.dat +0 -0
- data/data/geocoding/en/599.txt +8 -2
- data/data/geocoding/en/60.dat +0 -0
- data/data/geocoding/en/60.txt +9 -8
- data/data/geocoding/en/61.dat +0 -0
- data/data/geocoding/en/61.txt +20670 -2002
- data/data/geocoding/en/63.dat +0 -0
- data/data/geocoding/en/63.txt +61 -0
- data/data/geocoding/en/64.dat +0 -0
- data/data/geocoding/en/64.txt +2862 -108
- data/data/geocoding/en/66.dat +0 -0
- data/data/geocoding/en/66.txt +4 -0
- data/data/geocoding/en/670.dat +0 -0
- data/data/geocoding/en/670.txt +31 -0
- data/data/geocoding/en/672.dat +0 -0
- data/data/geocoding/en/672.txt +18 -0
- data/data/geocoding/en/678.dat +0 -0
- data/data/geocoding/en/678.txt +27 -0
- data/data/geocoding/en/680.dat +0 -0
- data/data/geocoding/en/680.txt +1 -1
- data/data/geocoding/en/685.dat +0 -0
- data/data/geocoding/en/685.txt +27 -0
- data/data/geocoding/en/686.dat +0 -0
- data/data/geocoding/en/686.txt +0 -1
- data/data/geocoding/en/689.dat +0 -0
- data/data/geocoding/en/689.txt +24 -0
- data/data/geocoding/en/690.dat +0 -0
- data/data/geocoding/en/690.txt +17 -0
- data/data/geocoding/en/7.dat +0 -0
- data/data/geocoding/en/7.txt +3 -0
- data/data/geocoding/en/81.dat +0 -0
- data/data/geocoding/en/81.txt +10 -2
- data/data/geocoding/en/850.dat +0 -0
- data/data/geocoding/en/850.txt +31 -0
- data/data/geocoding/en/880.dat +0 -0
- data/data/geocoding/en/880.txt +252 -614
- data/data/geocoding/en/92.dat +0 -0
- data/data/geocoding/en/92.txt +760 -0
- data/data/geocoding/en/94.dat +0 -0
- data/data/geocoding/en/94.txt +2 -2
- data/data/geocoding/en/961.dat +0 -0
- data/data/geocoding/en/961.txt +23 -0
- data/data/geocoding/en/962.dat +0 -0
- data/data/geocoding/en/962.txt +24 -2
- data/data/geocoding/en/963.dat +0 -0
- data/data/geocoding/en/963.txt +35 -0
- data/data/geocoding/en/967.dat +0 -0
- data/data/geocoding/en/967.txt +98 -0
- data/data/geocoding/en/970.dat +0 -0
- data/data/geocoding/en/970.txt +29 -0
- data/data/geocoding/en/993.dat +0 -0
- data/data/geocoding/en/993.txt +5 -0
- data/data/geocoding/en/994.dat +0 -0
- data/data/geocoding/en/994.txt +2 -2
- data/data/geocoding/en/995.dat +0 -0
- data/data/geocoding/en/995.txt +91 -0
- data/data/geocoding/es/52.dat +0 -0
- data/data/geocoding/es/52.txt +18 -16
- data/data/geocoding/es/54.dat +0 -0
- data/data/geocoding/es/54.txt +18 -3
- data/data/geocoding/es/56.dat +0 -0
- data/data/geocoding/es/56.txt +38 -1
- data/data/geocoding/es/57.dat +0 -0
- data/data/geocoding/es/57.txt +149 -0
- data/data/geocoding/es/58.dat +0 -0
- data/data/geocoding/es/58.txt +21 -12
- data/data/geocoding/fr/212.dat +0 -0
- data/data/geocoding/fr/212.txt +12 -4
- data/data/geocoding/fr/225.dat +0 -0
- data/data/geocoding/fr/225.txt +36 -12
- data/data/geocoding/fr/290.dat +0 -0
- data/data/geocoding/fr/290.txt +6 -1
- data/data/geocoding/fr/33.txt +115 -1
- data/data/geocoding/fr/352.dat +0 -0
- data/data/geocoding/fr/352.txt +0 -1
- data/data/geocoding/hy/374.dat +0 -0
- data/data/geocoding/hy/374.txt +0 -5
- data/data/geocoding/ja/81.dat +0 -0
- data/data/geocoding/ja/81.txt +9 -1
- data/data/geocoding/pt/238.dat +0 -0
- data/data/geocoding/pt/238.txt +3 -3
- data/data/geocoding/pt/55.dat +0 -0
- data/data/geocoding/pt/55.txt +1 -1
- data/data/geocoding/ru/374.dat +0 -0
- data/data/geocoding/ru/374.txt +0 -6
- data/data/geocoding/ru/7.dat +0 -0
- data/data/geocoding/ru/7.txt +92 -1
- data/data/geocoding/th/66.dat +0 -0
- data/data/geocoding/th/66.txt +4 -0
- data/data/telephone_number_data_file.dat +0 -0
- data/data/telephone_number_data_file.xml +4052 -1989
- data/data/timezones/map_data.dat +0 -0
- data/data/timezones/map_data.txt +287 -208
- data/lib/importers/geo_location_data_importer.rb +1 -1
- data/lib/telephone_number/country.rb +22 -9
- data/lib/telephone_number/version.rb +1 -1
- data/lib/telephone_number.rb +0 -1
- data/telephone_number.gemspec +1 -0
- metadata +47 -10
- data/lib/utilities/hash.rb +0 -47
data/data/geocoding/en/66.dat
CHANGED
Binary file
|
data/data/geocoding/en/66.txt
CHANGED
@@ -15,6 +15,10 @@
|
|
15
15
|
# Generated from:
|
16
16
|
# http://en.wikipedia.org/wiki/+66 [495591842]
|
17
17
|
|
18
|
+
6610|Bangkok/Nonthaburi/Pathum Thani/Samut Prakan
|
19
|
+
6616|Bangkok/Nonthaburi/Pathum Thani/Samut Prakan
|
20
|
+
6618|Bangkok/Nonthaburi/Pathum Thani/Samut Prakan
|
21
|
+
6619|Bangkok/Nonthaburi/Pathum Thani/Samut Prakan
|
18
22
|
662|Bangkok/Nonthaburi/Pathum Thani/Samut Prakan
|
19
23
|
6632|Phetchaburi/Prachuap Khiri Khan/Ratchaburi
|
20
24
|
6633|Chachoengsao/Chon Buri/Rayong
|
Binary file
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Copyright (C) 2020 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
|
+
|
16
|
+
67021|Manufahi
|
17
|
+
67022|Cova Lima
|
18
|
+
67023|Bobonaro
|
19
|
+
67024|Ainaro
|
20
|
+
67025|Dekuse
|
21
|
+
67031|Dili
|
22
|
+
67032|Dili
|
23
|
+
67033|Dili
|
24
|
+
67036|Liquica
|
25
|
+
67037|Aileu
|
26
|
+
67038|Ermera
|
27
|
+
67039|Oekusi
|
28
|
+
67041|Baucau
|
29
|
+
67042|Manatuto
|
30
|
+
67043|Viqueque
|
31
|
+
67044|Lautem
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Copyright (C) 2020 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
|
+
67210|Davis
|
16
|
+
67211|Mawson
|
17
|
+
67212|Casey
|
18
|
+
67213|Macquarie Island
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright (C) 2020 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
|
+
67822|Port Vila, Shefa
|
16
|
+
67823|Port Vila, Shefa
|
17
|
+
67824|Port Vila, Shefa
|
18
|
+
67825|Port Vila, Shefa
|
19
|
+
67826|Port Vila, Shefa
|
20
|
+
67827|Port Vila, Shefa
|
21
|
+
67828|Port Vila, Shefa
|
22
|
+
67829|Port Vila, Shefa
|
23
|
+
67836|Sanma
|
24
|
+
67837|Luganville
|
25
|
+
67838|Penama/Torba
|
26
|
+
6784|Malampa
|
27
|
+
67888|Tafea
|
data/data/geocoding/en/680.dat
CHANGED
Binary file
|
data/data/geocoding/en/680.txt
CHANGED
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright (C) 2020 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
|
+
6852|Apia
|
16
|
+
6853|Apia
|
17
|
+
6854|Upolu Rural
|
18
|
+
6855|Savaii
|
19
|
+
68561|Apia
|
20
|
+
68562|Apia
|
21
|
+
68563|Apia
|
22
|
+
68564|Apia
|
23
|
+
68565|Apia
|
24
|
+
68566|Apia
|
25
|
+
68567|Apia
|
26
|
+
68568|Apia
|
27
|
+
68569|Apia
|
data/data/geocoding/en/686.dat
CHANGED
Binary file
|
data/data/geocoding/en/686.txt
CHANGED
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Copyright (C) 2019 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
|
+
689404|Îles du Vent(IDV)
|
16
|
+
689405|Îles du Vent(IDV)
|
17
|
+
689406|Îles Sous-le-vent(ISLV)
|
18
|
+
689408|Îles du Vent(IDV)
|
19
|
+
6894088|Polynesia
|
20
|
+
689409|Remote Archipelago
|
21
|
+
689494|Polynesia
|
22
|
+
689495|Polynesia
|
23
|
+
689496|Polynesia
|
24
|
+
689498|Polynesia
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Copyright (C) 2019 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
|
+
6902|Atafu Atoll
|
16
|
+
6903|Fakaofo Atoll
|
17
|
+
6904|Nakunonu Atoll
|
data/data/geocoding/en/7.dat
CHANGED
Binary file
|
data/data/geocoding/en/7.txt
CHANGED
@@ -34,6 +34,7 @@
|
|
34
34
|
7351|Chelyabinsk
|
35
35
|
7352|Kurgan
|
36
36
|
7353|Orenburg
|
37
|
+
736|Simferopol
|
37
38
|
7381|Omsk
|
38
39
|
7382|Tomsk
|
39
40
|
7383|Novosibirsk
|
@@ -43,6 +44,7 @@
|
|
43
44
|
7390|Republic of Khakassia
|
44
45
|
7391|Krasnoyarsk Territory
|
45
46
|
7394|Republic of Tuva
|
47
|
+
7395|Irkutsk
|
46
48
|
740|Kaliningrad
|
47
49
|
7411|Republic of Sakha
|
48
50
|
7413|Magadan
|
@@ -391,6 +393,7 @@
|
|
391
393
|
7865|Stavropol territory
|
392
394
|
7866|Kabardino-Balkarian Republic
|
393
395
|
7867|Republic of North Ossetia
|
396
|
+
7869|Sevastopol
|
394
397
|
7871|Chechen Republic
|
395
398
|
7872|Republic of Daghestan
|
396
399
|
7873|Ingushi Republic
|
data/data/geocoding/en/81.dat
CHANGED
Binary file
|
data/data/geocoding/en/81.txt
CHANGED
@@ -693,7 +693,15 @@
|
|
693
693
|
815997|Ago, Mie
|
694
694
|
815998|Ago, Mie
|
695
695
|
815999|Tsu, Mie
|
696
|
-
|
696
|
+
8161|Osaka, Osaka
|
697
|
+
8162|Osaka, Osaka
|
698
|
+
8163|Osaka, Osaka
|
699
|
+
8164|Osaka, Osaka
|
700
|
+
8165|Osaka, Osaka
|
701
|
+
8166|Osaka, Osaka
|
702
|
+
8167|Osaka, Osaka
|
703
|
+
8168|Osaka, Osaka
|
704
|
+
8169|Osaka, Osaka
|
697
705
|
81721|Tondabayashi, Osaka
|
698
706
|
81722|Sakai, Osaka
|
699
707
|
81723|Sakai, Osaka
|
@@ -1126,7 +1134,7 @@
|
|
1126
1134
|
819556|Karatsu, Saga
|
1127
1135
|
819557|Karatsu, Saga
|
1128
1136
|
819558|Karatsu, Saga
|
1129
|
-
81956|Sasebo,
|
1137
|
+
81956|Sasebo, Nagasaki
|
1130
1138
|
819572|Isahaya, Nagasaki
|
1131
1139
|
819573|Isahaya, Nagasaki
|
1132
1140
|
819574|Isahaya, Nagasaki
|
Binary file
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Copyright (C) 2020 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
|
+
850195|Pyongyang
|
16
|
+
85021|Pyongyang
|
17
|
+
8502381|Pyongyang
|
18
|
+
85027|Pyongyang
|
19
|
+
85028|Pyongyang
|
20
|
+
85031|Pyongyang
|
21
|
+
85039|Nampo
|
22
|
+
85041|Sariwon
|
23
|
+
85045|Haeju
|
24
|
+
85049|Kaesong
|
25
|
+
85053|Hamhung
|
26
|
+
85057|Wonsan
|
27
|
+
85061|Sinuiju
|
28
|
+
85067|Kanggye
|
29
|
+
85073|Chongjin
|
30
|
+
85079|Hyesan
|
31
|
+
8508|Rason
|
data/data/geocoding/en/880.dat
CHANGED
Binary file
|