Skip to content

Commit 86b2d23

Browse files
committed
Fix CI badge
Also removes gemnasium badge, which is not available anymore
1 parent d14bf38 commit 86b2d23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Monetize
22

33
[![Gem Version](https://badge.fury.io/rb/monetize.svg)](http://badge.fury.io/rb/monetize)
4-
[![Build Status](https://travis-ci.org/RubyMoney/monetize.svg?branch=master)](https://travis-ci.org/RubyMoney/monetize)
4+
[![Ruby](https://github.com/RubyMoney/monetize/actions/workflows/ruby.yml/badge.svg)](https://github.com/RubyMoney/monetize/actions/workflows/ruby.yml)
55
[![Code Climate](https://codeclimate.com/github/RubyMoney/monetize.svg)](https://codeclimate.com/github/RubyMoney/monetize)
6-
[![Dependency Status](https://gemnasium.com/RubyMoney/monetize.svg)](https://gemnasium.com/RubyMoney/monetize)
76
[![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT)
87

98
A library for converting various objects into `Money` objects.
@@ -60,7 +59,7 @@ Monetize.parse('EUR 10,000') == Money.new(10_000_00, "EUR")
6059
```
6160

6261
Why does this work? If we expect fractional subunits then the parser will treat a single
63-
delimiter as a decimal marker if it matches the currency's decimal marker. But often
62+
delimiter as a decimal marker if it matches the currency's decimal marker. But often
6463
this is not the case - a European site will show $10.000 because that's the local format.
6564
As a human, if this was a stock ticker we might expect fractional cents. If it's a retail price we know it's actually an incorrect thousands separator.
6665

0 commit comments

Comments
 (0)