Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the newer ERB.new usage for Ruby v2.6 or higher #621

Merged
merged 1 commit into from
Sep 2, 2023

Commits on Sep 1, 2023

  1. Use the newer ERB.new usage for Ruby v2.6 or higher

    Reference:
    * Ruby 2.6.0 Released - Other notable changes since 2.5 [1]
      > Passing safe_level to ERB.new is deprecated. ...
    * Ruby Issue Tracking System - Deprecate $SAFE support in ERB and let
      ERB.new take keyword arguments for it [2]
    
    [1] https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/
    [2] https://bugs.ruby-lang.org/issues/14256
    gemmaro committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    e0f6b59 View commit details
    Browse the repository at this point in the history