summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-10-09 12:54:35 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-10-09 15:20:09 -0400
commit1fb96253a01920001ad9b1471309518bc28a93a0 (patch)
tree6069530dcfb0301996204c04f3a166c5b0cd5aec
parent01a92144afbf25fffe575f123337a33c0c1f8e6a (diff)
downloadchef-zero-1fb96253a01920001ad9b1471309518bc28a93a0.tar.gz
Add gemspec files to allow bundler to run from the gem
-rw-r--r--chef-zero.gemspec3
1 files changed, 2 insertions, 1 deletions
diff --git a/chef-zero.gemspec b/chef-zero.gemspec
index 44472bd..6c7e357 100644
--- a/chef-zero.gemspec
+++ b/chef-zero.gemspec
@@ -25,5 +25,6 @@ Gem::Specification.new do |s|
s.bindir = 'bin'
s.executables = ['chef-zero']
s.require_path = 'lib'
- s.files = %w(LICENSE README.md Gemfile Rakefile) + Dir.glob('{lib,spec}/**/*')
+ s.files = %w(LICENSE README.md Gemfile Rakefile) + Dir.glob('*.gemspec') +
+ Dir.glob('{lib,spec}/**/*', File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
end