sqlite3 2.0.0-x64-mingw-ucrt → 2.0.2-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2adcfc1d454e778dbb97170376592406a15cfea78357ce424962b33fe44ed35
4
- data.tar.gz: 26538d24313be17a62a23ce1beea7258c789b739c319546619c919dd7ecece37
3
+ metadata.gz: fdd0a0f216651c556bbe1a6eb22d7655936ca8442ae345e34655db1e1a97afec
4
+ data.tar.gz: 90dd9980892d553a66ba0311aacb0ad2b25a7d111412fd6996e1397a930c1074
5
5
  SHA512:
6
- metadata.gz: ab56e4a171537979a50703ba50a76ec1a47e066dd28a525ad51572b86314a6168725b98082c16667936bc7bcf2849e5726a40a082a989bcc713d9006895c11ee
7
- data.tar.gz: dad332c03de08826987ce803a1d43beb5ef86a452416485ab6d11c04cf6869bf8061272b48fce73634b98a342f2bd6cb90478b7ea6b3c37530cd492d5da8c930
6
+ metadata.gz: ce55c3337ab815157b619b3309d8e7a5521f8c41b745bff17576a5756ad26b3ed1837210207c787c0f9a29776b1fd37114fe60f6ab4f5a3a1e3c050405e904fb
7
+ data.tar.gz: 8e10485c22229b6718f344a6a3be32eb02f55fdaa1ea926ce999572092bc03fb19f9f6629a42dc2ece7b78c96c7b8acc239aca0e3167181f6ed79ab3059c8a9e
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
- # cc1050780e0266de4d91b31c8deaf4638336908c12c21898e9f1fcae1e2ac303
3
+ # 83d2acf79453deb7d6520338b1f4585f12e39b27cd370fb08593afa198f471fc
4
4
  #
5
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3450300.tar.gz
6
- # cc1050780e0266de4d91b31c8deaf4638336908c12c21898e9f1fcae1e2ac303 ports/archives/sqlite-autoconf-3450300.tar.gz
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-3450300.tar.gz
9
- # b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531 ports/archives/sqlite-autoconf-3450300.tar.gz
10
- version: "3.45.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-3450300.tar.gz"
13
- sha256: "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
12
+ - url: "https://sqlite.org/2024/sqlite-autoconf-3460000.tar.gz"
13
+ sha256: "6f8e6a7b335273748816f9b3b62bbdc372a889de8782d7f048c653a447417a7d"
@@ -72,7 +72,7 @@ prepare(VALUE self, VALUE db, VALUE sql)
72
72
  CHECK(db_ctx->db, status);
73
73
  timespecclear(&db_ctx->stmt_deadline);
74
74
 
75
- return rb_str_new2(tail);
75
+ return rb_utf8_str_new_cstr(tail);
76
76
  }
77
77
 
78
78
  /* call-seq: stmt.close
Binary file
Binary file
Binary file
@@ -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 = [], *args, &block
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 = [], *args)
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 = [], *args)
301
+ def query(sql, bind_vars = [])
302
302
  result = prepare(sql).execute(bind_vars)
303
303
  if block_given?
304
304
  begin
@@ -1,3 +1,3 @@
1
1
  module SQLite3
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.2"
3
3
  end
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.0
4
+ version: 2.0.2
5
5
  platform: x64-mingw-ucrt
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-04-17 00:00:00.000000000 Z
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