From e439dce917cf69161fe2297e3970dc4c0d3f29d1 Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Sat, 21 Jan 2017 21:28:54 +0100 Subject: [PATCH] include add files under spec/ in built gem --- awesome_print.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awesome_print.gemspec b/awesome_print.gemspec index 061cfb9..788f2dd 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -19,8 +19,8 @@ Gem::Specification.new do |s| s.license = 'MIT' s.rubyforge_project = 'awesome_print' - s.files = Dir['[A-Z]*[^~]'] + Dir['lib/**/*.rb'] + Dir['spec/*'] + ['.gitignore'] - s.test_files = Dir['spec/*'] + s.files = Dir['[A-Z]*[^~]'] + Dir['lib/**/*.rb'] + Dir['spec/**/*'] + ['.gitignore'] + s.test_files = Dir['spec/**/*'] s.executables = [] s.require_paths = ['lib']