Permalink
Browse files

Update deprecated calls in rakefile

  • Loading branch information...
1 parent b90543f commit 3663cb778740a58f60c7571db99f96c4c9174dd3 @manveru manveru committed Dec 28, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 Rakefile
View
@@ -1,5 +1,5 @@
# Rakefile for Bacon. -*-ruby-*-
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/testtask'
@@ -85,7 +85,7 @@ begin
require 'rake'
require 'rake/clean'
require 'rake/packagetask'
- require 'rake/gempackagetask'
+ require 'rubygems/package_task'
require 'fileutils'
rescue LoadError
# Too bad.
@@ -118,8 +118,7 @@ http://github.com/chneukirchen/bacon
task :gem => [:chmod, :changelog]
- Rake::GemPackageTask.new(spec) do |p|
- p.gem_spec = spec
+ Gem::PackageTask.new(spec) do |p|
p.need_tar = false
p.need_zip = false
end

0 comments on commit 3663cb7

Please sign in to comment.