From 8adad2ec6c91b54da27c09a455a2d32d85c7c339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 22 Jan 2026 13:03:50 -0500 Subject: [PATCH] Don't include test files in the gem package The ruby-indexer tests were being included in the gem package. --- ruby-lsp.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ruby-lsp.gemspec b/ruby-lsp.gemspec index b17d031301..e42cfafd47 100644 --- a/ruby-lsp.gemspec +++ b/ruby-lsp.gemspec @@ -13,7 +13,9 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/Shopify/ruby-lsp" s.license = "MIT" - s.files = Dir.glob("lib/**/*.rb") + ["README.md", "VERSION", "LICENSE.txt"] + Dir.glob("static_docs/**/*.md") + s.files = Dir.glob("lib/**/*.rb").grep_v(%r{^lib/ruby_indexer/test/}) + + ["README.md", "VERSION", "LICENSE.txt"] + + Dir.glob("static_docs/**/*.md") s.bindir = "exe" s.executables = ["ruby-lsp", "ruby-lsp-check", "ruby-lsp-launcher", "ruby-lsp-test-exec"] s.require_paths = ["lib"]