phonelib 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +11 -2
  3. data/data/extended_data.dat +0 -0
  4. data/data/libphonenumber/FAQ.md +166 -0
  5. data/data/libphonenumber/README.md +1 -1
  6. data/data/libphonenumber/cpp/CMakeLists.txt +16 -3
  7. data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +9337 -9341
  8. data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +9948 -9951
  9. data/data/libphonenumber/cpp/src/phonenumbers/short_metadata.cc +1285 -1280
  10. data/data/libphonenumber/debian/control +1 -1
  11. data/data/libphonenumber/java/carrier/pom.xml +4 -4
  12. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/225_en +0 -0
  13. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/234_en +0 -0
  14. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/235_en +0 -0
  15. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/251_en +0 -0
  16. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/675_en +0 -0
  17. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/91_en +0 -0
  18. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/993_en +0 -0
  19. data/data/libphonenumber/java/demo/pom.xml +6 -6
  20. data/data/libphonenumber/java/demo/src/com/google/phonenumbers/PhoneNumberParserServlet.java +4 -3
  21. data/data/libphonenumber/java/geocoder/pom.xml +4 -4
  22. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1380_en +0 -0
  23. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1825_en +0 -0
  24. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/212_en +0 -0
  25. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/46_en +0 -0
  26. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/config +0 -0
  27. data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
  28. data/data/libphonenumber/java/libphonenumber/pom.xml +2 -2
  29. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/MultiFileMetadataSourceImpl.java +9 -1
  30. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java +2 -2
  31. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AG +0 -0
  32. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AI +0 -0
  33. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AS +0 -0
  34. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BB +0 -0
  35. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BM +0 -0
  36. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BS +0 -0
  37. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BW +0 -0
  38. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CA +0 -0
  39. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CI +0 -0
  40. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CK +0 -0
  41. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DJ +0 -0
  42. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DM +0 -0
  43. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DO +0 -0
  44. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ET +0 -0
  45. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GD +0 -0
  46. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GM +0 -0
  47. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GU +0 -0
  48. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN +0 -0
  49. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JM +0 -0
  50. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KN +0 -0
  51. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KY +0 -0
  52. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LC +0 -0
  53. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MA +0 -0
  54. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MP +0 -0
  55. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MS +0 -0
  56. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NA +0 -0
  57. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NG +0 -0
  58. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PG +0 -0
  59. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PR +0 -0
  60. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SE +0 -0
  61. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SK +0 -0
  62. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SX +0 -0
  63. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TC +0 -0
  64. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TD +0 -0
  65. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TM +0 -0
  66. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TT +0 -0
  67. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_US +0 -0
  68. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VC +0 -0
  69. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG +0 -0
  70. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VI +0 -0
  71. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KR +0 -0
  72. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PT +0 -0
  73. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProto +0 -0
  74. data/data/libphonenumber/java/pom.xml +1 -1
  75. data/data/libphonenumber/java/release_notes.txt +47 -7
  76. data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +171 -169
  77. data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +61 -57
  78. data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +61 -57
  79. data/data/libphonenumber/resources/PhoneNumberMetadata.xml +165 -155
  80. data/data/libphonenumber/resources/ShortNumberMetadata.xml +41 -7
  81. data/data/libphonenumber/resources/carrier/en/225.txt +1 -0
  82. data/data/libphonenumber/resources/carrier/en/234.txt +15 -4
  83. data/data/libphonenumber/resources/carrier/en/235.txt +1 -0
  84. data/data/libphonenumber/resources/carrier/en/251.txt +1 -0
  85. data/data/libphonenumber/resources/carrier/en/675.txt +6 -5
  86. data/data/libphonenumber/resources/carrier/en/91.txt +1 -0
  87. data/data/libphonenumber/resources/carrier/en/993.txt +1 -0
  88. data/data/libphonenumber/resources/geocoding/en/1.txt +2 -0
  89. data/data/libphonenumber/resources/geocoding/en/212.txt +1 -0
  90. data/data/libphonenumber/resources/geocoding/en/46.txt +15 -0
  91. data/data/libphonenumber/resources/geocoding/fr/212.txt +1 -0
  92. data/data/libphonenumber/resources/phonemetadata.proto +1 -1
  93. data/data/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/BuildMetadataFromXml.java +4 -5
  94. data/data/libphonenumber/tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar +0 -0
  95. data/data/libphonenumber/tools/java/data/pom.xml +1 -1
  96. data/data/libphonenumber/tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar +0 -0
  97. data/data/phone_data.dat +0 -0
  98. data/lib/phonelib/core.rb +13 -0
  99. data/lib/phonelib/phone.rb +10 -4
  100. data/lib/phonelib/version.rb +1 -1
  101. metadata +5 -12
  102. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1726_en +0 -0
  103. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1730_en +0 -0
  104. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1838_en +0 -0
  105. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1851_en +0 -0
  106. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1888_en +0 -0
  107. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/225_fr +0 -0
  108. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/238_pt +0 -0
  109. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/242_fr +0 -0
  110. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/269_fr +0 -0
  111. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/55_pt +0 -0
