Updated deprecated gem package task.

This commit is contained in:
Bob Aman 2011-11-16 14:56:10 +03:00
parent ed6e58a45c
commit 8b6a103bbf
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|
@ -44,7 +44,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