async-container 0.34.2 → 0.34.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c5506e1e43a28f8d2e9d47e49342821762eaab865a12de832a0517a6675f4de
4
- data.tar.gz: b36a0515e6621c9cbc26aa749a7b181977d8fc331e2f17fd339004eac812048b
3
+ metadata.gz: 977328d9a4dc6b4b7c86f634de0dba5f97b6e9da9c404b39ba1beea29f5711cc
4
+ data.tar.gz: 766a0c91a80afa6e3867ecdaae4bcfc8fb75dde5a6e9d12a3c2afe29790d4e9b
5
5
  SHA512:
6
- metadata.gz: 467d2c01e371653e65b545f0bf8ffcfc41d0551188c62ea2268988b58df5cf33a1221d50dd217046121cfdd793cecf42d92318c0d15016e03691b1add86a6574
7
- data.tar.gz: 5c3b36fc6d4aa9dcc25408d183e9d3fdd47cd68a58f8e27f13f4ce259226167d3712c176c27eebda9654f7e467fb630dc86ef700ed2e8d7f468418d9857c021e
6
+ metadata.gz: deb356cc50190aaa1a766e1eb53f4f573d2ca07c766f5b8549ebec923d6c5b451c4f9b371864ef83313d1e66658c52cbb11cc3c6196da4b0608d2a0e7e08d25a
7
+ data.tar.gz: 456c21fa8ac6df624ee6558ab0935ab3d6175722908c815d0a726cced3de8708029053ba76268b1e8bc7a7e7fa185c474dcbc27ded2405ec164fe1e81246c19a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -163,7 +163,7 @@ module Async
163
163
  old_container&.stop(@graceful_stop)
164
164
  end
165
165
 
166
- @notify&.ready!(size: @container.size)
166
+ @notify&.ready!(size: @container.size, status: "Running with #{@container.size} children.")
167
167
  rescue => error
168
168
  raise
169
169
  ensure
@@ -196,7 +196,7 @@ module Async
196
196
 
197
197
  raise SetupError, @container
198
198
  else
199
- @notify&.ready!
199
+ @notify&.ready!(size: @container.size, status: "Running with #{@container.size} children.")
200
200
  end
201
201
  end
202
202
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2025, by Samuel Williams.
4
+ # Copyright, 2019-2026, by Samuel Williams.
5
5
 
6
6
  require "async/reactor"
7
7
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module Container
8
- VERSION = "0.34.2"
8
+ VERSION = "0.34.3"
9
9
  end
10
10
  end
data/readme.md CHANGED
@@ -28,6 +28,10 @@ Please see the [project documentation](https://socketry.github.io/async-containe
28
28
 
29
29
  Please see the [project releases](https://socketry.github.io/async-container/releases/index) for all releases.
30
30
 
31
+ ### v0.34.3
32
+
33
+ - `Controller#restart` and `Controller#reload` now include a `status:` message in the `ready!` notification, so `systemctl status` shows "Running with N children." instead of the stale "Initializing controller..." message.
34
+
31
35
  ### v0.34.2
32
36
 
33
37
  - Once a container is stopped, it stays stopped.
@@ -69,10 +73,6 @@ Please see the [project releases](https://socketry.github.io/async-container/rel
69
73
  - Add `startup_timeout` parameter to `spawn` and `run` methods for detecting processes that hang during startup and never become ready.
70
74
  - Health check timeout now only applies after a process becomes ready, preventing premature timeouts for slow-starting applications.
71
75
 
72
- ### v0.27.5
73
-
74
- - Make the child handling more robust in the face of exceptions.
75
-
76
76
  ## Contributing
77
77
 
78
78
  We welcome contributions to this project.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.34.3
4
+
5
+ - `Controller#restart` and `Controller#reload` now include a `status:` message in the `ready!` notification, so `systemctl status` shows "Running with N children." instead of the stale "Initializing controller..." message.
6
+
3
7
  ## v0.34.2
4
8
 
5
9
  - Once a container is stopped, it stays stopped.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.2
4
+ version: 0.34.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -100,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '3.2'
103
+ version: '3.3'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
metadata.gz.sig CHANGED
Binary file