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 /railties | |
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 'railties')
-rw-r--r-- | railties/Rakefile | 25 | ||||
-rw-r--r-- | railties/lib/rails/version.rb | 2 |
2 files changed, 15 insertions, 12 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 12bf9bfbd8..da79ea9963 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -309,11 +309,11 @@ spec = Gem::Specification.new do |s| EOF s.add_dependency('rake', '>= 0.7.2') - s.add_dependency('activesupport', '= 1.3.1' + PKG_BUILD) - s.add_dependency('activerecord', '= 1.14.4' + PKG_BUILD) - s.add_dependency('actionpack', '= 1.12.5' + PKG_BUILD) - s.add_dependency('actionmailer', '= 1.2.5' + PKG_BUILD) - s.add_dependency('actionwebservice', '= 1.1.6' + PKG_BUILD) + s.add_dependency('activesupport', '= 1.4.2' + PKG_BUILD) + s.add_dependency('activerecord', '= 1.15.3' + PKG_BUILD) + s.add_dependency('actionpack', '= 1.13.3' + PKG_BUILD) + s.add_dependency('actionmailer', '= 1.3.3' + PKG_BUILD) + s.add_dependency('actionwebservice', '= 1.2.3' + PKG_BUILD) s.rdoc_options << '--exclude' << '.' s.has_rdoc = false @@ -344,9 +344,12 @@ task :pgem => [:gem] do end desc "Publish the release files to RubyForge." -task :release => [ :gem ] do - `rubyforge login` - release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.gem" - puts release_command - system(release_command) -end +task :release => [ :package ] do + require 'rubyforge' + + packages = %w( gem ).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 diff --git a/railties/lib/rails/version.rb b/railties/lib/rails/version.rb index c576e885ee..b6bd42054a 100644 --- a/railties/lib/rails/version.rb +++ b/railties/lib/rails/version.rb @@ -2,7 +2,7 @@ module Rails module VERSION #:nodoc: MAJOR = 1 MINOR = 2 - TINY = 0 + TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') end |