sqlite3 2.1.0.rc2-x64-mingw-ucrt → 2.1.0.rc3-x64-mingw-ucrt

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: e057eddc2f337de610eaf18414187207c77cf529a83c62bb4e12f5bc9a415356
4
- data.tar.gz: ff1e2d33e1a3f23da7c276118f9253ebbc4e4b6901c30fa4f6632b18aa4a8327
3
+ metadata.gz: 40d4b4fe9c10edea2b6e95ef5e464653a8fe7215c474e8749e58deb2c14ca0b4
4
+ data.tar.gz: 88d4cb29472b81424a64ea91cf9deefe4e261a3cbb9f351f3ae1cc71edef6ef5
5
5
  SHA512:
6
- metadata.gz: 0d7da28d0eb0e72fb13f81a84cdf022b64d4b12b04bf435e80b66823933e2ff06465065e759c253d74c2491e9752badaa4c30ef40c133263ee733ec4e7ba95c7
7
- data.tar.gz: 5446fa14c0ebc0dfbc55561e07f4789dc334b9cdd505ed29a09df3471f6e9253a4fae12466f41bd84e9e21f82a5d32c234fac203fe5544626231a967cfa91053
6
+ metadata.gz: 2a8fd65fa82d8d5ad5c33d043325ccf659b477d95863a4dd8f671f3c1ae34d3e0c9be836ff5cf3da9718004ea0037b3ddb46d79400a39304e92f915e3a1de4ac
7
+ data.tar.gz: 1f98ffff838d701d529a8ec97032cb1cfc85b1826a5583d13fc97cdb51ad2a603b9422c6f2718b8ef7386ecf2c881ef84f1c80f1e8ea1d8eb447a6c6f29bb0c8
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
Binary file
Binary file
Binary file
@@ -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: x64-mingw-ucrt
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