aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Bug fix: Don't use #delegate to declare delegations when intentionally ↵Lee Bankewitz2009-08-102-1/+16
| | | | | | delegating to nil This accounts for a behavior change after Rails 2.3
* Adding jeweler for gem managementBryan Helmkamp2009-08-063-0/+3
|
* Adding SqlLiteral with spec for countsBryan Helmkamp2009-05-191-0/+23
|
* Expand sql engine CRUD specsBryan Helmkamp2009-05-181-5/+14
|
* Log queries to debug.log when running specsBryan Helmkamp2009-05-183-0/+6
|
* Better inspect output for ExpressionsBryan Helmkamp2009-05-181-0/+6
|
* Remvoing unused variable from specBryan Helmkamp2009-05-181-1/+0
|
* Adding skeleton of spec for CRUD operations in Sql::EngineBryan Helmkamp2009-05-171-0/+36
|
* Fix bug in Order equality where Descending.new(attribute) was == ↵Bryan Helmkamp2009-05-172-2/+12
| | | | Ascending.new(attribute)
* Moving SQL predicates spec to correct dirBryan Helmkamp2009-05-171-1/+1
|
* Added PostgreSQL to buildBryan Helmkamp2009-05-178-13/+132
|
* Add spec for Attribute#inspectBryan Helmkamp2009-05-171-0/+6
|
* WhitespaceBryan Helmkamp2009-05-1746-150/+150
|
* joining across engines in either directionBryan Helmkamp2009-05-171-11/+28
| | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb
* initial implementation of cross-engine joinBryan Helmkamp2009-05-171-0/+31
| | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb
* basic implementation of in memory insertionsBryan Helmkamp2009-05-171-0/+28
| | | | | | Conflicts: lib/arel/engines/memory/relations.rb
* using in memory relations as results from sql relationNick Kallen2009-05-173-8/+16
| | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb
* performing in memory joinsNick Kallen2009-05-171-0/+32
|
* better test orderingBryan Helmkamp2009-05-176-86/+145
| | | | | | Conflicts: doc/TODO
* recursive memory operations now possibleBryan Helmkamp2009-05-171-26/+57
| | | | | | Conflicts: lib/arel/algebra/relations/relation.rb
* removed duplicates from sql testsBryan Helmkamp2009-05-1713-553/+1
| | | | | | | | | | | | | | | | Conflicts: spec/arel/engines/sql/unit/predicates/binary_spec.rb spec/arel/engines/sql/unit/predicates/equality_spec.rb spec/arel/engines/sql/unit/primitives/attribute_spec.rb spec/arel/engines/sql/unit/primitives/expression_spec.rb spec/arel/engines/sql/unit/relations/alias_spec.rb spec/arel/engines/sql/unit/relations/join_spec.rb spec/arel/engines/sql/unit/relations/project_spec.rb spec/arel/engines/sql/unit/relations/relation_spec.rb spec/arel/engines/sql/unit/relations/table_spec.rb spec/arel/engines/sql/unit/relations/where_spec.rb spec/arel/engines/sql/unit/session/session_spec.rb
* reorganizing testsNick Kallen2009-05-1744-24/+790
|
* most in memory operations save join and groupBryan Helmkamp2009-05-173-19/+72
| | | | | | | | | | | | | Conflicts: lib/arel/algebra/extensions/object.rb lib/arel/algebra/primitives/value.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/formatters.rb lib/arel/engines/sql/primitives.rb spec/arel/unit/relations/alias_spec.rb spec/arel/unit/relations/array_spec.rb spec/arel/unit/relations/order_spec.rb
* join sql stuff moved into sql adapterBryan Helmkamp2009-05-172-8/+8
| | | | | | | | | Conflicts: lib/arel/algebra/primitives/value.rb lib/arel/algebra/relations/operations/join.rb lib/arel/algebra/relations/relation.rb spec/arel/unit/relations/join_spec.rb
* removed function_sql in favor of polymorphismBryan Helmkamp2009-05-172-9/+9
| | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb
* consolidated filesBryan Helmkamp2009-05-171-2/+2
| | | | | | | | | | | | | | Conflicts: lib/arel/algebra/predicates.rb lib/arel/algebra/relations/writes/delete.rb lib/arel/algebra/relations/writes/insert.rb lib/arel/algebra/relations/writes/update.rb lib/arel/engines/memory/predicates.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/primitives/attribute.rb lib/arel/engines/sql/relations/writes/insert.rb lib/arel/engines/sql/relations/writes/update.rb
* reorganized file structuresBryan Helmkamp2009-05-174-5/+12
| | | | | | | | | | Conflicts: lib/arel.rb lib/arel/arel.rb lib/arel/engines/memory/predicates.rb lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/relations/table.rb
* moved sql related code to its own engine areaBryan Helmkamp2009-05-174-5/+5
| | | | | | | | | | | | | | | | | | | | | Conflicts: lib/arel/engine.rb lib/arel/extensions/object.rb lib/arel/predicates.rb lib/arel/primitives/attribute.rb lib/arel/primitives/expression.rb lib/arel/primitives/value.rb lib/arel/relations/operations/join.rb lib/arel/relations/relation.rb lib/arel/relations/utilities/externalization.rb lib/arel/relations/utilities/nil.rb lib/arel/relations/writes/delete.rb lib/arel/relations/writes/insert.rb lib/arel/relations/writes/update.rb spec/arel/unit/relations/skip_spec.rb spec/arel/unit/relations/take_spec.rb spec/spec_helper.rb
* reorganized callBryan Helmkamp2009-05-176-42/+32
| | | | | | | | | | | | | | | | Conflicts: doc/TODO lib/arel/relations/relation.rb lib/arel/relations/writes/delete.rb lib/arel/relations/writes/insert.rb lib/arel/relations/writes/update.rb lib/arel/session.rb spec/arel/unit/relations/delete_spec.rb spec/arel/unit/relations/insert_spec.rb spec/arel/unit/relations/relation_spec.rb spec/arel/unit/relations/update_spec.rb spec/arel/unit/session/session_spec.rb
* Adding spec:mysql and spec:sqlite3 tasksBryan Helmkamp2009-05-1727-417/+1080
|
* Don't depend engine select_value(s) method. Quoting should be performed by ↵Emilio Tagua2009-05-067-34/+34
| | | | connection not ARel
* Added DISTINCT support. Modified when to quote or not columns and tables.Emilio Tagua2009-04-293-17/+28
|
* ORDER BY should be included after GROUP BY clauseEmilio Tagua2009-04-281-4/+4
|
* Removed table quotings to be SQLite3 compliant. Delete and update will ↵Emilio Tagua2009-04-242-54/+35
| | | | returrn the size of modified records to prevent addional queries to be done.
* Fix insertion to work on SQLite3Emilio Tagua2009-04-231-4/+4
|
* Use the engine not the engine.connection, the engine may not even respond to ↵Emilio Tagua2009-04-231-16/+16
| | | | connection
* Moved require to initializerEmilio Tagua2009-04-232-13/+11
|
* Quoting must be requiredEmilio Tagua2009-04-232-6/+8
|
* AND/OR support for predicatesBryan Helmkamp2008-05-272-0/+60
|
* externalization now includes limitsNick Kallen2008-05-211-0/+1
|
* limits and offsets need to be externalized too. first draftNick Kallen2008-05-202-19/+28
|
* some convenience methodsNick Kallen2008-05-193-5/+5
|
* reorganized file structureNick Kallen2008-05-191-31/+0
|
* renamed ion classesNick Kallen2008-05-196-21/+21
|
* renamed select operation to whereNick Kallen2008-05-1910-40/+40
|
* can't remember what i was working onNick Kallen2008-05-182-2/+28
|
* performance enhancementsNick Kallen2008-05-183-43/+1
|
* rename refactor of circleNick Kallen2008-05-186-34/+25
|
* still fasterNick Kallen2008-05-171-1/+1
|
* performance enhancementsNick Kallen2008-05-174-31/+13
|