sqlite3 2.1.0.rc2-aarch64-linux-musl → 2.1.0.rc3-aarch64-linux-musl

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: a300ee577c54bf6e4ebf98ec32d5d9ba4253d253b0b11e6107e5f878f80a6f46
4
- data.tar.gz: 9ba9ca33c5c4e65c52a098de9872abe034ab2e18952be3a54945eacd50e9d6c7
3
+ metadata.gz: 022d563fce80208b0de29ff6ba0cce6422cd0ba3d69142581a7ba2b171d81ccc
4
+ data.tar.gz: 419350fa778be055d156c57ace2b7ff4b1c159c68a43a5a0826e4ef2599a2e21
5
5
  SHA512:
6
- metadata.gz: e3dfacde10b3223466b3ba42febffb0436b2fb7d615bdf4e7ff69b305594d8f85c9dcf17e591e5fd78c84a92171dae58e83a11faa7fac978e0a931c8186eff99
7
- data.tar.gz: af344102fbeadd2fdfcb3ce0ea9b5e147b8fa6605fcc822e1aacbdea97ded072de676bf93832052db51c061181e19dddf77f0b717254edae889f5766495e4d34
6
+ metadata.gz: 0e5623879a9467faa28b1547161176bbed47e1b0f214d9117c77f639ab6c4215467f2cdd168bc0f9a92c2e75cc0af302edf7566760f55bf051592adc198cc72f
7
+ data.tar.gz: 7a5b6f84c35944902926775fe0ebe6415e024f8a79e886e5cc9683c0419b86fad994fbe0a553a7c9f4a2fd04c943b4e7b8c0286690708bbbecf6ce3c9b2fdac9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
+ ## prerelease 2.1.0.rc3 / 2024-09-18
4
+
5
+ ### Improved
6
+
7
+ - Allow suppression of fork safety warnings. [#566] @flavorjones
8
+
9
+
3
10
  ## prerelease 2.1.0.rc2 / 2024-09-18
4
11
 
5
12
  ### Improved
@@ -17,6 +17,7 @@ module SQLite3
17
17
 
18
18
  @databases = []
19
19
  @mutex = Mutex.new
20
+ @suppress = false
20
21
 
21
22
  class << self
22
23
  def hook!
@@ -30,7 +31,7 @@ module SQLite3
30
31
  end
31
32
 
32
33
  def discard
33
- warned = false
34
+ warned = @suppress
34
35
  @databases.each do |db|
35
36
  next unless db.weakref_alive?
36
37
 
@@ -49,6 +50,11 @@ module SQLite3
49
50
  end
50
51
  @databases.clear
51
52
  end
53
+
54
+ # Call to suppress the fork-related warnings.
55
+ def suppress_warnings!
56
+ @suppress = true
57
+ end
52
58
  end
53
59
  end
54
60
  end
@@ -1,3 +1,3 @@
1
1
  module SQLite3
2
- VERSION = "2.1.0.rc2"
2
+ VERSION = "2.1.0.rc3"
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.1.0.rc2
4
+ version: 2.1.0.rc3
5
5
  platform: aarch64-linux-musl
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-09-19 00:00:00.000000000 Z
14
+ date: 2024-09-24 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