Skip to content

Commit

Permalink
Update Rakefile scaffolding
Browse files Browse the repository at this point in the history
Updates the code generated in the Rakefile to remove depreciated warnings
  • Loading branch information
catsby authored and davetron5000 committed Feb 7, 2012
1 parent f94cfcf commit 9c4ecc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/support/scaffold.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def self.mk_rakefile(root_dir,dry_run,project_name,create_test_dir)
file.puts <<EOS
require 'rake/clean'
require 'rubygems'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rubygems/package_task'
require 'rdoc/task'
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
Expand All @@ -98,7 +98,7 @@ def self.mk_rakefile(root_dir,dry_run,project_name,create_test_dir)
spec = eval(File.read('#{project_name}.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
Gem::PackageTask.new(spec) do |pkg|
end
EOS
Expand Down

0 comments on commit 9c4ecc1

Please sign in to comment.