Skip to content
Newer
Older
100644 36 lines (30 sloc) 1.04 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"
26bc920 @binarylogic Readme changes
authored
8 gem.summary = "Searchlogic makes using ActiveRecord named scopes easier and less repetitive."
9 gem.description = "Searchlogic makes using ActiveRecord named scopes easier and less repetitive."
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
f7fd23c @binarylogic release v2.3.8
authored
16 Jeweler::GemcutterTasks.new
a9cbc43 @binarylogic Add v2 files
authored
17 rescue LoadError
18 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
19 end
20
21 require 'spec/rake/spectask'
22 Spec::Rake::SpecTask.new(:spec) do |spec|
23 spec.libs << 'lib' << 'spec'
24 spec.spec_files = FileList['spec/**/*_spec.rb']
25 end
26
27 Spec::Rake::SpecTask.new(:rcov) do |spec|
28 spec.libs << 'lib' << 'spec'
29 spec.pattern = 'spec/**/*_spec.rb'
30 spec.rcov = true
31 end
32
24bc371 @binarylogic Added feature for combining conditions with OR and as well as some se…
authored
33 task :spec => :check_dependencies
a9cbc43 @binarylogic Add v2 files
authored
34
35 task :default => :spec
Something went wrong with that request. Please try again.