From 9d5b7735428d4d273aa3769a6a12a9c832c25edd Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Wed, 23 Sep 2015 13:19:18 -0700 Subject: [PATCH] Properly include hermann_jars.rb in the built gem but exclude from the tree --- .gitignore | 1 + hermann.gemspec | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e5cc773..eb872b9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ tmp/ Gemfile.lock Jarfile.lock .jbundler/ +lib/hermann_jars.rb diff --git a/hermann.gemspec b/hermann.gemspec index 619bb76..1de0c13 100644 --- a/hermann.gemspec +++ b/hermann.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/lookout/Hermann' s.licenses = ['MIT'] - s.files = [ "Rakefile"] + s.files = ['Rakefile'] s.files += `git ls-files -- lib`.split($\) s.files += `git ls-files -- ext`.split($\) @@ -28,6 +28,7 @@ Gem::Specification.new do |s| s.add_dependency 'thread_safe', '~> 0.3.4' if RUBY_PLATFORM == "java" + s.files << 'lib/hermann_jars.rb' s.add_dependency 'concurrent-ruby', '~> 0.7.0' # IMPORTANT: make sure that jar-dependencies is only a development