diff options
author | Martin Vidner <mvidner@suse.cz> | 2012-12-12 15:36:04 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-05-23 09:42:45 -0700 |
commit | aacad45d79540c811dc1a7c2ade17f733353689a (patch) | |
tree | 198ce97647fa12466a3dcae8d25f80f553e6e007 /chef.gemspec | |
parent | 22d8b7d06d65432f36adbb13783b70f6a6663876 (diff) | |
download | chef-aacad45d79540c811dc1a7c2ade17f733353689a.tar.gz |
CHEF-3685: Fix rspec tests to work from the gem.
Some spec examples operate on .dotfiles. These files were missing
from the rubygems.org gem file.
Note that the fix (with FNM_DOTMATCH) correctly avoids the top-level
dotfiles because the glob operates only on subdirectories.
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec index 4e2f57af44..b9e847086f 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -40,5 +40,5 @@ Gem::Specification.new do |s| s.executables = %w( chef-client chef-solo knife chef-shell shef chef-apply chef-service-manager ) s.require_path = 'lib' - s.files = %w(Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*") + s.files = %w(Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH) end |