sqlite3 2.1.0.rc2-arm64-darwin → 2.1.0.rc3-arm64-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: 4031213dee0a6c378c3c412bbb00a48da775900b209305194554cc6111664c83
4
- data.tar.gz: 9917753b3de8648d7047d1c898adde524b26a7ae7e3e94066f667621221c6f50
3
+ metadata.gz: deadf68db1055e9a7dd62fac3215dac6973a69b838c9cc47eeb0649dab48c2fb
4
+ data.tar.gz: '005297ff7ce98c0cd56d4fd71c4d35e6a88c2eac69e3d2bd312fabcfe54c0711'
5
5
  SHA512:
6
- metadata.gz: 6d6bba72a65a6cfc8cc0d7668e89d6b3e97510fce0ce4d76c76ab0a8805b4ed5efbd745c5c883b3655dea1a50a5cd9d45f88e9c50bef45dcb9309016e3976522
7
- data.tar.gz: a2e01d78ce82dd0c988f91b62bede4d24b22e12e695952f146a33f3101268fb7a29121f000499e9e9be7a9a202004dbbd4efab228007d27efa5cb852eab741bf
6
+ metadata.gz: 756838f94c138270c62731e7a0300fde4ae19b8743bad7c33ae45763779e6a1b6f9856bbc26a2859b440087ef437a737b027081eb96374686807ae854b4817d5
7
+ data.tar.gz: 99d6f421046765f12d55f54621bc40b7dfccfde7a026068fc6a491753ce33db926d672cf7d93016dc739edcec78b70b874c02358745a92c602abe393f299f21f
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: arm64-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