money 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +405 -391
 - data/LICENSE +21 -21
 - data/README.md +249 -243
 - data/Rakefile +52 -49
 - data/config/currency.json +2068 -2068
 - data/config/currency_bc.json +41 -41
 - data/lib/money.rb +28 -28
 - data/lib/money/bank/base.rb +130 -131
 - data/lib/money/bank/variable_exchange.rb +253 -252
 - data/lib/money/core_extensions.rb +82 -82
 - data/lib/money/currency.rb +280 -263
 - data/lib/money/currency_loader.rb +21 -19
 - data/lib/money/money.rb +411 -405
 - data/lib/money/money/arithmetic.rb +257 -246
 - data/lib/money/money/formatting.rb +251 -260
 - data/lib/money/money/parsing.rb +350 -350
 - data/money.gemspec +29 -29
 - data/spec/bank/base_spec.rb +69 -72
 - data/spec/bank/variable_exchange_spec.rb +233 -238
 - data/spec/core_extensions_spec.rb +160 -158
 - data/spec/currency_spec.rb +139 -120
 - data/spec/money/arithmetic_spec.rb +482 -479
 - data/spec/money/formatting_spec.rb +402 -383
 - data/spec/money/parsing_spec.rb +210 -197
 - data/spec/money_spec.rb +312 -292
 - data/spec/spec_helper.rb +32 -28
 - metadata +14 -14
 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,391 +1,405 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            -  
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
            Money  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
            -  
     | 
| 
       36 
     | 
    
         
            -
            -  
     | 
| 
       37 
     | 
    
         
            -
            -  
     | 
| 
       38 
     | 
    
         
            -
            -  
     | 
| 
       39 
     | 
    
         
            -
            -  
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
            -  
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
            -  
     | 
| 
       68 
     | 
    
         
            -
            -  
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             -  
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
            Money 3. 
     | 
| 
       96 
     | 
    
         
            -
            ===========
         
     | 
| 
       97 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
            Features
         
     | 
| 
       99 
     | 
    
         
            -
            --------
         
     | 
| 
       100 
     | 
    
         
            -
             -  
     | 
| 
       101 
     | 
    
         
            -
                
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
              
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
             
     | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
       118 
     | 
    
         
            -
             - Added  
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
       120 
     | 
    
         
            -
             
     | 
| 
       121 
     | 
    
         
            -
             
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
       126 
     | 
    
         
            -
             
     | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
       128 
     | 
    
         
            -
             
     | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
       131 
     | 
    
         
            -
             
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
     | 
    
         
            -
             
     | 
| 
       134 
     | 
    
         
            -
            Bugfixes
         
     | 
| 
       135 
     | 
    
         
            -
            --------
         
     | 
| 
       136 
     | 
    
         
            -
             - Fixed  
     | 
| 
       137 
     | 
    
         
            -
             
     | 
| 
       138 
     | 
    
         
            -
            Money 3.5. 
     | 
| 
       139 
     | 
    
         
            -
            ===========
         
     | 
| 
       140 
     | 
    
         
            -
             
     | 
| 
       141 
     | 
    
         
            -
            Bugfixes
         
     | 
| 
       142 
     | 
    
         
            -
            --------
         
     | 
| 
       143 
     | 
    
         
            -
             -  
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
            Money 3.5. 
     | 
| 
       146 
     | 
    
         
            -
            ===========
         
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       149 
     | 
    
         
            -
            --------
         
     | 
| 
       150 
     | 
    
         
            -
             -  
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
              
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
     | 
    
         
            -
             
     | 
| 
       155 
     | 
    
         
            -
             
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
             
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
             -  
     | 
| 
       165 
     | 
    
         
            -
             
     | 
| 
       166 
     | 
    
         
            -
             -  
     | 
| 
       167 
     | 
    
         
            -
               of  
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
             
     | 
| 
       170 
     | 
    
         
            -
             
     | 
| 
       171 
     | 
    
         
            -
             
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
       174 
     | 
    
         
            -
             -  
     | 
| 
       175 
     | 
    
         
            -
                
     | 
| 
       176 
     | 
    
         
            -
             
     | 
| 
       177 
     | 
    
         
            -
             
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       180 
     | 
    
         
            -
             -  
     | 
| 
       181 
     | 
    
         
            -
                
     | 
| 
       182 
     | 
    
         
            -
             
     | 
| 
       183 
     | 
    
         
            -
             
     | 
| 
       184 
     | 
    
         
            -
             
     | 
| 
       185 
     | 
    
         
            -
             
     | 
| 
       186 
     | 
    
         
            -
             
     | 
| 
       187 
     | 
    
         
            -
             
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
       189 
     | 
    
         
            -
             
     | 
| 
       190 
     | 
    
         
            -
             
     | 
| 
       191 
     | 
    
         
            -
             
     | 
| 
       192 
     | 
    
         
            -
              
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
       197 
     | 
    
         
            -
             
     | 
| 
       198 
     | 
    
         
            -
             
     | 
| 
       199 
     | 
    
         
            -
             
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
             
     | 
| 
       202 
     | 
    
         
            -
             
     | 
| 
       203 
     | 
    
         
            -
             
     | 
| 
       204 
     | 
    
         
            -
             -  
     | 
| 
       205 
     | 
    
         
            -
                
     | 
| 
       206 
     | 
    
         
            -
             -  
     | 
| 
       207 
     | 
    
         
            -
             -  
     | 
| 
       208 
     | 
    
         
            -
             
     | 
| 
       209 
     | 
    
         
            -
             
     | 
| 
       210 
     | 
    
         
            -
             
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
             
     | 
| 
       213 
     | 
    
         
            -
             
     | 
| 
       214 
     | 
    
         
            -
             
     | 
| 
       215 
     | 
    
         
            -
             
     | 
| 
       216 
     | 
    
         
            -
             
     | 
| 
       217 
     | 
    
         
            -
             -  
     | 
| 
       218 
     | 
    
         
            -
             
     | 
| 
       219 
     | 
    
         
            -
                
     | 
| 
       220 
     | 
    
         
            -
             -  
     | 
