Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…into union-and-intersection
  • Loading branch information...
commit 43a62e22c528c1762763b735f1050b53c2de34a5 2 parents 3b80125 + 91ec1ab
@apohllo apohllo authored
Showing with 8 additions and 3 deletions.
  1. +2 −0  .gitignore
  2. +4 −2 Rakefile
  3. +2 −1  bloomfilter-rb.gemspec
View
2  .gitignore
@@ -2,3 +2,5 @@
*.bundle
*.swp
ext/Makefile
+lib/cbloomfilter.so
+tmp
View
6 Rakefile
@@ -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
3  bloomfilter-rb.gemspec
@@ -16,6 +16,7 @@ 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"]
@@ -23,4 +24,4 @@ Gem::Specification.new do |s|
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
Please sign in to comment.
Something went wrong with that request. Please try again.