From c401d97d5862e4300dd87d4011b6392a8d76eaf8 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 22 Apr 2021 12:09:52 +0200 Subject: [PATCH] gemspec: Explicitly list 0 executables This gem exposes no executables. --- pathname.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathname.gemspec b/pathname.gemspec index 8593f9e..317029a 100644 --- a/pathname.gemspec +++ b/pathname.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.executables = [] spec.require_paths = ["lib"] spec.extensions = %w[ext/pathname/extconf.rb] end