Skip to content

Commit

Permalink
Making ready for release of 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 1, 2008
1 parent ef0ea78 commit f9db769
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 43 deletions.
2 changes: 1 addition & 1 deletion actionmailer/CHANGELOG
@@ -1,4 +1,4 @@
*2.1.0 RC1 (May 11th, 2008)*
*2.1.0 (May 31st, 2008)*

* Fixed that a return-path header would be ignored #7572 [joost]

Expand Down
2 changes: 1 addition & 1 deletion actionmailer/Rakefile
Expand Up @@ -55,7 +55,7 @@ spec = Gem::Specification.new do |s|
s.rubyforge_project = "actionmailer"
s.homepage = "http://www.rubyonrails.org"

s.add_dependency('actionpack', '= 2.0.991' + PKG_BUILD)
s.add_dependency('actionpack', '= 2.1.0' + PKG_BUILD)

s.has_rdoc = true
s.requirements << 'none'
Expand Down
4 changes: 2 additions & 2 deletions actionmailer/lib/action_mailer/version.rb
@@ -1,8 +1,8 @@
module ActionMailer
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
4 changes: 2 additions & 2 deletions actionpack/CHANGELOG
@@ -1,6 +1,6 @@
* InstanceTag#default_time_from_options overflows to DateTime [Geoff Buesing]
*2.1.0 (May 31st, 2008)*

*2.1.0 RC1 (May 11th, 2008)*
* InstanceTag#default_time_from_options overflows to DateTime [Geoff Buesing]

* Fixed that forgery protection can be used without session tracking (Peter Jones) [#139]

Expand Down
2 changes: 1 addition & 1 deletion actionpack/Rakefile
Expand Up @@ -76,7 +76,7 @@ spec = Gem::Specification.new do |s|
s.has_rdoc = true
s.requirements << 'none'

s.add_dependency('activesupport', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activesupport', '= 2.1.0' + PKG_BUILD)

s.require_path = 'lib'
s.autorequire = 'action_controller'
Expand Down
4 changes: 2 additions & 2 deletions actionpack/lib/action_pack/version.rb
@@ -1,8 +1,8 @@
module ActionPack #:nodoc:
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
6 changes: 4 additions & 2 deletions activerecord/CHANGELOG
@@ -1,6 +1,8 @@
* Add first/last methods to associations/named_scope. Resolved #226. [Ryan Bates]
*2.1.0 (May 31st, 2008)*

*2.1.0 RC1 (May 11th, 2008)*
* Added SQL escaping for :limit and :offset #288 [Aaron Bedra, Steven Bristol, Jonathan Wiess]

* Added first/last methods to associations/named_scope. Resolved #226. [Ryan Bates]

* Ensure hm:t preloading honours reflection options. Resolves #137. [Frederick Cheung]

Expand Down
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Expand Up @@ -171,7 +171,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', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activesupport', '= 2.1.0' + PKG_BUILD)

s.files.delete FIXTURES_ROOT + "/fixture_database.sqlite"
s.files.delete FIXTURES_ROOT + "/fixture_database_2.sqlite"
Expand Down
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/version.rb
@@ -1,8 +1,8 @@
module ActiveRecord
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
4 changes: 2 additions & 2 deletions activerecord/test/connections/native_mysql/connection.rb
Expand Up @@ -12,13 +12,13 @@
ActiveRecord::Base.configurations = {
'arunit' => {
:adapter => 'mysql',
:username => 'rails',
:username => 'root',
:encoding => 'utf8',
:database => 'activerecord_unittest',
},
'arunit2' => {
:adapter => 'mysql',
:username => 'rails',
:username => 'root',
:database => 'activerecord_unittest2'
}
}
Expand Down
2 changes: 1 addition & 1 deletion activeresource/CHANGELOG
@@ -1,4 +1,4 @@
*2.1.0 RC1 (May 11th, 2008)*
*2.1.0 (May 31st, 2008)*

* Fixed response logging to use length instead of the entire thing (seangeo) [#27]

Expand Down
2 changes: 1 addition & 1 deletion activeresource/Rakefile
Expand Up @@ -64,7 +64,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', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activesupport', '= 2.1.0' + PKG_BUILD)

s.require_path = 'lib'
s.autorequire = 'active_resource'
Expand Down
4 changes: 2 additions & 2 deletions activeresource/lib/active_resource/version.rb
@@ -1,8 +1,8 @@
module ActiveResource
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
4 changes: 2 additions & 2 deletions activesupport/CHANGELOG
@@ -1,3 +1,5 @@
*2.1.0 (May 31st, 2008)*

* TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370] [Geoff Buesing]

* Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out of range of Time. Adding tests for utc offsets [Geoff Buesing]
Expand All @@ -6,8 +8,6 @@

* Time#to_json: don't convert to utc before encoding. References #175 [Geoff Buesing]

*2.1.0 RC1 (May 11th, 2008)*

* Remove unused JSON::RESERVED_WORDS, JSON.valid_identifier? and JSON.reserved_word? methods. Resolves #164. [Cheah Chu Yeow]

* Adding Date.current, which returns Time.zone.today if config.time_zone is set; otherwise returns Date.today [Geoff Buesing]
Expand Down
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/version.rb
@@ -1,8 +1,8 @@
module ActiveSupport
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
8 changes: 1 addition & 7 deletions railties/CHANGELOG
@@ -1,10 +1,4 @@
*SVN*

* Consolidate error messages for missing gems, and skip them when running rake gems:* tasks. [rick]

* Use a system command to install gems, since GemRunner exits the ruby process. #210 [Tim Morgan]

*2.1.0 RC1 (May 11th, 2008)*
*2.1.0 (May 31st, 2008)*

* script/dbconsole fires up the command-line database client. #102 [Steve Purcell]

Expand Down
10 changes: 5 additions & 5 deletions railties/Rakefile
Expand Up @@ -304,11 +304,11 @@ spec = Gem::Specification.new do |s|
EOF

s.add_dependency('rake', '>= 0.8.1')
s.add_dependency('activesupport', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activerecord', '= 2.0.991' + PKG_BUILD)
s.add_dependency('actionpack', '= 2.0.991' + PKG_BUILD)
s.add_dependency('actionmailer', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activeresource', '= 2.0.991' + PKG_BUILD)
s.add_dependency('activesupport', '= 2.1.0' + PKG_BUILD)
s.add_dependency('activerecord', '= 2.1.0' + PKG_BUILD)
s.add_dependency('actionpack', '= 2.1.0' + PKG_BUILD)
s.add_dependency('actionmailer', '= 2.1.0' + PKG_BUILD)
s.add_dependency('activeresource', '= 2.1.0' + PKG_BUILD)

s.rdoc_options << '--exclude' << '.'
s.has_rdoc = false
Expand Down
4 changes: 2 additions & 2 deletions railties/lib/rails/version.rb
@@ -1,8 +1,8 @@
module Rails
module VERSION #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 991
MINOR = 1
TINY = 0

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
7 changes: 2 additions & 5 deletions release.rb
Expand Up @@ -4,7 +4,7 @@
PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)

# Checkout source
`rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release`
# `rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release`

# Create Rails packages
`cd release/railties && rake template=jamis package`
Expand All @@ -19,7 +19,4 @@

# Upload rails tgz/zip
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.tgz`
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`

# Create SVN tag
puts "Remember to create SVN tag"
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`

0 comments on commit f9db769

Please sign in to comment.