Sha256: 560df12c45b6164d849305dd90f0ff39e6e277c55cb8aed613cb0ea5abce01bc

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "lazy-searchlogic"
    gem.summary = "Searchlogic makes using ActiveRecord named scopes easier and less repetitive. (lazy polymorphic eval)"
    gem.description = "Searchlogic makes using ActiveRecord named scopes easier and less repetitive. (lazy polymorphic eval)"
    gem.email = "bjohnson@binarylogic.com (lazy polymorphic eval patch mdeeirng@mdeering.com)"
    gem.homepage = "http://github.com/mdeering/searchlogic"
    gem.authors = ["Ben Johnson of Binary Logic", "Michael Deering"]
    gem.rubyforge_project = "lazy-searchlogic"
    gem.add_dependency "activerecord", ">= 2.0.0"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy-searchlogic-2.4.10 Rakefile