phonelib 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/extended_data.dat +0 -0
- data/data/libphonenumber/README.md +3 -3
- data/data/libphonenumber/codereview.settings +1 -1
- data/data/libphonenumber/cpp/CMakeLists.txt +6 -1
- data/data/libphonenumber/cpp/README +3 -3
- data/data/libphonenumber/cpp/src/phonenumbers/asyoutypeformatter.cc +7 -0
- data/data/libphonenumber/cpp/src/phonenumbers/base/logging.h +4 -0
- data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +8830 -8807
- data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +11576 -11552
- data/data/libphonenumber/cpp/test/phonenumbers/asyoutypeformatter_test.cc +2 -2
- data/data/libphonenumber/cpp/test/phonenumbers/geocoding/area_code_map_test.cc +4 -4
- data/data/libphonenumber/cpp/test/phonenumbers/geocoding/geocoding_test_program.cc +1 -0
- data/data/libphonenumber/cpp/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc +4 -4
- data/data/libphonenumber/cpp/test/phonenumbers/phonenumberutil_test.cc +1 -1
- data/data/libphonenumber/debian/control +3 -3
- data/data/libphonenumber/debian/copyright +1 -1
- data/data/libphonenumber/debian/watch +1 -1
- data/data/libphonenumber/java/carrier/pom.xml +1 -1
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/225_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/677_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/973_en +0 -0
- data/data/libphonenumber/java/demo/war/phonenumberparser.jsp +1 -1
- data/data/libphonenumber/java/geocoder/pom.xml +1 -1
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1418_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1438_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1450_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1514_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1819_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/64_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/86_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/86_zh +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/config +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/timezones/data/map_data +0 -0
- data/data/libphonenumber/java/internal/prefixmapper/pom.xml +1 -1
- data/data/libphonenumber/java/libphonenumber/pom.xml +1 -1
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java +5 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AR +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_BY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CN +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_KR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KW +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_ME +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NZ +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_WS +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/AsYouTypeFormatterTest.java +2 -2
- data/data/libphonenumber/java/release_notes.txt +11 -1
- data/data/libphonenumber/javascript/README +5 -3
- data/data/libphonenumber/javascript/i18n/phonenumbers/asyoutypeformatter.js +5 -0
- data/data/libphonenumber/javascript/i18n/phonenumbers/asyoutypeformatter_test.js +2 -2
- data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +115 -115
- data/data/libphonenumber/javascript/i18n/phonenumbers/demo.html +1 -1
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +38 -32
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +37 -31
- data/data/libphonenumber/javascript/i18n/phonenumbers/phonemetadata.pb.js +401 -241
- data/data/libphonenumber/javascript/i18n/phonenumbers/phonenumber.pb.js +66 -50
- data/data/libphonenumber/resources/PhoneNumberMetadata.xml +196 -95
- data/data/libphonenumber/resources/carrier/en/225.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/233.txt +3 -1
- data/data/libphonenumber/resources/carrier/en/27.txt +1 -1
- data/data/libphonenumber/resources/carrier/en/677.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/679.txt +2 -2
- data/data/libphonenumber/resources/carrier/en/973.txt +1 -0
- data/data/libphonenumber/resources/geocoding/en/1.txt +5 -5
- data/data/libphonenumber/resources/geocoding/en/64.txt +124 -0
- data/data/libphonenumber/resources/geocoding/en/86.txt +1 -3
- data/data/libphonenumber/resources/geocoding/zh/86.txt +1 -3
- data/data/libphonenumber/resources/timezones/map_data.txt +195 -101
- data/data/libphonenumber/tools/java/data/webapp/index.html +1 -1
- data/data/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataJsonFromXml.java +8 -0
- data/data/phone_data.dat +0 -0
- data/lib/phonelib/version.rb +1 -1
- metadata +4 -2
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<textarea name="geodata" rows="20" cols="80"></textarea>
|
17
17
|
<input type="submit" value="Submit"><br>
|
18
|
-
<a href="
|
18
|
+
<a href="https://github.com/googlei18n/libphonenumber/">Back to libphonenumber</a>
|
19
19
|
</form>
|
20
20
|
</body>
|
21
21
|
|
@@ -383,6 +383,14 @@ public class BuildMetadataJsonFromXml extends Command {
|
|
383
383
|
toJsArray(metadata.getEmergency(), jsArrayBuilder);
|
384
384
|
// optional PhoneNumberDesc voicemail = 28;
|
385
385
|
toJsArray(metadata.getVoicemail(), jsArrayBuilder);
|
386
|
+
// Fields 29-31 are omitted due to space increase.
|
387
|
+
// optional PhoneNumberDesc short_code = 29;
|
388
|
+
// optional PhoneNumberDesc standard_rate = 30;
|
389
|
+
// optional PhoneNumberDesc carrier_specific = 31;
|
390
|
+
// optional bool mobile_number_portable_region = 32 [default=false];
|
391
|
+
// Omit since the JS API doesn't expose this data.
|
392
|
+
// Note: Need to add null for each of the above fields when a subsequent
|
393
|
+
// field is being populated.
|
386
394
|
|
387
395
|
jsArrayBuilder.endArray();
|
388
396
|
}
|
data/data/phone_data.dat
CHANGED
Binary file
|
data/lib/phonelib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vadim Senderovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -875,6 +875,7 @@ files:
|
|
875
875
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/599_en
|
876
876
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/62_en
|
877
877
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/62_id
|
878
|
+
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/64_en
|
878
879
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/66_en
|
879
880
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/66_th
|
880
881
|
- data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/686_en
|
@@ -1833,6 +1834,7 @@ files:
|
|
1833
1834
|
- data/libphonenumber/resources/geocoding/en/58.txt
|
1834
1835
|
- data/libphonenumber/resources/geocoding/en/599.txt
|
1835
1836
|
- data/libphonenumber/resources/geocoding/en/62.txt
|
1837
|
+
- data/libphonenumber/resources/geocoding/en/64.txt
|
1836
1838
|
- data/libphonenumber/resources/geocoding/en/66.txt
|
1837
1839
|
- data/libphonenumber/resources/geocoding/en/686.txt
|
1838
1840
|
- data/libphonenumber/resources/geocoding/en/7.txt
|