sqlite3 2.0.0-arm64-darwin → 2.0.2-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/INSTALLATION.md +2 -0
- data/dependencies.yml +8 -8
- data/ext/sqlite3/statement.c +1 -1
- data/lib/sqlite3/3.0/sqlite3_native.bundle +0 -0
- data/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
- data/lib/sqlite3/3.2/sqlite3_native.bundle +0 -0
- data/lib/sqlite3/3.3/sqlite3_native.bundle +0 -0
- data/lib/sqlite3/database.rb +3 -3
- data/lib/sqlite3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6eec566c48c85e88e16c3dc4e53375c79021f03e032b5b34771fd4843eeb49d
|
4
|
+
data.tar.gz: c19fc70b2670372d1284f1c1ad3a84eb3a5cebf80c1343cf4d1ffdfa044f6211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eecf36de292a47355a458c138474d67534f546ff218eea0e9d9c9929ad27550fc3b9a794e518416f3ec84d4fda31f375830ed1ab48be10226a3603389f4daa8
|
7
|
+
data.tar.gz: e1439f1c7cefe6693a605a03486ea685aa03edf32f3db69921f6a6e064ae3b7ddc0d69e6b4abe6d8db7c40b57fa74a5fbf2690c55ed171ee778fc81774b55918
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# sqlite3-ruby Changelog
|
2
2
|
|
3
|
+
## 2.0.2 / 2024-05-23
|
4
|
+
|
5
|
+
### Dependencies
|
6
|
+
|
7
|
+
- Vendored sqlite is updated to [v3.46.0](https://sqlite.org/releaselog/3_46_0.html) @flavorjones
|
8
|
+
|
9
|
+
|
10
|
+
## 2.0.1 / 2024-04-20
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
- Raise `ArgumentError` if `Database#execute`, `#execute_batch`, or `#query` are passed multiple bind parameters that are not in an Array. In v2.0.0 these methods would silently swallow additional arguments, and this change makes the failure explicit. See the CHANGELOG notes for v2.0.0 for examples on how to update your code. [#527] @flavorjones
|
15
|
+
- Fixed a regression in v2.0.0 that caused `Database#execute_batch` to raise an encoding exception when passed some non-ascii strings. As a result of this fix, `Database#prepare` now ensures the "remainder" string will always be encoded as UTF-8. [#524] @flavorjones
|
16
|
+
|
17
|
+
|
3
18
|
## 2.0.0 / 2024-04-17
|
4
19
|
|
5
20
|
This is a major release which contains some breaking changes, primarily the removal of
|
data/INSTALLATION.md
CHANGED
@@ -65,6 +65,8 @@ If you are on a platform or version of Ruby that is not covered by the Native Ge
|
|
65
65
|
|
66
66
|
By default, as of v1.5.0 of this library, the latest available version of libsqlite3 is packaged with the gem and will be compiled and used automatically. This takes a bit longer than the native gem, but will provide a modern, well-supported version of libsqlite3.
|
67
67
|
|
68
|
+
⚠ A prerequisite to build the gem with the packaged sqlite3 is that you must have `pkgconf` installed.
|
69
|
+
|
68
70
|
For example, on a linux system running Ruby 2.5:
|
69
71
|
|
70
72
|
``` text
|
data/dependencies.yml
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
sqlite3:
|
2
2
|
# checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
|
3
|
-
#
|
3
|
+
# 83d2acf79453deb7d6520338b1f4585f12e39b27cd370fb08593afa198f471fc
|
4
4
|
#
|
5
|
-
# $ sha3sum -a 256 ports/archives/sqlite-autoconf-
|
6
|
-
#
|
5
|
+
# $ sha3sum -a 256 ports/archives/sqlite-autoconf-3460000.tar.gz
|
6
|
+
# 83d2acf79453deb7d6520338b1f4585f12e39b27cd370fb08593afa198f471fc ports/archives/sqlite-autoconf-3460000.tar.gz
|
7
7
|
#
|
8
|
-
# $ sha256sum ports/archives/sqlite-autoconf-
|
9
|
-
#
|
10
|
-
version: "3.
|
8
|
+
# $ sha256sum ports/archives/sqlite-autoconf-3460000.tar.gz
|
9
|
+
# 6f8e6a7b335273748816f9b3b62bbdc372a889de8782d7f048c653a447417a7d ports/archives/sqlite-autoconf-3460000.tar.gz
|
10
|
+
version: "3.46.0"
|
11
11
|
files:
|
12
|
-
- url: "https://sqlite.org/2024/sqlite-autoconf-
|
13
|
-
sha256: "
|
12
|
+
- url: "https://sqlite.org/2024/sqlite-autoconf-3460000.tar.gz"
|
13
|
+
sha256: "6f8e6a7b335273748816f9b3b62bbdc372a889de8782d7f048c653a447417a7d"
|
data/ext/sqlite3/statement.c
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/sqlite3/database.rb
CHANGED
@@ -194,7 +194,7 @@ module SQLite3
|
|
194
194
|
#
|
195
195
|
# See also #execute2, #query, and #execute_batch for additional ways of
|
196
196
|
# executing statements.
|
197
|
-
def execute sql, bind_vars = [],
|
197
|
+
def execute sql, bind_vars = [], &block
|
198
198
|
prepare(sql) do |stmt|
|
199
199
|
stmt.bind_params(bind_vars)
|
200
200
|
stmt = build_result_set stmt
|
@@ -243,7 +243,7 @@ module SQLite3
|
|
243
243
|
#
|
244
244
|
# See also #execute_batch2 for additional ways of
|
245
245
|
# executing statements.
|
246
|
-
def execute_batch(sql, bind_vars = []
|
246
|
+
def execute_batch(sql, bind_vars = [])
|
247
247
|
sql = sql.strip
|
248
248
|
result = nil
|
249
249
|
until sql.empty?
|
@@ -298,7 +298,7 @@ module SQLite3
|
|
298
298
|
# returned, or you could have problems with locks on the table. If called
|
299
299
|
# with a block, +close+ will be invoked implicitly when the block
|
300
300
|
# terminates.
|
301
|
-
def query(sql, bind_vars = []
|
301
|
+
def query(sql, bind_vars = [])
|
302
302
|
result = prepare(sql).execute(bind_vars)
|
303
303
|
if block_given?
|
304
304
|
begin
|
data/lib/sqlite3/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-
|
14
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description: |
|
17
17
|
Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org). Precompiled
|