diff options
| author | sue445 <sue445@sue445.net> | 2025-11-21 09:50:27 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-21 03:13:59 +0000 |
| commit | 9aa09b4620fd633ef2ffaff4bdae5e344b173ee6 (patch) | |
| tree | 50c8b02e57fb9ba45c517ee65ee7920c17f8ea9a | |
| parent | a26f8235283b27dc1c5018addd0dfac209aaaa17 (diff) | |
[ruby/rubygems] Fixed RuboCop offense in Rakefile generated by `bundle gem`
```
Offenses:
Rakefile:18:1: C: [Correctable] Layout/EmptyLines: Extra blank line detected.
Diff:
@@ -11,4 +11,5 @@
ext.lib_dir = "lib/test_gem"
end
+
task default: :compile
https://github.com/ruby/rubygems/commit/8c414729df
| -rw-r--r-- | lib/bundler/templates/newgem/Rakefile.tt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/Rakefile.tt b/lib/bundler/templates/newgem/Rakefile.tt index dfb9edaa39..83f10009c7 100644 --- a/lib/bundler/templates/newgem/Rakefile.tt +++ b/lib/bundler/templates/newgem/Rakefile.tt @@ -64,7 +64,6 @@ require "go_gem/rake_task" GoGem::RakeTask.new("<%= config[:underscored_name] %>") <% end -%> - <% end -%> <% if default_task_names.size == 1 -%> task default: <%= default_task_names.first.inspect %> |
