async-container-supervisor 0.5.1 → 0.6.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/async/container/supervisor.rb +12 -0
- data/lib/async/container/supervisor/version.rb +1 -1
- data/lib/async/container/supervisor.rb +1 -1
- data/readme.md +4 -0
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +18 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fee2b80a7228f9c35664c63e1c33093cb768e5c964e52f595465585bea84831
|
4
|
+
data.tar.gz: 384a75fb6affd59de5d91a169fe1094515079a938e44304375d786e07cff930b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f2dfad26d080569c54a432a6f83461525dde4f4ce0610e90a2b9563e2ebcfb1cf2ee253ab38a669d5a8c2e155b84cb3bb002f385980f5bbddad90664ca1077
|
7
|
+
data.tar.gz: 7695b0a3b6b4cecdb25fdcac2ebc55e5f401de4838af0280b9a6819a93e773d2436dc7dbea662b8a767950e8f9b3a3e9589853e99d778b085c5149240757379d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2025, by Samuel Williams.
|
1
5
|
|
2
6
|
def initialize(...)
|
3
7
|
super
|
@@ -5,12 +9,20 @@ def initialize(...)
|
|
5
9
|
require "async/container/supervisor"
|
6
10
|
end
|
7
11
|
|
12
|
+
# Restart the container, typically causing it to exit (the parent process should then restart it).
|
8
13
|
def restart
|
9
14
|
client do |connection|
|
10
15
|
connection.call(do: :restart)
|
11
16
|
end
|
12
17
|
end
|
13
18
|
|
19
|
+
# Reload the services gracefully, allowing them to reconfigure without dropping connections.
|
20
|
+
def reload
|
21
|
+
client do |connection|
|
22
|
+
connection.call(do: :restart, signal: :HUP)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
14
26
|
def status
|
15
27
|
client do |connection|
|
16
28
|
connection.call(do: :status)
|
data/readme.md
CHANGED
@@ -20,6 +20,10 @@ Please see the [project documentation](https://socketry.github.io/async-containe
|
|
20
20
|
|
21
21
|
Please see the [project releases](https://socketry.github.io/async-container-supervisor/releases/index) for all releases.
|
22
22
|
|
23
|
+
### v0.6.0
|
24
|
+
|
25
|
+
- Add `async:container:supervisor:reload` command to restart the container (blue/green deployment).
|
26
|
+
|
23
27
|
### v0.1.0
|
24
28
|
|
25
29
|
- Initial implementation.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-container-supervisor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
37
37
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date:
|
39
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: async-container
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: io-stream
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: memory-leak
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,14 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
141
|
requirements:
|
128
142
|
- - ">="
|
129
143
|
- !ruby/object:Gem::Version
|
130
|
-
version: '3.
|
144
|
+
version: '3.2'
|
131
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
146
|
requirements:
|
133
147
|
- - ">="
|
134
148
|
- !ruby/object:Gem::Version
|
135
149
|
version: '0'
|
136
150
|
requirements: []
|
137
|
-
rubygems_version: 3.6.
|
151
|
+
rubygems_version: 3.6.7
|
138
152
|
specification_version: 4
|
139
153
|
summary: A supervisor for managing multiple container processes.
|
140
154
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|