Rakefile in rconf-1.0.9 vs Rakefile in rconf-1.0.10

- old
+ new

@@ -8,15 +8,15 @@ # including confidentiality obligations, set forth in the applicable # License Agreement between RightScale.com, Inc. and # the licensee require 'rubygems' +require 'rubygems/package_task' require 'fileutils' require 'rake' require 'rspec/core/rake_task' -require 'rake/gempackagetask' require 'rake/clean' begin require 'rdoc/task' rescue LoadError => e @@ -47,10 +47,10 @@ end end # == Gem == # -gemtask = Rake::GemPackageTask.new(Gem::Specification.load('rconf.gemspec')) do |package| +gemtask = Gem::PackageTask.new(Gem::Specification.load('rconf.gemspec')) do |package| package.package_dir = ENV['PACKAGE_DIR'] || 'pkg' package.need_zip = true package.need_tar = true end