Skip to content

Commit

Permalink
fix Rake::RDocTask deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
etehtsea committed Jun 4, 2011
1 parent da404f4 commit 6e91e9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -2,7 +2,7 @@ require "bundler"
Bundler.setup

require "rake"
require "rake/rdoctask"
require "rdoc/task"
require "rspec"
require "rspec/core/rake_task"

Expand Down Expand Up @@ -41,7 +41,7 @@ RSpec::Core::RakeTask.new('spec:progress') do |spec|
spec.pattern = "spec/**/*_spec.rb"
end

Rake::RDocTask.new do |rdoc|
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = "rdoc"
rdoc.title = "mongoid #{Mongoid::VERSION}"
rdoc.rdoc_files.include("README*")
Expand Down
1 change: 1 addition & 0 deletions mongoid.gemspec
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
s.add_dependency("tzinfo", ["~> 0.3.22"])
s.add_dependency("mongo", ["~> 1.3"])

s.add_development_dependency("rdoc", ["~> 3.5.0"])
s.add_development_dependency("bson_ext", ["~> 1.3"])
s.add_development_dependency("mocha", ["= 0.9.8"])
s.add_development_dependency("rspec", ["~> 2.6"])
Expand Down

0 comments on commit 6e91e9f

Please sign in to comment.