Sha256: 51cbe02fee727c85b7dc50aa101fddb3c1a18374717c59100212d419095d38ae

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name        = 'sphinx'
    gemspec.summary     = 'Sphinx Client API for Ruby'
    gemspec.description = 'An easy interface to Sphinx standalone full-text search engine. It is implemented as plugin for Ruby on Rails, but can be easily used as standalone library.'
    gemspec.email       = 'kpumuk@kpumuk.info'
    gemspec.homepage    = 'http://github.com/kpumuk/sphinx'
    gemspec.authors     = ['Dmytro Shteflyuk']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts 'Jeweler not available. Install it with: sudo gem install jeweler'
end

begin
  require 'spec/rake/spectask'

  desc 'Default: run specs'
  task :default => :spec

  desc 'Test the sphinx plugin'
  Spec::Rake::SpecTask.new do |t|
    t.libs << 'lib'
    t.pattern = 'spec/*_spec.rb'
  end
rescue LoadError
  puts 'RSpec not available. Install it with: sudo gem install rspec'
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new(:yard) do |t|
    t.options = ['--title', 'Sphinx Client API Documentation']
    if ENV['PRIVATE']
      t.options.concat ['--protected', '--private']
    else
      t.options << '--no-private' 
    end
  end
rescue LoadError
  puts 'Yard not available. Install it with: sudo gem install yard'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sphinx-0.9.9.2117 Rakefile
sphinx-0.9.10.2122 Rakefile
sphinx-0.9.10.2094 Rakefile
sphinx-0.9.10.2091 Rakefile