aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-04 12:35:10 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-04 12:35:10 +0000
commitf2e6945b25d92d5a4a00e5678d8515ae35cd24bb (patch)
treecf1022909d67ed4b464a73492ab468d66bc9fc14
parent2afdf01e5c354bdc49b1d1329333a01b7012134b (diff)
downloadrails-f2e6945b25d92d5a4a00e5678d8515ae35cd24bb.tar.gz
rails-f2e6945b25d92d5a4a00e5678d8515ae35cd24bb.tar.bz2
rails-f2e6945b25d92d5a4a00e5678d8515ae35cd24bb.zip
Prepared for release of 0.9.3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/CHANGELOG14
-rwxr-xr-xactionpack/Rakefile4
-rw-r--r--actionpack/install.rb9
-rw-r--r--activerecord/CHANGELOG76
-rwxr-xr-xactiverecord/Rakefile2
-rw-r--r--railties/CHANGELOG16
-rw-r--r--railties/Rakefile2
7 files changed, 66 insertions, 57 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 8b07c13dbb..a9c5796118 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,25 +1,25 @@
-*SVN*
+*1.2.0* (January 4th, 2005)
* Added MemCacheStore for storing session data in Danga's MemCache system [Bob Cottrell]
Depends on: MemCached server (http://www.danga.com/memcached/), MemCache client (http://raa.ruby-lang.org/project/memcache/)
-* Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh]
-
-* Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness
-
* Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz]
* Added DateHelper#select_time and DateHelper#select_second #373 [Scott Baron]
+* Added :host and :protocol options to url_for and friends to redirect to another host and protocol than the current.
+
* Added class declaration for the MissingFile exception #388 [Kent Sibilev]
* Added "short hypertext note with a hyperlink to the new URI(s)" to redirects to fulfill compliance with RFC 2616 (HTTP/1.1) section 10.3.3 #397 [Tim Bates]
* Added second boolean parameter to Base.redirect_to_url and Response#redirect to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel]
-* Fixed that @request.remote_ip didn't work in the test environment #369 [Bruno Mattarollo]
+* Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh]
-* Added :host and :protocol options to url_for and friends to redirect to another host and protocol than the current.
+* Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness
+
+* Fixed that @request.remote_ip didn't work in the test environment #369 [Bruno Mattarollo]
*1.1.0*
diff --git a/actionpack/Rakefile b/actionpack/Rakefile
index 1307497f15..0f9da91b3e 100755
--- a/actionpack/Rakefile
+++ b/actionpack/Rakefile
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'actionpack'
-PKG_VERSION = '1.1.0' + PKG_BUILD
+PKG_VERSION = '1.2.0' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
desc "Default Task"
@@ -49,7 +49,7 @@ spec = Gem::Specification.new do |s|
s.author = "David Heinemeier Hansson"
s.email = "david@loudthinking.com"
s.rubyforge_project = "actionpack"
- s.homepage = "http://actionpack.rubyonrails.org"
+ s.homepage = "http://www.rubyonrails.org"
s.has_rdoc = true
s.requirements << 'none'
diff --git a/actionpack/install.rb b/actionpack/install.rb
index 0f7b91e0d7..fb37263617 100644
--- a/actionpack/install.rb
+++ b/actionpack/install.rb
@@ -40,8 +40,10 @@ files = %w-
action_controller/benchmarking.rb
action_controller/cgi_ext/cgi_ext.rb
action_controller/cgi_ext/cgi_methods.rb
+ action_controller/cgi_ext/cookie_performance_fix.rb
action_controller/cgi_process.rb
action_controller/cookies.rb
+ action_controller/dependencies.rb
action_controller/filters.rb
action_controller/flash.rb
action_controller/helpers.rb
@@ -53,11 +55,18 @@ files = %w-
action_controller/session/active_record_store.rb
action_controller/session/drb_server.rb
action_controller/session/drb_store.rb
+ action_controller/session/mem_cache_store.rb
+ action_controller/session.rb
action_controller/support/class_inheritable_attributes.rb
action_controller/support/class_attribute_accessors.rb
action_controller/support/clean_logger.rb
action_controller/support/cookie_performance_fix.rb
action_controller/support/inflector.rb
+ action_controller/support/binding_of_caller.rb
+ action_controller/support/breakpoint.rb
+ action_controller/support/dependencies.rb
+ action_controller/support/misc.rb
+ action_controller/support/module_attribute_accessors.rb
action_controller/templates/rescues/_request_and_response.rhtml
action_controller/templates/rescues/diagnostics.rhtml
action_controller/templates/rescues/layout.rhtml
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index f1b6f3003a..be46c22096 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,12 +1,22 @@
-*SVN*
+*1.4.0* (January 4th, 2005)
-* Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406
-
-* Fixed that the overwritten respond_to? method didn't take two parameters like the original #391
-
-* Added HasManyAssociation#count that works like Base#count #413 [intinig]
+* Added automated optimistic locking if the field <tt>lock_version</tt> is present. Each update to the
+ record increments the lock_version column and the locking facilities ensure that records instantiated twice
+ will let the last one saved raise a StaleObjectError if the first was also updated. Example:
+
+ p1 = Person.find(1)
+ p2 = Person.find(1)
+
+ p1.first_name = "Michael"
+ p1.save
+
+ p2.first_name = "should fail"
+ p2.save # Raises a ActiveRecord::StaleObjectError
+
+ You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging,
+ or otherwise apply the business logic needed to resolve the conflict.
-* Fixed handling of binary content in blobs and similar fields for Ruby/MySQL and SQLite #409 [xal]
+ #384 [Michael Koziarski]
* Added dynamic attribute-based finders as a cleaner way of getting objects by simple queries without turning to SQL.
They work by appending the name of an attribute to <tt>find_by_</tt>, so you get finders like <tt>Person.find_by_user_name,
@@ -22,14 +32,6 @@
<tt>Payment.find_all_by_amount(50)</tt> that is turned into <tt>Payment.find_all(["amount = ?", 50])</tt>. This is something not as equally useful,
though, as it's not possible to specify the order in which the objects are returned.
-* Added that Base#find takes an optional options hash, including :conditions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat]
-
-* Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]
-
-* Added the final touches to the Microsoft SQL Server adapter by DeLynn Berry that makes it suitable for actual use #394 [DeLynn Barry]
-
-* Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias Luetke]
-
* Added block-style for callbacks #332 [bitsweat].
Before:
@@ -38,39 +40,37 @@
After:
before_destroy { |record| Person.destroy_all "firm_id = #{record.id}" }
-* Added automated optimistic locking if the field <tt>lock_version</tt> is present. Each update to the
- record increments the lock_version column and the locking facilities ensure that records instantiated twice
- will let the last one saved raise a StaleObjectError if the first was also updated. Example:
-
- p1 = Person.find(1)
- p2 = Person.find(1)
-
- p1.first_name = "Michael"
- p1.save
-
- p2.first_name = "should fail"
- p2.save # Raises a ActiveRecord::StaleObjectError
-
- You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging,
- or otherwise apply the business logic needed to resolve the conflict.
-
- #384 [Michael Koziarski]
-
* Added :counter_cache option to acts_as_tree that works just like the one you can define on belongs_to #371 [Josh]
-* Fixed quoting in validates_format_of that would allow some rules to pass regardless of input #390 [Dmitry V. Sabanin]
-
-* Fixed broken transactions that were actually only running object-level and not db level transactions [andreas]
-
* Added Base.default_timezone accessor that determines whether to use Time.local (using :local) or Time.utc (using :utc) when pulling dates
and times from the database. This is set to :local by default.
* Added the possibility for adapters to overwrite add_limit! to implement a different limiting scheme than "LIMIT X" used by MySQL, PostgreSQL, and SQLite.
+* Added the possibility of having objects with acts_as_list created before their scope is available or...
+
+* Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]
+
+* Added the final touches to the Microsoft SQL Server adapter by Joey Gibson that makes it suitable for actual use #394 [DeLynn Barry]
+
+* Added that Base#find takes an optional options hash, including :conditions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat]
+
+* Added HasManyAssociation#count that works like Base#count #413 [intinig]
+
+* Fixed handling of binary content in blobs and similar fields for Ruby/MySQL and SQLite #409 [xal]
+
+* Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias Luetke]
+
* Fixed that the const_missing autoload assumes the requested constant is set by require_association and calls const_get to retrieve it.
If require_association did not set the constant then const_get will call const_missing, resulting in an infinite loop #380 [bitsweat]
-* Added the possibility of having objects with acts_as_list created before their scope is available or...
+* Fixed broken transactions that were actually only running object-level and not db level transactions [andreas]
+
+* Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406
+
+* Fixed that the overwritten respond_to? method didn't take two parameters like the original #391
+
+* Fixed quoting in validates_format_of that would allow some rules to pass regardless of input #390 [Dmitry V. Sabanin]
*1.3.0* (December 23, 2004)
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index ef08625e35..a82b3edf03 100755
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'activerecord'
-PKG_VERSION = '1.3.0' + PKG_BUILD
+PKG_VERSION = '1.4.0' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_FILES = FileList[
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 6027d52a67..8ba416e378 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,12 +1,14 @@
-*SVN*
+*0.9.3* (January 4th, 2005)
* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
-* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
-
* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
-* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
+* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
+ for functional testing.
+
+* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
+ It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
the environment options needs to change from:
@@ -25,11 +27,9 @@
Now in production.rb and test.rb:
Dependencies.mechanism = :require
-* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
- for functional testing.
+* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
-* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
- It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
+* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
*0.9.2*
diff --git a/railties/Rakefile b/railties/Rakefile
index 7370df8483..0fd4230f7d 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -9,7 +9,7 @@ require 'rbconfig'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'rails'
-PKG_VERSION = '0.9.2' + PKG_BUILD
+PKG_VERSION = '0.9.3' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"