Rakefile in resque-throttle-0.2.19 vs Rakefile in resque-throttle-0.3.0
- old
+ new
@@ -11,11 +11,10 @@
gem.homepage = "http://github.com/scotttam/resque-throttle"
gem.authors = ["Scott J. Tamosunas"]
gem.add_dependency "resque", ">=1.6.0"
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
gem.add_development_dependency "mocha", ">=0.9.8"
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
@@ -42,10 +41,10 @@
task :test => :check_dependencies
task :default => :test
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "resque-throttle #{version}"