Skip to content

Commit

Permalink
Remove deprecated lib/prism/translation/parser/rubocop.rb file
Browse files Browse the repository at this point in the history
Follow up #2558.

This PR removes deprecated lib/prism/translation/parser/rubocop.rb file.

The file was a workaround to allow setting `TargetRubyVersion: 80_82_73_83_77.xx` until Prism (`Prism::Translation::Parser`) is integrated into RuboCop.
RuboCop already supports Prism (`Prism::Translation::Parser`) as of rubocop/rubocop#12724.

It has been several months since the file was deprecated in #2558.
And, yesterday, Prism 1.0.0 was released, but perhaps the file should have been removed before then.

Although this might be seen as incompatible with semver 1.0.0, I think there is no longer a reason to keep the file.
  • Loading branch information
koic committed Aug 29, 2024
1 parent 0299f89 commit 646a102
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
73 changes: 0 additions & 73 deletions lib/prism/translation/parser/rubocop.rb

This file was deleted.

1 change: 0 additions & 1 deletion prism.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ Gem::Specification.new do |spec|
"lib/prism/translation/parser34.rb",
"lib/prism/translation/parser/compiler.rb",
"lib/prism/translation/parser/lexer.rb",
"lib/prism/translation/parser/rubocop.rb",
"lib/prism/translation/ripper.rb",
"lib/prism/translation/ripper/sexp.rb",
"lib/prism/translation/ripper/shim.rb",
Expand Down

0 comments on commit 646a102

Please sign in to comment.