whitequark / parser

A Ruby parser.
Other
1.57k stars 197 forks source link

Fix incorrect required_ruby_version #985

Closed Watson1978 closed 6 months ago

Watson1978 commented 6 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 6 months ago

Thanks!