sstephenson / global_phone

Parse, validate, and format phone numbers in Ruby using Google's libphonenumber database
MIT License
549 stars 104 forks source link

Latest PhoneNumberMetadata.xml is no longer compatible with global_phone #51

Open spajus opened 7 years ago

spajus commented 7 years ago

See discussion here: https://github.com/googlei18n/libphonenumber/pull/1704#issuecomment-297360822

@sstephenson looks like global_phone was not updated for few years now. Perhaps you would be willing to add some collaborators who would keep the project alive and going?

bigos commented 7 years ago
global_phone_dbgen https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml  > db/global_phone.json

appears to work

tungri commented 7 years ago

@bigos The command you have suggested is not working. Please use the link below.

@spajus Thanks for referencing the discussion. Since, this gem doesn't work for versions >= 8.4.2 of https://github.com/googlei18n/libphonenumber, you can still use the versions older than 8.4.2. So, the following link should work and is working.

https://raw.githubusercontent.com/googlei18n/libphonenumber/v8.4.1/resources/PhoneNumberMetadata.xml