diff options
author | John Keiser <john@johnkeiser.com> | 2016-01-12 16:34:38 -0800 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2016-01-13 09:23:07 -0800 |
commit | b698c86bff0d031574e610a8c6e5243d9e5aeac7 (patch) | |
tree | ae332fd259686bcda95b24684fb35e776f84fd93 /chef.gemspec | |
parent | 6d9c8b03466632b3cd11042a2b99a08ae5047309 (diff) | |
download | chef-b698c86bff0d031574e610a8c6e5243d9e5aeac7.tar.gz |
Restore backcompat include for external libraries that reference root directories directly
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef.gemspec b/chef.gemspec index 5200f7cf3e..359e002189 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -54,6 +54,6 @@ Gem::Specification.new do |s| s.bindir = "bin" s.executables = %w( chef-client chef-solo knife chef-shell chef-apply ) - s.require_path = 'lib' - s.files = %w(Gemfile Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + Dir.glob("*.gemspec") + s.require_path = %w( lib lib-backcompat ) + s.files = %w(Gemfile Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,lib-backcompat,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + Dir.glob("*.gemspec") end |