Skip to content

Commit

Permalink
chore: Drop unused directives in gemspec (#20)
Browse files Browse the repository at this point in the history
The test_files directive is not used by RubyGems, but this starts by
making it only refer to directories that are actually in this repo.

The executables directive is unused - this gem exposes no executables.
  • Loading branch information
olleolleolle committed Apr 11, 2024
1 parent ce6fded commit ef602d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions faraday-digestauth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'

spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 3.0', '< 4'
Expand Down

0 comments on commit ef602d9

Please sign in to comment.