Skip to content

Commit

Permalink
Merge pull request #11942 from koic/require_parser_3_2_2_3_for_ruby_3_3
Browse files Browse the repository at this point in the history
Require Parser 3.2.2.3 for Ruby 3.3.0dev as a runtime
  • Loading branch information
koic committed Jun 9, 2023
2 parents 469d74a + fa2810f commit 689d473
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ gem 'asciidoctor'
gem 'bump', require: false
gem 'bundler', '>= 1.15.0', '< 3.0'
gem 'memory_profiler', platform: :mri
# FIXME: Workaround for Parser 3.2.2.2 or lower with Ruby 3.3.0dev.
# When the Praser gem releases a new version of Racc that includes the runtime dependencies,
# it will be able to upgrade the Parser gem dependency and remove the workaround.
gem 'racc', '>= 1.6.2'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.7'
gem 'rubocop-performance', '~> 1.18.0'
Expand Down
1 change: 1 addition & 0 deletions changelog/change_require_parser_3_2_2_3_or_higher.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#11942](https://github.com/rubocop/rubocop/pull/11942): Require Parser 3.2.2.3 or higher. ([@koic][])
2 changes: 1 addition & 1 deletion rubocop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |s|

s.add_runtime_dependency('json', '~> 2.3')
s.add_runtime_dependency('parallel', '~> 1.10')
s.add_runtime_dependency('parser', '>= 3.2.0.0')
s.add_runtime_dependency('parser', '>= 3.2.2.3')
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 689d473

Please sign in to comment.