Sha256: 7435caee4f2145cfffe2e45685bcd26e3c11a4024e48ee0d26b548fc59f3e863

Contents?: true

Size: 1.48 KB

Versions: 5

Compression:

Stored size: 1.48 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "jruby_streaming_update_solr_server"
    gem.summary = %Q{Simple jruby interface into StreamingUpdateSolrServer}
    gem.description = %Q{Some sugar on top of StreamingUpdateSolrServer for use within JRuby}
    gem.email = "bill@dueber.com"
    gem.homepage = "http://github.com/billdueber/jruby_streaming_update_solr_server"
    gem.authors = ["Bill Dueber"]
    gem.add_development_dependency 'bacon', ">=0"
    gem.add_development_dependency "yard", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |spec|
    spec.libs << 'spec'
    spec.pattern = 'spec/**/*_spec.rb'
    spec.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :spec

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jruby_streaming_update_solr_server-0.5.3 Rakefile
jruby_streaming_update_solr_server-0.5.2 Rakefile
jruby_streaming_update_solr_server-0.5.1 Rakefile
jruby_streaming_update_solr_server-0.5.0 Rakefile
jruby_streaming_update_solr_server-0.4.1 Rakefile