Rakefile in improved-rack-throttle-0.7.1 vs Rakefile in improved-rack-throttle-0.8.0
- old
+ new
@@ -26,16 +26,18 @@
gem.authors = ["Ben Somers", "Arto Bendiken", "Brendon Murphy"]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
-task :default => :spec
-
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "improved-rack-throttle #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
+task :default => :spec