mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
This commit is contained in:
parent
95f90e3d2b
commit
ca133c0366
Notes:
git
2020-07-15 16:05:46 +09:00
2 changed files with 4 additions and 3 deletions
|
@ -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 -%>
|
||||
|
|
|
@ -914,7 +914,7 @@ RSpec.describe "bundle gem" do
|
|||
ext.lib_dir = "lib/#{gem_name}"
|
||||
end
|
||||
|
||||
task default: [:clobber, :compile]
|
||||
task default: %i[clobber compile]
|
||||
RAKEFILE
|
||||
|
||||
expect(bundled_app("#{gem_name}/Rakefile").read).to eq(rakefile)
|
||||
|
|
Loading…
Add table
Reference in a new issue