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

Better support for packages: rubocop -V #9124

Closed
marcandre opened this issue Nov 30, 2020 · 1 comment · Fixed by #9126
Closed

Better support for packages: rubocop -V #9124

marcandre opened this issue Nov 30, 2020 · 1 comment · Fixed by #9126

Comments

@marcandre
Copy link
Contributor

It would be nice if there was a way for packages like rubocop-performance/rspec/... to "register" themselves so we could output their versions in rubocop -V.

For example I couldn't confirm in rubocop/rubocop-performance#200 that the report was due to an older version of rubocop-performance.

@koic
Copy link
Member

koic commented Nov 30, 2020

-V option has been extended from RuboCop 1.0 for extension cop versions.
#8908

e.g.

% rubocop -V
1.4.2 (using Parser 2.7.2.0, rubocop-ast 1.2.0, running on ruby 3.0.0 x86_64-darwin19)
  - rubocop-performance 1.9.1
  - rubocop-rspec 2.0.0

I've updated the issue template example for users by #9126.

koic added a commit to koic/rubocop that referenced this issue Nov 30, 2020
Fixes rubocop#9124.

This PR updates example for `rubocop -V` of issue template.
bbatsov pushed a commit that referenced this issue Nov 30, 2020
Fixes #9124.

This PR updates example for `rubocop -V` of issue template.
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 a pull request may close this issue.

2 participants