diff options
author | Utkarsh Gupta <utkarsh@debian.org> | 2020-06-24 22:20:19 +0530 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | e2837a77be2164fa17be046eabb93cbb63f77311 (patch) | |
tree | 35551a9f7976f06f6557e1e506353f003bbd2c4f /lib/bundler | |
parent | 17b92d221f1edc9053f5abbefe49f5ffc3babb0e (diff) | |
download | ruby-e2837a77be2164fa17be046eabb93cbb63f77311.tar.gz |
[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
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/templates/newgem/Gemfile.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/Gemfile.tt b/lib/bundler/templates/newgem/Gemfile.tt index c6af5e8bfa..b57050caf0 100644 --- a/lib/bundler/templates/newgem/Gemfile.tt +++ b/lib/bundler/templates/newgem/Gemfile.tt @@ -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 -%> |