grpc_fork_safety 0.2.0 → 0.2.1

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: c3f101345778ce1699dca5dd31e11c99f4dd80a18e82999a228100395ab1e789
4
- data.tar.gz: bf4f82e0c960b72cf592ec1cf086f9280fbccc2da5ebea1d8bd9e54499ef9bbe
3
+ metadata.gz: 451784c38de29ed0fc32f1e254fd9ba07610f44870304f58db6764dcdd3588db
4
+ data.tar.gz: e9ca1f3a7503573d4e35508850a8dd82410e2ca99c452ba780e382a13dafc03f
5
5
  SHA512:
6
- metadata.gz: 6632f4c612e5b28def3f3cedcfd60db2e7237599ca74b0a0c6d5bd839d599b596dee086dd4f0c7e7420c9bc6e4de37ffe01272e3d752d99c100511d52a0b95ad
7
- data.tar.gz: 23004f0d66f658537524502b7a9424167c89a3353d8dfd708999bcc449e1e22c91a1e20f44a0da0010eeaad50c0412106f953d23cf9be1752e6751348d7db465
6
+ metadata.gz: 82c4b1b8ddb6c4119e8c43a62266a5baa9e4122ae1262e1b1f9d7dde610e9e2706096c6f53822eea3131fe1dea669eb79edc52dbc4dc85a8c483be752a2dc509
7
+ data.tar.gz: 2700541851b4bf4d75ac6f18f5759abdc5137de59a92e0ef7f93615d939827c3acd9a5facb525925fcdba0ff610b031d6045b9d0ef2049df384fe1744bc38803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2024-07-31
4
+
5
+ - Fix `keep_disabled!`.
6
+
3
7
  ## [0.2.0] - 2024-07-31
4
8
 
5
9
  - Make `keep_disabled!` and `reenable!` more usable, by not being noops when called out of order.
@@ -113,8 +113,7 @@ module GrpcForkSafety
113
113
  end
114
114
 
115
115
  def reenable!
116
- @lifecycle.keep_disabled = false
117
- @lifecycle.after_fork
116
+ @lifecycle.reenable!
118
117
  end
119
118
 
120
119
  def before_disable(&)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrpcForkSafety
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc_fork_safety
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier