summaryrefslogtreecommitdiff
path: root/databases/ruby-arel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-12-14 16:27:38 +0000
committertaca <taca@pkgsrc.org>2011-12-14 16:27:38 +0000
commitf75625080e89bcacd1456c3408965acb48a54e52 (patch)
tree379833c9fede89485a84ff927b5d8d5fee808f91 /databases/ruby-arel
parent39e0bb1ece64bc52013cc2cfc524dc13c9039da5 (diff)
downloadpkgsrc-f75625080e89bcacd1456c3408965acb48a54e52.tar.gz
Update ruby-arel package to 2.2.1.
== 2.2.1 / 2011-09-15 * Enhancements * Added UpdateManager#key to access the key value * Added SelectManager#projections= to override any existing projections * Added SelectManager#source to get the source of the last select core in the AST == 2.2.0 / 2011-08-09 * Bug Fixes * The database connection caches visitors for generating SQL. * FALSE and TRUE nodes can be constructed. * Fixed ORDER BY / LIMIT clauses for UPDATE statements in Oracle. == 2.1.4 / 2011-07-25 * Bug Fixes * Fix depth-first traversal to understand ascending / descending nodes. * Parentheis are suppressed with nested unions in MySQL. Thanks jhtwong! == 2.1.3 / 2011-06-27 * Bug Fixues * Fixed broken gem build. == 2.1.2 / 2011-06-27 * Bug Fixes * Visitors can define their own cache strategey so caches are not shared. Fixes #57 * Informix support fixed. Thanks Khronos. * Ordering nodes broken to subclasses. Thanks Ernie Miller! * Reversal supported in ordering nodes. Thanks Ernie Miller! == 2.1.1 / 2011/05/14 * Bug fixes * Fixed thread safety bug in ToSql visitor. Thanks Damon McCormick and Cameron Walters! == 2.1.0 / 2011/04/30 * Enhancements * AST is now Enumerable * AND nodes are now n-ary nodes * SQL Literals may be used as Attribute names * Added Arel::Nodes::NamedFunction for representing generic SQL functions * Add Arel::SelectManager#limit= * Add Arel::SelectManager#offset * Add Arel::SelectManager#offset= * Added Arel::SelectManager#create_insert for building an insert manager. * SQL Literals are allowed for values in INSERT statements. * Math operations have been added to attributes, thanks to Vladimir Meremyanin. * Bug fixes * MSSQL adds TOP to sub selects * Assigning nil to take() removes LIMIT from statement. * Assigning nil to offset() removes OFFSET from statement. * TableAlias leg ordering fixed * Deprecations * Calls to `insert` are deprecated. Please use `compile_insert` then call `to_sql` on the resulting object and execute that SQL. * Calls to `update` are deprecated. Please use `compile_update` then call `to_sql` on the resulting object and execute that SQL. * Calls to `delete` are deprecated. Please use `compile_delete` then call `to_sql` on the resulting object and execute that SQL. * Arel::Table#joins is deprecated and will be removed in 3.0.0 with no replacement. * Arel::Table#columns is deprecated and will be removed in 3.0.0 with no replacement. * Arel::Table.table_cache is deprecated and will be removed in 3.0.0 with no replacement. * Arel::Nodes::And.new takes a single list instead of left and right. * Arel::Table#primary_key is deprecated and will be removed in 3.0.0 with no replacement. * Arel::SelectManager#where_clauses is deprecated and will be removed in 3.0.0 with no replacement. * Arel::SelectManager#wheres is deprecated and will be removed in 3.0.0 with no replacement.
Diffstat (limited to 'databases/ruby-arel')
-rw-r--r--databases/ruby-arel/Makefile4
-rw-r--r--databases/ruby-arel/PLIST58
-rw-r--r--databases/ruby-arel/distinfo8
3 files changed, 32 insertions, 38 deletions
diff --git a/databases/ruby-arel/Makefile b/databases/ruby-arel/Makefile
index c93be65c234..ed8d36edfcf 100644
--- a/databases/ruby-arel/Makefile
+++ b/databases/ruby-arel/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2011/06/11 02:35:10 taca Exp $
+# $NetBSD: Makefile,v 1.5 2011/12/14 16:27:38 taca Exp $
-DISTNAME= arel-2.0.10
+DISTNAME= arel-2.2.1
CATEGORIES= databases
# Note: databases/ruby-activerecord3 requires ruby-arel<2.1.
diff --git a/databases/ruby-arel/PLIST b/databases/ruby-arel/PLIST
index efe4d157b10..78ad46de7eb 100644
--- a/databases/ruby-arel/PLIST
+++ b/databases/ruby-arel/PLIST
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2011/05/10 13:28:38 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2011/12/14 16:27:38 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/History.txt
${GEM_LIBDIR}/MIT-LICENSE.txt
${GEM_LIBDIR}/Manifest.txt
@@ -9,6 +11,7 @@ ${GEM_LIBDIR}/README.markdown
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/arel.gemspec
${GEM_LIBDIR}/lib/arel.rb
+${GEM_LIBDIR}/lib/arel/alias_predication.rb
${GEM_LIBDIR}/lib/arel/attributes.rb
${GEM_LIBDIR}/lib/arel/attributes/attribute.rb
${GEM_LIBDIR}/lib/arel/compatibility/wheres.rb
@@ -17,60 +20,41 @@ ${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/factory_methods.rb
${GEM_LIBDIR}/lib/arel/insert_manager.rb
+${GEM_LIBDIR}/lib/arel/math.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/ascending.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/descending.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/false.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/infix_operation.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/join_source.rb
+${GEM_LIBDIR}/lib/arel/nodes/named_function.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/terminal.rb
+${GEM_LIBDIR}/lib/arel/nodes/true.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/nodes/with.rb
+${GEM_LIBDIR}/lib/arel/order_predications.rb
${GEM_LIBDIR}/lib/arel/predications.rb
${GEM_LIBDIR}/lib/arel/relation.rb
${GEM_LIBDIR}/lib/arel/select_manager.rb
@@ -82,6 +66,8 @@ ${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/ibm_db.rb
+${GEM_LIBDIR}/lib/arel/visitors/informix.rb
${GEM_LIBDIR}/lib/arel/visitors/join_sql.rb
${GEM_LIBDIR}/lib/arel/visitors/mssql.rb
${GEM_LIBDIR}/lib/arel/visitors/mysql.rb
@@ -95,10 +81,15 @@ ${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_ascending.rb
+${GEM_LIBDIR}/test/nodes/test_bin.rb
${GEM_LIBDIR}/test/nodes/test_count.rb
${GEM_LIBDIR}/test/nodes/test_delete_statement.rb
+${GEM_LIBDIR}/test/nodes/test_descending.rb
${GEM_LIBDIR}/test/nodes/test_equality.rb
+${GEM_LIBDIR}/test/nodes/test_infix_operation.rb
${GEM_LIBDIR}/test/nodes/test_insert_statement.rb
+${GEM_LIBDIR}/test/nodes/test_named_function.rb
${GEM_LIBDIR}/test/nodes/test_node.rb
${GEM_LIBDIR}/test/nodes/test_not.rb
${GEM_LIBDIR}/test/nodes/test_or.rb
@@ -112,12 +103,15 @@ ${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_factory_methods.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_ibm_db.rb
+${GEM_LIBDIR}/test/visitors/test_informix.rb
${GEM_LIBDIR}/test/visitors/test_join_sql.rb
${GEM_LIBDIR}/test/visitors/test_mssql.rb
${GEM_LIBDIR}/test/visitors/test_mysql.rb
diff --git a/databases/ruby-arel/distinfo b/databases/ruby-arel/distinfo
index 16a7a233215..6eaa10a3743 100644
--- a/databases/ruby-arel/distinfo
+++ b/databases/ruby-arel/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2011/06/11 02:35:10 taca Exp $
+$NetBSD: distinfo,v 1.5 2011/12/14 16:27:38 taca Exp $
-SHA1 (arel-2.0.10.gem) = 758e4172108a517d91c526dcab90355a7d07c527
-RMD160 (arel-2.0.10.gem) = dcecd53974a9a8f976c9946a6938d8c09baf27c5
-Size (arel-2.0.10.gem) = 36864 bytes
+SHA1 (arel-2.2.1.gem) = 1e93dd5af73acfd81fd0c7ceb10d1e0946e14387
+RMD160 (arel-2.2.1.gem) = f2bfef8906742bdeab2be40607b904902d940151
+Size (arel-2.2.1.gem) = 45056 bytes