Skip to content

Properly handle checksums of '0' in usps mod10.#30

Merged
franckverrot merged 1 commit intofranckverrot:masterfrom
utahstreetlabs:mod10-equals-zero
Nov 17, 2011
Merged

Properly handle checksums of '0' in usps mod10.#30
franckverrot merged 1 commit intofranckverrot:masterfrom
utahstreetlabs:mod10-equals-zero

Conversation

@z00b
Copy link
Copy Markdown
Contributor

@z00b z00b commented Nov 11, 2011

Current implementation returns 10, which does not equal 0.

Current implementation returns 10, which does not equal 0.
franckverrot added a commit that referenced this pull request Nov 17, 2011
Properly handle checksums of '0' in usps mod10.
@franckverrot franckverrot merged commit 4479260 into franckverrot:master Nov 17, 2011
@franckverrot
Copy link
Copy Markdown
Owner

thanks!

franckverrot added a commit that referenced this pull request Nov 26, 2011
* 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.

b1901cd cesario    Simplify the test and make sure Ruby 1.9x stop complaining
c1e0cb6 robzuber   Properly handle checksums of '0' in usps mod10.
4479260 cesario    Merge pull request #30 from utahstreetlabs/mod10-equals-zero
158911b MMSequeira Added Portuguese postal-code format.1 day ago
9c0ea20 MMSequeira Added a new option country_method allowing the country to be obtained...
144a366 MMSequeira Corrected example of use of the postal code validator.
7038a37 cesario    Merge pull request #31 from MMSequeira/master
1e9473b cesario    Remove turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants