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 deprecation warnings #1121

Merged
merged 1 commit into from
May 11, 2020

Conversation

terracatta
Copy link
Contributor

In Ruby 2.7 passing the last argument as an options hash if the receiver uses keyword arguments is no longer allowed and throws a warning.

This PR applies the recommended fix of adding ** to covert the options hash into the correct keyword arg format.

There may be more deprecation warnings to fix in other parts of the codebase but these were the ones that jumped out to me right away.

@foton
Copy link

foton commented May 11, 2020

I would like to see this merged. 👍

@scarroll32
Copy link
Member

Thank you for your contribution @terracatta

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.

3 participants