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

Warning: Proc.new is deprecated; use &block instead #151

Open
sonjz opened this issue Jul 2, 2020 · 1 comment
Open

Warning: Proc.new is deprecated; use &block instead #151

sonjz opened this issue Jul 2, 2020 · 1 comment

Comments

@sonjz
Copy link

sonjz commented Jul 2, 2020

Haven't seen activity on this since 2015, but if interested, a deprecated warning has emerged in ruby 2.7

/Users/user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/picky-4.31.3/lib/picky/index.rb:128: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
(__FORWARDING__):1: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/picky-4.31.3/lib/picky/category_realtime.rb:14: warning: The called method `add' is defined here
@phlegx
Copy link

phlegx commented Sep 8, 2022

@sonjz have you found a solution or alternative?

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

No branches or pull requests

2 participants