From 43a612e93a58a9cbb0f313527b4dc327f12a4759 Mon Sep 17 00:00:00 2001 From: Christopher Bert Date: Wed, 10 Jul 2024 16:17:53 -0400 Subject: [PATCH] gemspec: Exclude spec files from published gem --- httpi.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpi.gemspec b/httpi.gemspec index 39f9072..e981dfe 100644 --- a/httpi.gemspec +++ b/httpi.gemspec @@ -35,6 +35,6 @@ Gem::Specification.new do |s| s.metadata["rubygems_mfa_required"] = "true" - s.files = `git ls-files`.split("\n") + s.files = Dir["lib/**/*"] + %w[CHANGELOG.md LICENSE README.md UPDATING.md] s.require_path = 'lib' end