summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-02-18 13:50:44 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-02-19 11:04:09 +0900
commitda976629963104ae6315cbe4f182c749503a58ee (patch)
tree453c41ca5c7b41eb83d8a6de596bee572dbb1cb6
parent68f0150ff0402746e0fee21a287aabf7d7900523 (diff)
[rubygems/rubygems] Don't add gemspec to specification list of our test gems
Real gems hardly ever do this, so don't do it ourselves for testing either. https://github.com/rubygems/rubygems/commit/2c8960cfb4
-rw-r--r--spec/bundler/support/builders.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb
index 0cbea69780..7dc6e5edd2 100644
--- a/spec/bundler/support/builders.rb
+++ b/spec/bundler/support/builders.rb
@@ -530,10 +530,8 @@ module Spec
when false
# do nothing
when :yaml
- @spec.files << "#{name}.gemspec"
@files["#{name}.gemspec"] = @spec.to_yaml
else
- @spec.files << "#{name}.gemspec"
@files["#{name}.gemspec"] = @spec.to_ruby
end