sqlite3 2.7.0 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3f581fa0e339580baea01de88c08793788ceb262189571721c6f65ee1e17886
4
- data.tar.gz: 4d4850eb320b44437fe4458085a1d81f307265609e08db0849ddd39c1dcd1b09
3
+ metadata.gz: b87b34fa9d9a30221b2c07d53357ec81c82a7df0256782ddd8b8176a2686cb5d
4
+ data.tar.gz: b493ebdc22fbcd74d6b484084116fd4c8925c213c2e95506ad3a48b447735d6a
5
5
  SHA512:
6
- metadata.gz: 88c36cc69a4f9b3fd425a99b2b66cbbf8b064ce55a355439140e2b478a9c0c121fe852c62e3e6f9a7c7d55168f8fb016d37331995ff14be2c9853fbad5266b5b
7
- data.tar.gz: 6ef877f2998fec24724ffae67000e299053acc721354ae36cac909bc688dd8ac54061037ebd16aca8ad953323a6067c2cf5f86d79d99e189da783310b1414f39
6
+ metadata.gz: c71b2cd2573a6e5bb87c3e6075f251c3b77e3e5d2cfb75b54ea4b2eb3452ff5b75362e5d704ab13c4c23c5984c1996e293bb77b1739030ecbfcb5b4c33f47519
7
+ data.tar.gz: 7ba0f0d1497316ddcdbffe376c8a6611642a8e6f145fc9baa5699582e82924698091fa5a96cb6b592c5e0d543afcbd47abee66578fa647be5179cf558609087a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
+ ## 2.7.2 / 2025-07-05
4
+
5
+ - Backport a [fix](https://sqlite.org/src/info/64f5f14322) to the vendored SQLite to support compilation on Rocky Linux. See the [SQLite forum post](https://sqlite.org/forum/forumpost/44a58c8073) for more details. #634, #635 @flavorjones
6
+
7
+
8
+ ## 2.7.1 / 2025-06-30
9
+
10
+ - Vendored sqlite is updated to [v3.50.2](https://sqlite.org/releaselog/3_50_2.html) (from v3.50.1). #633 @flavorjones
11
+
12
+
3
13
  ## 2.7.0 / 2025-06-09
4
14
 
5
15
  - Vendored sqlite is updated to [v3.50.1](https://sqlite.org/releaselog/3_50_1.html) (from v3.49.1). #630 @flavorjones
@@ -614,7 +624,7 @@ You can opt-out of the packaged version of sqlite (and use your system-installed
614
624
 
615
625
  ## 1.4.1
616
626
 
617
- * Don't mandate dl functions for the extention build
627
+ * Don't mandate dl functions for the extension build
618
628
  * bumping version
619
629
 
620
630
 
data/CONTRIBUTING.md CHANGED
@@ -19,7 +19,7 @@ The `@connection` instance variable on the `Statement` handle keeps the database
19
19
  connection alive.
20
20
 
21
21
  We use `sqlite3_close_v2` in `Database#close` since v2.1.0 which defers _actually_ closing the
22
- connection and freeing the underlying memory until all open statments are closed; though the
22
+ connection and freeing the underlying memory until all open statements are closed; though the
23
23
  `Database` object will immediately behave as though it's been fully closed. If a Database is not
24
24
  explicitly closed, it will be closed when it is GCed.
25
25
 
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
- # c12e84ba9772391d41644a0a9be37bad25791fc2a9b9395962e5f83f805e877f
3
+ # e4d2b4332988f479ec032ccff00963a9bbd24a3a0f0222b4e249653fa680b4c0
4
4
  #
5
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3500100.tar.gz
6
- # c12e84ba9772391d41644a0a9be37bad25791fc2a9b9395962e5f83f805e877f ports/archives/sqlite-autoconf-3500100.tar.gz
5
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3500200.tar.gz
6
+ # e4d2b4332988f479ec032ccff00963a9bbd24a3a0f0222b4e249653fa680b4c0 ports/archives/sqlite-autoconf-3500200.tar.gz
7
7
  #
8
- # $ sha256sum ports/archives/sqlite-autoconf-3500100.tar.gz
9
- # 00a65114d697cfaa8fe0630281d76fd1b77afcd95cd5e40ec6a02cbbadbfea71 ports/archives/sqlite-autoconf-3500100.tar.gz
10
- version: "3.50.1"
8
+ # $ sha256sum ports/archives/sqlite-autoconf-3500200.tar.gz
9
+ # 84a616ffd31738e4590b65babb3a9e1ef9370f3638e36db220ee0e73f8ad2156 ports/archives/sqlite-autoconf-3500200.tar.gz
10
+ version: "3.50.2"
11
11
  files:
12
- - url: "https://sqlite.org/2025/sqlite-autoconf-3500100.tar.gz"
13
- sha256: "00a65114d697cfaa8fe0630281d76fd1b77afcd95cd5e40ec6a02cbbadbfea71"
12
+ - url: "https://sqlite.org/2025/sqlite-autoconf-3500200.tar.gz"
13
+ sha256: "84a616ffd31738e4590b65babb3a9e1ef9370f3638e36db220ee0e73f8ad2156"
@@ -60,7 +60,7 @@ rb_sqlite3_aggregate_instance(sqlite3_context *ctx)
60
60
  VALUE *inst_ptr = sqlite3_aggregate_context(ctx, (int)sizeof(VALUE));
61
61
 
62
62
  if (!inst_ptr) {
63
- rb_fatal("SQLite is out-of-merory");
63
+ rb_fatal("SQLite is out-of-memory");
64
64
  }
65
65
 
66
66
  inst = *inst_ptr;
@@ -174,7 +174,7 @@ rb_sqlite3_aggregator_final(sqlite3_context *ctx)
174
174
 
175
175
  /* call-seq: define_aggregator2(aggregator)
176
176
  *
177
- * Define an aggregrate function according to a factory object (the "handler")
177
+ * Define an aggregate function according to a factory object (the "handler")
178
178
  * that knows how to obtain to all the information. The handler must provide
179
179
  * the following class methods:
180
180
  *
@@ -194,6 +194,10 @@ module Sqlite3
194
194
  RbConfig::CONFIG["target_os"].include?("darwin")
195
195
  end
196
196
 
197
+ def windows?
198
+ RbConfig::CONFIG["target_os"].match?(/mingw|mswin/)
199
+ end
200
+
197
201
  def print_help
198
202
  print(<<~TEXT)
199
203
  USAGE: ruby #{$PROGRAM_NAME} [options]
@@ -1,4 +1,4 @@
1
1
  module SQLite3
2
2
  # (String) the version of the sqlite3 gem, e.g. "2.1.1"
3
- VERSION = "2.7.0"
3
+ VERSION = "2.7.2"
4
4
  end
@@ -0,0 +1,17 @@
1
+ commit d9eae6b7 (HEAD -> master, origin/master, origin/HEAD)
2
+ Author: stephan <stephan@noemail.net>
3
+ Date: 2025-07-04 17:20:37 +0000
4
+
5
+ Propagate the -ldl and -lpthread flags, if needed, into sqlite3.pc, per request in [forum:44a58c807353162f | forum post 44a58c807353162f].
6
+
7
+ FossilOrigin-Name: 64f5f14322349b47451b8cac03bf8cd6f1ae45a8822e7f1ddee3d0b265047501
8
+
9
+ --- a/sqlite3.pc.in
10
+ +++ b/sqlite3.pc.in
11
+ @@ -9,5 +9,5 @@ Name: SQLite
12
+ Description: SQL database engine
13
+ Version: @PACKAGE_VERSION@
14
+ Libs: -L${libdir} -lsqlite3
15
+ -Libs.private: @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@
16
+ +Libs.private: @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_DLOPEN@ @LDFLAGS_PTHREAD@ @LDFLAGS_ICU@
17
+ Cflags: -I${includedir}
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.7.0
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -75,7 +75,8 @@ files:
75
75
  - lib/sqlite3/value.rb
76
76
  - lib/sqlite3/version.rb
77
77
  - lib/sqlite3/version_info.rb
78
- - ports/archives/sqlite-autoconf-3500100.tar.gz
78
+ - patches/001-dl-and-pthread-flags.patch
79
+ - ports/archives/sqlite-autoconf-3500200.tar.gz
79
80
  homepage: https://github.com/sparklemotion/sqlite3-ruby
80
81
  licenses:
81
82
  - BSD-3-Clause
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
104
  - !ruby/object:Gem::Version
104
105
  version: '0'
105
106
  requirements: []
106
- rubygems_version: 3.6.8
107
+ rubygems_version: 3.6.7
107
108
  specification_version: 4
108
109
  summary: Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org).
109
110
  test_files: []