Skip to content

Commit

Permalink
Require Parser 3.3.0.0 or higher
Browse files Browse the repository at this point in the history
Ruby 3.3 and Parser 3.3.0.0 have been released.

- https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released
- https://rubygems.org/gems/parser/versions/3.3.0.0

This PR requires Parser 3.3.0.0 or higher and removes "experimental" label from support matrix.
  • Loading branch information
koic committed Jan 5, 2024
1 parent 88df571 commit 47efd04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/change_require_parser_3_3_0_0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#12593](https://github.com/rubocop/rubocop/pull/12593): Require Parser 3.3.0.0 or higher. ([@koic][])
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/compatibility.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The following table is the runtime support matrix.
| 3.0 | -
| 3.1 | -
| 3.2 | -
| 3.3 (experimental) | -
| 3.3 | -
|===

RuboCop targets Ruby 2.0+ code analysis since RuboCop 1.30. It restored code analysis support that had been removed earlier by mistake, together with dropping runtime support for unsupported Ruby versions.
Expand Down
2 changes: 1 addition & 1 deletion rubocop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('json', '~> 2.3')
s.add_runtime_dependency('language_server-protocol', '>= 3.17.0')
s.add_runtime_dependency('parallel', '~> 1.10')
s.add_runtime_dependency('parser', '>= 3.2.2.4')
s.add_runtime_dependency('parser', '>= 3.3.0.0')
s.add_runtime_dependency('rainbow', '>= 2.2.2', '< 4.0')
s.add_runtime_dependency('regexp_parser', '>= 1.8', '< 3.0')
s.add_runtime_dependency('rexml', '>= 3.2.5', '< 4.0')
Expand Down

0 comments on commit 47efd04

Please sign in to comment.