Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 1.22 KB
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'jeweler'
desc 'Default: run unit tests.'
task :default => :spec
desc 'Generate documentation for the sitemap plugin.' do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Bullet'
rdoc.options << '--line-numbers' << '--inline-source'
desc "Run all specs in spec directory" do |t|
t.spec_files = FileList['spec/spec_helper.rb', 'spec/**/*_spec.rb']
end do |gemspec| = "bullet"
gemspec.summary = "A plugin to kill N+1 queries and unused eager loading"
gemspec.description = "The Bullet plugin is designed to help you increase your application's performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries) or when you're using eager loading that isn't necessary." = ""
gemspec.homepage = ""
gemspec.authors = ["Richard Huang"]
gemspec.files.exclude '.gitignore'
gemspec.files.exclude 'log/*'
Something went wrong with that request. Please try again.