summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorUtkarsh Gupta <utkarsh@debian.org>2020-06-30 14:42:59 +0530
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commitca133c03669d495d297579e1f14bc904db591e1d (patch)
tree1d577c1c0bf911512182ca0dbc3ff33e61dc42d5 /lib
parent95f90e3d2bbbe4b3efd193c3df3ff06373c6cdba (diff)
[rubygems/rubygems] Fix line spacing to make Layout/EmptyLines happy
The Gemfile wasn't properly put in the last commit. As a result, Layout/EmptyLines inspected an offense in the Gemfile. This also fixes the spec w.r.t change in the task default. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org> https://github.com/rubygems/rubygems/commit/d1418fddd3
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/templates/newgem/Gemfile.tt5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/Gemfile.tt b/lib/bundler/templates/newgem/Gemfile.tt
index 82504f92d4..1d55fd7a90 100644
--- a/lib/bundler/templates/newgem/Gemfile.tt
+++ b/lib/bundler/templates/newgem/Gemfile.tt
@@ -7,13 +7,14 @@ gemspec
gem "rake", "~> 13.0"
<%- if config[:ext] -%>
+
gem "rake-compiler"
<%- end -%>
-
<%- if config[:test] -%>
+
gem "<%= config[:test] %>", "~> <%= config[:test_framework_version] %>"
<%- end -%>
-
<%- if config[:rubocop] -%>
+
gem "rubocop", "~> 0.80"
<%- end -%>