Sha256: 70fb86bd23cdad1fbdd53fd950563136a55a35d4dc170c443506d38ec6d4a982

Contents?: true

Size: 1.27 KB

Versions: 7

Compression:

Stored size: 1.27 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "websolr-rails"
    gem.summary = %Q{WebSolr adapter}
    gem.description = %Q{Makes Sunspot and acts_as_solr play with WebSolr}
    gem.email = "kyle@kylemaxwell.com"
    gem.homepage = "http://github.com/onemorecloud/websolr-rails"
    gem.authors = ["Kyle Maxwell"]
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.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 => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "websolr-rails #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
websolr-rails-2.1.0 Rakefile
websolr-rails-2.0.5 Rakefile
websolr-rails-2.0.4 Rakefile
websolr-rails-2.0.3 Rakefile
websolr-rails-2.0.2 Rakefile
websolr-rails-2.0.1 Rakefile
websolr-rails-2.0.0 Rakefile