Updated deprecated gem package task.

This commit is contained in:
Bob Aman 2011-11-16 14:56:10 +03:00
parent 1b70d95cbe
commit 175032e07b
2 changed files with 2 additions and 6 deletions

View File

@ -4,10 +4,6 @@ $LOAD_PATH.uniq!
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
gem 'rspec', '~> 1.2.9'
begin

View File

@ -1,4 +1,4 @@
require 'rake/gempackagetask'
require 'rubygems/package_task'
namespace :gem do
GEM_SPEC = Gem::Specification.new do |s|
@ -43,7 +43,7 @@ namespace :gem do
s.homepage = PKG_HOMEPAGE
end
Rake::GemPackageTask.new(GEM_SPEC) do |p|
Gem::PackageTask.new(GEM_SPEC) do |p|
p.gem_spec = GEM_SPEC
p.need_tar = true
p.need_zip = true