sqlite3 2.1.0.rc2-aarch64-linux-gnu → 2.1.0.rc3-aarch64-linux-gnu
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/sqlite3/fork_safety.rb +7 -1
- data/lib/sqlite3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33afa027f6967209530990b650aa80cda55fb3ed8c9b27e6502a9a74cfd20c32
|
4
|
+
data.tar.gz: 2bd741ac657380ccf9212be0b2609042764244ec1f973f1fb36ecb521fa2aa1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d56d919f6fdad99beb08bc0e7f23ae0f0eb9ff5e602ac430b0f5431e578c81c6e97d7e4ff172a0dff40b72020410d86cffeea05e510fc72e62b9861b31a7f3b
|
7
|
+
data.tar.gz: fb1d24e5fa3f9b1621de928ec448a9509c2f89d17b5f4d3694aab87e263f1f42eb38abada4c5fcc283787b8bf56c072143d12737bf0e94c531d865273c0d53fe
|
data/CHANGELOG.md
CHANGED
data/lib/sqlite3/fork_safety.rb
CHANGED
@@ -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 =
|
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
|
data/lib/sqlite3/version.rb
CHANGED
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.
|
4
|
+
version: 2.1.0.rc3
|
5
5
|
platform: aarch64-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-
|
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
|