Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Manage money in Shopify with a class that won't lose pennies during division
Ruby

Merge pull request #16 from Shopify/no-bankers-rounding

Revert "Merge pull request #14 from Shopify/bankers_rounding"
latest commit a163055959
@Smcchoi Smcchoi authored
Failed to load latest commit information.
lib add back round method and allow ndigits argument. default to 0 decima…
spec add back round method and allow ndigits argument. default to 0 decima…
.document
.gitignore allow dependency injection for Money.parser, add new AccountingMoneyP…
.rspec Initial commit to money.
Gemfile Update RSpec to 3.2.0
LICENSE.txt doc updates
README.md Use markdown, add build status
Rakefile Update RDoc
VERSION add railtie for money_column, initialize version, add more specs
circle.yml Attempt to skip database setup
money.gemspec Convert README.rdoc to README.md in gemspec

README.md

money

Build Status

Manage money in shopify with a class that wont lose pennies during division!

money_column expects a decimal 8,2 database field.

Contributing to money

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright (c) 2011 Shopify. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.