Skip to content
Browse files

add gemspec support

  • Loading branch information...
1 parent 2c8c816 commit f5875e27fe92013f5fdd85b1ffd0663016111e1f @flyerhzm committed Aug 26, 2009
Showing with 12 additions and 0 deletions.
  1. +12 −0 Rakefile
View
12 Rakefile
@@ -1,6 +1,7 @@
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
+require 'jeweler'
desc 'Default: run unit tests.'
task :default => :spec
@@ -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.
Something went wrong with that request. Please try again.