Proc.new is deprecated
navid-farjad opened this issue · 5 comments
navid-farjad commented
iam facing very annoying warning:
/.rvm/gems/ruby-2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use &block
instead
It's all over the console for every call. please let me know how can I fix it.
Rails 6.0.3.2
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
Thank you
hasannadeem commented
I'm having the same issue. 😞
chaoxng commented
BryanH commented
Thanks for the PRs - I am working on merging
BryanH commented
Fixed with latest PR. I'll cut a new version after more cleanup
ashleyconnor commented
Any ETA on 1.9.0
being published on rubygems?
Edit: Apologies. Never spotted this: #399