[ANN] Money 3.1.0.pre2

Money 3.1.0.pre2

  • moved @rounding_method from Money::bank::VariableExchange to
    Money::bank::Base (closes #18)
  • added #setup and call after #initialize in Money::bank::Base (closes
  • update/fix documentation (closes #17)

Money 3.1.0.pre1

  • Implemented Money::bank::Base (closes #14)
  • Added Bank::Base#exchange_with
  • Deprecated Bank::Base#exchange (removal in 3.2.0)
  • Implented Money::bank::VariableExchange
  • Deprecated Money::VariableExchangeBank (removal in 3.2.0)
  • Set Money::SYMBOLS, Money::SEPARATORS and Money::DELIMITERS
    deprecation target to Money 3.2.0. (closes #16)
  • Fixed rounding error in Numeric#to_money (closes #15)
  • Implemented #has for Money and Money::Currency
  • Refactored test suite to conform to RSpec conventions
  • Moved project from FooBarWidget (Hongli Lai) · GitHub to RubyMoney · GitHub
  • Added Simone C. to list of authors

Starting in v3.1.0 we will be making two changes to the exchange
process. First
a new Bank::Base class will be available. This will allow users to
easily create custom Bank classes. Secondly the default #exchange
will be depreciated and a new #exchange_with method will be used.
#exchange passes the cents attribute. #exchange_with will pass the
actual Money object instead.