| 
       221 
     | 
    
         
            -
             
     | 
| 
       222 
     | 
    
         
            -
             
     | 
| 
       223 
     | 
    
         
            -
             
     | 
| 
       224 
     | 
    
         
            -
              
     | 
| 
       225 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       226 
     | 
    
         
            -
             -  
     | 
| 
       227 
     | 
    
         
            -
             
     | 
| 
       228 
     | 
    
         
            -
             -  
     | 
| 
       229 
     | 
    
         
            -
             
     | 
| 
       230 
     | 
    
         
            -
             -  
     | 
| 
       231 
     | 
    
         
            -
             
     | 
| 
       232 
     | 
    
         
            -
             
     | 
| 
       233 
     | 
    
         
            -
             
     | 
| 
       234 
     | 
    
         
            -
             -  
     | 
| 
       235 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       236 
     | 
    
         
            -
             -  
     | 
| 
       237 
     | 
    
         
            -
                
     | 
| 
       238 
     | 
    
         
            -
             -  
     | 
| 
       239 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       240 
     | 
    
         
            -
             -  
     | 
| 
       241 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       242 
     | 
    
         
            -
             
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
       244 
     | 
    
         
            -
             
     | 
| 
       245 
     | 
    
         
            -
             
     | 
| 
       246 
     | 
    
         
            -
             
     | 
| 
       247 
     | 
    
         
            -
            --------
         
     | 
| 
       248 
     | 
    
         
            -
             -  
     | 
| 
       249 
     | 
    
         
            -
                
     | 
| 
       250 
     | 
    
         
            -
             -  
     | 
| 
       251 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       252 
     | 
    
         
            -
             -  
     | 
| 
       253 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       254 
     | 
    
         
            -
             
     | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
             
     | 
| 
       257 
     | 
    
         
            -
              
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
             
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
             
     | 
| 
       262 
     | 
    
         
            -
             
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
             
     | 
