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

Convert optional keyword arg to options #2804

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

sonalkr132
Copy link
Member

Fixes:
/usr/local/bundle/gems/delayed_job-4.1.9/lib/delayed/performable_method.rb:26: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/lib/fastly.rb:10: warning: The called method `purge' is defined here

The warning is being raised because delayed_job does not support ruby 3. collectiveidea/delayed_job#1134

@sonalkr132 sonalkr132 requested a review from simi September 27, 2021 04:17
@sonalkr132
Copy link
Member Author

Should we go ahead with this or wait for delayed_job to officially support ruby 3? seem like it can be a while.

Fixes:
/usr/local/bundle/gems/delayed_job-4.1.9/lib/delayed/performable_method.rb:26: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/lib/fastly.rb:10: warning: The called method `purge' is defined here

The warning is being raised because delayed_job does not support ruby 3
@sonalkr132 sonalkr132 merged commit 418732a into rubygems:master Sep 27, 2021
@sonalkr132 sonalkr132 deleted the purge-opt-args branch September 27, 2021 08:45
@simi
Copy link
Member

simi commented Sep 27, 2021

I'm ok to move with this as is in this PR. Sadly, DJ seems not very well maintained.

@sonalkr132 sonalkr132 temporarily deployed to staging September 27, 2021 09:20 Inactive
@sonalkr132 sonalkr132 temporarily deployed to production September 27, 2021 11:49 Inactive
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.

2 participants