Skip to content

Commit

Permalink
Fixed rake/rdoctask deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Turner committed Aug 26, 2011
1 parent 37b402d commit 894b0f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -9,6 +9,7 @@ group :development do
gem "jeweler", "~> 1.5"
gem "rcov", ">= 0"
gem 'rspec-core', "~> 2.0"
gem 'rdoc'
end

group :test do
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -24,6 +24,7 @@ GEM
tzinfo (~> 0.3.22)
rake (0.9.2)
rcov (0.9.10)
rdoc (3.9.4)
remarkable (4.0.0.alpha4)
rspec (>= 2.0.0.alpha11)
remarkable_activemodel (4.0.0.alpha4)
Expand Down Expand Up @@ -51,6 +52,7 @@ DEPENDENCIES
jeweler (~> 1.5)
mongoid (>= 2.1.0)
rcov
rdoc
remarkable_mongoid
rr
rspec-core (~> 2.0)
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -34,8 +34,8 @@ end

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
require 'rdoc/task'
RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
Expand Down

0 comments on commit 894b0f0

Please sign in to comment.