Sha256: 3157bb99805d8dba3a33386d6a353ed760a0158b8757e87ae556d3e6aa21a97f

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

require 'rake'
require 'rspec/core/rake_task'
require 'rake/rdoctask'
require 'jeweler'

desc 'Default: run unit tests.'
task :default => :spec

desc 'Generate documentation for the sitemap plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Bullet'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

# FIXME: 'rake spec' will break the test, just run 'ruby spec/association_spec.rb'
#desc "Run all specs in spec directory"
#Rspec::Core::RakeTask.new(:spec) do |t|
  #t.pattern = FileList['spec/**/*_spec.rb']
#end

Jeweler::Tasks.new do |gemspec|
  gemspec.name = "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.email = "flyerhzm@gmail.com"
  gemspec.homepage = "http://github.com/flyerhzm/bullet"
  gemspec.authors = ["Richard Huang"]
  gemspec.files.exclude '.gitignore'
  gemspec.files.exclude 'log/*'
end
Jeweler::GemcutterTasks.new

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bullet-2.0.0.beta.2 Rakefile
bullet-2.0.0.beta.1 Rakefile