aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Adding spec.optsBryan Helmkamp2009-10-011-0/+3
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-309-260/+274
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-208-15/+26
|
* WhitespaceBryan Helmkamp2009-09-202-3/+3
|
* Merge remote branch 'miloops/master' into miloopsBryan Helmkamp2009-09-2056-75/+93
|\ | | | | | | | | | | | | Conflicts: spec/connections/mysql_connection.rb spec/connections/postgresql_connection.rb spec/connections/sqlite3_connection.rb
| * Use load path rather than relative path for spec_helper requires. Also fixes ↵Jeremy Kemper2009-09-1453-53/+53
| | | | | | | | specs on Ruby 1.9 since . is no longer in the load path.
| * Require active_support and active_record by name in LOAD_PATH instead of gem ↵Jeremy Kemper2009-09-143-4/+7
| | | | | | | | name (deprecated)
| * Allow SQL strings to insert query. Insert should better return engine's result.Emilio Tagua2009-07-012-10/+9
| |
| * Build valid SQL query for SQLite3 and PostgreSQL when updating records with ↵Emilio Tagua2009-06-231-6/+12
| | | | | | | | limited conditions
| * Allow expressions on literal SQL fragmentsEmilio Tagua2009-05-281-0/+12
| |
| * Merge commit 'brynary/master'Emilio Tagua2009-05-2683-1292/+2640
| |\ | | | | | | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/session.rb
* | | 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
|