diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 12:54:35 -0400 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 15:20:09 -0400 |
commit | 1fb96253a01920001ad9b1471309518bc28a93a0 (patch) | |
tree | 6069530dcfb0301996204c04f3a166c5b0cd5aec /chef-zero.gemspec | |
parent | 01a92144afbf25fffe575f123337a33c0c1f8e6a (diff) | |
download | chef-zero-1fb96253a01920001ad9b1471309518bc28a93a0.tar.gz |
Add gemspec files to allow bundler to run from the gem
Diffstat (limited to 'chef-zero.gemspec')
-rw-r--r-- | chef-zero.gemspec | 3 |
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 |