When I run bundle_report compatibility in Ruby 3.1 I don't expect to see any deprecation warnings, but I do
Actual Behavior
bundle_report compatibility --rails-version=7.0
/usr/local/lib/ruby/3.1.0/erb.rb:814: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/usr/local/lib/ruby/3.1.0/erb.rb:817: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
Expected Behavior
When I run
bundle_report compatibility
in Ruby 3.1 I don't expect to see any deprecation warnings, but I doActual Behavior
Possible Fix
I see a call to ERB.new here, so I think updating the argument list might take care of it: https://github.com/fastruby/next_rails/blob/76888184c173301e4c0976a234e9115780bff639/lib/next_rails/bundle_report.rb#L52
To Reproduce
See sample output above
Additional Information
I will abide by the code of conduct