sqlite3 1.6.6-arm64-darwin → 1.6.7-arm64-darwin

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: c2a367ba49ad19e1e13bf3683e50f006c395a7b78df631a3672f281b0920a720
4
- data.tar.gz: '06594f8048b4ce67deb9253f9f610fb45373ac06aecf099b82013849754f00c8'
3
+ metadata.gz: 06e7a2b06673d4e82a58a7ae2bae40d71c88bc3febec6a8480ac99210de8eb9c
4
+ data.tar.gz: be280d7fc48fdf2e576296fdaa47e48c5224936958a8e7cb90445cdbceacce87
5
5
  SHA512:
6
- metadata.gz: 9decea2388ec9ea216d35199119125c58c94a0bcafa64cf5f8d386b8e09b80c216e0a5d33bb6ebe7534b5fa49fa039d59e800237452d44b33a4c83243b3d422f
7
- data.tar.gz: 0475f8b0e6922301170960cf013b9f94bc003b2fd69d562870955c0c7b38cdfa157bd8ff57f197b5b3efa2dfd642d8a037a6683b5b5f0b7c9b22794c58febbae
6
+ metadata.gz: 8db519db54629bea9b1545fc3a9f103878c604fe94d5b9107ebc14f139bc79d1d99fa783a6bc6fc4d50f393f15f669396d0cefbaf5a5a3d8763e13458271995c
7
+ data.tar.gz: d5545854058bb8ad245bd34b559c56688771138970b55b1c90aab00da4fcb7ef0782413234d83044fe2b75aeff757a5c4d18575831d188e74fd9f0178372c74c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
+ ## 1.6.7 / 2023-10-10
4
+
5
+ ### Dependencies
6
+
7
+ Vendored sqlite is updated to [v3.43.2](https://sqlite.org/releaselog/3_43_2.html).
8
+
9
+ Upstream release notes:
10
+
11
+ > - Fix a couple of obscure UAF errors and an obscure memory leak.
12
+ > - Omit the use of the sprintf() function from the standard library in the [CLI](https://sqlite.org/cli.html), as this now generates warnings on some platforms.
13
+ > - Avoid conversion of a double into unsigned long long integer, as some platforms do not do such conversions correctly.
14
+
15
+
16
+ ### Added
17
+
18
+ * Compile packaged sqlite3 with additional flags to explicitly enable FTS5, and set synchronous mode to normal when in WAL mode. [#408] (@flavorjones)
19
+
20
+
3
21
  ## 1.6.6 / 2023-09-12
4
22
 
5
23
  ### Dependencies
data/Gemfile CHANGED
@@ -8,4 +8,4 @@ gem("rake-compiler-dock", "1.3.0")
8
8
  gem("rdoc", "6.5.0")
9
9
  gem("psych", "5.1.0")
10
10
 
11
- gem("ruby_memcheck", "2.1.2") if Gem::Platform.local.os == "linux"
11
+ gem("ruby_memcheck", "2.2.0") if Gem::Platform.local.os == "linux"
data/dependencies.yml CHANGED
@@ -1,14 +1,15 @@
1
1
  # TODO: stop using symbols here once we no longer support Ruby 2.7 and can rely on symbolize_names
2
2
  :sqlite3:
3
3
  # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
4
+ # a7463a45ed58849200858e514b79f7e5f5d69850047897c5b659a78a0bc75cc1
4
5
  #
5
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3430100.tar.gz
6
- # 8c6242fb2abf6a556e849d259134aca9130520b2218f9a7fb1f50eb0528a385a ports/archives/sqlite-autoconf-3430100.tar.gz
6
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3430200.tar.gz
7
+ # a7463a45ed58849200858e514b79f7e5f5d69850047897c5b659a78a0bc75cc1 ports/archives/sqlite-autoconf-3430200.tar.gz
7
8
  #
8
- # $ sha256sum ports/archives/sqlite-autoconf-3430100.tar.gz
9
- # 46db2f10f306e163e4571b8974d44cd37078aae04295bbf08b253655df3265f4 ports/archives/sqlite-autoconf-3430100.tar.gz
9
+ # $ sha256sum ports/archives/sqlite-autoconf-3430200.tar.gz
10
+ # 6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0 ports/archives/sqlite-autoconf-3430200.tar.gz
10
11
  #
11
- :version: "3.43.1"
12
+ :version: "3.43.2"
12
13
  :files:
13
- - :url: "https://sqlite.org/2023/sqlite-autoconf-3430100.tar.gz"
14
- :sha256: "46db2f10f306e163e4571b8974d44cd37078aae04295bbf08b253655df3265f4"
14
+ - :url: "https://sqlite.org/2023/sqlite-autoconf-3430200.tar.gz"
15
+ :sha256: "6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0"
@@ -49,13 +49,18 @@ module Sqlite3
49
49
 
50
50
  def configure_packaged_libraries
51
51
  minimal_recipe.tap do |recipe|
52
- recipe.configure_options += ["--enable-shared=no", "--enable-static=yes"]
52
+ recipe.configure_options += [
53
+ "--enable-shared=no",
54
+ "--enable-static=yes",
55
+ "--enable-fts5",
56
+ ]
53
57
  ENV.to_h.tap do |env|
54
58
  user_cflags = with_config("sqlite-cflags")
55
59
  more_cflags = [
56
60
  "-fPIC", # needed for linking the static library into a shared library
57
61
  "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
58
62
  "-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
63
+ "-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1",
59
64
  ]
60
65
  env["CFLAGS"] = [user_cflags, env["CFLAGS"], more_cflags].flatten.join(" ")
61
66
  recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }
Binary file
Binary file
Binary file
Binary file
@@ -1,11 +1,11 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.6.6"
3
+ VERSION = "1.6.7"
4
4
 
5
5
  module VersionProxy
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
- TINY = 6
8
+ TINY = 7
9
9
  BUILD = nil
10
10
 
11
11
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
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: 1.6.6
4
+ version: 1.6.7
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: 2023-09-12 00:00:00.000000000 Z
14
+ date: 2023-10-10 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