sqlite3 2.1.0.rc2-arm-linux-musl → 2.1.0.rc3-arm-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: d0469b012546ec0cc22418783d7d9daf340b9261172ce5afc65f8c53189365c5
4
- data.tar.gz: 95877b093ec2c767b6ff6429783cf7302089cea21786adbf80cc6b3ed3c3c1c9
3
+ metadata.gz: e739b5549fb215ea42c9ac5fd159dcaaa9b9c85920c563cba740decb485bb4dd
4
+ data.tar.gz: 1dd22679a0b0760d7901e71a5a187e3787bc5eb5a04ce3a4b62f5b2a9e9a85c7
5
5
  SHA512:
6
- metadata.gz: 625835d333e70bd9a780ea3176ebd4c98162f543fe6feb89d8c40e054e256221f6d19c6822954f46683fe5eb847f31d9bd27988fd6abfc54bb3a837106f85e8e
7
- data.tar.gz: cd55bf24913434cae2f2f9165596c1358e22d300af80cd879c201fc4523be50dc4d9f08878b58480aa8c9a2e27e699c5519169d01cffe4c4cd336e62da24f61f
6
+ metadata.gz: bbb4941154d4c3495005e7746cfb85c9f2e06ac4192abe5e5569e841f409d1c33221a5047f85bfdc839d2fb36f593f2b7ff79d97262061a9d8bfeec4af4ba357
7
+ data.tar.gz: 73f870f892bed302582cc151d56588828196aa318cd7943bfd8889b80e045ac61fbf5dbff3b4b978673ff9d74ababf2675846ee1a68275c2f81ba9e7fba8faea
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-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