Rakefile in boned-0.2.4 vs Rakefile in boned-0.2.5
- old
+ new
@@ -1,14 +1,18 @@
require 'rake/clean'
require 'rake/gempackagetask'
-require 'hanna/rdoctask'
require 'rake/testtask'
-require 'shoulda/tasks'
require 'rake/runtest'
require 'fileutils'
include FileUtils
-
+
+begin
+ require 'hanna/rdoctask'
+rescue LoadError
+ require 'rake/rdoctask'
+end
+
task :default => :test
# PACKAGE =============================================================