From 80597f25447cbf6788322fffb64ca5f6995f2c9a Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Tue, 6 Apr 2021 11:41:35 +0200 Subject: [PATCH] [ruby/un] gemspec: Explicitly list 0 executables This gem exposes no executables, so this makes that clear to the reader. https://github.com/ruby/un/commit/012c298e12 --- lib/un.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/un.gemspec b/lib/un.gemspec index a899be91b4..50032e1337 100644 --- a/lib/un.gemspec +++ b/lib/un.gemspec @@ -19,6 +19,6 @@ Gem::Specification.new do |spec| `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } end spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.executables = [] spec.require_paths = ["lib"] end