@@ -1,5 +1,5 @@
1
1
  # :nodoc:
2
2
  module Phonelib
3
3
  # :nodoc:
4
- VERSION = '0.5.5'
4
+ VERSION = '0.5.6'
5
5
  end
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.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vadim Senderovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -110,6 +110,7 @@ files:
110
110
  - data/libphonenumber/AUTHORS
111
111
  - data/libphonenumber/CONTRIBUTING.md
112
112
  - data/libphonenumber/CONTRIBUTORS
113
+ - data/libphonenumber/FAQ.md
113
114
  - data/libphonenumber/LICENSE
114
115
  - data/libphonenumber/LICENSE.Chromium
115
116
  - data/libphonenumber/README.md
@@ -522,6 +523,7 @@ files:
522
523
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1361_en
523
524
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1364_en
524
525
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1365_en
526
+ - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1380_en
525
527
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1385_en
526
528
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1386_en
527
529
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1401_en
@@ -660,9 +662,7 @@ files:
660
662
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1720_en
661
663
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1724_en
662
664
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1725_en
663
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1726_en
664
665
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1727_en
665
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1730_en
666
666
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1731_en
667
667
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1732_en
668
668
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1734_en
@@ -704,17 +704,16 @@ files:
704
704
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1817_en
705
705
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1818_en
706
706
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1819_en
707
+ - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1825_en
707
708
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1828_en
708
709
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1830_en
709
710
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1831_en
710
711
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1832_en
711
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1838_en
712
712
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1843_en
713
713
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1845_en
714
714
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1847_en
715
715
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1848_en
716
716
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1850_en
717
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1851_en
718
717
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1854_en
719
718
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1856_en
720
719
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1857_en
@@ -731,7 +730,6 @@ files:
731
730
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1873_en
732
731
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1876_en
733
732
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1878_en
734
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1888_en
735
733
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1901_en
736
734
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1902_en
737
735
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1903_en
@@ -789,7 +787,6 @@ files:
789
787
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/222_fr
790
788
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/224_en
791
789
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/225_en
792
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/225_fr
793
790
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/226_en
794
791
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/228_en
795
792
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/228_es
@@ -804,12 +801,10 @@ files:
804
801
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/234_en
805
802
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/237_en
806
803
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/238_en
807
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/238_pt
808
804
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/239_en
809
805
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/239_pt
810
806
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/241_en
811
807
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/242_en
812
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/242_fr
813
808
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/243_en
814
809
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/243_fr
815
810
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/244_en
@@ -833,7 +828,6 @@ files:
833
828
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/267_en
834
829
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/268_en
835
830
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/269_en
836
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/269_fr
837
831
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/27_en
838
832
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/290_en
839
833
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/290_fr
@@ -905,7 +899,6 @@ files:
905
899
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/54_en
906
900
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/54_es
907
901
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/55_en
908
- - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/55_pt
909
902
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/56_en
910
903
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/56_es
911
904
  - data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/57_en