File rubygem-money.changes of Package rubygem-money
-------------------------------------------------------------------
Fri Jun 21 10:15:26 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## Upcoming
-
## 6.19.0
- Change Peruvian Sol (PEN) decimal mark and thousands separator.
- Improves Precision and Simplifies Allocation Logic
- explicit declaration of i18n locales
- Add space to CHF format
- Update deprecation message to suggest correct formatting.
## 6.18.0
- Add second dobra (STN) from São Tomé and Príncipe
- Correct South African Rand (ZAR) to use comma decimal mark, and space thousands separator
- Use euro symbol as html_entity for euro currency
- Update Georgian Lari symbol
- Add Ruby 3.1 and 3.2 to the CI matrix
- Add `Money.from_dollars` alias as a more explicit initializer, it's the same as `Money.from_amount`
- Mark Croatian Kuna (HRK) as obsolete by moving its definition to the backwards compatibility data source
## 6.17.0
- Allow true for `thousands_separator`
-------------------------------------------------------------------
Thu Jun 24 17:38:11 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 6.16.0
see installed CHANGELOG.md
-------------------------------------------------------------------
Wed Jan 20 12:56:53 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 6.14.0
see installed CHANGELOG.md
## 6.13.9
- Fix edgecase for Money#allocate when applying to array of all zero values
-------------------------------------------------------------------
Mon Jul 13 14:56:40 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 6.13.8
* Update symbol for XOF
* Update UYU currency symbol
* Allow double conversion using same bank
* Warn when using unsafe serializer for rate import
* Move Icelandic symbol after the amount
-------------------------------------------------------------------
Mon Jan 27 12:26:01 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 6.13.7
* Improve deprecation warnings for the upcoming major release
-------------------------------------------------------------------
Sat Dec 14 00:33:30 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 6.13.6
* Fix a regression introduced in 6.13.5 that broken RatesStore::Memory subclasses
## 6.13.5
* Raise warning on using Money.default_currency
* Raise warning on using default Money.rounding_mode
* Add Second Ouguiya MRU 929 to currency iso file
* Add symbol for UZS
* Use monitor for recursive mutual exclusion in RatesStore::Memory
* Allow passing store as a string to Money::Bank::VariableExchange (to support Rails 6)
-------------------------------------------------------------------
Mon Jul 8 07:18:51 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 6.13.4
* Update currency config for Zambian Kwacha (ZMW)
* Do not modify options passed to FormattingRules
-------------------------------------------------------------------
Sun May 5 09:35:16 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 6.13.3
see installed CHANGELOG.md
## 6.13.3
- Remove specs from the packaged gem
- Use Currency::Loader directly without extending
- Add Money.with_rounding_mode as a replacement for calling Money.roudning_mode with a block
- Fix currency search for two digit ISO numbers
- Add description to TypeError raised by +/- operations
-------------------------------------------------------------------
Mon Jan 14 13:47:01 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 6.13.2
see installed CHANGELOG.md
## 6.13.2
- Prevent Money initialization with non-finite amounts
- Convert the fractional value of a Money object to BigDecimal when initializing
- Offer replacements for currency position deprecations
- Fix Peruvian Sol symbol
- Lock i18n to <= 1.2.0 for older (< 2.3) rubies
- Prevent Divide By Zero in `Money#allocate`
-------------------------------------------------------------------
Mon Jan 14 08:11:55 UTC 2019 - mschnitzer@suse.com
- updated to version 6.13.2
* Prevent Money initialization with non-finite amounts
* Convert the fractional value of a Money object to BigDecimal when initializing
* Offer replacements for currency position deprecations
* Fix Peruvian Sol symbol
* Lock i18n to <= 1.2.0 for older (< 2.3) rubies
* Prevent Divide By Zero in `Money#allocate`
-------------------------------------------------------------------
Mon Oct 29 06:34:56 UTC 2018 - mschnitzer@suse.com
- updated to version 6.13.1
* Add bolívar soberano (VES)
* Deprecate bolívar fuerte (VEF)
* Deprecate old `#format` rules passed as a symbol
* Clarify `use_i18n` deprecation
* Add `:currency` locale_backend for explicit per-currency localization
-------------------------------------------------------------------
Thu Jul 12 23:26:01 UTC 2018 - factory-auto@kulow.org
- updated to version 6.12.0
see installed CHANGELOG.md
## 6.12.0
- Remove caching of `.empty`/`.zero`
- Preserve assigned bank when rounding
- Always round the fractional part when calling `#round`
- Wrap all amount parts when `:html_wrap` option is used
- Deprecate `#currency_as_string` and `#currency_as_string=` (in favour of `#with_currency`)
- Add `#with_currency` for swapping the currency
- Rewrite allocate/split (fixing some penny loosing issues)
-------------------------------------------------------------------
Wed May 16 08:10:35 UTC 2018 - factory-auto@kulow.org
- updated to version 6.11.3
see installed CHANGELOG.md
## 6.11.3
- Fix regression: if enabled use i18n locales in Money#to_s
-------------------------------------------------------------------
Fri May 4 00:12:39 UTC 2018 - factory-auto@kulow.org
- updated to version 6.11.2
see installed CHANGELOG.md
## 6.11.2
- Fix regression: ignore formatting defaults for Money#to_s
## 6.11.1
- Fix issue with adding non-USD money to zero (used when calling `.sum` on an array)
-------------------------------------------------------------------
Mon Apr 30 21:14:37 UTC 2018 - factory-auto@kulow.org
- updated to version 6.11.1
see installed CHANGELOG.md
-------------------------------------------------------------------
Mon Apr 9 04:30:19 UTC 2018 - factory-auto@kulow.org
- updated to version 6.11.0
see installed CHANGELOG.md
## 6.11.0
- Support i18n 1.0
- Update yard dependency to 0.9.11
- Support for ruby 2.5.0
- Add inheritance for currency definitions
- Added new symbol for bitcoin denomination
- Specify custom rounding precision when using `infinite_precision`
- Allow splits with sums greater than 1
- Prevent arithmetic methods from loosing reference to the bank
- Fix coerced zero numeric subtraction
- Fix south asian formatting to support whole numbers
- Refactor formatting logic
-------------------------------------------------------------------
Tue Jan 9 07:35:59 UTC 2018 - coolo@suse.com
- updated to version 6.10.1
see installed CHANGELOG.md
## 6.10.1
- Fix an issue with Money.empty memoization
-------------------------------------------------------------------
Sun Dec 3 19:25:04 UTC 2017 - coolo@suse.com
- updated to version 6.10.0
see installed CHANGELOG.md
## 6.10.0
- Added support for i18n version 0.9
- Disabled rounding when verifying allocation splits
- Added Chinese Yuan Offshore (CNH)
- Fixed html_entity for ARS
- Fixed KZT symbol
- Allowed comparing cross currency when both are zero
- Fixed memory rate store
- Corrected HUF subunit and thousands separator config
-------------------------------------------------------------------
Tue May 23 10:03:54 UTC 2017 - coolo@suse.com
- updated to version 6.9.0
see installed CHANGELOG.md
## 6.9.0
- Extracted heuristics into money-heuristics gem
## 6.8.4
- Resolving NIO ambiguity with CAD
- Display the BBD $ symbol before digits
- Symbol first for NIO and PAB currencies
-------------------------------------------------------------------
Fri Apr 7 04:37:28 UTC 2017 - coolo@suse.com
- updated to version 6.8.3
see installed CHANGELOG.md
## 6.8.3
- Added support for the British Penny (GBX)
- Fixed LKR currency html_entity symbol
-------------------------------------------------------------------
Sat Mar 11 05:51:53 UTC 2017 - coolo@suse.com
- updated to version 6.8.2
see installed CHANGELOG.md
## 6.8.2
- Removed subunits for HUF
- Fixed `#from_amount` accepting `nil` as currency_code
- Relaxed i18n version (< 0.9)
- Set symbol for UZS
- Added disambiguate_symbol for XFU
- Fixed Peruvian Sol name
- Fixed symbol_first for VND (now `false`)
-------------------------------------------------------------------
Sat Jan 14 05:33:55 UTC 2017 - coolo@suse.com
- updated to version 6.8.1
see installed CHANGELOG.md
## 6.8.1
- Fixed issue with calling `format` on a frozen `Money` object
-------------------------------------------------------------------
Wed Jan 4 05:39:49 UTC 2017 - coolo@suse.com
- updated to version 6.8.0
see installed CHANGELOG.md
## 6.8.0
- Ruby 2.4.0 support
- Fixed UZS syntax
- Fixed HUF smallest denomination
- Fixed ruby 1.9 issues
- Fixed html entity for COP
- Updated all currency decimals to ISO-4217
- Fixed money allocation for negative amounts
- Fixed symbol_first for RON
- Fixed disambiguate option when symbol is set to true
- Fixed thousands separator for CZK
- Improved formatter performance by precaching I18n calls
-------------------------------------------------------------------
Mon May 9 04:41:50 UTC 2016 - coolo@suse.com
- updated to version 6.7.1
see installed CHANGELOG.md
## 6.7.1
- Changed DKK symbol from 'kr' to 'kr.'
- Improved Money::Formatting#format docs
- Updated VEF symbol from 'Bs F' to 'Bs'
- `Currency#exponent` now returns Fixnum
- Fixed coercion issues
- Fixed edge case with explicit override of thousands separator and decimal mark
- `Money#==` will now raise error for non-zero numeric values
- Fixed divmod
- Added disambiguation symbol to USD Dollar
-------------------------------------------------------------------
Sat Jan 16 05:45:38 UTC 2016 - coolo@suse.com
- updated to version 6.7.0
see installed CHANGELOG.md
-------------------------------------------------------------------
Tue Jul 28 04:30:13 UTC 2015 - coolo@suse.com
- updated to version 6.6.1
see installed CHANGELOG.md
TBD
## 6.6.0
-------------------------------------------------------------------
Wed Jul 15 04:30:08 UTC 2015 - coolo@suse.com
- updated to version 6.6.0
see installed CHANGELOG.md
- Fixed VariableExchange#exchange_with for big numbers.
- Add Currency symbol translation support
- `Currency.all` raises a more helpful error message
(`Currency::MissingAttributeError`)if a currency has no priority
-------------------------------------------------------------------
Tue Feb 10 18:06:03 UTC 2015 - coolo@suse.com
- updated to version 6.5.1
-------------------------------------------------------------------
Mon Oct 13 14:24:17 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Sun Apr 6 05:38:52 UTC 2014 - coolo@suse.com
- updated to version 6.1.1
- Remove deprecated methods.
- Fix issue with block form of rounding_mode.
-------------------------------------------------------------------
Mon Jan 20 09:29:43 UTC 2014 - coolo@suse.com
- updated to version 6.0.1
- Deprecated methods lists caller on print out for easier updating.
- Added support for Money::Currency#to_str and Money::Currency#to_sym
- Added ability to temporally change the rounding methond inside a given block
- Replaced parsing and core extensions with the monetize gem
-------------------------------------------------------------------
Fri Nov 22 08:40:34 UTC 2013 - coolo@suse.com
- updated to version 6.0.0
- Fix BTC subunit
- New option :sign_positive to add a + sign to positive numbers
- Only allow to multiply a money by a number (int, float)
- Fix typo
- Wrap the currency symbol in a span if :html is specified in the rules
- Added Money::Currency.all method
- Allow combined comparison operator to handle zero values without rates
- Added Money::Currency.unregister method
- Works on Ruby 1.8.7
- Update deps
- Depreciate Money.parse
- Passing :symbol => false when formatting 'JPY' currency in :ja locale
will work as expected
- Divide now obeys the specified rounding mode
- Add Money#round method. This is helpful when working in infinite_precision mode and would like to perform rounding at specific points in your work flow.
- In infinite precision mode, deserialized Money objects no longer return Float values from the `fractional` method.
- Changed `thousands_separator` for Swedish Krona from dot to blank space.
- Allow mathematical operations with first argument being not an instance of Money (eg. 2 * money instead of money * 2).
- Money#dollars and Money#amount methods return numbers of type BigDecimal.
- Change Money.from_bigdecimal (and in that way .to_money too) to keep precision when using `Money.infinite_precision = true`
- Add :rounded_infinite_precision option to .format
- Changed the New Taiwan Dollar symbol position from after the amount to before the amount.
- Passing a Money instance to the Money constructor will obtain a new Money object with the same property values as the original
- Add deprecation warning to comparators
- Add Money.disallow_currency_conversion! option
- Allow to inherits from `Money`
-------------------------------------------------------------------
Fri May 24 09:26:43 UTC 2013 - coolo@suse.com
- updated to version 5.1.1
- Added :sign_before_symbol option to format negative numbers as -£1 rather than £-1
- Ensure BigDecimal.new always receives a string - compatibility fix for ruby-1.9.2-p320
- Update Maldivian Currency to MVR and fix ރ. to be ރ
- Add exponent to currency
- Add find_numeric to find currencies by ISO 4217 numeric code.
- Fixed regression where thousands separator was missing on certain currencies. (GH-245)
- Added :symbol_before_without_space option to add a space between currency symbol and amount.
-------------------------------------------------------------------
Fri Dec 28 08:45:46 UTC 2012 - coolo@suse.com
- initial package (version 5.1.0)