Skip to content

Commit 78fdc6d

Browse files
authored
Merge pull request #163 from kbrock/gemspec_files
Remove test files from packaged gem
2 parents d9098b6 + 61b401f commit 78fdc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord-virtual_attributes.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323
# Specify which files should be added to the gem when it is released.
2424
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2525
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
26-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin)/}) || f.match(/^(\.)|renovate.json/) }
2727
end
2828

2929
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)