sqlite3 1.6.0 → 1.6.2

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: 69d9de150affa7b5d28cf7a6e699363a5d057c170eb41392393741c1d442cafd
4
- data.tar.gz: 9c024116c3458abb44bfd0c0b0706b251513651d5f193ff9e0c4c2bc7cb3160f
3
+ metadata.gz: 93984d54ff6da907930347a1ac52f078bf0c6bc60cae93240dc4dd77192ecd03
4
+ data.tar.gz: dd6c7397f5e9116fb431a0029760bf965387c4c5b24cab02f486bde945ed756b
5
5
  SHA512:
6
- metadata.gz: 3ba6440d671e6d0b8df9ed8e88ee5bb49dac42d79b816ae0d3f8535fc46f82702d5e11da8a52550934e4adaca89948446d13edcbb86fb0abb852c3092cf4a664
7
- data.tar.gz: '0160957f45f445bfc268bc465a2aa22feadaf8ea5dbe7f9aaa29b1404d8b95451d038a576909eab09b9a2a787c1d9bd4c5f39d846125b25f316ea280de73ec82'
6
+ metadata.gz: 7092eb1290793994d68dff97b8016ff5d547dee702ac37f2b43d9e14bdba22f8df01faf0969132e77f69af0a371881312bc6bbb4ba313b6708c277b71517a62e
7
+ data.tar.gz: bc1e23420969a5a14ab4f69098d57e2454fb8bffa6cef878b01c14335ac9873e1dbc129d0895e147ff5071c44e9e9afd9ec50ee6b2b228771ef2a02ba7fb8c40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
+ ## 1.6.2 / 2023-03-27
4
+
5
+ ### Dependencies
6
+
7
+ Vendored sqlite is updated from v3.41.0 to [v3.41.2](https://sqlite.org/releaselog/3_41_2.html).
8
+
9
+
10
+ ### Packaging
11
+
12
+ * Allow compilation against system libraries without the presence of `mini_portile2`, primarily for the convenience of linux distro repackagers. [#381] (Thank you, @voxik!)
13
+
14
+
15
+ ## 1.6.1 / 2023-02-22
16
+
17
+ ### Dependencies
18
+
19
+ * Vendored sqlite is updated to [v3.41.0](https://sqlite.org/releaselog/3_41_0.html).
20
+
21
+
3
22
  ## 1.6.0 / 2023-01-13
4
23
 
5
24
  ### Ruby
data/CONTRIBUTING.md CHANGED
@@ -12,6 +12,15 @@ As a prerequisite please make sure you have `docker` correctly installed, so tha
12
12
  Run `bin/build-gems` which will package gems for all supported platforms, and run some basic sanity tests on those packages using `bin/test-gem-set` and `bin/test-gem-file-contents`.
13
13
 
14
14
 
15
+ ## Updating the version of libsqlite3
16
+
17
+ Update `/dependencies.yml` to reflect:
18
+
19
+ - the version of libsqlite3
20
+ - the URL from which to download
21
+ - the checksum of the file, which will need to be verified manually (see comments in that file)
22
+
23
+
15
24
  ## Making a release
16
25
 
17
26
  A quick checklist:
data/README.md CHANGED
@@ -73,13 +73,13 @@ end
73
73
 
74
74
  In v1.5.0 and later, native (precompiled) gems are available for recent Ruby versions on these platforms:
75
75
 
76
- - `aarch64-linux`
77
- - `arm-linux`
76
+ - `aarch64-linux` (requires: glibc >= 2.29)
77
+ - `arm-linux` (requires: glibc >= 2.29)
78
78
  - `arm64-darwin`
79
79
  - `x64-mingw32` / `x64-mingw-ucrt`
80
- - `x86-linux`
80
+ - `x86-linux` (requires: glibc >= 2.17)
81
81
  - `x86_64-darwin`
82
- - `x86_64-linux`
82
+ - `x86_64-linux` (requires: glibc >= 2.17)
83
83
 
84
84
  If you are using one of these Ruby versions on one of these platforms, the native gem is the recommended way to install sqlite3-ruby.
85
85
 
data/dependencies.yml CHANGED
@@ -2,14 +2,13 @@
2
2
  :sqlite3:
3
3
  # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
4
4
  #
5
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3400100.tar.gz
6
- # 3136db4bcd9e9e1e485c291380a3d86f0f21cae0eff9f714c0ef4821e2e5cdf7 ports/archives/sqlite-autoconf-3400100.tar.gz
5
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3410200.tar.gz
6
+ # 1ebb5539dd6fde9a0f89e8ab765af0b9f02010fc6baf6985b54781a38c00020a ports/archives/sqlite-autoconf-3410200.tar.gz
7
7
  #
8
- # juno in sqlite3-ruby on  flavorjones-update-sqlite-3.40.1 [$!?] via 💎 v3.1.2
9
- # $ sha256sum ports/archives/sqlite-autoconf-3400100.tar.gz
10
- # 2c5dea207fa508d765af1ef620b637dcb06572afa6f01f0815bd5bbf864b33d9 ports/archives/sqlite-autoconf-3400100.tar.gz
8
+ # $ sha256sum ports/archives/sqlite-autoconf-3410200.tar.gz
9
+ # e98c100dd1da4e30fa460761dab7c0b91a50b785e167f8c57acc46514fae9499 ports/archives/sqlite-autoconf-3410200.tar.gz
11
10
  #
12
- :version: "3.40.1"
11
+ :version: "3.41.2"
13
12
  :files:
14
- - :url: "https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz"
15
- :sha256: "2c5dea207fa508d765af1ef620b637dcb06572afa6f01f0815bd5bbf864b33d9"
13
+ - :url: "https://sqlite.org/2023/sqlite-autoconf-3410200.tar.gz"
14
+ :sha256: "e98c100dd1da4e30fa460761dab7c0b91a50b785e167f8c57acc46514fae9499"
data/ext/sqlite3/backup.c CHANGED
@@ -150,7 +150,7 @@ static VALUE pagecount(VALUE self)
150
150
  return INT2NUM(sqlite3_backup_pagecount(ctx->p));
151
151
  }
152
152
 
153
- void init_sqlite3_backup()
153
+ void init_sqlite3_backup(void)
154
154
  {
155
155
  #if 0
156
156
  VALUE mSqlite3 = rb_define_module("SQLite3");
@@ -800,7 +800,7 @@ static VALUE rb_sqlite3_open16(VALUE self, VALUE file)
800
800
  return INT2NUM(status);
801
801
  }
802
802
 
803
- void init_sqlite3_database()
803
+ void init_sqlite3_database(void)
804
804
  {
805
805
  #if 0
806
806
  VALUE mSqlite3 = rb_define_module("SQLite3");
@@ -1,5 +1,4 @@
1
1
  require "mkmf"
2
- require "mini_portile2"
3
2
  require "yaml"
4
3
 
5
4
  module Sqlite3
@@ -131,6 +130,8 @@ module Sqlite3
131
130
  end
132
131
 
133
132
  def minimal_recipe
133
+ require "mini_portile2"
134
+
134
135
  MiniPortile.new(libname, sqlite3_config[:version]).tap do |recipe|
135
136
  if sqlite_source_dir
136
137
  recipe.source_directory = sqlite_source_dir
@@ -82,7 +82,7 @@ static VALUE threadsafe_p(VALUE UNUSED(klass))
82
82
  return INT2NUM(sqlite3_threadsafe());
83
83
  }
84
84
 
85
- void init_sqlite3_constants()
85
+ void init_sqlite3_constants(void)
86
86
  {
87
87
  VALUE mSqlite3Constants;
88
88
  VALUE mSqlite3Open;
@@ -128,7 +128,7 @@ void init_sqlite3_constants()
128
128
  }
129
129
 
130
130
  RUBY_FUNC_EXPORTED
131
- void Init_sqlite3_native()
131
+ void Init_sqlite3_native(void)
132
132
  {
133
133
  /*
134
134
  * SQLite3 is a wrapper around the popular database
@@ -418,7 +418,7 @@ static VALUE database_name(VALUE self, VALUE index)
418
418
 
419
419
  #endif
420
420
 
421
- void init_sqlite3_statement()
421
+ void init_sqlite3_statement(void)
422
422
  {
423
423
  cSqlite3Statement = rb_define_class_under(mSqlite3, "Statement", rb_cObject);
424
424
 
@@ -1,11 +1,11 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.2"
4
4
 
5
5
  module VersionProxy
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
- TINY = 0
8
+ TINY = 2
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.0
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-01-13 00:00:00.000000000 Z
13
+ date: 2023-03-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2
@@ -160,7 +160,7 @@ files:
160
160
  - lib/sqlite3/translator.rb
161
161
  - lib/sqlite3/value.rb
162
162
  - lib/sqlite3/version.rb
163
- - ports/archives/sqlite-autoconf-3400100.tar.gz
163
+ - ports/archives/sqlite-autoconf-3410200.tar.gz
164
164
  - test/helper.rb
165
165
  - test/test_backup.rb
166
166
  - test/test_collation.rb
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.4.2
212
+ rubygems_version: 3.4.6
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: This module allows Ruby programs to interface with the SQLite3 database engine