lib/tasks/release.rake in radiant-1.1.2 vs lib/tasks/release.rake in radiant-1.1.3
- old
+ new
@@ -1,9 +1,9 @@
require 'rubygems'
require 'rake/testtask'
require 'rdoc/task'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require 'radiant'
PKG_NAME = 'radiant'
PKG_VERSION = Radiant::Version.to_s
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
@@ -29,11 +29,11 @@
s.description = "Radiant is a simple and powerful publishing system designed for small teams.\nIt is built with Rails and is similar to Textpattern or MovableType, but is\na general purpose content managment system--not merely a blogging engine."
s.homepage = 'http://radiantcms.org'
s.rubyforge_project = RUBY_FORGE_PROJECT
s.platform = Gem::Platform::RUBY
s.bindir = 'bin'
- s.executables = (Dir['bin/*'] + Dir['scripts/*']).map { |file| File.basename(file) }
+ s.executables = (Dir['bin/*'] + Dir['scripts/*']).map { |file| File.basename(file) }
s.add_dependency 'rake', '>= 0.8.3'
s.add_dependency 'rack', '~> 1.1.0' # No longer bundled in actionpack
s.add_dependency 'compass', '~> 0.10.4'
s.add_dependency 'will_paginate', '~> 2.3.11'
s.add_dependency 'RedCloth', '>=4.2.0'
@@ -71,10 +71,10 @@
end
end
s.files = files.to_a
end
- Rake::GemPackageTask.new(spec) do |pkg|
+ Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
task :gemspec do