Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

[WIP] merge upstream changes - #3

Open
caramcc wants to merge 39 commits into
masterfrom
cmm-merge-upstream-changes
Open

[WIP] merge upstream changes#3
caramcc wants to merge 39 commits into
masterfrom
cmm-merge-upstream-changes

Conversation

@caramcc

@caramcc caramcc commented Apr 25, 2019

Copy link
Copy Markdown

No description provided.

antstorm and others added 30 commits March 24, 2018 12:12
* Add ruby 2.5.0

* Update older rubies to their latest releases

* Update ruby/rails version exceptions for TravisCI
if user added gem 'money-rails', '~>1' they may get error mentioned in RubyMoney#524 version which was fixed later (in 1.11.0)
This replaces all usages of `currency_as_string` with `currency.to_s`.
`currency_as_string` is deprecated and will be removed in future
versions.
…#552)

* Only test against latest stable Rails versions

* Update Mongoid specs to latest versions

* Update .travis.yml

* Exclude older Mongoid from newer rubies

* Fix issues Mongoid5 failing spec

* Combine specs for Mongoid 3, 4 & 5

* Add Mongoid 6 & 7 specs

* Update supported Mongoid versions in README
e.g. when given a hash with :cents & :currency_iso keys as blank strings
This is required for older rubies, because new rubygems dropped ruby
< 2.3 support
* Add money_only_cents helper method

* add spec for money_only_cents helper

* use guard clause and remove empty branch in money_only_cents helper

* test money_only_cents helper for monetizable_object and for <10 cents

* add spec for money_only_cents with a non monetizable object

* remove reduntant specs for money_only_cents
Was all rendered in one line otherwise which is confusing. Thanks for the quick release.
@caramcc
caramcc marked this pull request as ready for review April 25, 2019 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.