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

Support for Ruby 2.7 #2364

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Support for Ruby 2.7 #2364

merged 1 commit into from
Feb 7, 2024

Conversation

kddnewton
Copy link
Collaborator

Importantly this does not support the syntax version of Ruby 2.7, it merely allows prism to run with Ruby 2.7. The syntax version being parsed will still be 3.3 or 3.4, depending on the given options.

@kddnewton kddnewton force-pushed the add-ruby-2-7 branch 2 times, most recently from b418803 to e5e5533 Compare February 7, 2024 16:43
@kddnewton kddnewton merged commit a884fd1 into main Feb 7, 2024
55 of 56 checks passed
@kddnewton kddnewton deleted the add-ruby-2-7 branch February 7, 2024 16:54
@exterm
Copy link
Contributor

exterm commented Feb 7, 2024

❤️

koic added a commit to koic/prism that referenced this pull request Feb 13, 2024
It seems that due to ruby#2364, Ruby 2.7.0 is now accepted as a runtime.

```ruby
$ gem i prism
$ ruby -rprism -ve "p Prism.parse_success?('42')"
ruby 2.7.0p0 (2019-12-25 revision 647ee6f) [x86_64-darwin19]
true
```

The requirements could be updated from Ruby 3.0.0 to Ruby 2.7.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants