diff options
author | minskim <minskim> | 2008-09-15 05:38:29 +0000 |
---|---|---|
committer | minskim <minskim> | 2008-09-15 05:38:29 +0000 |
commit | 8d927933df8391fee3bb015505eb0060c0cd6cc5 (patch) | |
tree | 47352d5e39e4dc7eb8ecaaa6cc2af0df0ea32b59 /databases/ruby-activerecord/Makefile | |
parent | bbe3e82bbeee87fa7ccd85474781c8f8f3c63718 (diff) | |
download | pkgsrc-8d927933df8391fee3bb015505eb0060c0cd6cc5.tar.gz |
Update ruby-activerecord to 2.1.1.
Changes:
* Set config.active_record.timestamped_migrations = false to have
migrations with numeric prefix instead of UTC
timestamp. #446.
* Fixed that create database statements would always include "DEFAULT
NULL" [#334]
* change_column_default preserves the not-null constraint. #617
* Add :tokenizer option to validates_length_of to specify how to split
up the attribute string. #507. Example :
# Ensure essay contains at least 100 words.
validates_length_of :essay, :minimum => 100, :too_short => "Your
essay must be at least %d words."), :tokenizer => lambda {|str|
str.scan(/\w+/) }
* Always treat integer :limit as byte length. #420
* Partial updates don't update lock_version if nothing changed. #426
* Fix column collision with named_scope and :joins. #46
* db:migrate:down and :up update schema_migrations. #369
* PostgreSQL: support :conditions => [':foo::integer', { :foo => 1 }]
without treating the ::integer typecast as a bind variable.
* MySQL: rename_column preserves column defaults. #466
* Add :from option to calculations. #397
* Add :validate option to associations to enable/disable the automatic
validation of associated models. Resolves #301.
* PostgreSQL: use 'INSERT ... RETURNING id' for 8.2 and later.
* Added SQL escaping for :limit and :offset in MySQL
Diffstat (limited to 'databases/ruby-activerecord/Makefile')
-rw-r--r-- | databases/ruby-activerecord/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/ruby-activerecord/Makefile b/databases/ruby-activerecord/Makefile index 6986ca4bece..f2c8ada849a 100644 --- a/databases/ruby-activerecord/Makefile +++ b/databases/ruby-activerecord/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2008/06/20 04:27:37 minskim Exp $ +# $NetBSD: Makefile,v 1.14 2008/09/15 05:38:29 minskim Exp $ -DISTNAME= activerecord-2.1.0 +DISTNAME= activerecord-2.1.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= databases @@ -8,7 +8,7 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://rubyforge.org/projects/activerecord/ COMMENT= Object-relation mapping put on rails -DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.1.0:../../devel/ruby-activesupport +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.1.1:../../devel/ruby-activesupport .include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" |