forked from mongoid/mongoid_search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
26 lines (22 loc) · 757 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = ["-c", "-f progress"]
spec.pattern = 'spec/**/*_spec.rb'
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "mongoid_search"
gem.summary = "Search implementation for Mongoid ORM"
gem.description = "Simple full text search implementation."
gem.email = "mauricio@papodenerd.net"
gem.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
gem.authors = ["Mauricio Zaffari"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :spec