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

Commit 1773812

Browse files
committed
Don't include the JAR file in the non-Java gem
Closes #31.
1 parent bfacad5 commit 1773812

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

thread_safe.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Gem::Specification.new do |gem|
88
gem.summary = %q{A collection of data structures and utilities to make thread-safe programming in Ruby easier}
99
gem.homepage = "https://github.com/headius/thread_safe"
1010

11-
gem.files = `git ls-files`.split($\) + ['lib/thread_safe/jruby_cache_backend.jar']
11+
gem.files = `git ls-files`.split($\)
12+
gem.files += ['lib/thread_safe/jruby_cache_backend.jar'] if defined?(JRUBY_VERSION)
1213
gem.platform = 'java' if defined?(JRUBY_VERSION)
1314
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
1415
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})

0 commit comments

Comments
 (0)