croutons icon indicating copy to clipboard operation
croutons copied to clipboard

Support Ruby 3

Open calleluks opened this issue 2 years ago • 0 comments

Ruby 3 changes how keyword arguments work by separating them from positional arguments. Running on Ruby 3 requires explicitly delegating keyword arguments. By using the ruby2_keywords gem we can maintain backwards compatibility with Ruby versions prior to 2.7.

More info: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

This PR also upgrades mimemagic since the previously used version was yanked due to licensing concerns.

calleluks avatar Jan 16 '23 07:01 calleluks