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

Fix Ruby 2.7 deprecations #1989

Merged
merged 3 commits into from
Dec 26, 2020
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Dec 25, 2020

What is this pull request for?

Separate positional and keyword arguments. In Ruby 2.7 this is deprecated and it will be removed in Ruby 3.0.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

In Ruby 2.7 this is deprecated and it will be removed in Ruby 3.0
The last argument was meant to be the attribute that is fixed.
Now that we updated Alchemy.t for Ruby 2.7 positional and named
arguments this was rightfully failing with an ArgumentError.
@tvdeyen tvdeyen added this to the 5.2 milestone Dec 25, 2020
@tvdeyen tvdeyen merged commit eaf4f94 into AlchemyCMS:main Dec 26, 2020
@tvdeyen tvdeyen deleted the fix-ruby-2.7-deprecations branch December 26, 2020 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant