Posted By: Kurt Stephens
Date: 2007-02-26 07:12
Summary: currency 0.4.0
Project: Currency - OO currency, FX, ExRate money
currency version 0.4.0 has been released!
Currency models currencies, monetary values, foreign exchanges and rates.
Pulls live rates from http://xe.com/.
Supports ActiveRecord.
For more details, see:
http://currency.rubyforge.org/files/lib/currency_rb.html
http://currency.rubyforge.org/files/README.txt
http://currency.rubyforge.org/
Changes:
== Release 0.4.0: 2007/02/21
=== MAJOR CHANGES IN THIS RELEASE FOR HISTORICAL RATE DATA
Some changes are not backwards-compatible
* ActiveRecord::Base.money macro is deprecated, use ActiveRecord::Base.attr_money macro.
* Currency::Exchange is now Currency::Exchange::Rate::Source
NOTE: Currency::Exchange::* is reserved for buying/selling currencies, not for providing rate data.
* Refactored xe.com homepage rate source as a Currency::Exchange::Rate::Source::Xe.
* Refactored Currency::Exchange::Test as Currency::Exchange::Rate::Source::Test.
* Support for historical money values and rates using ActiveRecord.
* Added Rate::Source::Historical::Writer.
* Added newyorkfed.org XML rate source.
* Added thefinancials.com XML rate source.
* Refactored rate deriviation into Currency::Exchange::Rate::Deriver.
* Refactored rate caching into Currency::Exchange::Rate::Source::TimedCache.
* Added Money attribute macros for classes not using ActiveRecord.
* Refactored time-based rate caching into Currency::Exchange::Rate::Source::TimedCache.
* Refactored Currency::Currency#format into Currency::Formatter.
NOTE: old formatting options as :no_* no longer supported.
* Refactored Currency::Currency#parse into Currency::Parser.
* Currency::CurrencyFactory is now Currency::Currency::Factory.
* Preliminary Currency::Exchange::Rate::Source::Failover.
* Added copyright notices: LICENSE.txt, COPYING.txt.
|
|