README.md in money_helper-1.0.2 vs README.md in money_helper-2.0.0
- old
+ new
@@ -1,43 +1,49 @@
-MoneyHelper
+MoneyHelper [![CircleCI][ci_badge]][circleci]
============
A simple module to assist in formatting unambiguous prices and price ranges in international currencies in a Roman Script environment.
-[![Build Status](https://travis-ci.org/artsy/money_helper.svg?branch=master)](https://travis-ci.org/artsy/money_helper)
-
Usage
-----
Examples:
``` ruby
-money_to_text(10000, 'AUD')
-```
-produces "AUD $10,000"
+money_to_text(10000, currency: 'AUD')
+#=> 'AUD $100.00'
-``` ruby
-money_to_text(10000, 'AUD', true)
-```
-produces "10,000"
+money_to_text(10000, currency: 'AUD', with_currency: false, with_symbol: false)
+#=> '100.00'
-``` ruby
-money_range_to_text(10000, 40000, 'AUD', ' ... ')
+money_range_to_text(10000, 40000, currency: 'AUD')
+#=> 'AUD $100.00 - 400.00'
+
+money_range_to_text(10000, 40000, currency: 'AUD', delimiter: ' ... ')
+#=> 'AUD $100.00 ... 400.00'
```
-produces: "AUD $10,000 ... 40,000"
Defaults
--------
-As of [#16](https://github.com/artsy/money_helper/pull/16) this library explicitly specifies the `Money.locale_backend = :currency` default.
+As of [#16][#16] this library explicitly specifies the `Money.locale_backend = :currency` default.
Contributing
------------
Fork the project. Make your feature addition or bug fix with tests. Send a pull request.
Copyright and License
---------------------
-MIT License, see [LICENSE](LICENSE.md) for details.
+MIT License, see [LICENSE][license] for details.
-(c) 2013-2018 [Artsy](http://artsy.github.com), [Sahil Yakhmi](https://github.com/syakhmi), [Joey Aghion](https://github.com/joeyAghion) and [contributors](CHANGELOG.md).
+(c) 2013-2018 [Artsy][artsy], [Sahil Yakhmi][sahil_yakhmi], [Joey Aghion][joey_aghion] and [contributors][contributors].
+
+[ci_badge]: https://circleci.com/gh/artsy/money_helper/tree/master.svg?style=shield
+[circleci]: https://circleci.com/gh/artsy/money_helper/tree/master
+[#16]: https://github.com/artsy/money_helper/pull/16
+[license]: LICENSE.md
+[artsy]: https://github.com/artsy
+[sahil_yakhmi]: https://github.com/syakhmi
+[joey_aghion]: https://github.com/joeyAghion
+[contributors]: CHANGELOG.md