1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/base64] gemspec: Use an explicit file list

This avoids shelling out to git.

https://github.com/ruby/base64/commit/f45f06f93f
This commit is contained in:
Olle Jonsson 2021-03-31 16:10:45 +02:00 committed by Hiroshi SHIBATA
parent fa00bf92ba
commit b68a4c199c

View file

@ -13,9 +13,7 @@ Gem::Specification.new do |spec|
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.files = ["README.md", "LICENSE.txt", "lib/base64.rb"]
spec.bindir = "exe"
spec.executables = []
spec.require_paths = ["lib"]