Rakefile in loofah-0.4.7 vs Rakefile in loofah-1.0.0.beta.1
- old
+ new
@@ -1,35 +1,27 @@
require 'rubygems'
gem 'hoe', '>= 2.3.0'
require 'hoe'
Hoe.plugin :git
+Hoe.plugin :bundler
Hoe.spec "loofah" do
developer "Mike Dalessio", "mike.dalessio@gmail.com"
developer "Bryan Helmkamp", "bryan@brynary.com"
self.extra_rdoc_files = FileList["*.rdoc"]
self.history_file = "CHANGELOG.rdoc"
self.readme_file = "README.rdoc"
- extra_deps << ["nokogiri", ">= 1.3.3"]
+ extra_deps << ["nokogiri", ">=1.3.3"]
extra_dev_deps << ["mocha", ">=0.9"]
- extra_dev_deps << ["thoughtbot-shoulda", ">=2.10"]
- extra_dev_deps << ["acts_as_fu", ">=0.0.5"]
-
- # note: .hoerc should have the following line to omit rails tests and tmp
- # exclude: !ruby/regexp /\/tmp\/|\/rails_tests\/|CVS|TAGS|\.(svn|git|DS_Store)/
+ extra_dev_deps << ["shoulda", ">=2.10"]
+ extra_dev_deps << ["rake", ">=0.8"]
end
-if File.exist?("rails_test/Rakefile")
- load "rails_test/Rakefile"
-else
- task :test do
- puts "----------"
- puts "-- NOTE: An additional Rails regression test suite is available in source repository"
- puts "----------"
- end
+task :gemspec do
+ system %q(rake debug_gem | grep -v "^\(in " > loofah.gemspec)
end
task :redocs => :fix_css
task :docs => :fix_css
task :fix_css do