We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf1ded9 commit 2fd0a6bCopy full SHA for 2fd0a6b
erb.gemspec
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
spec.metadata['source_code_uri'] = spec.homepage
21
spec.metadata['changelog_uri'] = "https://github.com/ruby/erb/blob/v#{spec.version}/NEWS.md"
22
23
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.chdir(__dir__) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|\.git|\.github)/}) }
25
end
26
spec.bindir = 'libexec'
27
spec.executables = ['erb']
0 commit comments