money 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,319 +1,335 @@
1
- Money 3.6.1
2
- ===========
3
-
4
- Bugfixes
5
- --------
6
- - Floating point comparison needs to Epsilon aware (thanks Tobias Luetke)
7
- - reimplement fix for #issue/43, enable Marshal.(load/dump)
8
-
9
- Money 3.6.0
10
- ===========
11
-
12
- Features
13
- --------
14
- - Add a symbol position option for Money#format (thanks Romain, Gil and
15
- Julien)
16
- - Updated CNY to use "Fen" and subunit_to_unit of 100
17
- - Updates to work with gem-testers.org
18
-
19
- Bugfixes
20
- --------
21
- - Fixed issue with #format(:no_cents => true) (thanks Romain & Julien)
22
-
23
- Money 3.5.5
24
- ===========
25
-
26
- Features
27
- --------
28
- - Enhancements to Money::Currency (thanks Matthew McEachen)
29
- - Replace delimiter with thousands_separator
30
- - Replace separator with decimal_mark
31
- - Added symbol_first and html_entity
32
- - Added allocation algorithm for fair(ish) splitting of money between parties
33
- without loosing pennies (thanks Tobias Luetke)
34
-
35
- Bugfixes
36
- --------
37
- - Always store cents as an Integer (thanks Abhay Kumar)
38
- - Fixed TypeError in rate exchange (thanks Christian Billen)
39
- - Cleanup #parse (thanks Tom Lianza)
40
-
41
- Money 3.5.4
42
- ===========
43
-
44
- Features
45
- --------
46
- - Added Currency#decimal_places.
47
-
48
- Bugfixes
49
- --------
50
- - Fixed error with Money#to_s error with negative amounts that are only cents.
51
-
52
- Money 3.5.3
53
- ===========
54
-
55
- Bugfixes
56
- --------
57
- - Fixed an error in #to_s when cents is negative
58
-
59
- Money 3.5.2
60
- ===========
61
-
62
- Bugfixes
63
- --------
64
- - Fixed an error in #to_s which appended extra 0s incorrectly
65
-
66
- Money 3.5.1
67
- ===========
68
-
69
- Bugfixes
70
- --------
71
- - Removed erroneous require.
72
-
73
- Money 3.5.0
74
- ===========
75
-
76
- Features
77
- --------
78
- - Updated to RSpec2.
79
- - Use i18n to lookup separator and delimiter signs.
80
- - Removed all deprecated methods up to v3.5.0, including the following:
81
- - Using Money#format with params instead of a Hash.
82
- - Using a Hash with Money#new.
83
- - Using Bank#exchange, use Bank#exchange_with instead.
84
-
85
- Bugfixes
86
- --------
87
- - Updated Money#to_s to respect :separator and :subunit_to_unit.
88
- - Fixed Money#format for :subunit_to_unit != 100.
89
- ([#issue/37](http://github.com/RubyMoney/money/issue/37))
90
- - Fixed String#to_money for :subunit_to_unit != 100.
91
- ([#issue/36](http://github.com/RubyMoney/money/issue/36))
92
- - Removed duplicate currencies.
93
- ([#issue/38](http://github.com/RubyMoney/money/issue/38))
94
- - Fixed issue related to JRuby returning 2 for Math.log10(1000).floor instead
95
- of correctly returning 3.
96
-
97
- Money 3.1.5
98
- ===========
99
-
100
- Features
101
- --------
102
- - Added support for creating objects with the main monetary unit instead of
103
- cents.
104
- ([#issue/25](http://github.com/RubyMoney/money/issues/25))
105
- - Deprecated `Money#format` with separate params instead of Hash. Deprecation
106
- target set to Money 3.5.0.
107
- ([#issue/31](http://github.com/RubyMoney/money/issues/31))
108
- - Deprecated `Money#new(0, :currency => "EUR")` in favor of
109
- `Money#new(0, "EUR")`. Deprecation target set to Money 3.5.0.
110
- ([#issue/31](http://github.com/RubyMoney/money/issues/31))
111
- - Throw ArgumentError when trying to multiply two Money objects together.
112
- ([#issue/29](http://github.com/RubyMoney/money/issues/29))
113
- - Update Money#parse to use :subunit_to_unit
114
- ([#issue/30](http://github.com/RubyMoney/money/issues/30))
115
-
116
- Bugfixes
117
- --------
118
- - Downgraded required_rubygems_version to >= 1.3.6.
119
- ([#issue/26](http://github.com/RubyMoney/money/issues/26))
120
- - Use BigDecimal when floating point calculations are needed.
121
- - Ruby 1.9.2 compatibility enhancements.
122
-
123
-
124
- Money 3.1.0
125
- ===========
126
-
127
- Features
128
- --------
129
- - Implemented `Money::Bank::Base`.
130
- ([#issue/14](http://github.com/RubyMoney/money/issues/14))
131
- - Added `Money::Bank::Base#exchange_with`.
132
- - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
133
- 3.2.0.
134
- - Implented `Money::Bank::VariableExchange`
135
- - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
136
- 3.2.0.
137
- - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
138
- Deprecation target set to Money 3.2.0.
139
- ([#issue/16](http://github.com/RubyMoney/money/issues/16))
140
- - Implemented `#has` for `Money` and `Money::Currency`.
141
- - Refactored test suite to conform to RSpec conventions.
142
- - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
143
- [RubyMoney](http://github.com/RubyMoney)
144
- - Added Simone Carletti to list of authors.
145
- - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
146
- `Money::Bank::Base`.
147
- ([#issue/18](http://github.com/RubyMoney/money/issues/18))
148
- - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
149
- ([#issue/19](http://github.com/RubyMoney/money/issues/19))
150
- - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
151
- of Currency Exchange Implementations.
152
- - Added `#export_rates` to `Money::Bank::VariableExchange`.
153
- ([#issue/21](http://github.com/RubyMoney/money/issues/21))
154
- - Added `#import_rates` to `Money::Bank::VariableExchange`.
155
- ([#issue/21](http://github.com/RubyMoney/money/issues/21))
156
- - Removed dependency on Jeweler.
157
- - Replaced usage of hanna with yardoc.
158
- - Rewrote/reformatted all documentation.
159
-
160
- Bugfixes
161
- --------
162
- - Fixed incorrect URLs in documentation.
163
- ([#issue/17](http://github.com/RubyMoney/money/issues/17))
164
- - Updated `:subunit_to_unit` for HKD from 10 to 100.
165
- ([#issue/20](http://github.com/RubyMoney/money/issues/20))
166
- - Updated Ghanaian Cedi to use correct ISO Code, GHS.
167
- ([#issue/22](http://github.com/RubyMoney/money/issues/22))
168
- - Make `default` rake task call `spec`.
169
- ([#issue/23](http://github.com/RubyMoney/money/issues/23))
170
-
171
- Money 3.1.0.pre3
172
- ================
173
-
174
- Features
175
- --------
176
- - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
177
- of Currency Exchange Implementations.
178
- - Added `#export_rates` to `Money::Bank::VariableExchange`.
179
- ([#issue/21](http://github.com/RubyMoney/money/issues/21))
180
- - Added `#import_rates` to `Money::Bank::VariableExchange`.
181
- ([#issue/21](http://github.com/RubyMoney/money/issues/21))
182
-
183
- Bugfixes
184
- --------
185
- - Updated `:subunit_to_unit` for HKD from 10 to 100.
186
- ([#issue/20](http://github.com/RubyMoney/money/issues/20))
187
-
188
- Money 3.1.0.pre2
189
- ================
190
-
191
- Features
192
- --------
193
- - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
194
- `Money::Bank::Base`.
195
- ([#issue/18](http://github.com/RubyMoney/money/issues/18))
196
- - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
197
- ([#issue/19](http://github.com/RubyMoney/money/issues/19))
198
-
199
- Bugfixes
200
- --------
201
- - Fixed incorrect URLs in documentation.
202
- ([#issue/17](http://github.com/RubyMoney/money/issues/17))
203
-
204
- Money 3.1.0.pre1
205
- ================
206
-
207
- Features
208
- --------
209
- - Implemented `Money::Bank::Base`.
210
- ([#issue/14](http://github.com/RubyMoney/money/issues/14))
211
- - Added `Money::Bank::Base#exchange_with`.
212
- - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
213
- 3.2.0.
214
- - Implented `Money::Bank::VariableExchange`
215
- - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
216
- 3.2.0.
217
- - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
218
- Deprecation target set to Money 3.2.0.
219
- ([#issue/16](http://github.com/RubyMoney/money/issues/16))
220
- - Implemented `#has` for `Money` and `Money::Currency`.
221
- - Refactored test suite to conform to RSpec conventions.
222
- - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
223
- [RubyMoney](http://github.com/RubyMoney)
224
- - Added Simone Carletti to list of authors.
225
-
226
- Bugfixes
227
- --------
228
- - Fixed rounding error in `Numeric#to_money`.
229
- ([#issue/15](http://github.com/RubyMoney/money/issues/15))
230
-
231
- Money 3.0.5
232
- ===========
233
-
234
- Features
235
- --------
236
- - Added `Money#abs`.
237
- - Added ability to pass a block to `VariableExchangeBank#new` or `#exchange`,
238
- specifying a custom truncation method
239
- - Added optional `currency` argument to` Numeric#to_money`.
240
- ([#issue/11](http://github.com/RubyMoney/money/issues/11))
241
- - Added optional `currency` argument to `String#to_money`.
242
- ([#issue/11](http://github.com/RubyMoney/money/issues/11))
243
- - Use '¤' as the default currency symbol.
244
- ([#issue/10](http://github.com/RubyMoney/money/issues/10))
245
-
246
- Bugfixes
247
- --------
248
- - Updated `Currency#subunit_to_unit` documentation (it's an integer not a
249
- string).
250
- - Fixed issue when exchanging currencies with different `:subunit_to_unit`
251
- values.
252
- - `Numeric#to_money` now respects `:subunit_to_unit`.
253
- ([#issue/12](http://github.com/RubyMoney/money/issues/12))
254
-
255
- Money 3.0.4
256
- ===========
257
-
258
- Features
259
- --------
260
- - Use `:subunit_to_unit` in `#to_s`, `#to_f` and `#format`.
261
- - Deprecated `Money#SEPARATORS` and `Money#DELIMITERS`.
262
-
263
- Bugfixes
264
- --------
265
- - Updated `#exchange` to avoid floating point rounding errors.
266
- - Added `:separator` and `:delimiter` to `Currency`
267
- - Updated the attributes of the Chilean Peso.
268
-
269
- Money 3.0.3
270
- ===========
271
-
272
- Features
273
- --------
274
- - Added `#currency_as_string` and `#currency_as_string=` for easier
275
- integration with ActiveRecord/Rails
276
-
277
- Money 3.0.2
278
- ===========
279
-
280
- Features
281
- --------
282
- - Added `#div`, `#divmod`, `#modulo`, `#%` and `#remainder` to `Money`.
283
-
284
- Money 3.0.1
285
- ===========
286
-
287
- Features
288
- --------
289
- - Added `#eql?` to `Money`
290
- - Updated `Numeric#to_money` to work with all children of `Numeric` (i.e.
291
- `BigDecimal`, `Integer`, `Fixnum`, `Float`, etc)
292
-
293
- Money 3.0.0
294
- ===========
295
-
296
- Features
297
- --------
298
- - Version Bump due to compatibility changes with ActiveRecord. See
299
- conversation
300
- [here](http://github.com/RubyMoney/money/issues#issue/4/comment/224880)
301
- for more information.
302
-
303
- Money 2.3.0
304
- ===========
305
-
306
- Features
307
- --------
308
- - Currency is now represented by a `Currency` Object instead of a `String`.
309
-
310
- Money 2.2.0
311
- ===========
312
-
313
- Features
314
- --------
315
- - Can now divide two Money objects by one another using `#/`.
316
- - Can now convert a Money object to a float using `#to_f`.
317
- - Users can now specify Separators and Delimiters when using `#format`.
318
- - Support for Brazilian Real `Money.new(1_00, :BRL)`
319
- - Migrated to Jeweler
1
+ Money 3.6.2
2
+ ===========
3
+
4
+ Features
5
+ --------
6
+ - i18n enhancements (thanks eloyesp [link](https://github.com/RubyMoney/money/commit/b2cab76c78ae04f40251fa20c4ab18faa968dc53))
7
+ - README updates (thanks pconnor)
8
+ - Break into modules
9
+ - Added `:no_cents_if_whole` format option
10
+ - Update HKD from Ho to Cent
11
+ - Performance improvements (thanks weppos)
12
+ - Added Symbol#to_currency
13
+ - Added Gemfile for development
14
+ - Updated HUF currency to use `symbol_first => false`
15
+ - Updated "Turkish New Lira" to "Turkish Lira"
16
+
17
+ Money 3.6.1
18
+ ===========
19
+
20
+ Bugfixes
21
+ --------
22
+ - Floating point comparison needs to Epsilon aware (thanks Tobias Luetke)
23
+ - reimplement fix for #issue/43, enable Marshal.(load/dump)
24
+
25
+ Money 3.6.0
26
+ ===========
27
+
28
+ Features
29
+ --------
30
+ - Add a symbol position option for Money#format (thanks Romain, Gil and
31
+ Julien)
32
+ - Updated CNY to use "Fen" and subunit_to_unit of 100
33
+ - Updates to work with gem-testers.org
34
+
35
+ Bugfixes
36
+ --------
37
+ - Fixed issue with #format(:no_cents => true) (thanks Romain & Julien)
38
+
39
+ Money 3.5.5
40
+ ===========
41
+
42
+ Features
43
+ --------
44
+ - Enhancements to Money::Currency (thanks Matthew McEachen)
45
+ - Replace delimiter with thousands_separator
46
+ - Replace separator with decimal_mark
47
+ - Added symbol_first and html_entity
48
+ - Added allocation algorithm for fair(ish) splitting of money between parties
49
+ without loosing pennies (thanks Tobias Luetke)
50
+
51
+ Bugfixes
52
+ --------
53
+ - Always store cents as an Integer (thanks Abhay Kumar)
54
+ - Fixed TypeError in rate exchange (thanks Christian Billen)
55
+ - Cleanup #parse (thanks Tom Lianza)
56
+
57
+ Money 3.5.4
58
+ ===========
59
+
60
+ Features
61
+ --------
62
+ - Added Currency#decimal_places.
63
+
64
+ Bugfixes
65
+ --------
66
+ - Fixed error with Money#to_s error with negative amounts that are only cents.
67
+
68
+ Money 3.5.3
69
+ ===========
70
+
71
+ Bugfixes
72
+ --------
73
+ - Fixed an error in #to_s when cents is negative
74
+
75
+ Money 3.5.2
76
+ ===========
77
+
78
+ Bugfixes
79
+ --------
80
+ - Fixed an error in #to_s which appended extra 0s incorrectly
81
+
82
+ Money 3.5.1
83
+ ===========
84
+
85
+ Bugfixes
86
+ --------
87
+ - Removed erroneous require.
88
+
89
+ Money 3.5.0
90
+ ===========
91
+
92
+ Features
93
+ --------
94
+ - Updated to RSpec2.
95
+ - Use i18n to lookup separator and delimiter signs.
96
+ - Removed all deprecated methods up to v3.5.0, including the following:
97
+ - Using Money#format with params instead of a Hash.
98
+ - Using a Hash with Money#new.
99
+ - Using Bank#exchange, use Bank#exchange_with instead.
100
+
101
+ Bugfixes
102
+ --------
103
+ - Updated Money#to_s to respect :separator and :subunit_to_unit.
104
+ - Fixed Money#format for :subunit_to_unit != 100.
105
+ ([#issue/37](http://github.com/RubyMoney/money/issue/37))
106
+ - Fixed String#to_money for :subunit_to_unit != 100.
107
+ ([#issue/36](http://github.com/RubyMoney/money/issue/36))
108
+ - Removed duplicate currencies.
109
+ ([#issue/38](http://github.com/RubyMoney/money/issue/38))
110
+ - Fixed issue related to JRuby returning 2 for Math.log10(1000).floor instead
111
+ of correctly returning 3.
112
+
113
+ Money 3.1.5
114
+ ===========
115
+
116
+ Features
117
+ --------
118
+ - Added support for creating objects with the main monetary unit instead of
119
+ cents.
120
+ ([#issue/25](http://github.com/RubyMoney/money/issues/25))
121
+ - Deprecated `Money#format` with separate params instead of Hash. Deprecation
122
+ target set to Money 3.5.0.
123
+ ([#issue/31](http://github.com/RubyMoney/money/issues/31))
124
+ - Deprecated `Money#new(0, :currency => "EUR")` in favor of
125
+ `Money#new(0, "EUR")`. Deprecation target set to Money 3.5.0.
126
+ ([#issue/31](http://github.com/RubyMoney/money/issues/31))
127
+ - Throw ArgumentError when trying to multiply two Money objects together.
128
+ ([#issue/29](http://github.com/RubyMoney/money/issues/29))
129
+ - Update Money#parse to use :subunit_to_unit
130
+ ([#issue/30](http://github.com/RubyMoney/money/issues/30))
131
+
132
+ Bugfixes
133
+ --------
134
+ - Downgraded required_rubygems_version to >= 1.3.6.
135
+ ([#issue/26](http://github.com/RubyMoney/money/issues/26))
136
+ - Use BigDecimal when floating point calculations are needed.
137
+ - Ruby 1.9.2 compatibility enhancements.
138
+
139
+
140
+ Money 3.1.0
141
+ ===========
142
+
143
+ Features
144
+ --------
145
+ - Implemented `Money::Bank::Base`.
146
+ ([#issue/14](http://github.com/RubyMoney/money/issues/14))
147
+ - Added `Money::Bank::Base#exchange_with`.
148
+ - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
149
+ 3.2.0.
150
+ - Implented `Money::Bank::VariableExchange`
151
+ - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
152
+ 3.2.0.
153
+ - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
154
+ Deprecation target set to Money 3.2.0.
155
+ ([#issue/16](http://github.com/RubyMoney/money/issues/16))
156
+ - Implemented `#has` for `Money` and `Money::Currency`.
157
+ - Refactored test suite to conform to RSpec conventions.
158
+ - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
159
+ [RubyMoney](http://github.com/RubyMoney)
160
+ - Added Simone Carletti to list of authors.
161
+ - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
162
+ `Money::Bank::Base`.
163
+ ([#issue/18](http://github.com/RubyMoney/money/issues/18))
164
+ - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
165
+ ([#issue/19](http://github.com/RubyMoney/money/issues/19))
166
+ - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
167
+ of Currency Exchange Implementations.
168
+ - Added `#export_rates` to `Money::Bank::VariableExchange`.
169
+ ([#issue/21](http://github.com/RubyMoney/money/issues/21))
170
+ - Added `#import_rates` to `Money::Bank::VariableExchange`.
171
+ ([#issue/21](http://github.com/RubyMoney/money/issues/21))
172
+ - Removed dependency on Jeweler.
173
+ - Replaced usage of hanna with yardoc.
174
+ - Rewrote/reformatted all documentation.
175
+
176
+ Bugfixes
177
+ --------
178
+ - Fixed incorrect URLs in documentation.
179
+ ([#issue/17](http://github.com/RubyMoney/money/issues/17))
180
+ - Updated `:subunit_to_unit` for HKD from 10 to 100.
181
+ ([#issue/20](http://github.com/RubyMoney/money/issues/20))
182
+ - Updated Ghanaian Cedi to use correct ISO Code, GHS.
183
+ ([#issue/22](http://github.com/RubyMoney/money/issues/22))
184
+ - Make `default` rake task call `spec`.
185
+ ([#issue/23](http://github.com/RubyMoney/money/issues/23))
186
+
187
+ Money 3.1.0.pre3
188
+ ================
189
+
190
+ Features
191
+ --------
192
+ - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
193
+ of Currency Exchange Implementations.
194
+ - Added `#export_rates` to `Money::Bank::VariableExchange`.
195
+ ([#issue/21](http://github.com/RubyMoney/money/issues/21))
196
+ - Added `#import_rates` to `Money::Bank::VariableExchange`.
197
+ ([#issue/21](http://github.com/RubyMoney/money/issues/21))
198
+
199
+ Bugfixes
200
+ --------
201
+ - Updated `:subunit_to_unit` for HKD from 10 to 100.
202
+ ([#issue/20](http://github.com/RubyMoney/money/issues/20))
203
+
204
+ Money 3.1.0.pre2
205
+ ================
206
+
207
+ Features
208
+ --------
209
+ - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
210
+ `Money::Bank::Base`.
211
+ ([#issue/18](http://github.com/RubyMoney/money/issues/18))
212
+ - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
213
+ ([#issue/19](http://github.com/RubyMoney/money/issues/19))
214
+
215
+ Bugfixes
216
+ --------
217
+ - Fixed incorrect URLs in documentation.
218
+ ([#issue/17](http://github.com/RubyMoney/money/issues/17))
219
+
220
+ Money 3.1.0.pre1
221
+ ================
222
+
223
+ Features
224
+ --------
225
+ - Implemented `Money::Bank::Base`.
226
+ ([#issue/14](http://github.com/RubyMoney/money/issues/14))
227
+ - Added `Money::Bank::Base#exchange_with`.
228
+ - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
229
+ 3.2.0.
230
+ - Implented `Money::Bank::VariableExchange`
231
+ - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
232
+ 3.2.0.
233
+ - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
234
+ Deprecation target set to Money 3.2.0.
235
+ ([#issue/16](http://github.com/RubyMoney/money/issues/16))
236
+ - Implemented `#has` for `Money` and `Money::Currency`.
237
+ - Refactored test suite to conform to RSpec conventions.
238
+ - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
239
+ [RubyMoney](http://github.com/RubyMoney)
240
+ - Added Simone Carletti to list of authors.
241
+
242
+ Bugfixes
243
+ --------
244
+ - Fixed rounding error in `Numeric#to_money`.
245
+ ([#issue/15](http://github.com/RubyMoney/money/issues/15))
246
+
247
+ Money 3.0.5
248
+ ===========
249
+
250
+ Features
251
+ --------
252
+ - Added `Money#abs`.
253
+ - Added ability to pass a block to `VariableExchangeBank#new` or `#exchange`,
254
+ specifying a custom truncation method
255
+ - Added optional `currency` argument to` Numeric#to_money`.
256
+ ([#issue/11](http://github.com/RubyMoney/money/issues/11))
257
+ - Added optional `currency` argument to `String#to_money`.
258
+ ([#issue/11](http://github.com/RubyMoney/money/issues/11))
259
+ - Use '¤' as the default currency symbol.
260
+ ([#issue/10](http://github.com/RubyMoney/money/issues/10))
261
+
262
+ Bugfixes
263
+ --------
264
+ - Updated `Currency#subunit_to_unit` documentation (it's an integer not a
265
+ string).
266
+ - Fixed issue when exchanging currencies with different `:subunit_to_unit`
267
+ values.
268
+ - `Numeric#to_money` now respects `:subunit_to_unit`.
269
+ ([#issue/12](http://github.com/RubyMoney/money/issues/12))
270
+
271
+ Money 3.0.4
272
+ ===========
273
+
274
+ Features
275
+ --------
276
+ - Use `:subunit_to_unit` in `#to_s`, `#to_f` and `#format`.
277
+ - Deprecated `Money#SEPARATORS` and `Money#DELIMITERS`.
278
+
279
+ Bugfixes
280
+ --------
281
+ - Updated `#exchange` to avoid floating point rounding errors.
282
+ - Added `:separator` and `:delimiter` to `Currency`
283
+ - Updated the attributes of the Chilean Peso.
284
+
285
+ Money 3.0.3
286
+ ===========
287
+
288
+ Features
289
+ --------
290
+ - Added `#currency_as_string` and `#currency_as_string=` for easier
291
+ integration with ActiveRecord/Rails
292
+
293
+ Money 3.0.2
294
+ ===========
295
+
296
+ Features
297
+ --------
298
+ - Added `#div`, `#divmod`, `#modulo`, `#%` and `#remainder` to `Money`.
299
+
300
+ Money 3.0.1
301
+ ===========
302
+
303
+ Features
304
+ --------
305
+ - Added `#eql?` to `Money`
306
+ - Updated `Numeric#to_money` to work with all children of `Numeric` (i.e.
307
+ `BigDecimal`, `Integer`, `Fixnum`, `Float`, etc)
308
+
309
+ Money 3.0.0
310
+ ===========
311
+
312
+ Features
313
+ --------
314
+ - Version Bump due to compatibility changes with ActiveRecord. See
315
+ conversation
316
+ [here](http://github.com/RubyMoney/money/issues#issue/4/comment/224880)
317
+ for more information.
318
+
319
+ Money 2.3.0
320
+ ===========
321
+
322
+ Features
323
+ --------
324
+ - Currency is now represented by a `Currency` Object instead of a `String`.
325
+
326
+ Money 2.2.0
327
+ ===========
328
+
329
+ Features
330
+ --------
331
+ - Can now divide two Money objects by one another using `#/`.
332
+ - Can now convert a Money object to a float using `#to_f`.
333
+ - Users can now specify Separators and Delimiters when using `#format`.
334
+ - Support for Brazilian Real `Money.new(1_00, :BRL)`
335
+ - Migrated to Jeweler