whitequark / parser

A Ruby parser.
Other
1.59k stars 199 forks source link

Fix incorrect required_ruby_version #985

Closed Watson1978 closed 10 months ago

Watson1978 commented 10 months ago

This gem has used String#delete_suffix which was introduced at Ruby 2.5. https://github.com/whitequark/parser/blob/95d26953ebe823211845fb84cb93c18cd501f561/lib/parser/lexer/literal.rb#L250

Ref. https://github.com/ruby/ruby/blob/ruby_2_5/NEWS

So, even Ruby 2.0 can be installed now, however it will not work.

iliabylich commented 10 months ago

Thanks!