You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/alexander/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:56: warning: passing a block without an image argument is deprecated
The code that this error arises from:
#Returns an instance of Magick::Imagedefto_image(opts={})with_optionsoptsdob=background#Capture locally because Magick::Image.new block uses instance_evalcanvas=Magick::Image.new(full_width,full_height){self.background_color=b}
...
That said, I'm pretty sure this gem is no longer maintained by the author, and every other fork of it I've seen is equally ghosted. For what it's worth, the deprecation warning doesn't appear to be hurting anything, so if you can live with the annoyance, you're probably fine.
Beyond that, feel free to use my fork, (which has the fix), or fork it yourself and apply the fix, blah blah blah open source, etc. 😁
I keep on getting the following warning message:
The code that this error arises from:
My code:
The line that raises this error:
Can anyone suggest how I might amend my code to stop raising the deprecation warning? I scrutinised the documentation here but I couldn't work it out.
The text was updated successfully, but these errors were encountered: