diff options
author | minskim <minskim@pkgsrc.org> | 2010-06-09 16:28:35 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2010-06-09 16:28:35 +0000 |
commit | 3f5c83cac1ed437c08efb488dbfa3a67c6c1039e (patch) | |
tree | fb3d305edde3dc94d6104157a6933e4b35f3cd82 /databases/ruby-activerecord | |
parent | cde0b00821e936e2d0b9c2494e0b52054eaf4fb1 (diff) | |
download | pkgsrc-3f5c83cac1ed437c08efb488dbfa3a67c6c1039e.tar.gz |
Update ruby-activerecord to 2.3.8. Patch by Wen Heping in PR 43441.
Changes:
* Add index length support for MySQL. #1852 [Emili Parreno, Pratik Naik]
* find_or_create_by_attr(value, ...) works when attr is protected.
#4457 [Santiago Pastorino, Marc-Andr\xc3\xa9 Lafortune]
* JSON supports a custom root option: to_json(:root => 'custom') #4515
[Jatinder Singh]
* Destroy uses optimistic locking. If lock_version on the record
you're destroying doesn't match lock_version in the database, a
StaleObjectError is raised. #1966 [Curtis Hawthorne]
* To prefix the table names of all models in a module, define
self.table_name_pr efix on the module. #4032 [Andrew White]
* Association inverses for belongs_to, has_one, and
has_many. Optimization to re duce database queries. #3533 [Murray
Steele]
* MySQL: add_ and change_column support positioning. #3286 [Ben Marini]
* Reset your Active Record counter caches with the reset_counter_cache
class method. #1211 [Mike Breen, Gabe da Silveira]
Diffstat (limited to 'databases/ruby-activerecord')
-rw-r--r-- | databases/ruby-activerecord/Makefile | 6 | ||||
-rw-r--r-- | databases/ruby-activerecord/PLIST | 19 | ||||
-rw-r--r-- | databases/ruby-activerecord/distinfo | 8 |
3 files changed, 24 insertions, 9 deletions
diff --git a/databases/ruby-activerecord/Makefile b/databases/ruby-activerecord/Makefile index 0ef8ecc0e33..b60af9d2a62 100644 --- a/databases/ruby-activerecord/Makefile +++ b/databases/ruby-activerecord/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2009/12/01 23:24:24 minskim Exp $ +# $NetBSD: Makefile,v 1.18 2010/06/09 16:28:35 minskim Exp $ -DISTNAME= activerecord-2.3.5 +DISTNAME= activerecord-2.3.8 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.3.5:../../devel/ruby-activesupport +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.3.8:../../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 4892e4e32c3..91b3809c8e3 100644 --- a/databases/ruby-activerecord/PLIST +++ b/databases/ruby-activerecord/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2009/09/12 22:14:16 minskim Exp $ +@comment $NetBSD: PLIST,v 1.17 2010/06/09 16:28:35 minskim Exp $ ${GEM_HOME}/cache/activerecord-${PKGVERSION}.gem ${GEM_LIBDIR}/CHANGELOG ${GEM_LIBDIR}/README @@ -6,6 +6,7 @@ ${GEM_LIBDIR}/RUNNING_UNIT_TESTS ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/examples/associations.png ${GEM_LIBDIR}/examples/performance.rb +${GEM_LIBDIR}/examples/performance.sql ${GEM_LIBDIR}/install.rb ${GEM_LIBDIR}/lib/active_record.rb ${GEM_LIBDIR}/lib/active_record/aggregations.rb @@ -28,6 +29,7 @@ ${GEM_LIBDIR}/lib/active_record/calculations.rb ${GEM_LIBDIR}/lib/active_record/callbacks.rb ${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/connection_pool.rb ${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/connection_specification.rb +${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/database_limits.rb ${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/database_statements.rb ${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/query_cache.rb ${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/quoting.rb @@ -42,7 +44,6 @@ ${GEM_LIBDIR}/lib/active_record/dirty.rb ${GEM_LIBDIR}/lib/active_record/dynamic_finder_match.rb ${GEM_LIBDIR}/lib/active_record/dynamic_scope_match.rb ${GEM_LIBDIR}/lib/active_record/fixtures.rb -${GEM_LIBDIR}/lib/active_record/i18n_interpolation_deprecation.rb ${GEM_LIBDIR}/lib/active_record/locale/en.yml ${GEM_LIBDIR}/lib/active_record/locking/optimistic.rb ${GEM_LIBDIR}/lib/active_record/locking/pessimistic.rb @@ -87,6 +88,7 @@ ${GEM_LIBDIR}/test/cases/associations/has_many_through_associations_test.rb ${GEM_LIBDIR}/test/cases/associations/has_one_associations_test.rb ${GEM_LIBDIR}/test/cases/associations/has_one_through_associations_test.rb ${GEM_LIBDIR}/test/cases/associations/inner_join_association_test.rb +${GEM_LIBDIR}/test/cases/associations/inverse_associations_test.rb ${GEM_LIBDIR}/test/cases/associations/join_model_test.rb ${GEM_LIBDIR}/test/cases/associations_test.rb ${GEM_LIBDIR}/test/cases/attribute_methods_test.rb @@ -111,6 +113,7 @@ ${GEM_LIBDIR}/test/cases/default_test_firebird.rb ${GEM_LIBDIR}/test/cases/defaults_test.rb ${GEM_LIBDIR}/test/cases/deprecated_finder_test.rb ${GEM_LIBDIR}/test/cases/dirty_test.rb +${GEM_LIBDIR}/test/cases/encoding_test.rb ${GEM_LIBDIR}/test/cases/finder_respond_to_test.rb ${GEM_LIBDIR}/test/cases/finder_test.rb ${GEM_LIBDIR}/test/cases/fixtures_test.rb @@ -149,6 +152,7 @@ ${GEM_LIBDIR}/test/cases/unconnected_test.rb ${GEM_LIBDIR}/test/cases/validations_i18n_test.rb ${GEM_LIBDIR}/test/cases/validations_test.rb ${GEM_LIBDIR}/test/cases/xml_serialization_test.rb +${GEM_LIBDIR}/test/cases/yaml_serialization_test.rb ${GEM_LIBDIR}/test/config.rb ${GEM_LIBDIR}/test/connections/jdbc_jdbcderby/connection.rb ${GEM_LIBDIR}/test/connections/jdbc_jdbch2/connection.rb @@ -192,6 +196,7 @@ ${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/faces.yml ${GEM_LIBDIR}/test/fixtures/fixture_database.sqlite ${GEM_LIBDIR}/test/fixtures/fixture_database.sqlite3 ${GEM_LIBDIR}/test/fixtures/fixture_database_2.sqlite @@ -199,6 +204,7 @@ ${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 +${GEM_LIBDIR}/test/fixtures/interests.yml ${GEM_LIBDIR}/test/fixtures/items.yml ${GEM_LIBDIR}/test/fixtures/jobs.yml ${GEM_LIBDIR}/test/fixtures/legacy_things.yml @@ -206,6 +212,7 @@ ${GEM_LIBDIR}/test/fixtures/mateys.yml ${GEM_LIBDIR}/test/fixtures/member_types.yml ${GEM_LIBDIR}/test/fixtures/members.yml ${GEM_LIBDIR}/test/fixtures/memberships.yml +${GEM_LIBDIR}/test/fixtures/men.yml ${GEM_LIBDIR}/test/fixtures/minimalistics.yml ${GEM_LIBDIR}/test/fixtures/mixed_case_monkeys.yml ${GEM_LIBDIR}/test/fixtures/mixins.yml @@ -243,6 +250,7 @@ ${GEM_LIBDIR}/test/fixtures/toys.yml ${GEM_LIBDIR}/test/fixtures/treasures.yml ${GEM_LIBDIR}/test/fixtures/vertices.yml ${GEM_LIBDIR}/test/fixtures/warehouse-things.yml +${GEM_LIBDIR}/test/fixtures/zines.yml ${GEM_LIBDIR}/test/migrations/broken/100_migration_that_raises_exception.rb ${GEM_LIBDIR}/test/migrations/decimal/1_give_me_big_numbers.rb ${GEM_LIBDIR}/test/migrations/duplicate/1_people_have_last_names.rb @@ -288,12 +296,18 @@ ${GEM_LIBDIR}/test/models/edge.rb ${GEM_LIBDIR}/test/models/entrant.rb ${GEM_LIBDIR}/test/models/essay.rb ${GEM_LIBDIR}/test/models/event.rb +${GEM_LIBDIR}/test/models/event_author.rb +${GEM_LIBDIR}/test/models/face.rb ${GEM_LIBDIR}/test/models/guid.rb +${GEM_LIBDIR}/test/models/interest.rb +${GEM_LIBDIR}/test/models/invoice.rb ${GEM_LIBDIR}/test/models/item.rb ${GEM_LIBDIR}/test/models/job.rb ${GEM_LIBDIR}/test/models/joke.rb ${GEM_LIBDIR}/test/models/keyboard.rb ${GEM_LIBDIR}/test/models/legacy_thing.rb +${GEM_LIBDIR}/test/models/line_item.rb +${GEM_LIBDIR}/test/models/man.rb ${GEM_LIBDIR}/test/models/matey.rb ${GEM_LIBDIR}/test/models/member.rb ${GEM_LIBDIR}/test/models/member_detail.rb @@ -329,6 +343,7 @@ ${GEM_LIBDIR}/test/models/toy.rb ${GEM_LIBDIR}/test/models/treasure.rb ${GEM_LIBDIR}/test/models/vertex.rb ${GEM_LIBDIR}/test/models/warehouse_thing.rb +${GEM_LIBDIR}/test/models/zine.rb ${GEM_LIBDIR}/test/schema/mysql_specific_schema.rb ${GEM_LIBDIR}/test/schema/postgresql_specific_schema.rb ${GEM_LIBDIR}/test/schema/schema.rb diff --git a/databases/ruby-activerecord/distinfo b/databases/ruby-activerecord/distinfo index 941b824ff09..efc0d049212 100644 --- a/databases/ruby-activerecord/distinfo +++ b/databases/ruby-activerecord/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.17 2009/12/01 23:24:24 minskim Exp $ +$NetBSD: distinfo,v 1.18 2010/06/09 16:28:35 minskim Exp $ -SHA1 (activerecord-2.3.5.gem) = f411a1ad8aeef78a464b00663eecdc22e0e4266c -RMD160 (activerecord-2.3.5.gem) = be3bee034c5d56128a7a6c10470b92fdb167e569 -Size (activerecord-2.3.5.gem) = 546304 bytes +SHA1 (activerecord-2.3.8.gem) = 3c51faccced0bd3a1bad86dee382092e888613b6 +RMD160 (activerecord-2.3.8.gem) = 1831618e803c102599cbf71d555a168317b2208c +Size (activerecord-2.3.8.gem) = 965120 bytes |