Permalink
Browse files

Merge branch 'master' of https://github.com/igrigorik/bloomfilter-rb

…into union-and-intersection
  • Loading branch information...
apohllo committed Mar 12, 2012
2 parents 3b80125 + 91ec1ab commit 43a62e22c528c1762763b735f1050b53c2de34a5
Showing with 8 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +4 −2 Rakefile
  3. +2 −1 bloomfilter-rb.gemspec
View
@@ -2,3 +2,5 @@
*.bundle
*.swp
ext/Makefile
+lib/cbloomfilter.so
+tmp
View
@@ -1,9 +1,11 @@
+require 'bundler/gem_tasks'
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'
require 'rake/extensiontask'
-require 'bundler'
Bundler::GemHelper.install_tasks
+Rake::ExtensionTask.new('cbloomfilter')
RSpec::Core::RakeTask.new(:spec)
-Rake::ExtensionTask.new('cbloomfilter')
+Rake::Task[:spec].prerequisites << :clean
+Rake::Task[:spec].prerequisites << :compile
View
@@ -16,11 +16,12 @@ Gem::Specification.new do |s|
s.add_dependency "redis"
s.add_development_dependency "rspec"
s.add_development_dependency "rake"
+ s.add_development_dependency "rake-compiler"
s.extensions = ["ext/cbloomfilter/extconf.rb"]
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
-end
+end

0 comments on commit 43a62e2

Please sign in to comment.