Skip to content

Commit

Permalink
Remove unneeded parts of the gemspec.
Browse files Browse the repository at this point in the history
- We don't have any `exe` files.
- `lib` is the default require path[^1].

[^1]: https://guides.rubygems.org/specification-reference/#require_paths=
  • Loading branch information
myronmarston committed Dec 28, 2024
1 parent c8aac45 commit 7a6bbed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gemspec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a6bbed

Please sign in to comment.