diff --git a/Rakefile b/Rakefile index abdf82d..2d5ac17 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ require 'rspec/core/rake_task' -require 'hanna/rdoctask' +require 'rdoc/task' spec = Gem::Specification.load("mongoid-tree.gemspec") @@ -8,6 +8,7 @@ RSpec::Core::RakeTask.new(:spec) task :default => :spec Rake::RDocTask.new do |rdoc| + rdoc.generator = 'hanna' rdoc.rdoc_dir = 'doc' rdoc.title = "#{spec.name} #{spec.version}" rdoc.options += spec.rdoc_options diff --git a/mongoid-tree.gemspec b/mongoid-tree.gemspec index a432eb8..a98edd4 100644 --- a/mongoid-tree.gemspec +++ b/mongoid-tree.gemspec @@ -17,5 +17,5 @@ Gem::Specification.new do |s| # s.add_runtime_dependency('mongoid', ['~> 2.0.0']) s.add_development_dependency('rspec', ['~> 2.3']) s.add_development_dependency('autotest', ['>= 4.3.2']) - s.add_development_dependency('hanna', ['>= 0.1.12']) + s.add_development_dependency('hanna-nouveau', ['>= 0.2.2']) end