ActiveValidators v1.8.0 Release Notes

    • TrackingNumberValidator: fix in the USPS computation.
    • Tests: removed turn because it was failing everywhere but on 1.9.x.
    • PostalCodeValidator: Added Portuguese postal-code format.
    • Remove turn.
    • Corrected example of use of the postal code validator.
    • Added a new option country_method allowing the country to be obtained by calling a method of the record. Also added support for string in option 'contry'.
    • Added Portuguese postal-code format.
    • Properly handle checksums of '0' in usps mod10.
    • Current implementation returns 10, which does not equal 0.
    • Simplify the test and make sure Ruby 1.9x stop complaining