summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Fellinger <m.fellinger@gmail.com>2011-12-28 03:54:19 +0100
committerMichael Fellinger <m.fellinger@gmail.com>2011-12-28 03:54:19 +0100
commit3663cb778740a58f60c7571db99f96c4c9174dd3 (patch)
tree55453781b7d8c1e10e7f20835df973a3795522ef
parentb90543f46b94af5d5c24720d8dce59e839c7409e (diff)
downloadbacon-3663cb778740a58f60c7571db99f96c4c9174dd3.tar.gz
bacon-3663cb778740a58f60c7571db99f96c4c9174dd3.tar.xz
bacon-3663cb778740a58f60c7571db99f96c4c9174dd3.zip
Update deprecated calls in rakefile
-rw-r--r--Rakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index b0d1a1f..3d58cfa 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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