Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (37 sloc) 1.294 kb
a9cbc43 @binarylogic Add v2 files
authored
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
613c5c5 @binarylogic Adding gemspec (again)
authored
7 gem.name = "searchlogic"
c2bea31 @binarylogic Update readme
authored
8 gem.summary = "Searchlogic provides common named scopes and object based searching for ActiveRecord."
452cd75 @binarylogic * Added support for not_like, not_begin_with, not_end_with, and not_null
authored
9 gem.description = "Searchlogic provides common named scopes and object based searching for ActiveRecord."
a9cbc43 @binarylogic Add v2 files
authored
10 gem.email = "bjohnson@binarylogic.com"
c2bea31 @binarylogic Update readme
authored
11 gem.homepage = "http://github.com/binarylogic/searchlogic"
613c5c5 @binarylogic Adding gemspec (again)
authored
12 gem.authors = ["Ben Johnson of Binary Logic"]
a77b72d @binarylogic Added inner_join convenience method.
authored
13 gem.rubyforge_project = "searchlogic"
14 gem.add_dependency "activerecord", ">= 2.0.0"
a9cbc43 @binarylogic Add v2 files
authored
15 end
16 rescue LoadError
17 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18 end
19
20 require 'spec/rake/spectask'
21 Spec::Rake::SpecTask.new(:spec) do |spec|
22 spec.libs << 'lib' << 'spec'
23 spec.spec_files = FileList['spec/**/*_spec.rb']
24 end
25
26 Spec::Rake::SpecTask.new(:rcov) do |spec|
27 spec.libs << 'lib' << 'spec'
28 spec.pattern = 'spec/**/*_spec.rb'
29 spec.rcov = true
30 end
31
32
33 task :default => :spec
34
a77b72d @binarylogic Added inner_join convenience method.
authored
35 begin
36 require 'rake/contrib/sshpublisher'
37 namespace :rubyforge do
38 desc "Release gem to RubyForge"
39 task :release => ["rubyforge:release:gem"]
a9cbc43 @binarylogic Add v2 files
authored
40 end
a77b72d @binarylogic Added inner_join convenience method.
authored
41 rescue LoadError
42 puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
a9cbc43 @binarylogic Add v2 files
authored
43 end
Something went wrong with that request. Please try again.