-
Notifications
You must be signed in to change notification settings - Fork 981
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
This fixes warnings on Ruby 2.7 #1009
Conversation
Ruby 2.7 issues warnings for `Proc.new` without a block: ``` warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ``` This patch converts the `Proc.new` calls in to `&block`
Connected with #989 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprise we still had Proc.new
laying around, I though they were all fixed in #962 🤔
Thanks for fixing the remaining ones 👍 !
This was merged in August and there's been a release since then in October, but it doesn't seem to contain these fixes. Can we get this released to the non- |
Ruby 2.7 issues warnings for
Proc.new
without a block:This patch converts the
Proc.new
calls in to&block