sqlite3 2.1.0.rc2-x86_64-linux-musl → 2.1.0.rc3-x86_64-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: 41b6c5ca5fd65167d1631992e4d4290b4f6a8335e661bd1b6db2ff6d438b73c9
4
- data.tar.gz: b91aa02992536b221ab6d415075c4d55db295ca9fb3b2fff14c1b55c966863f7
3
+ metadata.gz: a2c7069dfccd9d2a9767a1b543a14c9bc9e69a590895ce409025db71c00d3ecd
4
+ data.tar.gz: 7d5ef7d01dbfcf7cf87d1dfda1f4987d4bd19352c53453f77ba3b8ef0d5cb258
5
5
  SHA512:
6
- metadata.gz: 00bea5e078d188a8829140822a74fbfeb6a531ebc85b122311fceb97803ae2ad0e0cf7ab30092f55d1f4296bc45551b18de55ec5194280d1b77ede861bc5362f
7
- data.tar.gz: 664cdcf8ac70f883cd71bba3d0334405cfb64330af1ecdf96c88e56bc6aebd4d29c7452c159202d43a71455819c3d4788364094d325ffa423900a0d6826c3b98
6
+ metadata.gz: 50a2fb3c70f3193620f8864814bed9a429e537ac90d96002401c7b673204456995399d9f49710b6801efc7858f47df4b3596df577bf2e887aef87ccbeaf2b146
7
+ data.tar.gz: 60a357f46e2b25ee15e468ec6f351fe541596775a6ece500494e7135d09cd8f3594f802e36d5398f6a1f2303a99a61d4e6738b56acde410b70744cb6c8751a25
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-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