Sha256: e08e1541ebe5f37c98521ecf5c018396215385a005b9cd7b5e67f8791f28493d

Contents?: true

Size: 1.16 KB

Versions: 17

Compression:

Stored size: 1.16 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "searchlogic"
    gem.summary = "Searchlogic provides common named scopes and object based searching for ActiveRecord."
    gem.email = "bjohnson@binarylogic.com"
    gem.homepage = "http://github.com/binarylogic/searchlogic"
    gem.authors = ["Ben Johnson of Binary Logic"]
    gem.rubyforge_project = "searchlogic"
    gem.add_dependency "activerecord", ">= 2.0.0"
  end
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 :default => :spec

begin
  require 'rake/contrib/sshpublisher'
  namespace :rubyforge do
    desc "Release gem to RubyForge"
    task :release => ["rubyforge:release:gem"]
  end
rescue LoadError
  puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
binarylogic-searchlogic-2.1.1 Rakefile
binarylogic-searchlogic-2.1.2 Rakefile
binarylogic-searchlogic-2.1.3 Rakefile
binarylogic-searchlogic-2.1.4 Rakefile
binarylogic-searchlogic-2.1.5 Rakefile
binarylogic-searchlogic-2.1.6 Rakefile
binarylogic-searchlogic-2.1.7 Rakefile
joost-searchlogic-2.1.5.2 Rakefile
joost-searchlogic-2.1.5.3 Rakefile
joost-searchlogic-2.1.7.1 Rakefile
searchlogic-2.1.1 Rakefile
searchlogic-2.1.2 Rakefile
searchlogic-2.1.3 Rakefile
searchlogic-2.1.4 Rakefile
searchlogic-2.1.5 Rakefile
searchlogic-2.1.6 Rakefile
searchlogic-2.1.7 Rakefile