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

Make parse from Ruby 1.9 to 2.3 available #233

Merged

Commits on May 13, 2022

  1. Make parse from Ruby 1.9 to 2.3 available

    RuboCop can analyze Ruby 1.9 or later. But now it turns out that RuboCop
    hasn't been able to parse older Ruby versions.
    https://docs.rubocop.org/rubocop/1.29/compatibility.html#support-matrix
    
    Analysis Ruby code and runtime Ruby versions are different.
    So, only runtime version should have been dropped.
    
    This PR makes it possible to parse older Ruby versions that were
    accidentally dropped before RuboCop AST was separated from RuboCop core.
    
    With this fix, the following recovery work will be possible.
    
    - Recover for Ruby 2.5 analysis: rubocop/rubocop#10626
    - Recover for Ruby 2.4 analysis: rubocop/rubocop#10632
    koic committed May 13, 2022
    Configuration menu
    Copy the full SHA
    069774e View commit details
    Browse the repository at this point in the history