From 2849fe15c885539e95b18f8fe7639063f70d21c6 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Thu, 27 Jan 2022 11:09:27 -0300 Subject: [PATCH] Update to crystal-db ~> 0.11.0 (#77) --- shard.yml | 4 ++-- src/sqlite3/result_set.cr | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/shard.yml b/shard.yml index d368f44..f6cf1de 100644 --- a/shard.yml +++ b/shard.yml @@ -4,12 +4,12 @@ version: 0.18.0 dependencies: db: github: crystal-lang/crystal-db - version: ~> 0.10.0 + version: ~> 0.11.0 authors: - Ary Borenszweig - Brian J. Cardiff -crystal: ">= 0.35.0, < 2.0.0" +crystal: ">= 1.0.0, < 2.0.0" license: MIT diff --git a/src/sqlite3/result_set.cr b/src/sqlite3/result_set.cr index 48416b6..209aab6 100644 --- a/src/sqlite3/result_set.cr +++ b/src/sqlite3/result_set.cr @@ -47,6 +47,10 @@ class SQLite3::ResultSet < DB::ResultSet value end + def next_column_index : Int32 + @column_index + end + def read(t : Int32.class) : Int32 read(Int64).to_i32 end