Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information