summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add test for defaults from Daniel Rodríguez TroitiñoRob Holland2008-05-191-0/+11
|
* add missing requireRob Holland2008-05-191-0/+1
|
* be more granular with time/data translationRob Holland2008-05-171-1/+14
|
* switch to mochaRob Holland2008-05-151-3/+2
|
* Move to mocha instead of flexmock.Rob Holland2008-05-132-80/+69
|
* Use true/false for the busy_handler return value as the rdoc suggests.Rob Holland2008-05-111-2/+2
|
* Up the busy_timeout test time so that systems on which SQLite has reverted ↵Rob Holland2008-05-111-2/+2
| | | | to using sleep instead of usleep can still pass the tests.
* Adjust test cases such that there is no possibility of using the same ↵Rob Holland2008-05-111-64/+74
| | | | database handle from more than one thread, as per the SQLite usage API requirements.
* kill the paranoid copy of the license at the top of every source fileJamis Buck2008-05-025-162/+0
|
* Add test case to show that type translation must explicitly check for nil valuesJamis Buck2008-01-261-0/+13
|
* ruby 1.9 compatibility tweaks (thanks Roman Le Negrate <roman2k@free.fr>)Jamis Buck2008-01-171-0/+4
|
* make the table_info method adjust the returned default value for the rows so ↵Jamis Buck2007-01-301-0/+11
| | | | that the sqlite3 change in 3.3.8 and greater can be handled transparently
* Allow bignum values to be bound (thanks Timothy Wood, closes #3463)Jamis Buck2007-01-131-0/+11
|
* deprecate the DL driverJamis Buck2007-01-132-262/+264
|
* Add a test case to make sure table_info works with type-translation active.Jamis Buck2007-01-131-1/+6
|
* Allow bind parameters to be specified without a leading colon. Also allow ↵Jamis Buck2007-01-131-0/+10
| | | | them to be specified as a symbol.
* Add a test to ensure that bug #2045 is no longer an issueJamis Buck2007-01-131-6/+20
|
* db.transaction should properly catch an exception (closes #3981)Jamis Buck2007-01-132-3/+5
|
* Fix a few broken tests (and comment out a few that appear to be broken due ↵Jamis Buck2005-09-111-14/+16
| | | | to sqlite3 bugs). Add a pre-built sqlite3_api_wrap.c and make the extconf.rb not try to build it every time. Make extconf.rb die if asked to build the wrap.c file and swig is not installed.
* Fixed a bug that caused crashes when using type translation with typeless ↵Jamis Buck2005-02-151-0/+7
| | | | columns (like those from count(*), etc.).
* Added missing exceptions (format, range, and NOTADB). Exceptions also now ↵Jamis Buck2005-02-081-0/+54
| | | | have a "code" attribute that is the numeric value of the error that occurred.
* Added Database#query and made it possible to close a statement from a ↵Jamis Buck2005-02-071-0/+93
| | | | resultset. This should make it easier to create a sqlite3 adapter for Og.
* Version bump, and made it so that an array may be passed as the bind ↵Jamis Buck2005-02-051-0/+6
| | | | parameter and it will be flattened prior to binding. The native implementation of bind_text also does a to_s on its parameter now to prevent segfaults.
* Changed layout to support tagging and branchingJamis Buck2005-01-097-0/+1777