diff options
author | taca <taca@pkgsrc.org> | 2010-09-12 04:15:05 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-12 04:15:05 +0000 |
commit | 782362aedc46728221f657e88279ed32455f680b (patch) | |
tree | 6d9f7d2ff52051bb9d7244df1b3047e448fff784 /databases | |
parent | 75bd4f72bb902df59db8393f78a6262393464189 (diff) | |
download | pkgsrc-782362aedc46728221f657e88279ed32455f680b.tar.gz |
Importing of databases/ruby-arel 1.0.1.
## Abstract ##
Arel is a Relational Algebra for Ruby.
1) simplifies the generation complex of SQL queries
2) adapts to various RDBMS systems
It is intended to be a framework framework; that is, you can build
your own ORM with it, focusing on innovative object and collection
modeling as opposed to database compatibility and query generation.
## Status ##
For the moment, Arel uses ActiveRecord's connection adapters to
connect to the various engines, connection pooling, perform quoting,
and do type conversion. On the horizon is the use of DataObjects
instead.
The long term goal, following both LINQ and DataMapper, is to have
Arel adapt to engines beyond RDBMS, including XML, IMAP, YAML, etc.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-arel/DESCR | 21 | ||||
-rw-r--r-- | databases/ruby-arel/Makefile | 14 | ||||
-rw-r--r-- | databases/ruby-arel/PLIST | 157 | ||||
-rw-r--r-- | databases/ruby-arel/distinfo | 5 |
4 files changed, 197 insertions, 0 deletions
diff --git a/databases/ruby-arel/DESCR b/databases/ruby-arel/DESCR new file mode 100644 index 00000000000..09a6a25b884 --- /dev/null +++ b/databases/ruby-arel/DESCR @@ -0,0 +1,21 @@ + +## Abstract ## + +Arel is a Relational Algebra for Ruby. + +1) simplifies the generation complex of SQL queries +2) adapts to various RDBMS systems + +It is intended to be a framework framework; that is, you can build +your own ORM with it, focusing on innovative object and collection +modeling as opposed to database compatibility and query generation. + +## Status ## + +For the moment, Arel uses ActiveRecord's connection adapters to +connect to the various engines, connection pooling, perform quoting, +and do type conversion. On the horizon is the use of DataObjects +instead. + +The long term goal, following both LINQ and DataMapper, is to have +Arel adapt to engines beyond RDBMS, including XML, IMAP, YAML, etc. diff --git a/databases/ruby-arel/Makefile b/databases/ruby-arel/Makefile new file mode 100644 index 00000000000..f4e97df0ff2 --- /dev/null +++ b/databases/ruby-arel/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 04:15:05 taca Exp $ + +DISTNAME= arel-1.0.1 +CATEGORIES= databases + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/brynary/arel/ +COMMENT= Arel is a relational algebra engine for Ruby +LICENSE= mit + +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.0:../../devel/ruby-activesupport3 + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-arel/PLIST b/databases/ruby-arel/PLIST new file mode 100644 index 00000000000..da3fe1d3f72 --- /dev/null +++ b/databases/ruby-arel/PLIST @@ -0,0 +1,157 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:15:06 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/History.txt +${GEM_LIBDIR}/README.markdown +${GEM_LIBDIR}/lib/arel.rb +${GEM_LIBDIR}/lib/arel/algebra.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/attribute.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/boolean.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/decimal.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/float.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/integer.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/string.rb +${GEM_LIBDIR}/lib/arel/algebra/attributes/time.rb +${GEM_LIBDIR}/lib/arel/algebra/core_extensions.rb +${GEM_LIBDIR}/lib/arel/algebra/core_extensions/hash.rb +${GEM_LIBDIR}/lib/arel/algebra/core_extensions/object.rb +${GEM_LIBDIR}/lib/arel/algebra/core_extensions/symbol.rb +${GEM_LIBDIR}/lib/arel/algebra/expression.rb +${GEM_LIBDIR}/lib/arel/algebra/header.rb +${GEM_LIBDIR}/lib/arel/algebra/ordering.rb +${GEM_LIBDIR}/lib/arel/algebra/predicates.rb +${GEM_LIBDIR}/lib/arel/algebra/relations.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/from.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/group.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/having.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/join.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/lock.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/order.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/project.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/skip.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/take.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/operations/where.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/relation.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/row.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/utilities/compound.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/utilities/externalization.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/utilities/nil.rb +${GEM_LIBDIR}/lib/arel/algebra/relations/writes.rb +${GEM_LIBDIR}/lib/arel/algebra/value.rb +${GEM_LIBDIR}/lib/arel/engines.rb +${GEM_LIBDIR}/lib/arel/engines/memory.rb +${GEM_LIBDIR}/lib/arel/engines/memory/engine.rb +${GEM_LIBDIR}/lib/arel/engines/memory/relations.rb +${GEM_LIBDIR}/lib/arel/engines/memory/relations/array.rb +${GEM_LIBDIR}/lib/arel/engines/memory/relations/operations.rb +${GEM_LIBDIR}/lib/arel/engines/sql.rb +${GEM_LIBDIR}/lib/arel/engines/sql/attributes.rb +${GEM_LIBDIR}/lib/arel/engines/sql/christener.rb +${GEM_LIBDIR}/lib/arel/engines/sql/compilers/ibm_db_compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/compilers/mysql_compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/compilers/oracle_compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/compilers/postgresql_compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/compilers/sqlite_compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/core_extensions.rb +${GEM_LIBDIR}/lib/arel/engines/sql/core_extensions/array.rb +${GEM_LIBDIR}/lib/arel/engines/sql/core_extensions/nil_class.rb +${GEM_LIBDIR}/lib/arel/engines/sql/core_extensions/object.rb +${GEM_LIBDIR}/lib/arel/engines/sql/core_extensions/range.rb +${GEM_LIBDIR}/lib/arel/engines/sql/engine.rb +${GEM_LIBDIR}/lib/arel/engines/sql/formatters.rb +${GEM_LIBDIR}/lib/arel/engines/sql/relations.rb +${GEM_LIBDIR}/lib/arel/engines/sql/relations/compiler.rb +${GEM_LIBDIR}/lib/arel/engines/sql/relations/table.rb +${GEM_LIBDIR}/lib/arel/engines/sql/relations/utilities/nil.rb +${GEM_LIBDIR}/lib/arel/recursion/base_case.rb +${GEM_LIBDIR}/lib/arel/session.rb +${GEM_LIBDIR}/lib/arel/sql_literal.rb +${GEM_LIBDIR}/lib/arel/version.rb +${GEM_LIBDIR}/spec/algebra/unit/predicates/binary_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/predicates/equality_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/predicates/in_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/predicates/inequality_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/predicates/predicate_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/primitives/attribute_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/primitives/expression_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/primitives/value_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/alias_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/delete_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/group_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/insert_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/join_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/order_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/project_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/relation_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/skip_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/table_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/take_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/update_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/relations/where_spec.rb +${GEM_LIBDIR}/spec/algebra/unit/session/session_spec.rb +${GEM_LIBDIR}/spec/attributes/boolean_spec.rb +${GEM_LIBDIR}/spec/attributes/float_spec.rb +${GEM_LIBDIR}/spec/attributes/header_spec.rb +${GEM_LIBDIR}/spec/attributes/integer_spec.rb +${GEM_LIBDIR}/spec/attributes/string_spec.rb +${GEM_LIBDIR}/spec/attributes/time_spec.rb +${GEM_LIBDIR}/spec/attributes_spec.rb +${GEM_LIBDIR}/spec/engines/memory/integration/joins/cross_engine_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/array_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/insert_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/join_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/order_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/project_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/skip_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/take_spec.rb +${GEM_LIBDIR}/spec/engines/memory/unit/relations/where_spec.rb +${GEM_LIBDIR}/spec/engines/sql/integration/joins/with_adjacency_spec.rb +${GEM_LIBDIR}/spec/engines/sql/integration/joins/with_aggregations_spec.rb +${GEM_LIBDIR}/spec/engines/sql/integration/joins/with_compounds_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/engine_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/predicates/binary_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/predicates/equality_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/predicates/in_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/predicates/noteq_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/predicates/predicates_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/primitives/attribute_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/primitives/expression_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/primitives/literal_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/primitives/value_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/alias_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/delete_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/from_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/group_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/having_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/insert_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/join_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/lock_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/order_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/project_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/skip_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/table_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/take_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/update_spec.rb +${GEM_LIBDIR}/spec/engines/sql/unit/relations/where_spec.rb +${GEM_LIBDIR}/spec/relations/join_spec.rb +${GEM_LIBDIR}/spec/relations/relation_spec.rb +${GEM_LIBDIR}/spec/shared/relation_spec.rb +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/spec/sql/christener_spec.rb +${GEM_LIBDIR}/spec/support/check.rb +${GEM_LIBDIR}/spec/support/connections/mysql_connection.rb +${GEM_LIBDIR}/spec/support/connections/oracle_connection.rb +${GEM_LIBDIR}/spec/support/connections/postgresql_connection.rb +${GEM_LIBDIR}/spec/support/connections/sqlite3_connection.rb +${GEM_LIBDIR}/spec/support/guards.rb +${GEM_LIBDIR}/spec/support/matchers.rb +${GEM_LIBDIR}/spec/support/matchers/be_like.rb +${GEM_LIBDIR}/spec/support/matchers/disambiguate_attributes.rb +${GEM_LIBDIR}/spec/support/matchers/hash_the_same_as.rb +${GEM_LIBDIR}/spec/support/matchers/have_rows.rb +${GEM_LIBDIR}/spec/support/model.rb +${GEM_LIBDIR}/spec/support/schemas/mysql_schema.rb +${GEM_LIBDIR}/spec/support/schemas/oracle_schema.rb +${GEM_LIBDIR}/spec/support/schemas/postgresql_schema.rb +${GEM_LIBDIR}/spec/support/schemas/sqlite3_schema.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/databases/ruby-arel/distinfo b/databases/ruby-arel/distinfo new file mode 100644 index 00000000000..e3eb8dd5c81 --- /dev/null +++ b/databases/ruby-arel/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/12 04:15:05 taca Exp $ + +SHA1 (arel-1.0.1.gem) = c0150a69a3b5a1793f52646c80e101fa965f5e26 +RMD160 (arel-1.0.1.gem) = 80a0d9e7848db8b9393e183fe74a5419387f88e6 +Size (arel-1.0.1.gem) = 45568 bytes |