Importing current ruby-arel version 2.0.10 as databases/ruby-arel20 to

keep version 2.0.x (for databases/ruby-activerecord3).
This commit is contained in:
taca 2011-12-14 16:24:28 +00:00
parent 520f04e183
commit b43a3e8e41
4 changed files with 167 additions and 0 deletions

View file

@ -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.

View file

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/12/14 16:24:28 taca Exp $
DISTNAME= arel-2.0.10
CATEGORIES= databases
# Note: databases/ruby-activerecord3 requires ruby-arel<2.1.
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/brynary/arel/
COMMENT= Arel is a relational algebra engine for Ruby
LICENSE= mit
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

128
databases/ruby-arel20/PLIST Normal file
View file

@ -0,0 +1,128 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/14 16:24:28 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/History.txt
${GEM_LIBDIR}/MIT-LICENSE.txt
${GEM_LIBDIR}/Manifest.txt
${GEM_LIBDIR}/README.markdown
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/arel.gemspec
${GEM_LIBDIR}/lib/arel.rb
${GEM_LIBDIR}/lib/arel/attributes.rb
${GEM_LIBDIR}/lib/arel/attributes/attribute.rb
${GEM_LIBDIR}/lib/arel/compatibility/wheres.rb
${GEM_LIBDIR}/lib/arel/crud.rb
${GEM_LIBDIR}/lib/arel/delete_manager.rb
${GEM_LIBDIR}/lib/arel/deprecated.rb
${GEM_LIBDIR}/lib/arel/expression.rb
${GEM_LIBDIR}/lib/arel/expressions.rb
${GEM_LIBDIR}/lib/arel/insert_manager.rb
${GEM_LIBDIR}/lib/arel/nodes.rb
${GEM_LIBDIR}/lib/arel/nodes/and.rb
${GEM_LIBDIR}/lib/arel/nodes/as.rb
${GEM_LIBDIR}/lib/arel/nodes/assignment.rb
${GEM_LIBDIR}/lib/arel/nodes/avg.rb
${GEM_LIBDIR}/lib/arel/nodes/between.rb
${GEM_LIBDIR}/lib/arel/nodes/binary.rb
${GEM_LIBDIR}/lib/arel/nodes/count.rb
${GEM_LIBDIR}/lib/arel/nodes/delete_statement.rb
${GEM_LIBDIR}/lib/arel/nodes/does_not_match.rb
${GEM_LIBDIR}/lib/arel/nodes/equality.rb
${GEM_LIBDIR}/lib/arel/nodes/except.rb
${GEM_LIBDIR}/lib/arel/nodes/exists.rb
${GEM_LIBDIR}/lib/arel/nodes/function.rb
${GEM_LIBDIR}/lib/arel/nodes/greater_than.rb
${GEM_LIBDIR}/lib/arel/nodes/greater_than_or_equal.rb
${GEM_LIBDIR}/lib/arel/nodes/group.rb
${GEM_LIBDIR}/lib/arel/nodes/grouping.rb
${GEM_LIBDIR}/lib/arel/nodes/having.rb
${GEM_LIBDIR}/lib/arel/nodes/in.rb
${GEM_LIBDIR}/lib/arel/nodes/inner_join.rb
${GEM_LIBDIR}/lib/arel/nodes/insert_statement.rb
${GEM_LIBDIR}/lib/arel/nodes/intersect.rb
${GEM_LIBDIR}/lib/arel/nodes/join.rb
${GEM_LIBDIR}/lib/arel/nodes/less_than.rb
${GEM_LIBDIR}/lib/arel/nodes/less_than_or_equal.rb
${GEM_LIBDIR}/lib/arel/nodes/limit.rb
${GEM_LIBDIR}/lib/arel/nodes/lock.rb
${GEM_LIBDIR}/lib/arel/nodes/matches.rb
${GEM_LIBDIR}/lib/arel/nodes/max.rb
${GEM_LIBDIR}/lib/arel/nodes/min.rb
${GEM_LIBDIR}/lib/arel/nodes/node.rb
${GEM_LIBDIR}/lib/arel/nodes/not.rb
${GEM_LIBDIR}/lib/arel/nodes/not_equal.rb
${GEM_LIBDIR}/lib/arel/nodes/not_in.rb
${GEM_LIBDIR}/lib/arel/nodes/offset.rb
${GEM_LIBDIR}/lib/arel/nodes/on.rb
${GEM_LIBDIR}/lib/arel/nodes/or.rb
${GEM_LIBDIR}/lib/arel/nodes/ordering.rb
${GEM_LIBDIR}/lib/arel/nodes/outer_join.rb
${GEM_LIBDIR}/lib/arel/nodes/select_core.rb
${GEM_LIBDIR}/lib/arel/nodes/select_statement.rb
${GEM_LIBDIR}/lib/arel/nodes/sql_literal.rb
${GEM_LIBDIR}/lib/arel/nodes/string_join.rb
${GEM_LIBDIR}/lib/arel/nodes/sum.rb
${GEM_LIBDIR}/lib/arel/nodes/table_alias.rb
${GEM_LIBDIR}/lib/arel/nodes/top.rb
${GEM_LIBDIR}/lib/arel/nodes/unary.rb
${GEM_LIBDIR}/lib/arel/nodes/union.rb
${GEM_LIBDIR}/lib/arel/nodes/union_all.rb
${GEM_LIBDIR}/lib/arel/nodes/unqualified_column.rb
${GEM_LIBDIR}/lib/arel/nodes/update_statement.rb
${GEM_LIBDIR}/lib/arel/nodes/values.rb
${GEM_LIBDIR}/lib/arel/predications.rb
${GEM_LIBDIR}/lib/arel/relation.rb
${GEM_LIBDIR}/lib/arel/select_manager.rb
${GEM_LIBDIR}/lib/arel/sql/engine.rb
${GEM_LIBDIR}/lib/arel/sql_literal.rb
${GEM_LIBDIR}/lib/arel/table.rb
${GEM_LIBDIR}/lib/arel/tree_manager.rb
${GEM_LIBDIR}/lib/arel/update_manager.rb
${GEM_LIBDIR}/lib/arel/visitors.rb
${GEM_LIBDIR}/lib/arel/visitors/depth_first.rb
${GEM_LIBDIR}/lib/arel/visitors/dot.rb
${GEM_LIBDIR}/lib/arel/visitors/join_sql.rb
${GEM_LIBDIR}/lib/arel/visitors/mssql.rb
${GEM_LIBDIR}/lib/arel/visitors/mysql.rb
${GEM_LIBDIR}/lib/arel/visitors/oracle.rb
${GEM_LIBDIR}/lib/arel/visitors/order_clauses.rb
${GEM_LIBDIR}/lib/arel/visitors/postgresql.rb
${GEM_LIBDIR}/lib/arel/visitors/sqlite.rb
${GEM_LIBDIR}/lib/arel/visitors/to_sql.rb
${GEM_LIBDIR}/lib/arel/visitors/visitor.rb
${GEM_LIBDIR}/lib/arel/visitors/where_sql.rb
${GEM_LIBDIR}/test/attributes/test_attribute.rb
${GEM_LIBDIR}/test/helper.rb
${GEM_LIBDIR}/test/nodes/test_as.rb
${GEM_LIBDIR}/test/nodes/test_count.rb
${GEM_LIBDIR}/test/nodes/test_delete_statement.rb
${GEM_LIBDIR}/test/nodes/test_equality.rb
${GEM_LIBDIR}/test/nodes/test_insert_statement.rb
${GEM_LIBDIR}/test/nodes/test_node.rb
${GEM_LIBDIR}/test/nodes/test_not.rb
${GEM_LIBDIR}/test/nodes/test_or.rb
${GEM_LIBDIR}/test/nodes/test_select_core.rb
${GEM_LIBDIR}/test/nodes/test_select_statement.rb
${GEM_LIBDIR}/test/nodes/test_sql_literal.rb
${GEM_LIBDIR}/test/nodes/test_sum.rb
${GEM_LIBDIR}/test/nodes/test_update_statement.rb
${GEM_LIBDIR}/test/support/fake_record.rb
${GEM_LIBDIR}/test/test_activerecord_compat.rb
${GEM_LIBDIR}/test/test_attributes.rb
${GEM_LIBDIR}/test/test_crud.rb
${GEM_LIBDIR}/test/test_delete_manager.rb
${GEM_LIBDIR}/test/test_insert_manager.rb
${GEM_LIBDIR}/test/test_select_manager.rb
${GEM_LIBDIR}/test/test_table.rb
${GEM_LIBDIR}/test/test_update_manager.rb
${GEM_LIBDIR}/test/visitors/test_depth_first.rb
${GEM_LIBDIR}/test/visitors/test_dot.rb
${GEM_LIBDIR}/test/visitors/test_join_sql.rb
${GEM_LIBDIR}/test/visitors/test_mssql.rb
${GEM_LIBDIR}/test/visitors/test_mysql.rb
${GEM_LIBDIR}/test/visitors/test_oracle.rb
${GEM_LIBDIR}/test/visitors/test_postgres.rb
${GEM_LIBDIR}/test/visitors/test_sqlite.rb
${GEM_LIBDIR}/test/visitors/test_to_sql.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/12/14 16:24:28 taca Exp $
SHA1 (arel-2.0.10.gem) = 758e4172108a517d91c526dcab90355a7d07c527
RMD160 (arel-2.0.10.gem) = dcecd53974a9a8f976c9946a6938d8c09baf27c5
Size (arel-2.0.10.gem) = 36864 bytes