Skip to content

Commit 3cf7b68

Browse files
authored
Merge pull request #2 from kfit-dev/update-master
Update master
2 parents 67585e4 + 088c6e4 commit 3cf7b68

File tree

11 files changed

+370
-277
lines changed

11 files changed

+370
-277
lines changed

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ language: ruby
33
rvm:
44
- 1.9.3
55
- 2.0.0
6-
- 2.1.9
7-
- 2.2.5
8-
- 2.3.1
6+
- 2.1.10
7+
- 2.2.10
8+
- 2.3.7
9+
- 2.4.4
10+
- 2.5.1
11+
- 2.6.0
912
- jruby-9.0.5.0
13+
before_install:
14+
- gem install bundler --version '~> 1.17'
1015
script: bundle exec rspec spec
1116
notifications:
1217
recipients:

CHANGELOG.md

Lines changed: 64 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,86 @@
11
# Changelog
22

3+
## 1.9.1
4+
- Ruby 2.6 support
5+
6+
## 1.9.0
7+
- Relax Money gem dependency to ~> 6.12
8+
- Refactor `Monetize::Parser`
9+
- Ruby 2.5 support
10+
11+
## 1.8.0
12+
- Money version updated to 6.11.2
13+
- Fix rounding problem in `.from_bigdecimal`
14+
15+
## 1.7.0
16+
- Add South Korean Won currency
17+
- Money version updated to 6.9
18+
- Coveralls version update to 0.8.20
19+
- Add South Korean Won currency
20+
- Improve conversion to Money from Hash
21+
22+
## 1.6.0
23+
- Ruby 2.4.0 support
24+
- Money version updated to 6.8
25+
326
## 1.5.0
4-
- Added extra currencies:
27+
- Fix issue where parsing a Money object resulted in a Money object with its currency set to `Money.default_currency`,
28+
rather than the currency that it was sent in as.
29+
- Add extra currencies:
530
- Azerbaijani manat
631
- Chinese yuan
732
- Czech koruna
833
- Hungarian forint
9-
- Indinan rupee
34+
- Indian rupee
1035
- Russian ruble
1136
- Turkish Lira
1237
- Ukrainian Hryvnia
1338
- Swiss Frank
1439
- Polish Zloty
1540
- Kazakhstani Tenge
16-
41+
- Fix issue with losing precision on BigDecimal input
42+
- Add Swedish krona
43+
- Exclude ambiguous kr symbol from parsing
44+
- Fix JPY parsing
45+
- Subclass all errors to Monetize::Error
46+
- Fix ruby 1.9.3 compatibility
47+
- Suppress errors when using parse. Use `parse!` instead
48+
- Strip currency symbol prefix when parsing input
1749

1850
## 1.4.0
51+
- Fixed support for <code>Money.infinite_precision = true</code> in .to_money
52+
- Add Rubocop config to project
53+
- Reformat code to adapt to Rubocop guidelines
54+
- Add config setting to always enforce currency delimiters
55+
- Add rake console task
1956
- Required Forwardable on Collection to resolve NameError [\#44](https://github.com/RubyMoney/monetize/issues/44)
2057
- Add capability to parse currency amounts given with suffixes (K, M, B, and T)
2158

59+
## 1.3.1
60+
- Updated Money version dependency to 6.6
61+
2262
## 1.3.0
23-
- Add NilClass extension
24-
- Added correct parsing of Brazilian Real $R symbol
25-
- Add testing task for Brazilian Real parsing
2663
- Add Lira Sign (₤) as a symbol for GBP
2764

28-
## 1.3.1
29-
- Updated Money version dependency to 6.6
65+
## 1.2.0
66+
- Add support for parsing Yen symbol
67+
- Add `Monetize.parse_collection` and `Monetize::Collection` class for parsing multiple values
68+
- Add parsing of C$ for Canadian Dollar
69+
- Add NilClass extension
70+
- Add Hash extension
3071

31-
## master
32-
- Fixed support for <code>Money.infinite_precision = true</code> in .to_money
33-
- Add Rubocop config to project
34-
- Reformat code to adapt to Rubocop guidelines
35-
- Add config setting to always enforce currency delimiters
36-
- Add rake console task
37-
- Fix issue where parsing a Money object resulted in a Money object with its currency set to `Money.default_currency`,
38-
rather than the currency that it was sent in as.
72+
## 1.1.0
73+
- Add :assume_from_symbol option to #parse
74+
- Enable #parse to detect currency with signed amounts
75+
- Updated Money version dependency to 6.5.0
76+
77+
## 1.0.0
78+
- Updated Money version dependency to 6.4.0
79+
80+
## 0.4.1
81+
- Updated Money version dependency to 6.2.1
82+
83+
## 0.4.0
84+
- Added correct parsing of Brazilian Real $R symbol
85+
- Add testing task for Brazilian Real parsing
86+
- Updated Money version dependency to 6.2.0

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
source 'https://rubygems.org'
22

3-
gem 'coveralls', require: false
3+
gem 'coveralls', '>= 0.8.20', require: false
44

5-
# JSON gem no longer supports ruby < 2.0.0
5+
# JSON and I18n gem no longer supports ruby < 2.0.0
66
if defined?(JRUBY_VERSION)
77
gem 'json'
88
elsif RUBY_VERSION =~ /^1/
99
gem 'json', '~> 1.8.3'
1010
gem 'tins', '~> 1.6.0'
11+
gem 'term-ansicolor', '~> 1.3.0'
12+
gem 'i18n', '~> 0.9'
1113
end
1214

1315
gemspec

0 commit comments

Comments
 (0)