| 
       265 
     | 
    
         
            -
             
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
               ([#issue/ 
     | 
| 
       268 
     | 
    
         
            -
             
     | 
| 
       269 
     | 
    
         
            -
             
     | 
| 
       270 
     | 
    
         
            -
             
     | 
| 
       271 
     | 
    
         
            -
             
     | 
| 
       272 
     | 
    
         
            -
             
     | 
| 
       273 
     | 
    
         
            -
             
     | 
| 
       274 
     | 
    
         
            -
             
     | 
| 
       275 
     | 
    
         
            -
             
     | 
| 
       276 
     | 
    
         
            -
             
     | 
| 
       277 
     | 
    
         
            -
             
     | 
| 
       278 
     | 
    
         
            -
             
     | 
| 
       279 
     | 
    
         
            -
             
     | 
| 
       280 
     | 
    
         
            -
             
     | 
| 
       281 
     | 
    
         
            -
             
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
             
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
       285 
     | 
    
         
            -
             
     | 
| 
       286 
     | 
    
         
            -
             
     | 
| 
       287 
     | 
    
         
            -
             -  
     | 
| 
       288 
     | 
    
         
            -
                
     | 
| 
       289 
     | 
    
         
            -
             
     | 
| 
       290 
     | 
    
         
            -
             
     | 
| 
       291 
     | 
    
         
            -
             
     | 
| 
       292 
     | 
    
         
            -
             
     | 
| 
       293 
     | 
    
         
            -
             
     | 
| 
       294 
     | 
    
         
            -
             
     | 
| 
       295 
     | 
    
         
            -
             
     | 
| 
       296 
     | 
    
         
            -
             
     | 
| 
       297 
     | 
    
         
            -
             
     | 
| 
       298 
     | 
    
         
            -
             
     | 
| 
       299 
     | 
    
         
            -
             
     | 
| 
       300 
     | 
    
         
            -
             -  
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
            Money  
     | 
| 
       304 
     | 
    
         
            -
             
     | 
| 
       305 
     | 
    
         
            -
             
     | 
| 
       306 
     | 
    
         
            -
             
     | 
| 
       307 
     | 
    
         
            -
             
     | 
| 
       308 
     | 
    
         
            -
             -  
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
     | 
    
         
            -
             
     | 
| 
       311 
     | 
    
         
            -
             
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
       313 
     | 
    
         
            -
             
     | 
| 
       314 
     | 
    
         
            -
             
     | 
| 
       315 
     | 
    
         
            -
             
     | 
| 
       316 
     | 
    
         
            -
             
     | 
| 
       317 
     | 
    
         
            -
             
     | 
| 
       318 
     | 
    
         
            -
             
     | 
| 
       319 
     | 
    
         
            -
             
     | 
| 
       320 
     | 
    
         
            -
             
     | 
| 
       321 
     | 
    
         
            -
             
     | 
| 
       322 
     | 
    
         
            -
             -  
     | 
| 
       323 
     | 
    
         
            -
             
     | 
| 
       324 
     | 
    
         
            -
              
     | 
| 
       325 
     | 
    
         
            -
             
     | 
| 
       326 
     | 
    
         
            -
             
     | 
| 
       327 
     | 
    
         
            -
             
     | 
| 
       328 
     | 
    
         
            -
             
     | 
| 
       329 
     | 
    
         
            -
             
     | 
| 
       330 
     | 
    
         
            -
             
     | 
| 
       331 
     | 
    
         
            -
             
     | 
| 
       332 
     | 
    
         
            -
             
     | 
| 
       333 
     | 
    
         
            -
             
     | 
| 
       334 
     | 
    
         
            -
             
     | 
| 
       335 
     | 
    
         
            -
             
     | 
| 
       336 
     | 
    
         
            -
             
     | 
| 
       337 
     | 
    
         
            -
             
     | 
| 
       338 
     | 
    
         
            -
             -  
     | 
| 
       339 
     | 
    
         
            -
             
     | 
| 
       340 
     | 
    
         
            -
             
     | 
| 
       341 
     | 
    
         
            -
            Money 3.0. 
     | 
| 
       342 
     | 
    
         
            -
            ===========
         
     | 
| 
       343 
     | 
    
         
            -
             
     | 
| 
       344 
     | 
    
         
            -
            Features
         
     | 
| 
       345 
     | 
    
         
            -
            --------
         
     | 
| 
       346 
     | 
    
         
            -
             -  
     | 
| 
       347 
     | 
    
         
            -
             
     | 
| 
       348 
     | 
    
         
            -
             
     | 
| 
       349 
     | 
    
         
            -
             
     | 
| 
       350 
     | 
    
         
            -
             
     | 
| 
       351 
     | 
    
         
            -
             
     | 
| 
       352 
     | 
    
         
            -
             
     | 
| 
       353 
     | 
    
         
            -
             
     | 
| 
       354 
     | 
    
         
            -
             
     | 
| 
       355 
     | 
    
         
            -
             
     | 
| 
       356 
     | 
    
         
            -
             
     | 
| 
       357 
     | 
    
         
            -
             
     | 
| 
       358 
     | 
    
         
            -
             
     | 
| 
       359 
     | 
    
         
            -
             
     | 
| 
       360 
     | 
    
         
            -
             
     | 
| 
       361 
     | 
    
         
            -
              
     | 
| 
       362 
     | 
    
         
            -
             
     | 
| 
       363 
     | 
    
         
            -
             
     | 
| 
       364 
     | 
    
         
            -
             
     | 
| 
       365 
     | 
    
         
            -
             
     | 
| 
       366 
     | 
    
         
            -
             
     | 
| 
       367 
     | 
    
         
            -
             
     | 
| 
       368 
     | 
    
         
            -
             
     | 
| 
       369 
     | 
    
         
            -
             
     | 
| 
       370 
     | 
    
         
            -
              
     | 
| 
       371 
     | 
    
         
            -
             
     | 
| 
       372 
     | 
    
         
            -
             
     | 
| 
       373 
     | 
    
         
            -
             
     | 
| 
       374 
     | 
    
         
            -
             
     | 
| 
       375 
     | 
    
         
            -
            Money 
     | 
| 
       376 
     | 
    
         
            -
             
     | 
| 
       377 
     | 
    
         
            -
             
     | 
| 
       378 
     | 
    
         
            -
             
     | 
| 
       379 
     | 
    
         
            -
             
     | 
| 
       380 
     | 
    
         
            -
             
     | 
| 
       381 
     | 
    
         
            -
             
     | 
| 
       382 
     | 
    
         
            -
             
     | 
| 
       383 
     | 
    
         
            -
             
     | 
| 
       384 
     | 
    
         
            -
             
     | 
| 
       385 
     | 
    
         
            -
             
     | 
| 
       386 
     | 
    
         
            -
             
     | 
| 
       387 
     | 
    
         
            -
              
     | 
| 
       388 
     | 
    
         
            -
             
     | 
| 
       389 
     | 
    
         
            -
              
     | 
| 
       390 
     | 
    
         
            -
             
     | 
| 
       391 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            # Changelog
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            ## 4.0.2
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            - Money.to_money now understands a currency option (GH-121)
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Added Money#-@ method to change object polarity (GH-122)
         
     | 
| 
      
 8 
     | 
    
         
            +
            - Added Money#symbol_or_iso_code utility method (GH-128)
         
     | 
| 
      
 9 
     | 
    
         
            +
            - Money.parse now understands trailing - as negative inputs (GH-133)
         
     | 
| 
      
 10 
     | 
    
         
            +
            - Money::Currency.new now validates input to avoid memory leaks (GH-137)
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            - Forced UTF-8 encoding on currency JSON (GH-117)
         
     | 
| 
      
 13 
     | 
    
         
            +
            - Fixed position of Philippine peso sign (GH-124)
         
     | 
| 
      
 14 
     | 
    
         
            +
            - Fixed position of Danish currency sign (GH-127)
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            ## 4.0.1
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            - Add missing config dir.
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            Money 4.0.0
         
     | 
| 
      
 23 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            The big change this release is moving the currency information into a JSON
         
     | 
| 
      
 26 
     | 
    
         
            +
            file. This should make it easier for users to add and test things. Thanks to
         
     | 
| 
      
 27 
     | 
    
         
            +
            Steve Morris for working on this during his Mendicant University course.
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            In addition to this big change there were well over a dozen other minor
         
     | 
| 
      
 30 
     | 
    
         
            +
            changes.
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            Features
         
     | 
| 
      
 33 
     | 
    
         
            +
            --------
         
     | 
| 
      
 34 
     | 
    
         
            +
            - a new exchange bank nordea has been added to the README. (k33l0r)
         
     | 
| 
      
 35 
     | 
    
         
            +
            - a new exchange bank nbrb_currency has been added to the README. (slbug)
         
     | 
| 
      
 36 
     | 
    
         
            +
            - update Rake tasks
         
     | 
| 
      
 37 
     | 
    
         
            +
            - See our CI status in the README
         
     | 
| 
      
 38 
     | 
    
         
            +
            - Add syntax highlighting to the README (phlipper)
         
     | 
| 
      
 39 
     | 
    
         
            +
            - Remove minor unit from YEN (pwim)
         
     | 
| 
      
 40 
     | 
    
         
            +
            - Format YEN (pwim)
         
     | 
| 
      
 41 
     | 
    
         
            +
            - Update README for `_as_string` (mjankowski)
         
     | 
| 
      
 42 
     | 
    
         
            +
            - Update Lebanon currency (kaleemullah)
         
     | 
| 
      
 43 
     | 
    
         
            +
            - Update Polish złoty (holek)
         
     | 
| 
      
 44 
     | 
    
         
            +
            - Move currency information into JSON storage! (stevemorris)
         
     | 
| 
      
 45 
     | 
    
         
            +
            - Add ISO4217 Numeric codes (alovak)
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 48 
     | 
    
         
            +
            --------
         
     | 
| 
      
 49 
     | 
    
         
            +
            - EEK currency is no longer used, kept for BC ([#issue/110](http://github.com/RubyMoney/money/issues/110))
         
     | 
| 
      
 50 
     | 
    
         
            +
            - Lithuanian Litas symbol position fixed (laurynas)
         
     | 
| 
      
 51 
     | 
    
         
            +
            - Fixed README typos (phlipper)
         
     | 
| 
      
 52 
     | 
    
         
            +
            - Fixed README typos (pwim)
         
     | 
| 
      
 53 
     | 
    
         
            +
            - Fix specs (alovak)
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            Money 3.7.1
         
     | 
| 
      
 56 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 59 
     | 
    
         
            +
            --------
         
     | 
| 
      
 60 
     | 
    
         
            +
            - Add encoding indicator to top of Gemspec
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
      
 62 
     | 
    
         
            +
            Money 3.7.0
         
     | 
| 
      
 63 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
            Features
         
     | 
| 
      
 66 
     | 
    
         
            +
            --------
         
     | 
| 
      
 67 
     | 
    
         
            +
            - add Money#to_d (thanks Andrew White)
         
     | 
| 
      
 68 
     | 
    
         
            +
            - Add Money.use_i18n, this allows you to enable/disable i18n from being used,
         
     | 
| 
      
 69 
     | 
    
         
            +
              even if it's required in your app.
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
            Money 3.6.2
         
     | 
| 
      
 72 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
      
 74 
     | 
    
         
            +
            Features
         
     | 
| 
      
 75 
     | 
    
         
            +
            --------
         
     | 
| 
      
 76 
     | 
    
         
            +
            - i18n enhancements (thanks eloyesp [link](https://github.com/RubyMoney/money/commit/b2cab76c78ae04f40251fa20c4ab18faa968dc53))
         
     | 
| 
      
 77 
     | 
    
         
            +
            - README updates (thanks pconnor)
         
     | 
| 
      
 78 
     | 
    
         
            +
            - Break into modules
         
     | 
| 
      
 79 
     | 
    
         
            +
            - Added `:no_cents_if_whole` format option
         
     | 
| 
      
 80 
     | 
    
         
            +
            - Update HKD from Ho to Cent
         
     | 
| 
      
 81 
     | 
    
         
            +
            - Performance improvements (thanks weppos)
         
     | 
| 
      
 82 
     | 
    
         
            +
            - Added Symbol#to_currency
         
     | 
| 
      
 83 
     | 
    
         
            +
            - Added Gemfile for development
         
     | 
| 
      
 84 
     | 
    
         
            +
            - Updated HUF currency to use `symbol_first => false`
         
     | 
| 
      
 85 
     | 
    
         
            +
            - Updated "Turkish New Lira" to "Turkish Lira"
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
            Money 3.6.1
         
     | 
| 
      
 88 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 91 
     | 
    
         
            +
            --------
         
     | 
| 
      
 92 
     | 
    
         
            +
             - Floating point comparison needs to Epsilon aware (thanks Tobias Luetke)
         
     | 
| 
      
 93 
     | 
    
         
            +
             - reimplement fix for #issue/43, enable Marshal.(load/dump)
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
            Money 3.6.0
         
     | 
| 
      
 96 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
            Features
         
     | 
| 
      
 99 
     | 
    
         
            +
            --------
         
     | 
| 
      
 100 
     | 
    
         
            +
             - Add a symbol position option for Money#format (thanks Romain, Gil and
         
     | 
| 
      
 101 
     | 
    
         
            +
               Julien)
         
     | 
| 
      
 102 
     | 
    
         
            +
             - Updated CNY to use "Fen" and subunit_to_unit of 100
         
     | 
| 
      
 103 
     | 
    
         
            +
             - Updates to work with gem-testers.org
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 106 
     | 
    
         
            +
            --------
         
     | 
| 
      
 107 
     | 
    
         
            +
             - Fixed issue with #format(:no_cents => true) (thanks Romain & Julien)
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
            Money 3.5.5
         
     | 
| 
      
 110 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            Features
         
     | 
| 
      
 113 
     | 
    
         
            +
            --------
         
     | 
| 
      
 114 
     | 
    
         
            +
             - Enhancements to Money::Currency (thanks Matthew McEachen)
         
     | 
| 
      
 115 
     | 
    
         
            +
               - Replace delimiter with thousands_separator
         
     | 
| 
      
 116 
     | 
    
         
            +
               - Replace separator with decimal_mark
         
     | 
| 
      
 117 
     | 
    
         
            +
               - Added symbol_first and html_entity
         
     | 
| 
      
 118 
     | 
    
         
            +
             - Added allocation algorithm for fair(ish) splitting of money between parties
         
     | 
| 
      
 119 
     | 
    
         
            +
               without loosing pennies (thanks Tobias Luetke)
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 122 
     | 
    
         
            +
            --------
         
     | 
| 
      
 123 
     | 
    
         
            +
             - Always store cents as an Integer (thanks Abhay Kumar)
         
     | 
| 
      
 124 
     | 
    
         
            +
             - Fixed TypeError in rate exchange (thanks Christian Billen)
         
     | 
| 
      
 125 
     | 
    
         
            +
             - Cleanup #parse (thanks Tom Lianza)
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
            Money 3.5.4
         
     | 
| 
      
 128 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
            Features
         
     | 
| 
      
 131 
     | 
    
         
            +
            --------
         
     | 
| 
      
 132 
     | 
    
         
            +
             - Added Currency#decimal_places.
         
     | 
| 
      
 133 
     | 
    
         
            +
             
     | 
| 
      
 134 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 135 
     | 
    
         
            +
            --------
         
     | 
| 
      
 136 
     | 
    
         
            +
             - Fixed error with Money#to_s error with negative amounts that are only cents.
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
            Money 3.5.3
         
     | 
| 
      
 139 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 142 
     | 
    
         
            +
            --------
         
     | 
| 
      
 143 
     | 
    
         
            +
             - Fixed an error in #to_s when cents is negative
         
     | 
| 
      
 144 
     | 
    
         
            +
             
     | 
| 
      
 145 
     | 
    
         
            +
            Money 3.5.2
         
     | 
| 
      
 146 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 149 
     | 
    
         
            +
            --------
         
     | 
| 
      
 150 
     | 
    
         
            +
             - Fixed an error in #to_s which appended extra 0s incorrectly
         
     | 
| 
      
 151 
     | 
    
         
            +
             
     | 
| 
      
 152 
     | 
    
         
            +
            Money 3.5.1
         
     | 
| 
      
 153 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 154 
     | 
    
         
            +
             
     | 
| 
      
 155 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 156 
     | 
    
         
            +
            --------
         
     | 
| 
      
 157 
     | 
    
         
            +
             - Removed erroneous require.
         
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
            Money 3.5.0
         
     | 
| 
      
 160 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
            Features
         
     | 
| 
      
 163 
     | 
    
         
            +
            --------
         
     | 
| 
      
 164 
     | 
    
         
            +
             - Updated to RSpec2.
         
     | 
| 
      
 165 
     | 
    
         
            +
             - Use i18n to lookup separator and delimiter signs.
         
     | 
| 
      
 166 
     | 
    
         
            +
             - Removed all deprecated methods up to v3.5.0, including the following:
         
     | 
| 
      
 167 
     | 
    
         
            +
               - Using Money#format with params instead of a Hash.
         
     | 
| 
      
 168 
     | 
    
         
            +
               - Using a Hash with Money#new.
         
     | 
| 
      
 169 
     | 
    
         
            +
               - Using Bank#exchange, use Bank#exchange_with instead.
         
     | 
| 
      
 170 
     | 
    
         
            +
             
     | 
| 
      
 171 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 172 
     | 
    
         
            +
            --------
         
     | 
| 
      
 173 
     | 
    
         
            +
             - Updated Money#to_s to respect :separator and :subunit_to_unit.
         
     | 
| 
      
 174 
     | 
    
         
            +
             - Fixed Money#format for :subunit_to_unit != 100.
         
     | 
| 
      
 175 
     | 
    
         
            +
               ([#issue/37](http://github.com/RubyMoney/money/issue/37))
         
     | 
| 
      
 176 
     | 
    
         
            +
             - Fixed String#to_money for :subunit_to_unit != 100.
         
     | 
| 
      
 177 
     | 
    
         
            +
               ([#issue/36](http://github.com/RubyMoney/money/issue/36))
         
     | 
| 
      
 178 
     | 
    
         
            +
             - Removed duplicate currencies.
         
     | 
| 
      
 179 
     | 
    
         
            +
               ([#issue/38](http://github.com/RubyMoney/money/issue/38))
         
     | 
| 
      
 180 
     | 
    
         
            +
             - Fixed issue related to JRuby returning 2 for Math.log10(1000).floor instead
         
     | 
| 
      
 181 
     | 
    
         
            +
               of correctly returning 3.
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
            Money 3.1.5
         
     | 
| 
      
 184 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 185 
     | 
    
         
            +
             
     | 
| 
      
 186 
     | 
    
         
            +
            Features
         
     | 
| 
      
 187 
     | 
    
         
            +
            --------
         
     | 
| 
      
 188 
     | 
    
         
            +
             - Added support for creating objects with the main monetary unit instead of
         
     | 
| 
      
 189 
     | 
    
         
            +
               cents.
         
     | 
| 
      
 190 
     | 
    
         
            +
               ([#issue/25](http://github.com/RubyMoney/money/issues/25))
         
     | 
| 
      
 191 
     | 
    
         
            +
             - Deprecated `Money#format` with separate params instead of Hash. Deprecation
         
     | 
| 
      
 192 
     | 
    
         
            +
               target set to Money 3.5.0.
         
     | 
| 
      
 193 
     | 
    
         
            +
               ([#issue/31](http://github.com/RubyMoney/money/issues/31))
         
     | 
| 
      
 194 
     | 
    
         
            +
             - Deprecated `Money#new(0, :currency => "EUR")` in favor of
         
     | 
| 
      
 195 
     | 
    
         
            +
               `Money#new(0, "EUR")`. Deprecation target set to Money 3.5.0.
         
     | 
| 
      
 196 
     | 
    
         
            +
               ([#issue/31](http://github.com/RubyMoney/money/issues/31))
         
     | 
| 
      
 197 
     | 
    
         
            +
             - Throw ArgumentError when trying to multiply two Money objects together.
         
     | 
| 
      
 198 
     | 
    
         
            +
               ([#issue/29](http://github.com/RubyMoney/money/issues/29))
         
     | 
| 
      
 199 
     | 
    
         
            +
             - Update Money#parse to use :subunit_to_unit
         
     | 
| 
      
 200 
     | 
    
         
            +
               ([#issue/30](http://github.com/RubyMoney/money/issues/30))
         
     | 
| 
      
 201 
     | 
    
         
            +
             
     | 
| 
      
 202 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 203 
     | 
    
         
            +
            --------
         
     | 
| 
      
 204 
     | 
    
         
            +
             - Downgraded required_rubygems_version to >= 1.3.6.
         
     | 
| 
      
 205 
     | 
    
         
            +
               ([#issue/26](http://github.com/RubyMoney/money/issues/26))
         
     | 
| 
      
 206 
     | 
    
         
            +
             - Use BigDecimal when floating point calculations are needed.
         
     | 
| 
      
 207 
     | 
    
         
            +
             - Ruby 1.9.2 compatibility enhancements.
         
     | 
| 
      
 208 
     | 
    
         
            +
             
     | 
| 
      
 209 
     | 
    
         
            +
             
     | 
| 
      
 210 
     | 
    
         
            +
            Money 3.1.0
         
     | 
| 
      
 211 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
            Features
         
     | 
| 
      
 214 
     | 
    
         
            +
            --------
         
     | 
| 
      
 215 
     | 
    
         
            +
             - Implemented `Money::Bank::Base`.
         
     | 
| 
      
 216 
     | 
    
         
            +
               ([#issue/14](http://github.com/RubyMoney/money/issues/14))
         
     | 
| 
      
 217 
     | 
    
         
            +
             - Added `Money::Bank::Base#exchange_with`.
         
     | 
| 
      
 218 
     | 
    
         
            +
             - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
         
     | 
| 
      
 219 
     | 
    
         
            +
               3.2.0.
         
     | 
| 
      
 220 
     | 
    
         
            +
             - Implented `Money::Bank::VariableExchange`
         
     | 
| 
      
 221 
     | 
    
         
            +
             - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
         
     | 
| 
      
 222 
     | 
    
         
            +
               3.2.0.
         
     | 
| 
      
 223 
     | 
    
         
            +
             - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
         
     | 
| 
      
 224 
     | 
    
         
            +
               Deprecation target set to Money 3.2.0.
         
     | 
| 
      
 225 
     | 
    
         
            +
               ([#issue/16](http://github.com/RubyMoney/money/issues/16))
         
     | 
| 
      
 226 
     | 
    
         
            +
             - Implemented `#has` for `Money` and `Money::Currency`.
         
     | 
| 
      
 227 
     | 
    
         
            +
             - Refactored test suite to conform to RSpec conventions.
         
     | 
| 
      
 228 
     | 
    
         
            +
             - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
         
     | 
| 
      
 229 
     | 
    
         
            +
               [RubyMoney](http://github.com/RubyMoney)
         
     | 
| 
      
 230 
     | 
    
         
            +
             - Added Simone Carletti to list of authors.
         
     | 
| 
      
 231 
     | 
    
         
            +
             - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
         
     | 
| 
      
 232 
     | 
    
         
            +
               `Money::Bank::Base`.
         
     | 
| 
      
 233 
     | 
    
         
            +
               ([#issue/18](http://github.com/RubyMoney/money/issues/18))
         
     | 
| 
      
 234 
     | 
    
         
            +
             - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
         
     | 
| 
      
 235 
     | 
    
         
            +
               ([#issue/19](http://github.com/RubyMoney/money/issues/19))
         
     | 
| 
      
 236 
     | 
    
         
            +
             - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
         
     | 
| 
      
 237 
     | 
    
         
            +
               of Currency Exchange Implementations.
         
     | 
| 
      
 238 
     | 
    
         
            +
             - Added `#export_rates` to `Money::Bank::VariableExchange`.
         
     | 
| 
      
 239 
     | 
    
         
            +
               ([#issue/21](http://github.com/RubyMoney/money/issues/21))
         
     | 
| 
      
 240 
     | 
    
         
            +
             - Added `#import_rates` to `Money::Bank::VariableExchange`.
         
     | 
| 
      
 241 
     | 
    
         
            +
               ([#issue/21](http://github.com/RubyMoney/money/issues/21))
         
     | 
| 
      
 242 
     | 
    
         
            +
             - Removed dependency on Jeweler.
         
     | 
| 
      
 243 
     | 
    
         
            +
             - Replaced usage of hanna with yardoc.
         
     | 
| 
      
 244 
     | 
    
         
            +
             - Rewrote/reformatted all documentation.
         
     | 
| 
      
 245 
     | 
    
         
            +
             
     | 
| 
      
 246 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 247 
     | 
    
         
            +
            --------
         
     | 
| 
      
 248 
     | 
    
         
            +
             - Fixed incorrect URLs in documentation.
         
     | 
| 
      
 249 
     | 
    
         
            +
               ([#issue/17](http://github.com/RubyMoney/money/issues/17))
         
     | 
| 
      
 250 
     | 
    
         
            +
             - Updated `:subunit_to_unit` for HKD from 10 to 100.
         
     | 
| 
      
 251 
     | 
    
         
            +
               ([#issue/20](http://github.com/RubyMoney/money/issues/20))
         
     | 
| 
      
 252 
     | 
    
         
            +
             - Updated Ghanaian Cedi to use correct ISO Code, GHS.
         
     | 
| 
      
 253 
     | 
    
         
            +
               ([#issue/22](http://github.com/RubyMoney/money/issues/22))
         
     | 
| 
      
 254 
     | 
    
         
            +
             - Make `default` rake task call `spec`.
         
     | 
| 
      
 255 
     | 
    
         
            +
               ([#issue/23](http://github.com/RubyMoney/money/issues/23))
         
     | 
| 
      
 256 
     | 
    
         
            +
             
     | 
| 
      
 257 
     | 
    
         
            +
            Money 3.1.0.pre3
         
     | 
| 
      
 258 
     | 
    
         
            +
            ================
         
     | 
| 
      
 259 
     | 
    
         
            +
             
     | 
| 
      
 260 
     | 
    
         
            +
            Features
         
     | 
| 
      
 261 
     | 
    
         
            +
            --------
         
     | 
| 
      
 262 
     | 
    
         
            +
             - Added [google_currency](http://github.com/RubyMoney/google_currency) to list
         
     | 
| 
      
 263 
     | 
    
         
            +
               of Currency Exchange Implementations.
         
     | 
| 
      
 264 
     | 
    
         
            +
             - Added `#export_rates` to `Money::Bank::VariableExchange`.
         
     | 
| 
      
 265 
     | 
    
         
            +
               ([#issue/21](http://github.com/RubyMoney/money/issues/21))
         
     | 
| 
      
 266 
     | 
    
         
            +
             - Added `#import_rates` to `Money::Bank::VariableExchange`.
         
     | 
| 
      
 267 
     | 
    
         
            +
               ([#issue/21](http://github.com/RubyMoney/money/issues/21))
         
     | 
| 
      
 268 
     | 
    
         
            +
             
     | 
| 
      
 269 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 270 
     | 
    
         
            +
            --------
         
     | 
| 
      
 271 
     | 
    
         
            +
             - Updated `:subunit_to_unit` for HKD from 10 to 100.
         
     | 
| 
      
 272 
     | 
    
         
            +
               ([#issue/20](http://github.com/RubyMoney/money/issues/20))
         
     | 
| 
      
 273 
     | 
    
         
            +
             
     | 
| 
      
 274 
     | 
    
         
            +
            Money 3.1.0.pre2
         
     | 
| 
      
 275 
     | 
    
         
            +
            ================
         
     | 
| 
      
 276 
     | 
    
         
            +
             
     | 
| 
      
 277 
     | 
    
         
            +
            Features
         
     | 
| 
      
 278 
     | 
    
         
            +
            --------
         
     | 
| 
      
 279 
     | 
    
         
            +
             - Moved `@rounding_method` from `Money::Bank::VariableExchange` to
         
     | 
| 
      
 280 
     | 
    
         
            +
               `Money::Bank::Base`.
         
     | 
| 
      
 281 
     | 
    
         
            +
               ([#issue/18](http://github.com/RubyMoney/money/issues/18))
         
     | 
| 
      
 282 
     | 
    
         
            +
             - Added `#setup` to `Money::Bank::Base`. Called from `#initialize`.
         
     | 
| 
      
 283 
     | 
    
         
            +
               ([#issue/19](http://github.com/RubyMoney/money/issues/19))
         
     | 
| 
      
 284 
     | 
    
         
            +
             
     | 
| 
      
 285 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 286 
     | 
    
         
            +
            --------
         
     | 
| 
      
 287 
     | 
    
         
            +
             - Fixed incorrect URLs in documentation.
         
     | 
| 
      
 288 
     | 
    
         
            +
               ([#issue/17](http://github.com/RubyMoney/money/issues/17))
         
     | 
| 
      
 289 
     | 
    
         
            +
             
     | 
| 
      
 290 
     | 
    
         
            +
            Money 3.1.0.pre1
         
     | 
| 
      
 291 
     | 
    
         
            +
            ================
         
     | 
| 
      
 292 
     | 
    
         
            +
             
     | 
| 
      
 293 
     | 
    
         
            +
            Features
         
     | 
| 
      
 294 
     | 
    
         
            +
            --------
         
     | 
| 
      
 295 
     | 
    
         
            +
             - Implemented `Money::Bank::Base`.
         
     | 
| 
      
 296 
     | 
    
         
            +
               ([#issue/14](http://github.com/RubyMoney/money/issues/14))
         
     | 
| 
      
 297 
     | 
    
         
            +
             - Added `Money::Bank::Base#exchange_with`.
         
     | 
| 
      
 298 
     | 
    
         
            +
             - Deprecated `Money::Bank::Base#exchange`. Deprecation target set to Money
         
     | 
| 
      
 299 
     | 
    
         
            +
               3.2.0.
         
     | 
| 
      
 300 
     | 
    
         
            +
             - Implented `Money::Bank::VariableExchange`
         
     | 
| 
      
 301 
     | 
    
         
            +
             - Deprecated `Money::VariableExchangeBank`. Deprecation target set to Money
         
     | 
| 
      
 302 
     | 
    
         
            +
               3.2.0.
         
     | 
| 
      
 303 
     | 
    
         
            +
             - Deprecate `Money::SYMBOLS`, `Money::SEPARATORS` and `Money::DELIMITERS`.
         
     | 
| 
      
 304 
     | 
    
         
            +
               Deprecation target set to Money 3.2.0.
         
     | 
| 
      
 305 
     | 
    
         
            +
               ([#issue/16](http://github.com/RubyMoney/money/issues/16))
         
     | 
| 
      
 306 
     | 
    
         
            +
             - Implemented `#has` for `Money` and `Money::Currency`.
         
     | 
| 
      
 307 
     | 
    
         
            +
             - Refactored test suite to conform to RSpec conventions.
         
     | 
| 
      
 308 
     | 
    
         
            +
             - Moved project from [FooBarWidget](http://github.com/FooBarWidget) to
         
     | 
| 
      
 309 
     | 
    
         
            +
               [RubyMoney](http://github.com/RubyMoney)
         
     | 
| 
      
 310 
     | 
    
         
            +
             - Added Simone Carletti to list of authors.
         
     | 
| 
      
 311 
     | 
    
         
            +
             
     | 
| 
      
 312 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 313 
     | 
    
         
            +
            --------
         
     | 
| 
      
 314 
     | 
    
         
            +
             - Fixed rounding error in `Numeric#to_money`.
         
     | 
| 
      
 315 
     | 
    
         
            +
               ([#issue/15](http://github.com/RubyMoney/money/issues/15))
         
     | 
| 
      
 316 
     | 
    
         
            +
             
     | 
| 
      
 317 
     | 
    
         
            +
            Money 3.0.5
         
     | 
| 
      
 318 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 319 
     | 
    
         
            +
             
     | 
| 
      
 320 
     | 
    
         
            +
            Features
         
     | 
| 
      
 321 
     | 
    
         
            +
            --------
         
     | 
| 
      
 322 
     | 
    
         
            +
             - Added `Money#abs`.
         
     | 
| 
      
 323 
     | 
    
         
            +
             - Added ability to pass a block to `VariableExchangeBank#new` or `#exchange`,
         
     | 
| 
      
 324 
     | 
    
         
            +
               specifying a custom truncation method
         
     | 
| 
      
 325 
     | 
    
         
            +
             - Added optional `currency` argument to` Numeric#to_money`.
         
     | 
| 
      
 326 
     | 
    
         
            +
               ([#issue/11](http://github.com/RubyMoney/money/issues/11))
         
     | 
| 
      
 327 
     | 
    
         
            +
             - Added optional `currency` argument to `String#to_money`.
         
     | 
| 
      
 328 
     | 
    
         
            +
               ([#issue/11](http://github.com/RubyMoney/money/issues/11))
         
     | 
| 
      
 329 
     | 
    
         
            +
             - Use '¤' as the default currency symbol.
         
     | 
| 
      
 330 
     | 
    
         
            +
               ([#issue/10](http://github.com/RubyMoney/money/issues/10))
         
     | 
| 
      
 331 
     | 
    
         
            +
             
     | 
| 
      
 332 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 333 
     | 
    
         
            +
            --------
         
     | 
| 
      
 334 
     | 
    
         
            +
             - Updated `Currency#subunit_to_unit` documentation (it's an integer not a
         
     | 
| 
      
 335 
     | 
    
         
            +
               string).
         
     | 
| 
      
 336 
     | 
    
         
            +
             - Fixed issue when exchanging currencies with different `:subunit_to_unit`
         
     | 
| 
      
 337 
     | 
    
         
            +
               values.
         
     | 
| 
      
 338 
     | 
    
         
            +
             - `Numeric#to_money` now respects `:subunit_to_unit`.
         
     | 
| 
      
 339 
     | 
    
         
            +
               ([#issue/12](http://github.com/RubyMoney/money/issues/12))
         
     | 
| 
      
 340 
     | 
    
         
            +
             
     | 
| 
      
 341 
     | 
    
         
            +
            Money 3.0.4
         
     | 
| 
      
 342 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 343 
     | 
    
         
            +
             
     | 
| 
      
 344 
     | 
    
         
            +
            Features
         
     | 
| 
      
 345 
     | 
    
         
            +
            --------
         
     | 
| 
      
 346 
     | 
    
         
            +
             - Use `:subunit_to_unit` in `#to_s`, `#to_f` and `#format`.
         
     | 
| 
      
 347 
     | 
    
         
            +
             - Deprecated `Money#SEPARATORS` and `Money#DELIMITERS`.
         
     | 
| 
      
 348 
     | 
    
         
            +
             
     | 
| 
      
 349 
     | 
    
         
            +
            Bugfixes
         
     | 
| 
      
 350 
     | 
    
         
            +
            --------
         
     | 
| 
      
 351 
     | 
    
         
            +
             - Updated `#exchange` to avoid floating point rounding errors.
         
     | 
| 
      
 352 
     | 
    
         
            +
             - Added `:separator` and `:delimiter` to `Currency`
         
     | 
| 
      
 353 
     | 
    
         
            +
             - Updated the attributes of the Chilean Peso.
         
     | 
| 
      
 354 
     | 
    
         
            +
             
     | 
| 
      
 355 
     | 
    
         
            +
            Money 3.0.3
         
     | 
| 
      
 356 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 357 
     | 
    
         
            +
             
     | 
| 
      
 358 
     | 
    
         
            +
            Features
         
     | 
| 
      
 359 
     | 
    
         
            +
            --------
         
     | 
| 
      
 360 
     | 
    
         
            +
             - Added `#currency_as_string` and `#currency_as_string=` for easier
         
     | 
| 
      
 361 
     | 
    
         
            +
               integration with ActiveRecord/Rails
         
     | 
| 
      
 362 
     | 
    
         
            +
             
     | 
| 
      
 363 
     | 
    
         
            +
            Money 3.0.2
         
     | 
| 
      
 364 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 365 
     | 
    
         
            +
             
     | 
| 
      
 366 
     | 
    
         
            +
            Features
         
     | 
| 
      
 367 
     | 
    
         
            +
            --------
         
     | 
| 
      
 368 
     | 
    
         
            +
             - Added `#div`, `#divmod`, `#modulo`, `#%` and `#remainder` to `Money`.
         
     | 
| 
      
 369 
     | 
    
         
            +
             
     | 
| 
      
 370 
     | 
    
         
            +
            Money 3.0.1
         
     | 
| 
      
 371 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 372 
     | 
    
         
            +
             
     | 
| 
      
 373 
     | 
    
         
            +
            Features
         
     | 
| 
      
 374 
     | 
    
         
            +
            --------
         
     | 
| 
      
 375 
     | 
    
         
            +
             - Added `#eql?` to `Money`
         
     | 
| 
      
 376 
     | 
    
         
            +
             - Updated `Numeric#to_money` to work with all children of `Numeric` (i.e.
         
     | 
| 
      
 377 
     | 
    
         
            +
               `BigDecimal`, `Integer`, `Fixnum`, `Float`, etc)
         
     | 
| 
      
 378 
     | 
    
         
            +
             
     | 
| 
      
 379 
     | 
    
         
            +
            Money 3.0.0
         
     | 
| 
      
 380 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 381 
     | 
    
         
            +
             
     | 
| 
      
 382 
     | 
    
         
            +
            Features
         
     | 
| 
      
 383 
     | 
    
         
            +
            --------
         
     | 
| 
      
 384 
     | 
    
         
            +
             - Version Bump due to compatibility changes with ActiveRecord. See
         
     | 
| 
      
 385 
     | 
    
         
            +
               conversation
         
     | 
| 
      
 386 
     | 
    
         
            +
               [here](http://github.com/RubyMoney/money/issues#issue/4/comment/224880)
         
     | 
| 
      
 387 
     | 
    
         
            +
               for more information.
         
     | 
| 
      
 388 
     | 
    
         
            +
             
     | 
| 
      
 389 
     | 
    
         
            +
            Money 2.3.0
         
     | 
| 
      
 390 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 391 
     | 
    
         
            +
             
     | 
| 
      
 392 
     | 
    
         
            +
            Features
         
     | 
| 
      
 393 
     | 
    
         
            +
            --------
         
     | 
| 
      
 394 
     | 
    
         
            +
             - Currency is now represented by a `Currency` Object instead of a `String`.
         
     | 
| 
      
 395 
     | 
    
         
            +
             
     | 
| 
      
 396 
     | 
    
         
            +
            Money 2.2.0
         
     | 
| 
      
 397 
     | 
    
         
            +
            ===========
         
     | 
| 
      
 398 
     | 
    
         
            +
             
     | 
| 
      
 399 
     | 
    
         
            +
            Features
         
     | 
| 
      
 400 
     | 
    
         
            +
            --------
         
     | 
| 
      
 401 
     | 
    
         
            +
             - Can now divide two Money objects by one another using `#/`.
         
     | 
| 
      
 402 
     | 
    
         
            +
             - Can now convert a Money object to a float using `#to_f`.
         
     | 
| 
      
 403 
     | 
    
         
            +
             - Users can now specify Separators and Delimiters when using `#format`.
         
     | 
| 
      
 404 
     | 
    
         
            +
             - Support for Brazilian Real `Money.new(1_00, :BRL)`
         
     | 
| 
      
 405 
     | 
    
         
            +
             - Migrated to Jeweler
         
     |