Closed schinery closed 9 months ago
Not sure why, but this PR is getting the following failure in the ruby-head tests for ./spec/processing/rmagick_spec.rb:248
.
expected NoMethodError with message matching /private method `foo=' called/, got #<NoMethodError: private method 'foo=' called for an instance of Magick::Image::Info> with backtrace:
Doesn't seem to be related to these changes, but flagging anyway.
@schinery the test failure in ruby-head is because of https://bugs.ruby-lang.org/issues/16495
In spec/processing/rmagick_spec.rb line 258, change:
/private method `foo=' called/
to:
/private method .foo=. called/
That will handle the quoting change.
@BrianHawley that did the trick 👍🏻
I would vote not not move from one private constant to another
Nice work everyone!
Thank you for the fix!
@mshibuya any chance for a new release soon?
This commit of the Marcel gem, which has just shipped in version 1.0.3, breaks Carrierwave as the
Marcel::TYPES
constant used here has been removed.This PR is to switch to using
Marcel::Magic.new(content_type).extensions
to return the extensions and not use constants.