From d6f4eef698d2aea34f7b74c393eba9764c8bf236 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 28 Feb 2018 10:05:33 -0800 Subject: [PATCH] Don't include test files within gem package --- vagrant.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/vagrant.gemspec b/vagrant.gemspec index d26b32adf..edc12f032 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -55,6 +55,7 @@ Gem::Specification.new do |s| all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") } all_files.reject! { |file| [".", ".."].include?(File.basename(file)) } all_files.reject! { |file| file.start_with?("website/") } + all_files.reject! { |file| file.start_with?("test/") } gitignore_path = File.join(root_path, ".gitignore") gitignore = File.readlines(gitignore_path) gitignore.map! { |line| line.chomp.strip }