diff options
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/Rakefile | 16 | ||||
-rw-r--r-- | activerecord/lib/active_record/version.rb | 4 |
2 files changed, 10 insertions, 10 deletions
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 |