diff options
author | TangRufus <[email protected]> | 2025-05-30 02:08:54 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-06-03 08:04:32 +0900 |
commit | a7be563d0b964aa1294c6a55fd8f43233baaf101 (patch) | |
tree | 9befdf860d54eb79f56c8d33a976d000d3b06474 /lib | |
parent | 4802571729ed9d8c20285a0d6ee66f67c5e40019 (diff) |
[rubygems/rubygems] Exclude `.rubocop.yml` and `.standard.yml` from `spec.files` in the `.gemspec` template
https://github.com/rubygems/rubygems/commit/9d937d4f7f
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/cli/gem.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb index a21b63e91a..749b3012d1 100644 --- a/lib/bundler/cli/gem.rb +++ b/lib/bundler/cli/gem.rb @@ -185,10 +185,12 @@ module Bundler config[:linter_version] = rubocop_version Bundler.ui.info "RuboCop enabled in config" templates.merge!("rubocop.yml.tt" => ".rubocop.yml") + config[:ignore_files] << ".rubocop.yml" when "standard" config[:linter_version] = standard_version Bundler.ui.info "Standard enabled in config" templates.merge!("standard.yml.tt" => ".standard.yml") + config[:ignore_files] << ".standard.yml" end if config[:exe] |