Skip to content

Commit

Permalink
Fix spec.files
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredofernandes committed Jul 18, 2024
1 parent ebb0438 commit bc7494c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slather.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/SlatherOrg/slather'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0")
spec.files = `git ls-files -z`.force_encoding('utf-8').split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
Expand Down

0 comments on commit bc7494c

Please sign in to comment.