sqlite3 2.1.0.rc2-x86-linux-musl → 2.1.0.rc3-x86-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: c339f332324f568da96d6091fc0498a9b4f96161a93a71e22660703eb4c95e9a
4
- data.tar.gz: 19dbae2f97b6a23fdfd31b52e44aed340a60a1b06f44e4ee1f06d9456157f40b
3
+ metadata.gz: 5113bebb44176da0ada21ff4709133927d7c04bd8e72b979cdb79a322d3fd25c
4
+ data.tar.gz: ba5d50a54022a79657012e0cd8b7a0c6bf0d5ad64bbff3377576a8f3084f0b0b
5
5
  SHA512:
6
- metadata.gz: 4ec8787be341a16c6cab0649d963b8bb13cd29c5430377e5bc002f332ea191d04e73dc0f829c9c37d12289247d1b34afba79a608c1de516bf0eef4cbc2a72828
7
- data.tar.gz: 98f82c30344d1dfe144867ec94346e089cdbc16f0cc96006d056e18ff7b878e0101451f3815aa313eb7b5902650e72cd6a3b631e9e5da510e1cf6950b650e2ba
6
+ metadata.gz: 70f40cb4b67d01a511eaab84b7f5f804a5b1fd1864ff82067f039bbb9775ccbcf4e0e9247b0174534e030855fc93aec9eb3a36e54d5e3f17ccb4ffd9e21eadd1
7
+ data.tar.gz: 05e52ef38e46bd233b56ec4158e0586d3cd33d85350e57ceba983057a2ae5a62955c0275381bb377f8746266001a5b992dfb3c0e0c536dab9d61a85e47d6582d
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: x86-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