sqlite3 2.1.0.rc2-x86_64-linux-gnu → 2.1.0.rc3-x86_64-linux-gnu

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: 1c6dd8dd1847a3ab86b2e7626e64e9adc66967906d7b594f9540f1239358c675
4
- data.tar.gz: e409c99762cea60186c288f958af877d3d466e64b9a85fbe19323996633c14b7
3
+ metadata.gz: 2c9e7d576e1d2ecf734140909c3ffb4a425839a46d2a54bc6c3166b06d868985
4
+ data.tar.gz: 8f6e84536e83bfe0100eb035a93a53cfa7c902d105782fc9914c9a1983fb1755
5
5
  SHA512:
6
- metadata.gz: 4e8a1510d3c62f9d6440b541a91944920a1d728a7e9dbac1b0a9d8287725e89f1c6c387fc67718e82ce387fa4e9150b35e4ee0ac3efa8f702d320893198b61ab
7
- data.tar.gz: 2d9cda1218ac175908fc466344c0b1c76b1f6cd0a02d412c73170ce1310071ac9a7a61841bfb141c7341c1670498781a2e22efb19de4757017036bbcbd29a86d
6
+ metadata.gz: 8f0745181c9072a6fd47ba1f98b601c4dff5bd79678f31a3810ce0b537836cb5c46f4134e0ce90cfd81d5ed7c3736e50bf461ea147ac344b4480fe94112d4253
7
+ data.tar.gz: 2de453bd16eff2c462a6c7b332e5744362426fe0957160df84d90a7f57270bc249bc8fec633548f213c170605818b00ee3cf394ca376b31c9056cf6a84952a3c
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_64-linux-gnu
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