diff options
author | Tim Smith <tsmith@chef.io> | 2019-01-04 11:06:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 11:06:43 -0800 |
commit | ecd7a6c5aa1c0b299ed498c2d434e1f1ed64f79a (patch) | |
tree | 40d1cf312b21a045244f226f608717f4b0752351 | |
parent | e0f382ec51eba6402f929b4340051a6d938c8b7c (diff) | |
parent | b9ddc08983c38501d58bd45f0b7744cf0656c371 (diff) | |
download | mixlib-cli-ecd7a6c5aa1c0b299ed498c2d434e1f1ed64f79a.tar.gz |
Merge pull request #51 from chef/slim
Don't ship the test files in the gem artifact
-rw-r--r-- | mixlib-cli.gemspec | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mixlib-cli.gemspec b/mixlib-cli.gemspec index 4e36792..a6ded92 100644 --- a/mixlib-cli.gemspec +++ b/mixlib-cli.gemspec @@ -4,16 +4,14 @@ require "mixlib/cli/version" Gem::Specification.new do |s| s.name = "mixlib-cli" s.version = Mixlib::CLI::VERSION - s.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"] s.summary = "A simple mixin for CLI interfaces, including option parsing" s.description = s.summary s.author = "Chef Software, Inc." s.email = "info@chef.io" - s.homepage = "https://www.chef.io" + s.homepage = "https://www.github.com/mixlib-cli" s.license = "Apache-2.0" s.required_ruby_version = ">= 2.5" s.require_path = "lib" - s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") + - Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + s.files = %w{LICENSE NOTICE} + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } end |