./databases/ruby-arel, Arel is a relational algebra engine for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q4, Version: 2.0.8, Package name: ruby18-arel-2.0.8, Maintainer: pkgsrc-users


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


Required to run:
[lang/ruby18-base] [misc/rubygems]

Required to build:
[misc/rubygems]

Master sites:

SHA1: a81379702ee4af78ceaff46f25205b3eda8edbc5
RMD160: 596cb9e64cb683693cf60cb7dcaa3bb4399f7515
Filesize: 35.5 KB

Version history: (Expand)


CVS history: (Expand)


   2011-02-14 20:08:04 by S.P.Zeidler | Files touched by this commit (24) | Package updated
Log message:
Pullup ticket 3354 - requested by taca
security update

Revisions pulled up:
- pkgsrc/databases/ruby-activerecord3/Makefile	1.3
- pkgsrc/databases/ruby-activerecord3/distinfo	1.3
- pkgsrc/databases/ruby-activerecord3/PLIST	1.2
- pkgsrc/databases/ruby-arel/Makefile		1.2
- pkgsrc/databases/ruby-arel/PLIST		1.2
- pkgsrc/databases/ruby-arel/distinfo		1.2
- pkgsrc/devel/ruby-activemodel/Makefile	1.3
- pkgsrc/devel/ruby-activemodel/distinfo	1.3
- pkgsrc/devel/ruby-activesupport3/Makefile	1.3
- pkgsrc/devel/ruby-activesupport3/distinfo	1.3
- pkgsrc/devel/ruby-railties/Makefile		1.3
- pkgsrc/devel/ruby-railties/distinfo		1.3
- pkgsrc/devel/ruby-railties/PLIST		1.2
- pkgsrc/mail/ruby-actionmailer3/Makefile	1.4
- pkgsrc/mail/ruby-actionmailer3/distinfo	1.3
- pkgsrc/www/ruby-actionpack3/Makefile		1.3
- pkgsrc/www/ruby-actionpack3/distinfo		1.3
- pkgsrc/www/ruby-activeresource3/Makefile	1.3
- pkgsrc/www/ruby-activeresource3/distinfo	1.3
- pkgsrc/www/ruby-rack-test/Makefile		1.2
- pkgsrc/www/ruby-rack-test/PLIST		1.2
- pkgsrc/www/ruby-rack-test/distinfo		1.2
- pkgsrc/www/ruby-rails3/Makefile		1.3
- pkgsrc/www/ruby-rails3/distinfo		1.4

-----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 12:54:35 UTC 2011

   Modified Files:
   	pkgsrc/www/ruby-rack-test: Makefile PLIST distinfo

   Log message:
   Update ruby-rack-test package to 0.5.7.

   == 0.5.7 / 2011-01-01

   * Bug fixes

     * If no URI is present, include all cookies (Pratik Naik)

   To generate a diff of this commit:
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/www/ruby-rack-test/Makefile \
       pkgsrc/www/ruby-rack-test/PLIST pkgsrc/www/ruby-rack-test/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 12:55:29 UTC 2011

   Modified Files:
   	pkgsrc/databases/ruby-arel: Makefile PLIST distinfo

   Log message:
   Update ruby-arel package to 2.0.8.

   == 2.0.8  / 2010/02/08

   * Bug Fixes

     * Added set operation support
     * Fixed problems with *_any / *_all methods.

   == 2.0.7 (unreleased)

   * Bug Fixes

     * Limit members are visited
     * Fixing MSSQL TOP support

   == 2.0.6 12/01/2010

   * Bug Fixes

     * Rails 3.0.x does not like that Node is Enumerable, so removing for now.

   == 2.0.5 11/30/2010

   * Enhancements

     * Arel::Visitors::DepthFirst can walk your AST depth first
     * Arel::Nodes::Node is enumerable, depth first

   * Bug fixes

     * #lock will lock SELECT statements "FOR UPDATE" on mysql
     * Nodes::Node#not factory method added for creating Nodes::Not nodes
     * Added an As node

   * Deprecations

     * Support for Subclasses of core classes will be removed in ARel version
       2.2.0

   == 2.0.4

   * Bug fixes

     * Speed improvements for Range queries.  Thanks Rolf Timmermans!

   == 2.0.3

   * Bug fixes

     * Fixing Oracle support
     * Added a visitor for "Class" objects

   == 2.0.2

   * Bug fixes

     * MySQL selects from DUAL on empty FROM
     * Visitor translates nil to NULL
     * Visitor translates Bignum properly

   == 2.0.1

   * Bug fixes

   == 2.0.0 / 2010-08-01
   * Enhancements

     * Recreate library using the Visitor pattern.
       http://en.wikipedia.org/wiki/Visitor_pattern

   To generate a diff of this commit:
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-arel/Makefile \
       pkgsrc/databases/ruby-arel/PLIST pkgsrc/databases/ruby-arel/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 12:56:49 UTC 2011

   Modified Files:
   	pkgsrc/devel/ruby-activesupport3: Makefile distinfo

   Log message:
   Update ruby-activesupport3 package to 3.0.4.

   * 3.0.4 updates version only for Ruby on Rails 3.0.4 update.

   *Rails 3.0.3 (November 16, 2010)*

   * No changes.

   *Rails 3.0.2 (November 15, 2010)*

   * Added before_remove_const callback to \ 
ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activesupport3/Makefile \
       pkgsrc/devel/ruby-activesupport3/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 12:57:47 UTC 2011

   Modified Files:
   	pkgsrc/devel/ruby-activemodel: Makefile distinfo

   Log message:
   Update ruby-activemodel package to 3.0.4.

   * More strict dependency reflect gemspec's description.
   * It is update of version only for Ruby on Rails 3.0.4 update.

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activemodel/Makefile \
       pkgsrc/devel/ruby-activemodel/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 12:58:53 UTC 2011

   Modified Files:
   	pkgsrc/www/ruby-actionpack3: Makefile distinfo

   Log message:
   Update ruby-actionpack3 package to 3.0.4.

   * More strict dependency reflect gemspec's description.

   *Rails 3.0.3 (November 16, 2010)*

   * When ActiveRecord::Base objects are sent to predicate methods, the id of
    the object should be sent to ARel, not the ActiveRecord::Base object.

   * :constraints routing should only do sanity checks against regular
     expressions.  String arguments are OK.

   *Rails 3.0.2 (November 15, 2010)*

   * The helper number_to_currency accepts a new :negative_format option to be
     able to configure how to render negative amounts. [Don Wilson]

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-actionpack3/Makefile \
       pkgsrc/www/ruby-actionpack3/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 13:00:07 UTC 2011

   Modified Files:
   	pkgsrc/databases/ruby-activerecord3: Makefile PLIST distinfo

   Log message:
   Update ruby-activerecord3 package to 3.0.4.

   * More strict dependency reflect gemspec's description.

   *Rails 3.0.4 (unreleased)*

   * Added deprecation warning for has_and_belongs_to_many associations where \ 
