From 7a6bbed6a72ad100c380c0dc746339045a48a042 Mon Sep 17 00:00:00 2001 From: Myron Marston Date: Fri, 27 Dec 2024 17:42:07 -0800 Subject: [PATCH] Remove unneeded parts of the gemspec. - We don't have any `exe` files. - `lib` is the default require path[^1]. [^1]: https://guides.rubygems.org/specification-reference/#require_paths= --- gemspec_helper.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/gemspec_helper.rb b/gemspec_helper.rb index 6942ec81..198c5177 100644 --- a/gemspec_helper.rb +++ b/gemspec_helper.rb @@ -45,9 +45,6 @@ def self.define_elasticgraph_gem(gemspec_file:, category:) end - [".rspec", "Gemfile", ".yardopts"] end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| ::File.basename(f) } - spec.require_paths = ["lib"] spec.required_ruby_version = "~> 3.2" yield spec, ElasticGraph::VERSION