async-service 0.15.0 → 0.15.1
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/service/managed/service.rb +10 -9
- data/lib/async/service/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: ce29cb5debee3f9a0b9dbdf80c0087fe52973e00c14c4d114a044fe8656d0920
|
|
4
|
+
data.tar.gz: eec4b6a5117ea33293e942a68fc656707b59a434d89df4e604e5ab95a11c9ad3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a95d7e8bc23385c1d874368e0582156e574ed2b9fa9defbd4c2ffff75499e457c48421f0610a94bf8de1f8326245d55f77751a59b0507d31278ecc89c6af0dc2
|
|
7
|
+
data.tar.gz: f79918dd27119524826711b5fa872bc37014c93fd460683b13358c14a98dfb4d96ed34dd08c19d4ac1fead8c5ad5acf045a2e006752bcdc05cc8276531b97bec
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -49,7 +49,7 @@ module Async
|
|
|
49
49
|
rescue StandardError, LoadError => error
|
|
50
50
|
Console.warn(self, "Service preload failed!", error)
|
|
51
51
|
end
|
|
52
|
-
|
|
52
|
+
|
|
53
53
|
# Start the service, including preloading resources.
|
|
54
54
|
def start
|
|
55
55
|
preload!
|
|
@@ -66,17 +66,18 @@ module Async
|
|
|
66
66
|
health_check_timeout = container_options[:health_check_timeout]
|
|
67
67
|
|
|
68
68
|
container.run(**container_options) do |instance|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
instance
|
|
69
|
+
Async do
|
|
70
|
+
evaluator = self.environment.evaluator
|
|
71
|
+
|
|
72
|
+
server = run(instance, evaluator)
|
|
73
|
+
|
|
74
|
+
health_checker(instance) do
|
|
75
|
+
instance.name = format_title(evaluator, server)
|
|
76
|
+
end
|
|
75
77
|
end
|
|
76
78
|
end
|
|
77
|
-
end
|
|
79
|
+
end
|
|
78
80
|
end
|
|
79
81
|
end
|
|
80
82
|
end
|
|
81
83
|
end
|
|
82
|
-
|
data/readme.md
CHANGED
|
@@ -27,6 +27,10 @@ Please see the [project documentation](https://socketry.github.io/async-service/
|
|
|
27
27
|
|
|
28
28
|
Please see the [project releases](https://socketry.github.io/async-service/releases/index) for all releases.
|
|
29
29
|
|
|
30
|
+
### v0.15.1
|
|
31
|
+
|
|
32
|
+
- `Managed::Service` should run within `Async do ... end`.
|
|
33
|
+
|
|
30
34
|
### v0.15.0
|
|
31
35
|
|
|
32
36
|
- Rename `ContainerEnvironment` and `ContainerService` to `Managed::Environment` and `Managed::Service` respectively.
|
|
@@ -68,10 +72,6 @@ Please see the [project releases](https://socketry.github.io/async-service/relea
|
|
|
68
72
|
|
|
69
73
|
- Introduce `Environment#implements?` and related methods for interface checking.
|
|
70
74
|
|
|
71
|
-
### v0.7.0
|
|
72
|
-
|
|
73
|
-
- Allow instance methods that take arguments in environments.
|
|
74
|
-
|
|
75
75
|
## Contributing
|
|
76
76
|
|
|
77
77
|
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
|