From ad57e9666cb74e65f1647b21a6f515bd7b8df62d Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer Date: Wed, 18 Jul 2018 14:47:40 +0200 Subject: [PATCH 1/2] Remove test_files from gemspec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as there is no way to test the gem anymore anyway. Reference: https://github.com/rubygems/rubygems/commit/429f883210f8b2b38ea310f7fc6636cd0e456d5c https://github.com/rubygems/rubygems/commit/429f883210f8b2b38ea310f7fc6636cd0e456d5c Co-authored-by: Ana María Martínez Gómez --- rack.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/rack.gemspec b/rack.gemspec index 3d1a6262b..23b7c499d 100644 --- a/rack.gemspec +++ b/rack.gemspec @@ -23,7 +23,6 @@ EOF s.executables << 'rackup' s.require_path = 'lib' s.extra_rdoc_files = ['README.rdoc', 'HISTORY.md'] - s.test_files = Dir['test/spec_*.rb'] s.author = 'Leah Neukirchen' s.email = 'leah@vuxu.org' From e473dc1fdfdb7ff0fddc8f80641aebeb8778c147 Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer Date: Wed, 18 Jul 2018 14:48:30 +0200 Subject: [PATCH 2/2] Remove test files from gemspec file list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as test files should not be shipped in the gem. Co-authored-by: Ana María Martínez Gómez --- rack.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rack.gemspec b/rack.gemspec index 23b7c499d..624b68c3c 100644 --- a/rack.gemspec +++ b/rack.gemspec @@ -17,7 +17,7 @@ middleware) into a single method call. Also see https://rack.github.io/. EOF - s.files = Dir['{bin/*,contrib/*,example/*,lib/**/*,test/**/*}'] + + s.files = Dir['{bin/*,contrib/*,example/*,lib/**/*}'] + %w(MIT-LICENSE rack.gemspec Rakefile README.rdoc SPEC) s.bindir = 'bin' s.executables << 'rackup'