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

Require Ruby 3.1 and fix bigdecimal requirement #1087

Merged

Conversation

tagliala
Copy link
Contributor

@tagliala tagliala commented Mar 13, 2024

Set minimum Ruby version to 3.1

Drop all EOL Ruby versions

Close #1086


Remove conditional on bigdecimal

  • bigdecimal installs and works fine on all supported ruby versions
  • The condition was checking for ruby version to be greater than 6.19,
    which will not happen soon
  • The condition is also evaluated on rubygems, and it is not correct

Close #1085

@tagliala
Copy link
Contributor Author

@semmons99 failures depends by the fact that i18n does not set a minimum required ruby version and is using a non-compatible version on specs.

I can fix it with the Gemfile, or I can set the minimum version to 2.5 (or even newer)

@tagliala tagliala force-pushed the chore/1085-1086-bigdecimal-ruby-version branch from 5e52bba to cf74627 Compare March 13, 2024 15:47
@semmons99
Copy link
Member

semmons99 commented Mar 13, 2024 via email

@tagliala
Copy link
Contributor Author

tagliala commented Mar 13, 2024

I do not like dropping compatibility just for sake of dropping compatibility, but given that 2.7 is in EOL since Mar 2023 an 3.0 will EOL in 2 weeks, I would drop anything below 2.7

@semmons99
Copy link
Member

semmons99 commented Mar 13, 2024 via email

@tagliala tagliala force-pushed the chore/1085-1086-bigdecimal-ruby-version branch from cf74627 to f5c46fc Compare March 13, 2024 16:27
@tagliala
Copy link
Contributor Author

Much better, will do that

Drop all EOL Ruby versions

Close RubyMoney#1086
- bigdecimal installs and works fine on all supported ruby versions
- The condition was checking for ruby version to be greater than 6.19,
  which will not happen soon
- The condition is also evaluated on `rubygems`, and it is not correct

Close RubyMoney#1085
@tagliala tagliala force-pushed the chore/1085-1086-bigdecimal-ruby-version branch from f5c46fc to 815b618 Compare March 13, 2024 16:28
@tagliala tagliala changed the title Chore/1085 1086 bigdecimal ruby version Require Ruby 3.1 and fix bigdecimal requirement Mar 13, 2024
@tagliala tagliala marked this pull request as ready for review March 13, 2024 16:29
@tagliala
Copy link
Contributor Author

This should be fixed by an admin in Settings => Branches => Branch protection rules

image

@semmons99
Copy link
Member

fixed. merging.

@semmons99 semmons99 merged commit 3a45a68 into RubyMoney:main Mar 13, 2024
4 checks passed
@tagliala tagliala deleted the chore/1085-1086-bigdecimal-ruby-version branch March 13, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants