spk/money-open-exchange-rates — pull request #5 by kball (2012-05-07 16:31:37+00:00)
Title: Make money-open-exchange-rates more defensive in writing its cache file & working without rates

We ran into an issue where a timeout from the exchange rates API resulted in the cache file being overwritten as blank, causing the gem to cease functioning. These changesets update the gem to not over-write the cache file if a bad response or no response comes back from the API, as well as allowing the gem to continue functioning for the most basic case (exchanging a currency into itself; frequent use case for us given a large percentage of our prices are in USD, and most customers are seeing USD).