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
Thanks for reporting. I honestly didn't intend for it to work with actual boolean values, but it accidentally does work, and you're right that it should continue working. The error happens because Ruby 3.2 removed Object#=~, which is what made it work before. I will push a fix shortly.
@janko
Thanks for fixing!
Could you update the gem version?
I can use this change if I specify the github master branch in the Gemfile, but I would prefer to avoid it if possible.
Report
When using
remove_attachment
plugin with ruby 3.2 this code failswith error:
Expected Behavior
It should work properly and remove file with true value
Actual Behavior
It works with ruby 3.2 only when passing:
Steps to Reproduce the Problem
Ruby Version
3.2.0
Shrine Version
3.4.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: