phonelib
phonelib copied to clipboard
Parsing of valid phone numbers from the Ivory Coast (+225) does not seem supported
Description
Parsing of valid phone numbers from the Ivory Coast (+225) does not seem to be supported.
require 'phonelib'
Phonelib.parse('22545011499').country
=> nil
Phonelib.parse('22545011499').valid?
=> false
require 'phonelib'
Phonelib.parse('+22545011499').country
=> nil
Phonelib.parse('+22545011499').valid?
=> false
Expected Behavior
The methods should correctly identify the country as Ivory coast ("CI") and deem it valid.
Actual Behavior
The methods returns nil and false
@cedric5 This number is also parsed as invalid in original libphonenumber. You can check it here and open an issue for them. Gem's data is based on it.