mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Merge branch 'master' into tutorial_compile_and_link_a_specific_sqlite_version
This commit is contained in:
commit
5218d50dd9
6 changed files with 51 additions and 6 deletions
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 6 * * 1' # Every monday 6 AM
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
crystal: [1.0.0, latest, nightly]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- name: Install Crystal
|
||||||
|
uses: crystal-lang/install-crystal@v1
|
||||||
|
with:
|
||||||
|
crystal: ${{ matrix.crystal }}
|
||||||
|
|
||||||
|
- name: Download source
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install shards
|
||||||
|
run: shards install
|
||||||
|
|
||||||
|
- name: Run specs
|
||||||
|
run: crystal spec
|
||||||
|
|
||||||
|
- name: Check formatting
|
||||||
|
run: crystal tool format; git diff --exit-code
|
||||||
|
if: matrix.crystal == 'latest' && matrix.os == 'ubuntu-latest'
|
|
@ -1,2 +0,0 @@
|
||||||
language: crystal
|
|
||||||
sudo: false
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
## v0.19.0 (2022-01-28)
|
||||||
|
|
||||||
|
* Update to crystal-db ~> 0.11.0. ([#77](https://github.com/crystal-lang/crystal-sqlite3/pull/77))
|
||||||
|
* Fix timestamps support to allow dealing with exact seconds values ([#68](https://github.com/crystal-lang/crystal-sqlite3/pull/68), thanks @yujiri8, @tenebrousedge)
|
||||||
|
* Migrate CI to GitHub Actions. ([#78](https://github.com/crystal-lang/crystal-sqlite3/pull/78))
|
||||||
|
|
||||||
|
This release requires Crystal 1.0.0 or later.
|
||||||
|
|
||||||
## v0.18.0 (2021-01-26)
|
## v0.18.0 (2021-01-26)
|
||||||
|
|
||||||
* Add `REGEXP` support powered by Crystal's std-lib Regex. ([#62](https://github.com/crystal-lang/crystal-sqlite3/pull/62), thanks @yujiri8)
|
* Add `REGEXP` support powered by Crystal's std-lib Regex. ([#62](https://github.com/crystal-lang/crystal-sqlite3/pull/62), thanks @yujiri8)
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
name: sqlite3
|
name: sqlite3
|
||||||
version: 0.18.0
|
version: 0.19.0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
db:
|
db:
|
||||||
github: crystal-lang/crystal-db
|
github: crystal-lang/crystal-db
|
||||||
version: ~> 0.10.0
|
version: ~> 0.11.0
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Ary Borenszweig <aborenszweig@manas.tech>
|
- Ary Borenszweig <aborenszweig@manas.tech>
|
||||||
- Brian J. Cardiff <bcardiff@manas.tech>
|
- Brian J. Cardiff <bcardiff@manas.tech>
|
||||||
|
|
||||||
crystal: ">= 0.35.0, < 2.0.0"
|
crystal: ">= 1.0.0, < 2.0.0"
|
||||||
|
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
|
@ -47,6 +47,10 @@ class SQLite3::ResultSet < DB::ResultSet
|
||||||
value
|
value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def next_column_index : Int32
|
||||||
|
@column_index
|
||||||
|
end
|
||||||
|
|
||||||
def read(t : Int32.class) : Int32
|
def read(t : Int32.class) : Int32
|
||||||
read(Int64).to_i32
|
read(Int64).to_i32
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module SQLite3
|
module SQLite3
|
||||||
VERSION = "0.18.0"
|
VERSION = "0.19.0"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue