Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 7 #872

Closed
wants to merge 30 commits into from
Closed

Version 7 #872

wants to merge 30 commits into from

Conversation

antstorm
Copy link
Contributor

@antstorm antstorm commented Jun 12, 2019

This PR is for tracking progress on releasing version 7.

This release comes with a couple of breaking changes:

  • Dropping support for older rubies (< 2.3)
  • .eql? no longer returns true when comparing different currency money object
  • Removing all the deprecated formatting options
  • Changing default locale backend to :currency
  • Changing default currency to nil
  • Changing default rounding mode to ROUND_HALF_UP

Here's the list of outstanding tasks for the release:

  • Update README to reflect all the changes
  • Mention all the breaking changes in the README
  • Add a post_install message linking to the new section in README
  • Loose I18n dependency
  • Fix rbx specs
  • Change the default locale_backend to nil
  • Raise error when initializing Money without a currency and no default set

@coveralls
Copy link

coveralls commented Jun 12, 2019

Coverage Status

Coverage decreased (-0.1%) to 99.815% when pulling 048f70b on v7_new into 3e14ac4 on master.

orien and others added 22 commits July 4, 2020 22:25
This is fully replaced with :format option
This is fully replaced by :format option
This is fully replaced by :format option
Money.locale_backend = :i18n should be used instead
)

* Switch default rounding mode to ROUND_HALF_UP

* Update references to the former default rounding mode
* Remove version locks for ruby < 2.3

* Drop jruby 9.0.x (ruby 2.2 equivalent) support
* Allow running specs without I18n

* Exclude i18n specs from rbx

* Disallow rbx failures
* Make spacing part of currency rules when symbol proceed the ammount

* Add :symbol_with_space attribute to CHF currency in currency config
  file.
* Initialize symbol_with_space instance variable for currency objecti
  with default value false.
* Set '%u %n' format in rules if symbol_with_space value is true for a
  currency
* Add test cases to cover the change.

* Depricating symbol_first and symbol_with_space options.

* Cofigure format attribute to define formating rule for a currency.
* Initialize and use format to format symbol and value of a currency.
* Remove symbol_first and symbol_with_space related code.

* Replace symbol_first attribute with format in spec files.
…er (#950)

* Raise expception when default currency is not set or passed as parameter

* Raise DefaultCurrencyNotSetOrPassed exception.
* After checking default currency this exception is raised.

* Raise the exception in initializer.

* Fix all the test cases by passing currency.
Left few test cases to get clarification.

* Fix the tests and add test case to test DefaultCurrencyNotSet exception.
@semmons99 semmons99 closed this Feb 27, 2021
@AlexWayfer
Copy link
Contributor

@semmons99 closed this 8 days ago

Why?!

@semmons99
Copy link
Member

had not been touched in nearly six months. we prefer not to leave dormant branches. if someone wants to take this over the finish line, happy to see it reopened.

@AlexWayfer
Copy link
Contributor

had not been touched in nearly six months. we prefer not to leave dormant branches. if someone wants to take this over the finish line, happy to see it reopened.

Maybe I'm ready to, but I need a time to investigate changes. The main person with which I was involved is @antstorm, is they OK?

@antstorm
Copy link
Contributor Author

antstorm commented Mar 6, 2021

@AlexWayfer hey, all good, just very short on time. I'll start splitting these commits one into smaller PRs. Too much was packed into a single release here

@AlexWayfer
Copy link
Contributor

@AlexWayfer hey, all good, just very short on time. I'll start splitting these commits one into smaller PRs. Too much was packed into a single release here

OK, thank you, I'll try to watch them!

@MorneL
Copy link

MorneL commented Jan 25, 2022

@antstorm @semmons99 what ended up happening with this release? We'd love to have the functionality to change format: '%n %u' per locale. Are there any stable releases including this change?

@semmons99
Copy link
Member

no one went back and took ownership to make this reviewable and shippable. you are welcome to extract the key piece you desire and submit it as a PR that can be reviewed, merged, and shipped independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants