From fd3ccdf15dbfa3ab9a477e97096384bd77096adf Mon Sep 17 00:00:00 2001 From: Kartik Null Cating-Subramanian Date: Fri, 9 Oct 2015 13:42:46 -0400 Subject: [PATCH] Ship Gemfile and gemspecs to allow tests to be run within gems. --- chef-provisioning-ssh.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chef-provisioning-ssh.gemspec b/chef-provisioning-ssh.gemspec index 8bfdbeb..696351d 100644 --- a/chef-provisioning-ssh.gemspec +++ b/chef-provisioning-ssh.gemspec @@ -17,7 +17,8 @@ Gem::Specification.new do |s| s.require_path = "lib" s.bindir = "bin" s.executables = %w( ) - s.files = %w(Rakefile LICENSE README.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + s.files = %w(Rakefile LICENSE README.md Gemfile) + Dir.glob("*.gemspec") + + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } s.add_dependency 'chef-provisioning'