phonelib 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.rdoc +3 -1
- data/data/extended_data.dat +0 -0
- data/data/libphonenumber/cpp/src/phonenumbers/default_logger.cc +9 -10
- data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +9070 -9088
- data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +9898 -9916
- data/data/libphonenumber/cpp/src/phonenumbers/phonenumbermatcher.cc +1 -2
- data/data/libphonenumber/cpp/src/phonenumbers/phonenumberutil.cc +58 -61
- data/data/libphonenumber/cpp/src/phonenumbers/regexp_cache.cc +1 -1
- data/data/libphonenumber/cpp/src/phonenumbers/shortnumberinfo.cc +1 -2
- data/data/libphonenumber/cpp/src/phonenumbers/utf/unilib.cc +2 -2
- data/data/libphonenumber/cpp/test/phonenumbers/phonenumberutil_test.cc +0 -2
- data/data/libphonenumber/cpp/test/phonenumbers/test_util.cc +10 -13
- data/data/libphonenumber/java/carrier/pom.xml +4 -4
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1876_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/212_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/233_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/234_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/352_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/60_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/677_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/91_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/92_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/config +0 -0
- data/data/libphonenumber/java/demo/pom.xml +5 -5
- data/data/libphonenumber/java/geocoder/pom.xml +4 -4
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java +0 -1
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/352_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/352_fr +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/91_en +0 -0
- data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
- data/data/libphonenumber/java/libphonenumber/pom.xml +2 -2
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberMatcher.java +3 -1
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java +4 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TZ +0 -0
- data/data/libphonenumber/java/pom.xml +5 -6
- data/data/libphonenumber/java/release_notes.txt +9 -0
- data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +47 -49
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +20 -20
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +20 -20
- data/data/libphonenumber/resources/PhoneNumberMetadata.xml +59 -87
- data/data/libphonenumber/resources/carrier/en/1.txt +7 -0
- data/data/libphonenumber/resources/carrier/en/212.txt +3 -0
- data/data/libphonenumber/resources/carrier/en/233.txt +3 -0
- data/data/libphonenumber/resources/carrier/en/234.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/352.txt +5 -1
- data/data/libphonenumber/resources/carrier/en/60.txt +2 -0
- data/data/libphonenumber/resources/carrier/en/677.txt +6 -2
- data/data/libphonenumber/resources/carrier/en/91.txt +2 -0
- data/data/libphonenumber/resources/carrier/en/92.txt +1 -0
- data/data/libphonenumber/resources/geocoding/en/352.txt +19 -18
- data/data/libphonenumber/resources/geocoding/en/91.txt +1 -0
- data/data/libphonenumber/resources/geocoding/fr/352.txt +18 -18
- data/data/phone_data.dat +0 -0
- data/lib/phonelib/version.rb +1 -1
- metadata +18 -14
@@ -398,6 +398,13 @@
|
|
398
398
|
186956|The Cable St. Kitts
|
399
399
|
186966|Cable & Wireless
|
400
400
|
186976|Digicel
|
401
|
+
1876503|Digicel
|
402
|
+
1876504|Digicel
|
403
|
+
1876505|Digicel
|
404
|
+
1876506|Digicel
|
405
|
+
1876507|Digicel
|
406
|
+
1876508|Digicel
|
407
|
+
1876509|Digicel
|
401
408
|
1939201|CENTENNIAL
|
402
409
|
1939212|CENTENNIAL
|
403
410
|
1939214|CENTENNIAL
|
@@ -14,10 +14,14 @@
|
|
14
14
|
|
15
15
|
# In 2013 http://en.wikipedia.org/wiki/LuxGSM was renamed to POST.
|
16
16
|
|
17
|
+
# Each number with prefix 6X1 has a corresponding voicemail number with prefix
|
18
|
+
# 6X8: http://en.wikipedia.org/wiki/Telephone_numbers_in_Luxembourg
|
19
|
+
|
17
20
|
352621|POST
|
18
21
|
352628|POST
|
19
22
|
352661|Orange
|
20
23
|
352668|Orange
|
21
|
-
352671|
|
24
|
+
352671|JOIN
|
25
|
+
352678|JOIN
|
22
26
|
352691|Tango
|
23
27
|
352698|Tango
|
@@ -14,8 +14,6 @@
|
|
14
14
|
|
15
15
|
# Data from ITU: http://www.itu.int/oth/T02020000BF/en
|
16
16
|
|
17
|
-
67770|Satsol
|
18
|
-
67771|Satsol
|
19
17
|
67774|Solomon Telekom
|
20
18
|
67775|Solomon Telekom
|
21
19
|
67776|Solomon Telekom
|
@@ -24,12 +22,18 @@
|
|
24
22
|
677790|Solomon Telekom
|
25
23
|
677791|Solomon Telekom
|
26
24
|
677792|Solomon Telekom
|
25
|
+
677793|Solomon Telekom
|
27
26
|
677794|Solomon Telekom
|
28
27
|
67784|BMobile
|
29
28
|
67785|BMobile
|
30
29
|
67786|BMobile
|
31
30
|
67787|BMobile
|
32
31
|
67788|BMobile
|
32
|
+
67791|Satsol
|
33
|
+
67792|Satsol
|
34
|
+
677930|Satsol
|
35
|
+
677931|Satsol
|
36
|
+
677932|Satsol
|
33
37
|
67794|Smile
|
34
38
|
67795|Smile
|
35
39
|
67796|Smile
|
@@ -14,18 +14,19 @@
|
|
14
14
|
|
15
15
|
# Translated from fr/352.txt using Freebase and Wikipedia.
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
35221|Weicherdange
|
18
|
+
35222|Luxembourg City
|
19
|
+
35223|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
19
20
|
35224|Luxembourg
|
20
21
|
3522421|Weicherdange
|
21
|
-
3522422|Luxembourg
|
22
|
-
3522423|Mondorf-les-Bains
|
22
|
+
3522422|Luxembourg City
|
23
|
+
3522423|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
23
24
|
3522425|Luxembourg
|
24
25
|
3522427|Belair, Luxembourg
|
25
|
-
3522428|Luxembourg
|
26
|
+
3522428|Luxembourg City
|
26
27
|
3522429|Luxembourg/Kockelscheuer
|
27
28
|
3522430|Capellen/Kehlen
|
28
|
-
3522431|Bertrange
|
29
|
+
3522431|Bertrange/Mamer/Munsbach/Strassen
|
29
30
|
3522432|Lintgen/Mersch/Steinfort
|
30
31
|
3522433|Walferdange
|
31
32
|
3522434|Rameldange/Senningerberg
|
@@ -72,14 +73,14 @@
|
|
72
73
|
3522499|Troisvierges
|
73
74
|
35225|Luxembourg
|
74
75
|
3522621|Weicherdange
|
75
|
-
3522622|Luxembourg
|
76
|
-
3522623|Mondorf-les-Bains
|
76
|
+
3522622|Luxembourg City
|
77
|
+
3522623|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
77
78
|
3522625|Luxembourg
|
78
79
|
3522627|Belair, Luxembourg
|
79
|
-
3522628|Luxembourg
|
80
|
+
3522628|Luxembourg City
|
80
81
|
3522629|Luxembourg/Kockelscheuer
|
81
82
|
3522630|Capellen/Kehlen
|
82
|
-
3522631|Bertrange
|
83
|
+
3522631|Bertrange/Mamer/Munsbach/Strassen
|
83
84
|
3522632|Lintgen/Mersch/Steinfort
|
84
85
|
3522633|Walferdange
|
85
86
|
3522634|Rameldange/Senningerberg
|
@@ -125,14 +126,14 @@
|
|
125
126
|
3522697|Huldange
|
126
127
|
3522699|Troisvierges
|
127
128
|
3522721|Weicherdange
|
128
|
-
3522722|Luxembourg
|
129
|
-
3522723|Mondorf-les-Bains
|
129
|
+
3522722|Luxembourg City
|
130
|
+
3522723|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
130
131
|
3522725|Luxembourg
|
131
132
|
3522727|Belair, Luxembourg
|
132
|
-
3522728|Luxembourg
|
133
|
+
3522728|Luxembourg City
|
133
134
|
3522729|Luxembourg/Kockelscheuer
|
134
135
|
3522730|Capellen/Kehlen
|
135
|
-
3522731|Bertrange
|
136
|
+
3522731|Bertrange/Mamer/Munsbach/Strassen
|
136
137
|
3522732|Lintgen/Mersch/Steinfort
|
137
138
|
3522733|Walferdange
|
138
139
|
3522734|Rameldange/Senningerberg
|
@@ -177,10 +178,10 @@
|
|
177
178
|
3522795|Wiltz
|
178
179
|
3522797|Huldange
|
179
180
|
3522799|Troisvierges
|
180
|
-
35228|Luxembourg
|
181
|
-
35229|Luxembourg
|
181
|
+
35228|Luxembourg City
|
182
|
+
35229|Luxembourg/Kockelscheuer
|
182
183
|
35230|Capellen/Kehlen
|
183
|
-
35231|Bertrange
|
184
|
+
35231|Bertrange/Mamer/Munsbach/Strassen
|
184
185
|
35232|Mersch
|
185
186
|
35233|Walferdange
|
186
187
|
35234|Rameldange/Senningerberg
|
@@ -188,7 +189,7 @@
|
|
188
189
|
35236|Hesperange/Kockelscheuer/Roeser
|
189
190
|
35237|Leudelange/Ehlange/Mondercange
|
190
191
|
35239|Windhof/Steinfort
|
191
|
-
3524|Luxembourg
|
192
|
+
3524|Luxembourg City
|
192
193
|
35240|Howald
|
193
194
|
35242|Plateau de Kirchberg
|
194
195
|
35243|Findel/Kirchberg
|
@@ -17,18 +17,18 @@
|
|
17
17
|
# http://en.wikipedia.org/wiki/+352
|
18
18
|
|
19
19
|
35221|Weicherdange
|
20
|
-
35222|Luxembourg
|
21
|
-
35223|Mondorf-les-Bains
|
20
|
+
35222|Luxembourg-Ville
|
21
|
+
35223|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
22
22
|
35224|Luxembourg
|
23
23
|
3522421|Weicherdange
|
24
|
-
3522422|Luxembourg
|
25
|
-
3522423|Mondorf-les-Bains
|
24
|
+
3522422|Luxembourg-Ville
|
25
|
+
3522423|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
26
26
|
3522425|Luxembourg
|
27
27
|
3522427|Belair, Luxembourg
|
28
|
-
3522428|Luxembourg
|
28
|
+
3522428|Luxembourg-Ville
|
29
29
|
3522429|Luxembourg/Kockelscheuer
|
30
30
|
3522430|Capellen/Kehlen
|
31
|
-
3522431|Bertrange
|
31
|
+
3522431|Bertrange/Mamer/Munsbach/Strassen
|
32
32
|
3522432|Lintgen/Mersch/Steinfort
|
33
33
|
3522433|Walferdange
|
34
34
|
3522434|Rameldange/Senningerberg
|
@@ -75,14 +75,14 @@
|
|
75
75
|
3522499|Troisvierges
|
76
76
|
35225|Luxembourg
|
77
77
|
3522621|Weicherdange
|
78
|
-
3522622|Luxembourg
|
79
|
-
3522623|Mondorf-les-Bains
|
78
|
+
3522622|Luxembourg-Ville
|
79
|
+
3522623|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
80
80
|
3522625|Luxembourg
|
81
81
|
3522627|Belair, Luxembourg
|
82
|
-
3522628|Luxembourg
|
82
|
+
3522628|Luxembourg-Ville
|
83
83
|
3522629|Luxembourg/Kockelscheuer
|
84
84
|
3522630|Capellen/Kehlen
|
85
|
-
3522631|Bertrange
|
85
|
+
3522631|Bertrange/Mamer/Munsbach/Strassen
|
86
86
|
3522632|Lintgen/Mersch/Steinfort
|
87
87
|
3522633|Walferdange
|
88
88
|
3522634|Rameldange/Senningerberg
|
@@ -128,14 +128,14 @@
|
|
128
128
|
3522697|Huldange
|
129
129
|
3522699|Troisvierges
|
130
130
|
3522721|Weicherdange
|
131
|
-
3522722|Luxembourg
|
132
|
-
3522723|Mondorf-les-Bains
|
131
|
+
3522722|Luxembourg-Ville
|
132
|
+
3522723|Mondorf-les-Bains/Bascharage/Noerdange/Remich
|
133
133
|
3522725|Luxembourg
|
134
134
|
3522727|Belair, Luxembourg
|
135
|
-
3522728|Luxembourg
|
135
|
+
3522728|Luxembourg-Ville
|
136
136
|
3522729|Luxembourg/Kockelscheuer
|
137
137
|
3522730|Capellen/Kehlen
|
138
|
-
3522731|Bertrange
|
138
|
+
3522731|Bertrange/Mamer/Munsbach/Strassen
|
139
139
|
3522732|Lintgen/Mersch/Steinfort
|
140
140
|
3522733|Walferdange
|
141
141
|
3522734|Rameldange/Senningerberg
|
@@ -180,10 +180,10 @@
|
|
180
180
|
3522795|Wiltz
|
181
181
|
3522797|Huldange
|
182
182
|
3522799|Troisvierges
|
183
|
-
35228|Luxembourg
|
184
|
-
35229|Luxembourg
|
183
|
+
35228|Luxembourg-Ville
|
184
|
+
35229|Luxembourg/Kockelscheuer
|
185
185
|
35230|Capellen/Kehlen
|
186
|
-
35231|Bertrange
|
186
|
+
35231|Bertrange/Mamer/Munsbach/Strassen
|
187
187
|
35232|Mersch
|
188
188
|
35233|Walferdange
|
189
189
|
35234|Rameldange/Senningerberg
|
@@ -191,7 +191,7 @@
|
|
191
191
|
35236|Hesperange/Kockelscheuer/Roeser
|
192
192
|
35237|Leudelange/Ehlange/Mondercange
|
193
193
|
35239|Windhof/Steinfort
|
194
|
-
3524|Luxembourg
|
194
|
+
3524|Luxembourg-Ville
|
195
195
|
35240|Howald
|
196
196
|
35242|Plateau de Kirchberg
|
197
197
|
35243|Findel/Kirchberg
|
data/data/phone_data.dat
CHANGED
Binary file
|
data/lib/phonelib/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vadim Senderovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -66,8 +66,9 @@ dependencies:
|
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.14.1
|
69
|
-
description:
|
70
|
-
|
69
|
+
description: |2
|
70
|
+
Google libphonenumber library was taken as a basis for
|
71
|
+
this gem. Gem uses its data file for validations and number formatting.
|
71
72
|
email:
|
72
73
|
- daddyzgm@gmail.com
|
73
74
|
executables: []
|
@@ -220,6 +221,7 @@ files:
|
|
220
221
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1809_en
|
221
222
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1868_en
|
222
223
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1869_en
|
224
|
+
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1876_en
|
223
225
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1939_en
|
224
226
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/20_en
|
225
227
|
- data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/211_en
|
@@ -1975,25 +1977,27 @@ homepage: https://github.com/daddyz/phonelib
|
|
1975
1977
|
licenses:
|
1976
1978
|
- MIT
|
1977
1979
|
metadata: {}
|
1978
|
-
post_install_message:
|
1979
|
-
|
1980
|
-
|
1980
|
+
post_install_message: |2
|
1981
|
+
IMPORTANT NOTICE!
|
1982
|
+
Phone types were changed from camel case to snake case!
|
1983
|
+
Example: ":tollFree" changed to ":toll_free".
|
1984
|
+
Please update your app in case you are checking types!
|
1981
1985
|
rdoc_options: []
|
1982
1986
|
require_paths:
|
1983
1987
|
- lib
|
1984
1988
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1985
1989
|
requirements:
|
1986
|
-
- -
|
1990
|
+
- - ">="
|
1987
1991
|
- !ruby/object:Gem::Version
|
1988
1992
|
version: '0'
|
1989
1993
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1990
1994
|
requirements:
|
1991
|
-
- -
|
1995
|
+
- - ">="
|
1992
1996
|
- !ruby/object:Gem::Version
|
1993
1997
|
version: '0'
|
1994
1998
|
requirements: []
|
1995
1999
|
rubyforge_project:
|
1996
|
-
rubygems_version: 2.
|
2000
|
+
rubygems_version: 2.4.5
|
1997
2001
|
signing_key:
|
1998
2002
|
specification_version: 4
|
1999
2003
|
summary: Gem validates phone numbers with Google libphonenumber database
|