spk/money-open-exchange-rates — pull request #2 by weynsee (2012-03-25 15:00:01+00:00)
Title: Allow update_rates after save_rates

When calling update_rates after save_rates an exception is raised and the contents of the cached file is overwritten to be an empty file.

The last commit fixes save_rates to close the file handle for the cache after writing to it.

The first commit includes a test case demonstrating the error.