floere/phony — pull request #139 by weppos (2014-02-21 14:14:50+00:00)
Title: Attempt to fix parsing issue for 663 and 676 prefixes

References:

- +43 644 1425088 -> http://www.moses-mendelssohn-synagoge.com/index.php/en/sponsor
- +43 676 0000000 -> http://iteh.at/en/contact/
- +43 663 700067 -> http://www.yelp.com/search?cflt=carrental&find_loc=Gmunden%2C+Ober%C3%B6sterreich

However, specs are not passing. This is strange.

1) plausibility plausible? specific countries is correct for Austria
Failure/Error: Phony.plausible?('+43 676 0000000').should be_true
expected: true value
got: false
# ./spec/functional/plausibility_spec.rb:124:in `block (4 levels) in '

I wonder if this is because the library is matching `67` and stopping there. This is something I noticed before. Shouldn't the library continue if the match doesn't match?

I mean, if you set a rule for `123` and then a fallback, there should be a way I could say "move next" if doesn't match, or just it does not match so stop here.

In fact, in this case I'd really love the parser to try to fallback to all the rules in the mobile array, before stopping.

Any hint is appreciated.