sqlite3 2.1.0.rc2-arm-linux-gnu → 2.1.0.rc3-arm-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: a8f7deefafd433779d52b428c16cf0a3b6225adca50846afc0d8f80d1df2ccf1
4
- data.tar.gz: 54a8b4fed8753ef5f6ae1f983a94baf01102e444c781e2cccf87d8b2842178b3
3
+ metadata.gz: 515055700b5d011f217e14c2a49a900d20b87d9012df031158b0ed20245310aa
4
+ data.tar.gz: 48660eed506c8e717508af88fbfb5d40d7e1736fa7703cb15cca0362e8f9ec26
5
5
  SHA512:
6
- metadata.gz: 8ab4cad794c5f85e01f00a3b1eeea4bdedf5bb3337047c812e2ac0167d53dbba662ca82a87cf8662ff64cf28ee5eb2cd6bfcc6ec3a136f4d4f05cd392d27d8ad
7
- data.tar.gz: 51c8dc5200765f58bfc2bf334759e2fd4d28509b6935f23ba137f94e470a7eecb41ca27ee8c0ec4bda6411cb8980d60eb58e9c8022528e996c90205b204ba10e
6
+ metadata.gz: 37f9a181761e6f5cd02bd769db64ac4a7f0efa8d8ef6058633005e07c74582c93091e9808e8e4870e1ec8c9d5e4f4f46591b0175f8ac3f113aea7636aa5c254a
7
+ data.tar.gz: 7488e2adc7a7ee8bad958cea9ea56e11b3c44e26e92f35f3a4749d01842dcffa1b1f3322f3cfe88530d2e170124736da59e734e385a04813172e234a02e2badb
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: arm-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