sqlite3 2.1.0.rc2-x86_64-darwin → 2.1.0.rc3-x86_64-darwin

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: b72dd308836fcefca6c51865ccc0987dee31b81b7043e19e82ba19f650fc1bd2
4
- data.tar.gz: b00feb764089a50e35f09b771156295c6994124746008d6baeb3434add77e2d5
3
+ metadata.gz: d26665398f317758c9c609b90ff0e7413167d39b396d4342589bcfdc539de671
4
+ data.tar.gz: a37cef30d686d66de59659cbbc80b0b21b824d302e58dd809a4ae3ef25a52178
5
5
  SHA512:
6
- metadata.gz: 118a1d96ede18f16307ef73ec512f1cd226fd72b256819b27fa3572731d43a6cbd6eed359432b52e7a175b89ef36eac71e21c5dbdfcf7690d47ca12172774172
7
- data.tar.gz: 4b7b803d8b835d0d624386eea58f83269fb9112fae33954725a71e7bddf81a1fe5275831352ceaabbee4828ef300bd15adcb2209fb265a828cd1c13d8c420beb
6
+ metadata.gz: c5c4b7fef8daaed50a7b12339ee2d37c0e23163226837880276b6e2f9f4f19033b670272cead3e397a1f78894f7a785d496cbf619158894a91de852538238698
7
+ data.tar.gz: e69f8c47dd50c7053400d700539d417c261f2983d7f1e5c6583e56fb379de226c89fe78bbf28552b66fc5ec934229ad2506a5ba1bf790c40b8e4b38895cbf91f
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: x86_64-darwin
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