drewtempelmeyer/tax_cloud — pull request #11 by dblock (2012-11-26 03:22:17+00:00)
Title: Further improvements to Rake tasks.

* Rake tasks shouldn't trap errors without re-raising them, they would otherwise return a 0-error code as if they succeeded.
* Fix: the `tax_cloud:tax_codes` rake task may fail in subsequent SOAP requests, moved the requests above the file creation.
* Fix: prevent duplicate definitions programmatically, no need to cleanup tasks anymore, removed note from README.
* Strip tax code and group descriptions, these come back with extra spaces sometimes.

A side note, I think we're doing something wrong with these TaxCode constants. They should be organized in different groups/subgroups that should avoid duplicates altogether. The docs in https://taxcloud.net/tic/default.aspx don't quite match the table of codes returned, maybe you know something about this?