async-container 0.32.1 → 0.33.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/lib/async/container/generic.rb +2 -2
- data/lib/async/container/policy.rb +7 -0
- data/lib/async/container/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: 540ced6fa47f3b7a289c62b426b58e9bf0269573eec8b886ce3a97748e2050fe
|
|
4
|
+
data.tar.gz: 188bd801df86b8819989f679e66a4036761a77fe3f438e7121f065cb932c087a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9da0dde241b6b11e5635e4dc899ea3112b64d789602f5d76a26d7596fad0d63596c8e3ffe7dd209a254ea3b8e27693d2345e9725d86bf3bcb5af5630dedd29bb
|
|
7
|
+
data.tar.gz: 27db38943290ce92173ec0df1262f8803032f0068ad0ca17c5551d919f5a71d6f555bbc5be9b6d074df9bd23da94da8be042d13d24e4755b606087543167d93b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -92,6 +92,13 @@ module Async
|
|
|
92
92
|
status&.exitstatus
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
+
# Create statistics for a container.
|
|
96
|
+
# Can be overridden by subclasses to customize the statistics window.
|
|
97
|
+
# @returns [Statistics] A new statistics instance.
|
|
98
|
+
def make_statistics
|
|
99
|
+
Statistics.new
|
|
100
|
+
end
|
|
101
|
+
|
|
95
102
|
# The default policy instance.
|
|
96
103
|
DEFAULT = self.new.freeze
|
|
97
104
|
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.33.0
|
|
32
|
+
|
|
33
|
+
- Add `Policy#make_statistics` to allow policies to customize statistics initialization.
|
|
34
|
+
|
|
31
35
|
### v0.32.1
|
|
32
36
|
|
|
33
37
|
- Expose `Async::Container::Controller` `#notify`, `#container_class`, and `#graceful_stop` for testing.
|
|
@@ -70,10 +74,6 @@ Please see the [project releases](https://socketry.github.io/async-container/rel
|
|
|
70
74
|
- Add log for starting child, including container statistics.
|
|
71
75
|
- Don't try to (log) "terminate 0 child processes" if there are none.
|
|
72
76
|
|
|
73
|
-
### v0.27.2
|
|
74
|
-
|
|
75
|
-
- More logging, especially around failure cases.
|
|
76
|
-
|
|
77
77
|
## Contributing
|
|
78
78
|
|
|
79
79
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|