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

Capturing the given block using Kernel#proc is deprecated #115

Open
caramdache opened this issue Apr 17, 2020 · 1 comment
Open

Capturing the given block using Kernel#proc is deprecated #115

caramdache opened this issue Apr 17, 2020 · 1 comment
Assignees
Labels

Comments

@caramdache
Copy link

The following code will generate the warning below:

worksheet._images.each {|i| puts i}
/usr/local/lib/ruby/gems/2.7.0/gems/pycall-1.3.0/lib/pycall/list.rb:18: warning: Capturing the given block using Kernel#proc is deprecated; use `&block` instead
@caramdache
Copy link
Author

It seems this has been fixed in 1.3.1, but gem install -v 1.3.1 will not find it.

@mrkn mrkn self-assigned this Apr 22, 2020
@mrkn mrkn added the bug label Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants