Skip to content

Commit

Permalink
Omit test/ dir from built .gem
Browse files Browse the repository at this point in the history
test_files is deprecated.  It was causing all tests to
be shipped in the .gem file, which is useless bloat:
rubygems/guides#90
  • Loading branch information
cben committed May 11, 2021
1 parent cb20e10 commit 12872a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kubeclient.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 12872a0

Please sign in to comment.