forked from bdurand/sunspot_index_queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
44 lines (39 loc) · 1.61 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
require 'rubygems'
require 'rake'
desc 'Default: run unit tests.'
task :default => :test
begin
require 'rspec'
require 'rspec/core/rake_task'
desc 'Run the unit tests'
RSpec::Core::RakeTask.new(:test)
rescue LoadError
task :test do
STDERR.puts "You must have rspec 2.0 installed to run the tests"
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "sunspot_index_queue"
gem.summary = %Q{Asynchronous Solr indexing support for the sunspot gem with an emphasis on reliablity and throughput.}
gem.description = %Q(This gem provides asynchronous indexing to Solr for the sunspot gem. It uses a pluggable model for the backing queue and provides support for ActiveRecord, DataMapper, and MongoDB out of the box.)
gem.email = "[email protected]"
gem.homepage = "http://github.com/bdurand/sunspot_index_queue"
gem.authors = ["Brian Durand"]
gem.rdoc_options = ["--charset=UTF-8", "--main", "README.rdoc", "MIT_LICENSE"]
gem.add_dependency('sunspot', '>= 1.1.0')
gem.add_development_dependency('sqlite3')
gem.add_development_dependency('activerecord', '>= 2.2')
gem.add_development_dependency('dm-core', '>= 1.0.0')
gem.add_development_dependency('dm-aggregates', '>=1.0.0')
gem.add_development_dependency('dm-migrations', '>=1.0.0')
gem.add_development_dependency('dm-sqlite-adapter', '>=1.0.0')
gem.add_development_dependency('mongo')
gem.add_development_dependency('redis')
gem.add_development_dependency('rspec', '>= 2.0.0')
gem.add_development_dependency('jeweler')
end
Jeweler::GemcutterTasks.new
rescue LoadError
end