Releases: daddyz/phonelib
Releases · daddyz/phonelib
v0.6.27
- added
valid_country_name
method to return country name where the parsed phone comes from (in case it's valid)
country_specifier
in validator can now be set as symbol and not only proc, review the documentation
- updated data
v0.6.24
- added
00
as an international prefix, now you can pass number as
Phonelib.parse('0012015550123').valid? # => true
v0.6.22
- added
:countries
validator key that checks whether validated phone is within specified countries
- updated data
v0.6.21
- added option to set multiple strings to
Phonelib.extension_separate_symbols
by passing an array. Refer to README.
- updated data
v0.6.20
- added national prefix transformation rule to parsing process
- updated data