sqlite3 1.5.0.rc2-arm-linux → 1.5.1-arm-linux

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: ac7285f3833251c16b52667f587512ab71b4d503bc1b5cba4d886c144d48b2de
4
- data.tar.gz: e60321cff4535072475fd15a996d3fde1d67f150d66c503ae29e9ad6562ae9fd
3
+ metadata.gz: 2e02b39f3b51452495371649b0a3e88fd1922bed9af7005853cb867d590ec7bf
4
+ data.tar.gz: 86ffa40979adc438cc018df0b32a40f4a46e5a735287388f5c3d4f62fad4636f
5
5
  SHA512:
6
- metadata.gz: 879a903f83d6e8a3dfd7ec0a90ddf15a7b29b60eb234b935e8ad2481e845b20de84d02678c28c02c5082724454f24eeba46e251fc8c8e0329866ef32bb6ec254
7
- data.tar.gz: dd6844120fc41826d3d1a91c98f6a66c16b4a041341ba9eb2b7ec56d9fac0567a758545345313851908f4281c0df7c6104b9ca31d25ac0756d4b0df41523767a
6
+ metadata.gz: f6a8ef59b93767f400c94cd4450e3f4e42399d9b66b31e4d45b95c725c6cce0cb2cbd00267e47ee64afce82952a485925f8567b0b500d4fcb5873a2ca19eac99
7
+ data.tar.gz: 5d1a8712491ce3d99e5116dee9679a11fd9fffa9f9709faa719e5374df5eb5527a502b8978e3b56c403cde9967c9ce2bbc22c6926ca2ae3f0697d62456e0b5be
data/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
- ## 1.5.0 / unreleased
3
+ ## 1.5.1 / 2022-09-29
4
+
5
+ ### Dependencies
6
+
7
+ * Vendored sqlite is updated to [v3.39.4](https://sqlite.org/releaselog/3_39_4.html).
8
+
9
+ ### Security
10
+
11
+ The vendored version of sqlite, v3.39.4, should be considered to be a security release. From the release notes:
12
+
13
+ > Version 3.39.4 is a minimal patch against the prior release that addresses issues found since the
14
+ > prior release. In particular, a potential vulnerability in the FTS3 extension has been fixed, so
15
+ > this should be considered a security update.
16
+ >
17
+ > In order to exploit the vulnerability, an attacker must have full SQL access and must be able to
18
+ > construct a corrupt database with over 2GB of FTS3 content. The problem arises from a 32-bit
19
+ > signed integer overflow.
20
+
21
+ For more information please see [GHSA-mgvv-5mxp-xq67](https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mgvv-5mxp-xq67).
22
+
23
+
24
+ ## 1.5.0 / 2022-09-08
4
25
 
5
26
  ### Packaging
6
27
 
@@ -23,13 +44,13 @@ See [the README](https://github.com/sparklemotion/sqlite3-ruby#native-gems-recom
23
44
 
24
45
  #### More consistent developer experience
25
46
 
26
- Both the native (precompiled) gems and the vanilla "ruby platform" (source) gem include sqlite v3.39.2 by default.
47
+ Both the native (precompiled) gems and the vanilla "ruby platform" (source) gem include sqlite v3.39.3 by default.
27
48
 
28
49
  Defaulting to a consistent version of sqlite across all systems means that your development environment behaves exactly like your production environment, and you have access to the latest and greatest features of sqlite.
29
50
 
30
51
  You can opt-out of the packaged version of sqlite (and use your system-installed library as in versions < 1.5.0). See [the README](https://github.com/sparklemotion/sqlite3-ruby#avoiding-the-precompiled-native-gem) for more information.
31
52
 
32
- [Release notes for this version of sqlite](https://sqlite.org/releaselog/3_39_0.html)
53
+ [Release notes for this version of sqlite](https://sqlite.org/releaselog/3_39_3.html)
33
54
 
34
55
 
35
56
  ### Rubies and Platforms
data/README.md CHANGED
@@ -107,7 +107,8 @@ If you're on a platform that supports a native gem but you want to avoid using i
107
107
 
108
108
  - If you're not using Bundler, then run `gem install sqlite3 --platform=ruby`
109
109
  - If you are using Bundler
110
- - version 2.1 or later, then you'll need to run `bundle config set force_ruby_platform true`,
110
+ - version 2.3.18 or later, you can specify [`gem "sqlite3", force_ruby_platform: true`](https://bundler.io/v2.3/man/gemfile.5.html#FORCE_RUBY_PLATFORM)
111
+ - version 2.1 or later, then you'll need to run `bundle config set force_ruby_platform true`
111
112
  - version 2.0 or earlier, then you'll need to run `bundle config force_ruby_platform true`
112
113
 
113
114
 
@@ -118,7 +119,7 @@ If you are on a platform or version of Ruby that is not covered by the Native Ge
118
119
 
119
120
  #### Packaged libsqlite3
120
121
 
121
- By default, as of v1.5.0 of this library, libsqlite3 v3.38.5 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.
122
+ 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.
122
123
 
123
124
  For example, on a linux system running Ruby 2.5:
124
125
 
@@ -143,6 +144,7 @@ If you would prefer to build the sqlite3-ruby gem against your system libsqlite3
143
144
 
144
145
  PLEASE NOTE:
145
146
 
147
+ - you must avoid installing a precompiled native gem (see [previous section](#avoiding-the-precompiled-native-gem))
146
148
  - only versions of libsqlite3 `>= 3.5.0` are supported,
147
149
  - and some library features may depend on how your libsqlite3 was compiled.
148
150
 
@@ -265,9 +265,10 @@ rb_sqlite3_define_aggregator2(VALUE self, VALUE aggregator, VALUE ruby_name)
265
265
  void
266
266
  rb_sqlite3_aggregator_init(void)
267
267
  {
268
- rb_gc_register_address(&cAggregatorWrapper);
269
- rb_gc_register_address(&cAggregatorInstance);
270
268
  /* rb_class_new generatos class with undefined allocator in ruby 1.9 */
271
269
  cAggregatorWrapper = rb_funcall(rb_cClass, rb_intern("new"), 0);
270
+ rb_gc_register_mark_object(cAggregatorWrapper);
271
+
272
272
  cAggregatorInstance = rb_funcall(rb_cClass, rb_intern("new"), 0);
273
+ rb_gc_register_mark_object(cAggregatorInstance);
273
274
  }
@@ -133,18 +133,18 @@ module Sqlite3
133
133
  def mini_portile_config
134
134
  {
135
135
  sqlite3: {
136
- # checksum verified by first checking the published sha3(256) checksum:
136
+ # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
137
137
  #
138
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390200.tar.gz
139
- # b195891eb32305481e61c6718b8cc3b090685b613c4824a076c63166a46c5bee ports/archives/sqlite-autoconf-3390200.tar.gz
138
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390400.tar.gz
139
+ # 431328e30d12c551da9ba7ef2122b269076058512014afa799caaf62ca567090 ports/archives/sqlite-autoconf-3390400.tar.gz
140
140
  #
141
- # $ sha256sum ports/archives/sqlite-autoconf-3390200.tar.gz
142
- # 852be8a6183a17ba47cee0bbff7400b7aa5affd283bf3beefc34fcd088a239de ports/archives/sqlite-autoconf-3390200.tar.gz
141
+ # $ sha256sum ports/archives/sqlite-autoconf-3390400.tar.gz
142
+ # f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb ports/archives/sqlite-autoconf-3390400.tar.gz
143
143
  #
144
- version: "3.39.2",
144
+ version: "3.39.4",
145
145
  files: [{
146
- url: "https://www.sqlite.org/2022/sqlite-autoconf-3390200.tar.gz",
147
- sha256: "852be8a6183a17ba47cee0bbff7400b7aa5affd283bf3beefc34fcd088a239de",
146
+ url: "https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz",
147
+ sha256: "f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb",
148
148
  }],
149
149
  }
150
150
  }
Binary file
Binary file
Binary file
Binary file
@@ -1,16 +1,14 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.5.0.rc2"
3
+ VERSION = "1.5.1"
4
4
 
5
5
  module VersionProxy
6
-
7
6
  MAJOR = 1
8
7
  MINOR = 5
9
- TINY = 0
10
- BUILD = "rc2"
8
+ TINY = 1
9
+ BUILD = nil
11
10
 
12
11
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
13
- #:beta-tag:
14
12
 
15
13
  VERSION = ::SQLite3::VERSION
16
14
  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: 1.5.0.rc2
4
+ version: 1.5.1
5
5
  platform: arm-linux
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: 2022-08-30 00:00:00.000000000 Z
13
+ date: 2022-09-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -178,9 +178,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  version: 3.2.dev
179
179
  required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
- - - ">"
181
+ - - ">="
182
182
  - !ruby/object:Gem::Version
183
- version: 1.3.1
183
+ version: '0'
184
184
  requirements: []
185
185
  rubygems_version: 3.3.4
186
186
  signing_key: