Found this today whilst I was looking for a solution to standardised formatting of phone numbers. I was hoping for a ruby solution, but this is an extremely complete library supporting formatting and validation for 228 countries/regions.
I'm interested in how the completeness is defined, as the standards available are loose at best. I couldn't see by what measure they considered this work 'complete'.
That complaint aside, it's a great effort to see. Now to test it out...
Did you happen to notice where this is?
http://code.google.com/p/libphonenumber/source/browse/#svn%2...
I am planning on just using the Java version with JRuby - it will probably be faster than a pure ruby version anyway.