the join table has
     additional attributes other than the keys. Access to these attributes is \ 
removed in 3.1.
     Please use has_many :through instead. [Jon Leighton]

   *Rails 3.0.3 (November 16, 2010)*

   * Support find by class like this: Post.where(:name => Post)

   *Rails 3.0.2 (November 15, 2010)*

   * Dramatic speed increase (see: \ 
http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) \ 
[Aaron Patterson]

   * reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino]

   * except is now AR public API

       Model.order('name').except(:order).order('salary')

     generates:

       SELECT * FROM models ORDER BY salary

     [Santiago Pastorino]

   * The following code:

       Model.limit(10).scoping { Model.count }

     now generates the following SQL:

       SELECT COUNT(*) FROM models LIMIT 10

     This may not return what you want.  Instead, you may with to do something
     like this:

       Model.limit(10).scoping { Model.all.size }

     [Aaron Patterson]

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/ruby-activerecord3/Makefile \
       pkgsrc/databases/ruby-activerecord3/distinfo
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-activerecord3/PLIST

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 13:00:50 UTC 2011

   Modified Files:
   	pkgsrc/www/ruby-activeresource3: Makefile distinfo

   Log message:
   Update ruby-activeresource3 package to 3.0.4.

   * More strict dependency reflect gemspec's description.
   * It is update of version only for Ruby on Rails 3.0.4 update.

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-activeresource3/Makefile \
       pkgsrc/www/ruby-activeresource3/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 13:01:46 UTC 2011

   Modified Files:
   	pkgsrc/mail/ruby-actionmailer3: Makefile distinfo

   Log message:
   Update ruby-actionmailer3 package to 3.0.4.

   * More strict dependency reflect gemspec's description.
   * It is update of version only for Ruby on Rails 3.0.4 update.

   To generate a diff of this commit:
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/ruby-actionmailer3/Makefile
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/ruby-actionmailer3/distinfo

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 13:04:29 UTC 2011

   Modified Files:
   	pkgsrc/devel/ruby-railties: Makefile PLIST distinfo

   Log message:
   Update ruby-railties package to 3.0.4.

   * More strict dependency reflect gemspec's description.

   Not documented but includes fix for security problem:
    http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-railties/Makefile \
       pkgsrc/devel/ruby-railties/distinfo
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/ruby-railties/PLIST

   -----------------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Feb  9 13:05:57 UTC 2011

   Modified Files:
   	pkgsrc/www/ruby-rails3: Makefile distinfo

   Log message:
   Update ruby-rails3 package to 3.0.4.

   * More strict dependency reflect gemspec's description.
   * It is update of version only for Ruby on Rails 3.0.4 update.
     (This is meta gem.)

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-rails3/Makefile
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/ruby-rails3/distinfo