From 8e7384b0cebbe145b4833ad4082f9499fc5d9050 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 15 Nov 2018 11:51:48 -0800 Subject: Don't ship the readme in the gem Update the homepage instead to get the users to our git repo Signed-off-by: Tim Smith --- chef-zero.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chef-zero.gemspec b/chef-zero.gemspec index e05c6f6..bf9eefc 100644 --- a/chef-zero.gemspec +++ b/chef-zero.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |s| s.description = s.summary s.author = "John Keiser" s.email = "jkeiser@chef.io" - s.homepage = "http://www.chef.io" + s.homepage = "https://github.com/chef/chef-zero" s.license = "Apache-2.0" s.required_ruby_version = ">= 2.4.0" @@ -25,6 +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("*.gemspec") + + s.files = %w{LICENSE Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } end -- cgit v1.2.1