summaryrefslogtreecommitdiff
path: root/mixlib-log.gemspec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-17 17:19:59 -0800
committerGitHub <noreply@github.com>2018-12-17 17:19:59 -0800
commitf0700002824785f074e29b350c134b11b7d5f259 (patch)
tree5be019effc1f32f976a74cd6bcc2e07d38fe53ef /mixlib-log.gemspec
parent828da1e98631d8d0726cad913dd0ba9ac233dcb7 (diff)
parent34755fab50c56fbc38e96df4e5d8fa50d1ed4284 (diff)
downloadmixlib-log-f0700002824785f074e29b350c134b11b7d5f259.tar.gz
Merge pull request #45 from chef/slim
Only ship the required library files in the gem artifact
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..13d4fca 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