This Gem adds useful methods to your Rails app to validate, display and save phone numbers. It uses the super awesome Phony gem (https://github.com/floere/phony).
This adds support for PhonyRails.normalize_number('555-123-1234 x44', extension: false) == '+15551231234'
Your gem is a life saver but sometimes I have needed to normalize a number and drop the extension (for example using twilio) and now that's possible. Hopefully others find this change useful.
Coverage increased (+0.0007%) to 99.811% when pulling 9a39f4637aca951a19d116805fc46c58275ced8e on ramaboo:option-no-extension into 000153978f1366204a44e6329170ac3465b72fa5 on joost:master.
Coverage increased (+0.0007%) to 99.811% when pulling 9a39f4637aca951a19d116805fc46c58275ced8e on ramaboo:option-no-extension into 000153978f1366204a44e6329170ac3465b72fa5 on joost:master.
Coverage increased (+0.0007%) to 99.811% when pulling 9a39f4637aca951a19d116805fc46c58275ced8e on ramaboo:option-no-extension into 000153978f1366204a44e6329170ac3465b72fa5 on joost:master.
Coverage increased (+0.0007%) to 99.811% when pulling 34eb21e91b249a103dc56758f22d6332180c38de on ramaboo:option-no-extension into 000153978f1366204a44e6329170ac3465b72fa5 on joost:master.
This adds support for
PhonyRails.normalize_number('555-123-1234 x44', extension: false) == '+15551231234'
Your gem is a life saver but sometimes I have needed to normalize a number and drop the extension (for example using twilio) and now that's possible. Hopefully others find this change useful.