Skip to content

Apache Lucene open-source search software

Omit functional tests from gem as the overhead of a Solr server and risk someone would run functional tests against an existing Solr instance and remove all documents is not worth it at this point

Erik Hatcherda5722fa356e
diff --git a/client/ruby/solrb/Rakefile b/client/ruby/solrb/Rakefile
index 96b5987a2a9..9554167a91e 100644
--- a/client/ruby/solrb/Rakefile
+++ b/client/ruby/solrb/Rakefile
@@ -49,7 +49,9 @@ spec = Gem::Specification.new do |s|
s.homepage = 'http://wiki.apache.org/solr/Flare'
s.platform = Gem::Platform::RUBY
s.summary = 'Ruby library for working with Apache Solr'
- s.files = Dir.glob("{lib,test}/**/*")
+
+ # Omit functional tests from gem for now, as that requires a Solr instance
+ s.files = Dir.glob("lib/**/*").concat(Dir.glob("test/unit/**/*"))
s.require_path = 'lib'
s.autorequire = 'solr'
s.has_rdoc = true