sqlite3 2.1.0.rc2-x86-linux-gnu → 2.1.0.rc3-x86-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: a2670fde457905e2a7dcfb9ddf490e8f33f4479edbfee68cba080afc4a885a31
4
- data.tar.gz: daff6e3cfb7905742fb8228e7dcf2a221936e88bc6cb0b9163065a863ce3b142
3
+ metadata.gz: 4eede6746beb5834534f7779426301ac7202191f3c95060bea2022cc2068ca74
4
+ data.tar.gz: d09d6c79be93637523e4a217019e390798f879cbd37ecbe780033b6494d85684
5
5
  SHA512:
6
- metadata.gz: 1de9bfd6aac5cc73c68edff3c18f1410cb357cedef1a54b46166ad284ce2c6dc860625eb8adb51c0a3e70d4349a0b581fc223879edca859a743e33f26bbfa044
7
- data.tar.gz: '0639b4a53ef6bb6ddcf9b6b25eacea597fcf693d54937552d49f67e41965316db465fa67a7af91c310d662c8f317d45e9f3067b8ed17baf8ce5f4e6d3bdcef87'
6
+ metadata.gz: 64a161591e4cd41f1361079f3872982f2e58abda848b0ae52b220b07d68c4432bbf3ae21fe2783ea2e28594e74b75b987e2e2d0a30f4936823c6612248ff0226
7
+ data.tar.gz: 00e54877467b236b8a69513314f331d145646129e9233a260e38c59f510b684c33a98fa40b0472ae489a90f252ce2e1eadc53ef1fe9642a099173fd9bf41f36d
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-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