From 12872a0540a67f90f2ebdc2b74531e533dfe6e09 Mon Sep 17 00:00:00 2001 From: Beni Cherniavsky-Paskin Date: Tue, 11 May 2021 21:41:05 +0300 Subject: [PATCH] Omit test/ dir from built .gem test_files is deprecated. It was causing all tests to be shipped in the .gem file, which is useless bloat: https://github.com/rubygems/guides/issues/90 --- kubeclient.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/kubeclient.gemspec b/kubeclient.gemspec index f866155f..89b9d4e1 100644 --- a/kubeclient.gemspec +++ b/kubeclient.gemspec @@ -16,7 +16,6 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.2.0'