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 | |
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
-rw-r--r-- | databases/ruby-activerecord/Makefile | 6 | ||||
-rw-r--r-- | databases/ruby-activerecord/PLIST | 9 | ||||
-rw-r--r-- | databases/ruby-activerecord/distinfo | 8 |
3 files changed, 14 insertions, 9 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" diff --git a/databases/ruby-activerecord/PLIST b/databases/ruby-activerecord/PLIST index d0b25074e2b..72719e163cd 100644 --- a/databases/ruby-activerecord/PLIST +++ b/databases/ruby-activerecord/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2008/06/20 04:27:37 minskim Exp $ +@comment $NetBSD: PLIST,v 1.13 2008/09/15 05:38:29 minskim Exp $ ${GEM_HOME}/cache/activerecord-${PKGVERSION}.gem ${GEM_LIBDIR}/CHANGELOG ${GEM_LIBDIR}/README @@ -52,7 +52,6 @@ ${GEM_LIBDIR}/lib/active_record/test_case.rb ${GEM_LIBDIR}/lib/active_record/timestamp.rb ${GEM_LIBDIR}/lib/active_record/transactions.rb ${GEM_LIBDIR}/lib/active_record/validations.rb -${GEM_LIBDIR}/lib/active_record/vendor/db2.rb ${GEM_LIBDIR}/lib/active_record/vendor/mysql.rb ${GEM_LIBDIR}/lib/active_record/version.rb ${GEM_LIBDIR}/lib/activerecord.rb @@ -68,6 +67,7 @@ ${GEM_LIBDIR}/test/cases/ar_schema_test.rb ${GEM_LIBDIR}/test/cases/associations/belongs_to_associations_test.rb ${GEM_LIBDIR}/test/cases/associations/callbacks_test.rb ${GEM_LIBDIR}/test/cases/associations/cascaded_eager_loading_test.rb +${GEM_LIBDIR}/test/cases/associations/eager_load_includes_full_sti_class_test.rb ${GEM_LIBDIR}/test/cases/associations/eager_load_nested_include_test.rb ${GEM_LIBDIR}/test/cases/associations/eager_singularization_test.rb ${GEM_LIBDIR}/test/cases/associations/eager_test.rb @@ -87,9 +87,11 @@ ${GEM_LIBDIR}/test/cases/calculations_test.rb ${GEM_LIBDIR}/test/cases/callbacks_test.rb ${GEM_LIBDIR}/test/cases/class_inheritable_attributes_test.rb ${GEM_LIBDIR}/test/cases/column_alias_test.rb +${GEM_LIBDIR}/test/cases/column_definition_test.rb ${GEM_LIBDIR}/test/cases/connection_test_firebird.rb ${GEM_LIBDIR}/test/cases/connection_test_mysql.rb ${GEM_LIBDIR}/test/cases/copy_table_test_sqlite.rb +${GEM_LIBDIR}/test/cases/database_statements_test.rb ${GEM_LIBDIR}/test/cases/datatype_test_postgresql.rb ${GEM_LIBDIR}/test/cases/date_time_test.rb ${GEM_LIBDIR}/test/cases/default_test_firebird.rb @@ -140,6 +142,7 @@ ${GEM_LIBDIR}/test/connections/native_sqlite/connection.rb ${GEM_LIBDIR}/test/connections/native_sqlite3/connection.rb ${GEM_LIBDIR}/test/connections/native_sqlite3/in_memory_connection.rb ${GEM_LIBDIR}/test/connections/native_sybase/connection.rb +${GEM_LIBDIR}/test/debug.log ${GEM_LIBDIR}/test/fixtures/accounts.yml ${GEM_LIBDIR}/test/fixtures/all/developers.yml ${GEM_LIBDIR}/test/fixtures/all/people.csv @@ -165,6 +168,8 @@ ${GEM_LIBDIR}/test/fixtures/developers.yml ${GEM_LIBDIR}/test/fixtures/developers_projects.yml ${GEM_LIBDIR}/test/fixtures/edges.yml ${GEM_LIBDIR}/test/fixtures/entrants.yml +${GEM_LIBDIR}/test/fixtures/fixture_database.sqlite3 +${GEM_LIBDIR}/test/fixtures/fixture_database_2.sqlite3 ${GEM_LIBDIR}/test/fixtures/fk_test_has_fk.yml ${GEM_LIBDIR}/test/fixtures/fk_test_has_pk.yml ${GEM_LIBDIR}/test/fixtures/funny_jokes.yml diff --git a/databases/ruby-activerecord/distinfo b/databases/ruby-activerecord/distinfo index df5ac257e27..a1cd8488a9b 100644 --- a/databases/ruby-activerecord/distinfo +++ b/databases/ruby-activerecord/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.13 2008/06/20 04:27:37 minskim Exp $ +$NetBSD: distinfo,v 1.14 2008/09/15 05:38:29 minskim Exp $ -SHA1 (activerecord-2.1.0.gem) = 561c85de72c90aad0986a6cd415b15e62d1b6cf8 -RMD160 (activerecord-2.1.0.gem) = 1d3b9b2a3aaa4b28d32ca66f382bec90fc7c85c6 -Size (activerecord-2.1.0.gem) = 452096 bytes +SHA1 (activerecord-2.1.1.gem) = c4305f6a293ef18a1272effae17cae6f4557fa71 +RMD160 (activerecord-2.1.1.gem) = f5dc337d0406f9dedba8c78380b3b701b576e645 +Size (activerecord-2.1.1.gem) = 476160 bytes |