mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Constrain (shipped) RuboCop's version
Right now, we're not specifying the version constraints on RuboCop that is shipped when a new gem is created. This can break specs which runs rubocop on a new skeleton gem as the newer versions of RuboCop are released. This commit ensures that the specs don't break by constraining the RuboCop version. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org> https://github.com/rubygems/rubygems/commit/0b47243edd
This commit is contained in:
parent
17b92d221f
commit
e2837a77be
Notes:
git
2020-07-15 16:05:49 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -13,5 +13,5 @@ gem "rake-compiler"
|
|||
gem "<%= config[:test] %>", "~> <%= config[:test_framework_version] %>"
|
||||
<%- end -%>
|
||||
<%- if config[:rubocop] -%>
|
||||
gem "rubocop"
|
||||
gem "rubocop", "~> 0.80"
|
||||
<%- end -%>
|
||||
|
|
Loading…
Reference in a new issue