Commit graph

87 commits

Author SHA1 Message Date
Brian J. Cardiff
2bfda2aa13 Fix Time.new deprecation warning
Enforce Crystal 0.28.0 or later
2019-06-04 17:54:24 -03:00
Brian J. Cardiff
ba1763b3a3
Release 0.11.0 (#39) 2019-04-19 02:03:29 -03:00
Brian J. Cardiff
c621a9b701
Upgrade to Crystal 0.28.0 (#38) 2019-04-18 15:58:02 -03:00
Tom Richards
a95182be08 Add error codes to LibSQLite3::Code (#36) 2018-10-05 11:53:19 -03:00
Brian J. Cardiff
2152441749 Bump version 0.10.0. Release notes. 2018-06-18 10:31:19 +02:00
Brian J. Cardiff
c1f214d695
Upgrade time usage for crystal 0.25.0 (#34) 2018-06-18 10:26:32 +02:00
Brian J. Cardiff
13916070e0 Bump version. Release notes. 2017-12-31 00:22:31 -03:00
Brian J. Cardiff
1f56a27704 Update to crystal-db ~> 0.5.0 2017-12-31 00:18:12 -03:00
Brian J. Cardiff
ae84010c28 Use text instead of string as sqlite type
Ref: crystal-lang/crystal-db#71
2017-11-13 10:59:59 -03:00
Brian J. Cardiff
adf64daa08 Bump version. Release notes.
Add SQLite3::VERSION constant
2017-11-07 23:49:41 -03:00
Ryan Breen
790d0ded8b Bytes argument properly bind blob, not text (#28) 2017-09-19 16:48:05 -03:00
Tom Richards
e6d5ad33c3 Multi-step exec support (#27) 2017-09-14 15:51:25 -03:00
Brian J. Cardiff
c850ec4b72 Update travis 2017-05-29 15:32:31 -03:00
Benoist
616af3ba1d better closing checks (#23) 2017-05-29 15:20:32 -03:00
Brian J. Cardiff
5eb85a98c6 Update to crystal-db ~> 0.4.1
Replace driver_spec for db/spec.
Fix read(T?) for T = Int32, Flaot32, Time, Bool..
Fixes #19
2017-04-10 14:09:22 -03:00
Brian J. Cardiff
b66dd5c337 bump version 0.8.2 2017-03-21 15:54:03 -03:00
Brian J. Cardiff
b43a12fc92 Add spec for DB.connect
Update to crystal-db ~> 0.4.0
2017-03-21 15:46:57 -03:00
Hinrik Örn Sigurðsson
bbed6256a6 Make SQLite3::Connection#dump copy all DB pages (#16)
An issue with bindings caused less than total pages to be copied.
2017-01-17 16:57:27 -03:00
Brian J. Cardiff
c3ee15db6a update .gitignore 2016-12-26 10:46:08 -03:00
Brian J. Cardiff
cc4ab2d06f bump version 0.8.1 2016-12-15 15:22:41 -03:00
Brian J. Cardiff
bda4b8e184 update to crystal-db ~> 0.3.1 2016-12-15 14:49:39 -03:00
Brian J. Cardiff
c7e3e2dc3d bump version 0.8.0 2016-12-14 15:31:53 -03:00
Brian J. Cardiff
056325ca8f Update to crystal-db ~> 0.3.0 2016-12-14 15:24:45 -03:00
Brian J. Cardiff
9784573152 Add Bool support
* change specs to not use #scalar since it does not have expected type information.
* refactor Time spec
2016-12-14 13:52:12 -03:00
Brian J. Cardiff
46709eab00 add spec for transactions and nested transactions (#12) 2016-12-14 12:27:43 -03:00
Brian J. Cardiff
c39220e3f0 Merge pull request #11 from crystal-lang/feature/unprepared
update to crystal-db feature/unprepared branch
2016-12-13 16:51:49 -03:00
Brian J. Cardiff
242e3dfa02 update to crystal-db feature/unprepared branch 2016-12-03 17:52:24 -03:00
Brian J. Cardiff
71347ad377 bump version 0.7.0
update db dependency to a proper version
2016-10-20 19:04:07 -03:00
Brian J. Cardiff
261f17ad21 add spec for using the connection pool 2016-10-19 01:44:34 -03:00
Ary Borenszweig
0396d63771 Updated to Crystal 0.19.0 2016-09-03 18:41:31 -03:00
Brian J. Cardiff
f70c1d89e2 fix: avoid closing statements twice, they are closed in base connection 2016-08-30 16:17:49 -03:00
Brian J. Cardiff
6b72e01c2f avoid releasing the connection multiple times
when the ResultSet is released, the connection is returned. The same happens with the statement.
2016-08-29 16:41:29 -03:00
Ary Borenszweig
c3fce779fe Added some casts to make it work when other drivers are loaded 2016-07-14 15:21:59 -03:00
Ary Borenszweig
84e1eed991 Fixed type references 2016-07-11 15:24:37 -03:00
Brian J. Cardiff
5f710d1fd9 use crystal-db master branch 2016-07-05 16:48:33 -03:00
Ary Borenszweig
c2f8cf53e3 Merge pull request #9 from crystal-lang/feature/simple_read
Implement https://github.com/crystal-lang/crystal-db/pull/9
2016-07-01 11:57:28 -03:00
Ary Borenszweig
1e8de9a2b4 Implement https://github.com/crystal-lang/crystal-db/pull/9 2016-06-28 14:04:27 -03:00
Brian J. Cardiff
710ac1d170 update links 2016-06-27 14:25:55 -03:00
Brian J. Cardiff
75007d2304 update deps 2016-06-27 14:16:10 -03:00
Brian J. Cardiff
770d2dec21 bump version 2016-06-27 14:12:38 -03:00
Brian J. Cardiff
c9b54c3da0 update readme 2016-06-27 14:08:21 -03:00
Brian J. Cardiff
fb0f5ea6d7 compliant with crystal-db.
Merge branch 'db' into master
2016-06-27 12:39:33 -03:00
Brian J. Cardiff
38507203df add license
update .gitignore
2016-06-24 00:02:44 -03:00
Brian J. Cardiff
881ef79893 Merge master changes into db branch.
Refactor flags, add option to dump from one database connection to another.

Merge commit '135f33d9eac82c63a48b14942c8eff647c070410' into db

# Conflicts:
#	spec/database_spec.cr
#	src/sqlite3/lib_sqlite3.cr
#	src/sqlite3/result_set.cr
#	src/sqlite3/statement.cr
2016-06-23 17:27:58 -03:00
Brian J. Cardiff
186dc01f10 Merge branch 'feature/5-type-extensibility' into db 2016-06-23 15:14:41 -03:00
Brian J. Cardiff
de8bd7a5c4 use master branch of crystal-db 2016-06-23 15:13:34 -03:00
Brian J. Cardiff
497379ff81 extend sqlite with time (as text) support. 2016-06-22 16:17:47 -03:00
Brian J. Cardiff
d65575cd77 update Slice(UInt8) to Bytes 2016-06-22 14:13:44 -03:00
Brian J. Cardiff
c8d5acceae Make sure queries (insert and query) work with any type 2016-06-22 00:45:00 -03:00
Brian J. Cardiff
bf26cdc24f update DB::ExecResult#rows_affected to Int64 2016-06-21 18:32:06 -03:00