From 635c7f43ddb4f3f3bd52698fcaf97e262b1738be Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 21 Apr 2007 17:06:16 +0000 Subject: Run with the latest versions so beta gems will work git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/Rakefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'actionwebservice/Rakefile') diff --git a/actionwebservice/Rakefile b/actionwebservice/Rakefile index a8bfa71d7b..fec9aae903 100644 --- a/actionwebservice/Rakefile +++ b/actionwebservice/Rakefile @@ -71,8 +71,8 @@ spec = Gem::Specification.new do |s| s.rubyforge_project = "aws" s.homepage = "http://www.rubyonrails.org" - s.add_dependency('actionpack', '= 1.12.5' + PKG_BUILD) - s.add_dependency('activerecord', '= 1.14.4' + PKG_BUILD) + s.add_dependency('actionpack', '= 1.13.3' + PKG_BUILD) + s.add_dependency('activerecord', '= 1.15.3' + PKG_BUILD) s.has_rdoc = true s.requirements << 'none' @@ -161,11 +161,11 @@ end desc "Publish the release files to RubyForge." task :release => [ :package ] do - `rubyforge login` + require 'rubyforge' - for ext in %w( gem tgz zip ) - release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" - puts release_command - system(release_command) - end -end + packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" } + + rubyforge = RubyForge.new + rubyforge.login + rubyforge.add_release(PKG_NAME, PKG_NAME, "REL #{PKG_VERSION}", *packages) +end \ No newline at end of file -- cgit v1.2.3