Update to crystal-db ~> 0.11.0 (#77)

This commit is contained in:
Brian J. Cardiff 2022-01-27 11:09:27 -03:00 committed by GitHub
parent 985bfa2d7c
commit 2849fe15c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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 <aborenszweig@manas.tech>
- Brian J. Cardiff <bcardiff@manas.tech>
crystal: ">= 0.35.0, < 2.0.0"
crystal: ">= 1.0.0, < 2.0.0"
license: MIT

View File

@ -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