From 87d959eb5306d4cfee0357a12fbe0968318719a8 Mon Sep 17 00:00:00 2001 From: taca Date: Wed, 9 Feb 2011 13:00:07 +0000 Subject: Update ruby-activerecord3 package to 3.0.4. * More strict dependency reflect gemspec's description. *Rails 3.0.4 (unreleased)* * Added deprecation warning for has_and_belongs_to_many associations where the join table has additional attributes other than the keys. Access to these attributes is removed in 3.1. Please use has_many :through instead. [Jon Leighton] *Rails 3.0.3 (November 16, 2010)* * Support find by class like this: Post.where(:name => Post) *Rails 3.0.2 (November 15, 2010)* * Dramatic speed increase (see: http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) [Aaron Patterson] * reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino] * except is now AR public API Model.order('name').except(:order).order('salary') generates: SELECT * FROM models ORDER BY salary [Santiago Pastorino] * The following code: Model.limit(10).scoping { Model.count } now generates the following SQL: SELECT COUNT(*) FROM models LIMIT 10 This may not return what you want. Instead, you may with to do something like this: Model.limit(10).scoping { Model.all.size } [Aaron Patterson] --- databases/ruby-activerecord3/Makefile | 12 ++++++------ databases/ruby-activerecord3/PLIST | 3 ++- databases/ruby-activerecord3/distinfo | 8 ++++---- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'databases') diff --git a/databases/ruby-activerecord3/Makefile b/databases/ruby-activerecord3/Makefile index 3e3190d3c5e..7f5a733891c 100644 --- a/databases/ruby-activerecord3/Makefile +++ b/databases/ruby-activerecord3/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2010/10/15 11:43:27 taca Exp $ +# $NetBSD: Makefile,v 1.3 2011/02/09 13:00:07 taca Exp $ -DISTNAME= activerecord-3.0.1 +DISTNAME= activerecord-3.0.4 CATEGORIES= databases MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,10 +8,10 @@ HOMEPAGE= http://www.rubyonrails.org/ COMMENT= Object-relational mapper framework LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.1:../../devel/ruby-activesupport3 -DEPENDS+= ${RUBY_PKGPREFIX}-activemodel>=3.0.1:../../devel/ruby-activemodel -DEPENDS+= ${RUBY_PKGPREFIX}-arel>=1.0.0:../../databases/ruby-arel -DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=0.3.23:../../time/ruby-tzinfo +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.4<3.0.5:../../devel/ruby-activesupport3 +DEPENDS+= ${RUBY_PKGPREFIX}-activemodel>=3.0.4<3.0.5:../../devel/ruby-activemodel +DEPENDS+= ${RUBY_PKGPREFIX}-arel>=2.0.2<2.1:../../databases/ruby-arel +DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=0.3.23<0.4:../../time/ruby-tzinfo .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-activerecord3/PLIST b/databases/ruby-activerecord3/PLIST index 6a0adf40ad0..64ec79cdd63 100644 --- a/databases/ruby-activerecord3/PLIST +++ b/databases/ruby-activerecord3/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:22:21 taca Exp $ +@comment $NetBSD: PLIST,v 1.2 2011/02/09 13:00:07 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/CHANGELOG ${GEM_LIBDIR}/README.rdoc @@ -82,6 +82,7 @@ ${GEM_LIBDIR}/lib/active_record/validations/associated.rb ${GEM_LIBDIR}/lib/active_record/validations/uniqueness.rb ${GEM_LIBDIR}/lib/active_record/version.rb ${GEM_LIBDIR}/lib/rails/generators/active_record.rb +${GEM_LIBDIR}/lib/rails/generators/active_record/migration.rb ${GEM_LIBDIR}/lib/rails/generators/active_record/migration/migration_generator.rb ${GEM_LIBDIR}/lib/rails/generators/active_record/migration/templates/migration.rb ${GEM_LIBDIR}/lib/rails/generators/active_record/model/model_generator.rb diff --git a/databases/ruby-activerecord3/distinfo b/databases/ruby-activerecord3/distinfo index 78c8e6a24a3..9057f7a306c 100644 --- a/databases/ruby-activerecord3/distinfo +++ b/databases/ruby-activerecord3/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2010/10/15 11:43:27 taca Exp $ +$NetBSD: distinfo,v 1.3 2011/02/09 13:00:07 taca Exp $ -SHA1 (activerecord-3.0.1.gem) = 9cd05244d696fa964496a0faf91ed57311a4e5e9 -RMD160 (activerecord-3.0.1.gem) = ddf6e971c61555d2c66cc9cb34d00018c9af64a9 -Size (activerecord-3.0.1.gem) = 339968 bytes +SHA1 (activerecord-3.0.4.gem) = f0ccada73a3230b2e31730952ba3d5a3a012c819 +RMD160 (activerecord-3.0.4.gem) = 4f30e7f5a757eeb63c3d62086e1ee7e187a5cf30 +Size (activerecord-3.0.4.gem) = 341504 bytes -- cgit v1.2.3