Sha256: 02cbd052dc38a7c6a27441a4dcc90e64ee1aa86c4fcfc1441d799eb28f96ec2d
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
require 'rake' require 'rake/testtask' desc 'Default: run all tests.' task :default => :test desc 'Run all tests.' Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/integration/*_test.rb', 'test/unit/*_test.rb'] t.verbose = true end desc 'Run unit tests.' Rake::TestTask.new('test:unit') do |t| t.libs << 'test' t.libs << 'lib' t.pattern = 'test/unit/*_test.rb' t.verbose = true end desc 'Run integration tests.' Rake::TestTask.new('test:integration') do |t| t.libs << 'test' t.libs << 'lib' t.pattern = 'test/integration/*_test.rb' t.verbose = true end desc 'Run performance tests.' Rake::TestTask.new('test:performance') do |t| t.libs << 'test' t.libs << 'lib' t.pattern = 'test/performance/*_test.rb' t.verbose = true end begin require 'sdoc' desc 'Generate documentation for the acts_as_indexed plugin.' RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ActsAsIndexed' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') end rescue LoadError puts "sdoc not installed" end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "acts_as_indexed" gemspec.summary = "Acts As Indexed is a plugin which provides a pain-free way to add fulltext search to your Ruby on Rails app" gemspec.description = gemspec.summary gemspec.email = "dougal.s@gmail.com" gemspec.homepage = "http://github.com/dougal/acts_as_indexed" gemspec.authors = ["Douglas F Shearer"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_indexed-0.8.3 | Rakefile |
acts_as_indexed-0.8.2 | Rakefile |