README.txt in alexrabarts-iso_country_codes-0.1.1 vs README.txt in alexrabarts-iso_country_codes-0.1.2
- old
+ new
@@ -6,14 +6,10 @@
== FEATURES:
* Search by name or code (alpha-2, alpha-3 or numeric)
-== PROBLEMS:
-
-* Name search requires an exact match (although it is case-insensitive)
-
== SYNOPSIS:
# Finding an ISO code returns the country name and other code formats
code = IsoCountryCodes.find('au')
code.name # => "Australia"
@@ -26,9 +22,12 @@
IsoCountryCodes.find('au')
IsoCountryCodes.find('aus')
# Codes can be found by country name
IsoCountryCodes.find('australia')
+
+ # Inexact matches can also be found
+ IsoCountryCodes.find('united', :fuzzy => true).name # => 'United Kingdom'
== INSTALL:
* Via git: