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 kwargs usage for Ruby 2.7 #484

Merged
merged 1 commit into from Mar 28, 2020

Conversation

aubinlrx
Copy link
Contributor

This PR intend to fix a deprecation warning on Ruby 2.7. The method cache_fragment_name take keyword arguments. Since Ruby 2.7 a deprecation warning is diplayed when calling this method.

source: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

@kaspth kaspth merged commit 5a314bd into rails:master Mar 28, 2020
@kaspth
Copy link
Contributor

kaspth commented Mar 28, 2020

Thanks!

@bishwahang
Copy link

Hello @kaspth, when will this fix be released as new version of gem?
Thank you.

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.

None yet

3 participants