forked from igrigorik/bloomfilter-rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
31 lines (27 loc) · 1.01 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
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'
require 'rake/extensiontask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "bloomfilter"
gemspec.summary = "Counting Bloom Filter implemented in Ruby"
gemspec.description = gemspec.summary
gemspec.email = "ilya@igvita.com"
gemspec.homepage = "http://github.com/igrigorik/bloomfilter"
gemspec.authors = ["Ilya Grigorik", "Tatsuya Mori"]
gemspec.extensions = ["ext/cbloomfilter/extconf.rb"]
gemspec.rubyforge_project = "bloomfilter"
gemspec.files = FileList[`git ls-files`.split]
gemspec.add_dependency 'redis'
gemspec.add_development_dependency 'rake'
gemspec.add_development_dependency 'rspec'
gemspec.add_development_dependency 'rake-compiler'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
RSpec::Core::RakeTask.new(:spec)
Rake::ExtensionTask.new('cbloomfilter')