diff options
author | Bryan McLellan <btm@opscode.com> | 2011-08-03 13:38:13 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2011-08-03 14:46:19 -0700 |
commit | 9aa5b4d3af9de4f7c9bd4e5b2a1ae5936fedc70e (patch) | |
tree | dcf1f65bb6a64e8ca75250281660d107136d0484 | |
parent | 95f2b3d5d64e4840131433ffb40fad0c8bb1f510 (diff) | |
download | chef-9aa5b4d3af9de4f7c9bd4e5b2a1ae5936fedc70e.tar.gz |
Migrate from deprecated Rake::GemPackageTask to Gem::PackageTask
-rw-r--r-- | chef/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/Rakefile b/chef/Rakefile index 6c826050fe..4340493908 100644 --- a/chef/Rakefile +++ b/chef/Rakefile @@ -20,7 +20,7 @@ require File.dirname(__FILE__) + '/lib/chef/version' require 'rubygems' -require 'rake/gempackagetask' +require 'rubygems/package_task' require 'rake/rdoctask' require './tasks/rspec.rb' @@ -31,7 +31,7 @@ spec = eval(File.read("chef.gemspec")) # This has to be here or else the docs get generated *after* the gem is created task :gem => 'docs:all' -Rake::GemPackageTask.new(spec) do |pkg| +Gem::PackageTask.new(spec) do |pkg| pkg.gem_spec = spec end |