Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 7, 2015
  1. @epidemian

    DRY-up specs by using an :infinite_precision tag

    epidemian authored
    Needed to update to RSpec 3.2 to be able to use a shared_context on single examples.
  2. @epidemian

    Remove Array.wrap definition from spec_helper

    epidemian authored
    Kernel#Array works just as good :D
  3. @epidemian

    Add Money.from_amount

    epidemian authored
Commits on Feb 3, 2015
  1. @georgemillo

    wrapping spec files in the 'Money' class/modules

    georgemillo authored
    This way we don't have to qualify every reference to 'Currency' etc
    by prefacing it with 'Money'
  2. @georgemillo
Commits on Feb 1, 2015
  1. @georgemillo
  2. @georgemillo

    `Currency#<=>` sorts alphabetically by `id` if the `priority`s are th…

    georgemillo authored
    …e same, and no longer raises an error if one of the priorities is missing.
Commits on Jan 31, 2015
  1. @georgemillo

    enhancements to Money::Currency.unregister.

    georgemillo authored
    1) It can take an ISO code argument in addition to a Hash
    2) It returns  if the given currency previously existed, and
       if it didn't.
    3) It has specs!
Commits on Jan 15, 2015
  1. @georgemillo
Commits on Jan 13, 2015
  1. @semmons99

    Merge pull request #477 from RubyMoney/constructors

    semmons99 authored
    Extracting 'constructor' functions to a module, adding aliases and GBP
  2. @georgemillo

    more helpful error message when trying to register

    georgemillo authored
    a currency without an iso_code.
    Fixing README: iso_code isn't optional
  3. @georgemillo
  4. @georgemillo

    DRYing currency_spec

    georgemillo authored
  5. @georgemillo

    adding methods for GBP

    georgemillo authored
  6. @georgemillo
  7. @georgemillo

    aliasing constructor methods to their 3-letter iso codes.

    georgemillo authored
    I had to move the methods inside the self << class block to get access to
  8. @georgemillo

    wrapping negative numbers in parentheses

    georgemillo authored
    Without them, I was getting an annoying warning in Vim:
    'ambiguous first argument; put parentheses or a space even after `-' operator'
Commits on Nov 10, 2014
  1. @clowder

    Ensure [UnknownMoney::Currency] is a subclass of argument error.

    clowder authored
    This means that we now have an easy way to catch all money & currency
    parsing errors (via [ArgumentError]).
Commits on Nov 3, 2014
  1. @newstler

    Updated Russian Ruble as it has now official symbol.

    newstler authored
    Update currency_iso.json
    Update formatting_spec.rb
    Update AUTHORS
    Added myself and sorted a little :)
Commits on Oct 25, 2014
  1. @mateusg
Commits on Oct 17, 2014
  1. @ggilder

    Switch default and alternate symbols for RUB

    ggilder authored
    According to [Wikipedia][1] and [XE][2], the "руб" symbol is more
    commonly used. Also added the "₽" symbol as an alternate, because it was
    only added to Unicode this year and probably isn't widely supported yet.
Commits on Oct 10, 2014
  1. @ggilder

    Change VND subunit_to_unit to 1

    ggilder authored
    According to [Wikipedia][1], the Vietnamese dong has not had subunits
    (hào or xu) since roughly 1985.
Commits on Sep 22, 2014
  1. @edwinv
Commits on Sep 16, 2014
Commits on Sep 10, 2014
  1. @tweymuth
  2. @tweymuth
Commits on Sep 9, 2014
  1. @tweymuth

    Add method to round a given amount of money to the nearest possible a…

    tweymuth authored
    …mount of cash (aka Swedish rounding)
Commits on Aug 20, 2014
  1. @jerhinesmith

    Upgrade to rspec 3

    jerhinesmith authored
Commits on Aug 19, 2014
Commits on Aug 6, 2014
  1. @semmons99

    Merge pull request #413 from puddle/master

    semmons99 authored
    Make sure collaborators don't somehow modify empty
  2. @semmons99

    fix failing spec

    semmons99 authored
Commits on Jul 25, 2014
  1. Make sure collaborators don't some how modify empty

    Thomas Devol authored
Commits on Jul 19, 2014
  1. @hoverlover
Commits on Jun 17, 2014
  1. @RKushnir

    Put `after` block right after `before`

    RKushnir authored
    To follow the convention.
Commits on May 28, 2014
  1. @paulodiniz

    adding support for abelian element 0 on sum

    paulodiniz authored
    adding abelian element suport on subtraction
    removed 6.1.2 version
    deleted coverage files from commit
    authors and changelog
Something went wrong with that request. Please try again.