diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-21 17:06:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-21 17:06:16 +0000 |
commit | 635c7f43ddb4f3f3bd52698fcaf97e262b1738be (patch) | |
tree | f3a448651ebfa099cee4020a86c869f7f0fde15f /actionpack/Rakefile | |
parent | 15741451855c80f775c0237cc9bcacf55666e136 (diff) | |
download | rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.tar.gz rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.tar.bz2 rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.zip |
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
Diffstat (limited to 'actionpack/Rakefile')
-rwxr-xr-x | actionpack/Rakefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 817e202072..4bca6b6dfd 100755 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -75,7 +75,7 @@ spec = Gem::Specification.new do |s| s.has_rdoc = true s.requirements << 'none' - s.add_dependency('activesupport', '= 1.3.1' + PKG_BUILD) + s.add_dependency('activesupport', '= 1.4.2' + PKG_BUILD) s.require_path = 'lib' s.autorequire = 'action_controller' @@ -144,11 +144,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 |