Skip to content

Commit f45f06f

Browse files
committed
gemspec: Use an explicit file list
This avoids shelling out to git.
1 parent 2a1ec14 commit f45f06f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

base64.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ Gem::Specification.new do |spec|
1313
spec.metadata["homepage_uri"] = spec.homepage
1414
spec.metadata["source_code_uri"] = spec.homepage
1515

16-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18-
end
16+
spec.files = ["README.md", "LICENSE.txt", "lib/base64.rb"]
1917
spec.bindir = "exe"
2018
spec.executables = []
2119
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)