Sha256: 39051084b99f45d23e0ada5ecaa3f42450b1be5c77c0aa90df7ec87f0b88bfa8

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

require 'rake'
# require 'rake/testtask'
require 'rake/rdoctask'
require 'spec/rake/spectask'

desc 'Default: Run all specs.'
task :default => :spec

desc "Run all specs"
Spec::Rake::SpecTask.new() do |t|
  t.spec_opts = ['--options', "\"spec/spec.opts\""]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

desc 'Generate documentation for the pollyanna gem'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'pollyanna'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "pollyanna"
    gemspec.summary = "Very simple search for your ActiveRecord models."
    gemspec.email = "github@makandra.de"
    gemspec.homepage = "http://github.com/makandra/pollyanna"
    gemspec.description = "Very simple search for your ActiveRecord models."
    gemspec.authors = ["Henning Koch"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pollyanna-1.0.4 Rakefile
pollyanna-1.0.3 Rakefile
pollyanna-1.0.2 Rakefile
pollyanna-1.0.1 Rakefile