From f5422d1e3d3ca072bf5d07217db5f49b029abed5 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 27 Jun 2024 22:34:37 +0900 Subject: [PATCH] chore: Exclude sample directory from gemspec files The gemspec files were updated to exclude the `sample` directory from the list of files included in the gem. This ensures that the `sample` directory is not included when building the gem. --- lrama.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrama.gemspec b/lrama.gemspec index 0ca9866a..65ecff63 100644 --- a/lrama.gemspec +++ b/lrama.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") spec.files = Dir.chdir(File.expand_path(__dir__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|sample)/}) } end spec.metadata["homepage_uri"] = spec.homepage