Importing databases/ruby-activerecord3 3.0.0.

= Active Record -- Object-relational mapping put on rails

Active Record connects classes to relational database tables to establish an
almost zero-configuration persistence layer for applications. The library
provides a base class that, when subclassed, sets up a mapping between the new
class and an existing table in the database. In context of an application,
these classes are commonly referred to as *models*. Models can also be
connected to other models; this is done by defining *associations*.

(This is part of Ruby on Rails 3.)
This commit is contained in:
taca 2010-09-12 04:22:21 +00:00
parent 502d85709f
commit d450ca8e5e
4 changed files with 125 additions and 0 deletions

View file

@ -0,0 +1,8 @@
= Active Record -- Object-relational mapping put on rails
Active Record connects classes to relational database tables to establish an
almost zero-configuration persistence layer for applications. The library
provides a base class that, when subclassed, sets up a mapping between the new
class and an existing table in the database. In context of an application,
these classes are commonly referred to as *models*. Models can also be
connected to other models; this is done by defining *associations*.

View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 04:22:21 taca Exp $
DISTNAME= activerecord-3.0.0
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Object-relational mapper framework
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.0:../../devel/ruby-activesupport3
DEPENDS+= ${RUBY_PKGPREFIX}-activemodel>=3.0.0:../../devel/ruby-activemodel
DEPENDS+= ${RUBY_PKGPREFIX}-arel>=1.0.0:../../databases/ruby-arel
DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=0.3.23:../../time/ruby-tzinfo
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,95 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:22:21 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/examples/associations.png
${GEM_LIBDIR}/examples/performance.rb
${GEM_LIBDIR}/examples/simple.rb
${GEM_LIBDIR}/lib/active_record.rb
${GEM_LIBDIR}/lib/active_record/aggregations.rb
${GEM_LIBDIR}/lib/active_record/association_preload.rb
${GEM_LIBDIR}/lib/active_record/associations.rb
${GEM_LIBDIR}/lib/active_record/associations/association_collection.rb
${GEM_LIBDIR}/lib/active_record/associations/association_proxy.rb
${GEM_LIBDIR}/lib/active_record/associations/belongs_to_association.rb
${GEM_LIBDIR}/lib/active_record/associations/belongs_to_polymorphic_association.rb
${GEM_LIBDIR}/lib/active_record/associations/has_and_belongs_to_many_association.rb
${GEM_LIBDIR}/lib/active_record/associations/has_many_association.rb
${GEM_LIBDIR}/lib/active_record/associations/has_many_through_association.rb
${GEM_LIBDIR}/lib/active_record/associations/has_one_association.rb
${GEM_LIBDIR}/lib/active_record/associations/has_one_through_association.rb
${GEM_LIBDIR}/lib/active_record/associations/through_association_scope.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/before_type_cast.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/dirty.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/primary_key.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/query.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/read.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/time_zone_conversion.rb
${GEM_LIBDIR}/lib/active_record/attribute_methods/write.rb
${GEM_LIBDIR}/lib/active_record/autosave_association.rb
${GEM_LIBDIR}/lib/active_record/base.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
${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/schema_definitions.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract/schema_statements.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/abstract_adapter.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/mysql_adapter.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/postgresql_adapter.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/sqlite3_adapter.rb
${GEM_LIBDIR}/lib/active_record/connection_adapters/sqlite_adapter.rb
${GEM_LIBDIR}/lib/active_record/counter_cache.rb
${GEM_LIBDIR}/lib/active_record/dynamic_finder_match.rb
${GEM_LIBDIR}/lib/active_record/dynamic_scope_match.rb
${GEM_LIBDIR}/lib/active_record/errors.rb
${GEM_LIBDIR}/lib/active_record/fixtures.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
${GEM_LIBDIR}/lib/active_record/log_subscriber.rb
${GEM_LIBDIR}/lib/active_record/migration.rb
${GEM_LIBDIR}/lib/active_record/named_scope.rb
${GEM_LIBDIR}/lib/active_record/nested_attributes.rb
${GEM_LIBDIR}/lib/active_record/observer.rb
${GEM_LIBDIR}/lib/active_record/persistence.rb
${GEM_LIBDIR}/lib/active_record/query_cache.rb
${GEM_LIBDIR}/lib/active_record/railtie.rb
${GEM_LIBDIR}/lib/active_record/railties/controller_runtime.rb
${GEM_LIBDIR}/lib/active_record/railties/databases.rake
${GEM_LIBDIR}/lib/active_record/reflection.rb
${GEM_LIBDIR}/lib/active_record/relation.rb
${GEM_LIBDIR}/lib/active_record/relation/batches.rb
${GEM_LIBDIR}/lib/active_record/relation/calculations.rb
${GEM_LIBDIR}/lib/active_record/relation/finder_methods.rb
${GEM_LIBDIR}/lib/active_record/relation/predicate_builder.rb
${GEM_LIBDIR}/lib/active_record/relation/query_methods.rb
${GEM_LIBDIR}/lib/active_record/relation/spawn_methods.rb
${GEM_LIBDIR}/lib/active_record/schema.rb
${GEM_LIBDIR}/lib/active_record/schema_dumper.rb
${GEM_LIBDIR}/lib/active_record/serialization.rb
${GEM_LIBDIR}/lib/active_record/serializers/xml_serializer.rb
${GEM_LIBDIR}/lib/active_record/session_store.rb
${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/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/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
${GEM_LIBDIR}/lib/rails/generators/active_record/model/templates/migration.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/model/templates/model.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/model/templates/module.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/observer/observer_generator.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/observer/templates/observer.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/session_migration/session_migration_generator.rb
${GEM_LIBDIR}/lib/rails/generators/active_record/session_migration/templates/migration.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/09/12 04:22:21 taca Exp $
SHA1 (activerecord-3.0.0.gem) = b4025f8396c9d784b26fa22c0dbf27e80a513469
RMD160 (activerecord-3.0.0.gem) = 249f1e8555010f685609596e2a4cbd96c7a2527b
Size (activerecord-3.0.0.gem) = 339968 bytes