Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit de32027

Browse files
committed
Don't package .gitignore. Big thanks to @arvindsv.
Related: #40.
1 parent aed23e8 commit de32027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

thread_safe.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
1111

1212
gem.files = `git ls-files`.split($\)
1313
gem.files += ['lib/thread_safe/jruby_cache_backend.jar'] if defined?(JRUBY_VERSION)
14+
gem.files -= ['.gitignore'] # see https://github.com/headius/thread_safe/issues/40#issuecomment-42315441
1415
gem.platform = 'java' if defined?(JRUBY_VERSION)
1516
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
1617
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})

0 commit comments

Comments
 (0)