summaryrefslogtreecommitdiff
path: root/mixlib-log.gemspec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-11 20:27:59 -0800
committerTim Smith <tsmith@chef.io>2018-12-11 20:27:59 -0800
commit97c08e1138dc2f9b99d17f5622d2ad2f9f6d725c (patch)
tree7d09cf9e4316c5e90a68fb2d21c4d1ef2b83ade9 /mixlib-log.gemspec
parent828da1e98631d8d0726cad913dd0ba9ac233dcb7 (diff)
downloadmixlib-log-97c08e1138dc2f9b99d17f5622d2ad2f9f6d725c.tar.gz
Only ship the required library files in the gem artifactslim
Don't ship the test and dev files in the gem artifact. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-log.gemspec')
-rw-r--r--mixlib-log.gemspec6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixlib-log.gemspec b/mixlib-log.gemspec
index fe418eb..bedd1dd 100644
--- a/mixlib-log.gemspec
+++ b/mixlib-log.gemspec
@@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
gem.version = Mixlib::Log::VERSION
gem.summary = "A gem that provides a simple mixin for log functionality"
gem.email = "info@chef.io"
- gem.homepage = "https://www.chef.io"
+ gem.homepage = "https://github.com/chef/mixlib-log"
gem.license = "Apache-2.0"
gem.authors = ["Chef Software, Inc."]
- gem.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"]
- gem.files = Dir["lib/**/*"] + Dir["spec/**/*"] + ["Gemfile", "Rakefile", ".gemtest", "mixlib-log.gemspec"]
+ gem.files = %w{LICENSE} + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
+ gem.require_paths = ['lib']
gem.required_ruby_version = ">= 2.2"
end