sqlite3 2.0.0-x86_64-linux-musl → 2.0.2-x86_64-linux-musl
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.so +0 -0
- data/lib/sqlite3/3.1/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.2/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.3/sqlite3_native.so +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: 7b5be0566f49231deff1c89615adca1b7ac4f60a632d6a28854e8ece96cc7b0d
|
4
|
+
data.tar.gz: f2e688d221dbf1a70ad256c9fca131dec91bfbb8850725efbad4930ecbaf2e26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ac8e7466891760d9ae840ab5815cd3406ee4fd3231f5f49886300790bd81c4bfaa73e877678ef6bbdbbeafc361339ab7b14f1344da8e0dc6541846cc1f6994
|
7
|
+
data.tar.gz: ca9f21810ac511bc2e41c42b99c19ef018df85d3190695b7f2cfafc0aae8b1790f7f360306962c0f472cd584bb6dd08ba978796db99cce2f37bc7e8d3facd43e
|
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: x86_64-linux-musl
|
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
|