Closed alec-c4 closed 3 years ago
Same problem here with Ruby 2.7.1p83 on Linux and macOS. It may seem like an minor issue, but it is hugely annoying in day to day operations. Please fix this and otherwise big thanks for this very useful Gem!
You could consider switching to https://github.com/amazing-print/amazing_print which is a maintained fork. The substitution is trivial.
it very easy to fix
# awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb # 113
def indented(&block)
inspector.increase_indentation(&block)
end
# awesome_print-1.8.0/lib/awesome_print/inspector.rb # 63
def increase_indentation(&block)
indentator.indent(&block)
end
but look like this repo is stop update ...
@csalvato prepared a PR (#392) that should solve this problem.
Fixed with latest PR
@BryanH Very good! When will this be release on RubyGems.org?
@tbsvttr Working on it - Travis is being very slow today; I have to wait for it to finish before I can cut an new release. Stay tuned!
Ruby 2.7 issues warnings for Proc.new without a block: