diff options
author | taca <taca@pkgsrc.org> | 2011-12-17 18:09:12 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-12-17 18:09:12 +0000 |
commit | 8a16eb5ba9145c4ffae0236a0eff7afcb354dc0d (patch) | |
tree | 74091b1334f224cba885f91961cf11a91365bf0b /databases/ruby-acts-as-versioned | |
parent | 3d2f22f08ee65176e5d0d9d762d2322d568ca094 (diff) | |
download | pkgsrc-8a16eb5ba9145c4ffae0236a0eff7afcb354dc0d.tar.gz |
Update ruby-acts-as-versioned package to 0.6.0.
Depends on Ruby on Rails 3 and here is CHANGELOG although it would not
be complete one.
* (16 Jun 2008) Backwards Compatibility is overrated (big updates for rails 2.1)
* Use ActiveRecord 2.1's dirty attribute checking instead [Asa Calow]
* Remove last traces of #non_versioned_fields
* Remove AR::Base.find_version and AR::Base.find_versions, rely on AR association proxies and named_scope
* Remove #versions_count, rely on AR association counter caching.
* Remove #versioned_attributes, basically the same as AR::Base.versioned_columns
* (5 Oct 2006) Allow customization of #versions association options [Dan Peterson]
*0.5.1*
* (8 Aug 2006) Versioned models now belong to the unversioned model. @article_version.article.class => Article [Aslak Hellesoy]
*0.5* # do versions even matter for plugins?
* (21 Apr 2006) Added without_locking and without_revision methods.
Foo.without_revision do
@foo.update_attributes ...
end
*0.4*
* (28 March 2006) Rename non_versioned_fields to non_versioned_columns (old one is kept for compatibility).
* (28 March 2006) Made explicit documentation note that string column names are required for non_versioned_columns.
*0.3.1*
* (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to assocation for STI [Caged]
* (7 Jan 2006) added tests to prove has_many :through joins work
*0.3*
* (2 Jan 2006) added ability to share a mixin with versioned class
* (2 Jan 2006) changed the dynamic version model to MyModel::Version
*0.2.4*
* (27 Nov 2005) added note about possible destructive behavior of if_changed? [Michael Schuerig]
Diffstat (limited to 'databases/ruby-acts-as-versioned')
-rw-r--r-- | databases/ruby-acts-as-versioned/Makefile | 9 | ||||
-rw-r--r-- | databases/ruby-acts-as-versioned/PLIST | 14 | ||||
-rw-r--r-- | databases/ruby-acts-as-versioned/distinfo | 8 |
3 files changed, 19 insertions, 12 deletions
diff --git a/databases/ruby-acts-as-versioned/Makefile b/databases/ruby-acts-as-versioned/Makefile index b477d9d8e95..795e2304875 100644 --- a/databases/ruby-acts-as-versioned/Makefile +++ b/databases/ruby-acts-as-versioned/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2010/10/15 11:55:42 taca Exp $ +# $NetBSD: Makefile,v 1.5 2011/12/17 18:09:12 taca Exp $ -DISTNAME= acts_as_versioned-0.2.3 -PKGREVISION= 1 +DISTNAME= acts_as_versioned-0.6.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/g} CATEGORIES= databases @@ -10,9 +9,9 @@ HOMEPAGE= http://ar-versioned.rubyforge.org/ COMMENT= Simple versioning for ActiveRecord LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=1.10.1<3.0.0:../../databases/ruby-activerecord +DEPENDS+= ${RUBY_ACTIVERECORD_DEPENDS} -# Note: acts_as_versioned-0.6.0 supports only rails3. +RUBY_RAILS_SUPPORTED= 3 .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-acts-as-versioned/PLIST b/databases/ruby-acts-as-versioned/PLIST index 9a411a13e73..ac6787212df 100644 --- a/databases/ruby-acts-as-versioned/PLIST +++ b/databases/ruby-acts-as-versioned/PLIST @@ -1,12 +1,20 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:43:24 joerg Exp $ -${GEM_HOME}/cache/acts_as_versioned-${PKGVERSION}.gem +@comment $NetBSD: PLIST,v 1.3 2011/12/17 18:09:12 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/CHANGELOG +${GEM_LIBDIR}/Gemfile ${GEM_LIBDIR}/MIT-LICENSE ${GEM_LIBDIR}/README ${GEM_LIBDIR}/RUNNING_UNIT_TESTS +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/acts_as_versioned.gemspec +${GEM_LIBDIR}/init.rb ${GEM_LIBDIR}/lib/acts_as_versioned.rb ${GEM_LIBDIR}/test/abstract_unit.rb ${GEM_LIBDIR}/test/database.yml +${GEM_LIBDIR}/test/fixtures/authors.yml +${GEM_LIBDIR}/test/fixtures/landmark.rb +${GEM_LIBDIR}/test/fixtures/landmark_versions.yml +${GEM_LIBDIR}/test/fixtures/landmarks.yml ${GEM_LIBDIR}/test/fixtures/locked_pages.yml ${GEM_LIBDIR}/test/fixtures/locked_pages_revisions.yml ${GEM_LIBDIR}/test/fixtures/migrations/1_add_versioned_tables.rb @@ -17,4 +25,4 @@ ${GEM_LIBDIR}/test/fixtures/widget.rb ${GEM_LIBDIR}/test/migration_test.rb ${GEM_LIBDIR}/test/schema.rb ${GEM_LIBDIR}/test/versioned_test.rb -${GEM_HOME}/specifications/acts_as_versioned-${PKGVERSION}.gemspec +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/databases/ruby-acts-as-versioned/distinfo b/databases/ruby-acts-as-versioned/distinfo index d23fe3d697f..ce82b425361 100644 --- a/databases/ruby-acts-as-versioned/distinfo +++ b/databases/ruby-acts-as-versioned/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:15:35 jlam Exp $ +$NetBSD: distinfo,v 1.2 2011/12/17 18:09:12 taca Exp $ -SHA1 (acts_as_versioned-0.2.3.gem) = dd13caf32a21fec65b2c94a492dda881967341d1 -RMD160 (acts_as_versioned-0.2.3.gem) = 5452403b827ce083558c412f7ba8b8c5e696df24 -Size (acts_as_versioned-0.2.3.gem) = 13824 bytes +SHA1 (acts_as_versioned-0.6.0.gem) = 3ce0432ecb50a04220a9f1dba2a1a3facd5d424a +RMD160 (acts_as_versioned-0.6.0.gem) = 91194ca22df78cdf30d48bd0a272d0fcbe434ef1 +Size (acts_as_versioned-0.6.0.gem) = 18432 bytes |