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 --- actionmailer/Rakefile | 14 ++++++------ actionmailer/lib/action_mailer/version.rb | 4 ++-- actionpack/Rakefile | 16 +++++++------- actionpack/lib/action_pack/version.rb | 4 ++-- actionwebservice/Rakefile | 18 ++++++++-------- actionwebservice/lib/action_web_service/version.rb | 4 ++-- activerecord/Rakefile | 16 +++++++------- activerecord/lib/active_record/version.rb | 4 ++-- activesupport/Rakefile | 14 ++++++------ activesupport/lib/active_support/version.rb | 4 ++-- railties/Rakefile | 25 ++++++++++++---------- railties/lib/rails/version.rb | 2 +- 12 files changed, 64 insertions(+), 61 deletions(-) diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 6095c6dced..aac65b21c3 100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -54,7 +54,7 @@ spec = Gem::Specification.new do |s| s.rubyforge_project = "actionmailer" s.homepage = "http://www.rubyonrails.org" - s.add_dependency('actionpack', '= 1.12.5' + PKG_BUILD) + s.add_dependency('actionpack', '= 1.13.3' + PKG_BUILD) s.has_rdoc = true s.requirements << 'none' @@ -85,11 +85,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 + 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 diff --git a/actionmailer/lib/action_mailer/version.rb b/actionmailer/lib/action_mailer/version.rb index 21bc3f6a92..03f075fbce 100644 --- a/actionmailer/lib/action_mailer/version.rb +++ b/actionmailer/lib/action_mailer/version.rb @@ -1,8 +1,8 @@ module ActionMailer module VERSION #:nodoc: MAJOR = 1 - MINOR = 2 - TINY = 5 + MINOR = 3 + TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') end 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 diff --git a/actionpack/lib/action_pack/version.rb b/actionpack/lib/action_pack/version.rb index 91e916df43..09eaef6eda 100644 --- a/actionpack/lib/action_pack/version.rb +++ b/actionpack/lib/action_pack/version.rb @@ -1,8 +1,8 @@ module ActionPack #:nodoc: module VERSION #:nodoc: MAJOR = 1 - MINOR = 12 - TINY = 5 + MINOR = 13 + TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') end 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 diff --git a/actionwebservice/lib/action_web_service/version.rb b/actionwebservice/lib/action_web_service/version.rb index cc1db8318f..ebcb7eaac4 100644 --- a/actionwebservice/lib/action_web_service/version.rb +++ b/actionwebservice/lib/action_web_service/version.rb @@ -1,8 +1,8 @@ module ActionWebService module VERSION #:nodoc: MAJOR = 1 - MINOR = 1 - TINY = 6 + MINOR = 2 + TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') end diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 1dc29c0138..f68457b7db 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -151,7 +151,7 @@ spec = Gem::Specification.new do |s| s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) } end - s.add_dependency('activesupport', '= 1.3.1' + PKG_BUILD) + s.add_dependency('activesupport', '= 1.4.2' + PKG_BUILD) s.files.delete "test/fixtures/fixture_database.sqlite" s.files.delete "test/fixtures/fixture_database_2.sqlite" @@ -216,11 +216,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 diff --git a/activerecord/lib/active_record/version.rb b/activerecord/lib/active_record/version.rb index 4568a1b4b4..4027561d84 100644 --- a/activerecord/lib/active_record/version.rb +++ b/activerecord/lib/active_record/version.rb @@ -1,8 +1,8 @@ module ActiveRecord module VERSION #:nodoc: MAJOR = 1 - MINOR = 14 - TINY = 4 + MINOR = 15 + TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') end diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 84e93079d3..03997a35dd 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -72,11 +72,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 diff --git a/activesupport/lib/active_support/version.rb b/activesupport/lib/active_support/version.rb index 8e0ef72982..d254873f71 100644 --- a/activesupport/lib/active_support/version.rb +++ b/activesupport/lib/active_support/version.rb @@ -1,8 +1,8 @@ module ActiveSupport module VERSION #:nodoc: MAJOR = 1 - MINOR = 3 - TINY = 1 + MINOR = 4 + TINY = 2 STRING = [MAJOR, MINOR, TINY].join('.') end 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 -- cgit v1.2.3