You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of upgrading from version 0.7.7 and ran into this in a spec. Version 0.7.7 does not exhibit this behavior. In comparing the two branches I haven't been able to figure out where the :valid key is being removed in version 0.9.4. Is this a bug or am I using the library improperly?
The text was updated successfully, but these errors were encountered:
@butters-zeemee I tried several ways to reproduce with no luck, can you try the latest version 0.10.3 and do you have anything in initializer for the gem?
On version 0.9.4, when I run the following code:
an exception is raised with the following relevant backtrace:
Looking at the
@data
instance variable it appears that some of the values in that hash are missing the:valid
key causing https://github.com/daddyz/phonelib/blob/master/lib/phonelib/phone.rb#L120C47-L120C64 to raise.I'm in the process of upgrading from version 0.7.7 and ran into this in a spec. Version 0.7.7 does not exhibit this behavior. In comparing the two branches I haven't been able to figure out where the
:valid
key is being removed in version 0.9.4. Is this a bug or am I using the library improperly?The text was updated successfully, but these errors were encountered: