Skip to content

Commit

Permalink
add gemspec support
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Aug 26, 2009
1 parent 2c8c816 commit f5875e2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Rakefile
@@ -1,6 +1,7 @@
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'jeweler'

desc 'Default: run unit tests.'
task :default => :spec
Expand All @@ -18,3 +19,14 @@ desc "Run all specs in spec directory"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/spec_helper.rb', '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 = "This plugin is aimed to give you some performance suggestion about ActiveRecord usage, what should use but not use, such as eager loading, counter cache and so on, what should not use but use, such as unused eager loading. Now it provides you the suggestion of eager loading and unused eager loading. The others are todo, next may be couter cache."
gemspec.email = "flyerhzm@gmail.com"
gemspec.homepage = "http://www.huangzhimin.com/projects/4-bullet"
gemspec.authors = ["Richard Huang"]
gemspec.files.exclude '.gitignore'
gemspec.files.exclude 'log/'
end

0 comments on commit f5875e2

Please sign in to comment.