evt-component_host 0.1.0.3 → 0.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/component_host/host.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2036220c3c0fe589ddf869267a8ddc11647364defd89d104db70d52b3505b065
|
4
|
+
data.tar.gz: d88180ab8ac34a1a53ffd5f9646374b7f2cd550de55b02edc9a4d0196e373b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 662b0bc8e3a03e17da7977a22b54c97ddaa20092e4171ef08b75a12590ffab1927b4b23be30d4943dfdb071014604532c5e4ae7281ec15504979c5d34724a9df
|
7
|
+
data.tar.gz: b4428a0d53240adab1a991120e72c8bcfe875db211ed0bd58d178757ee95692fbfac5fc63fd8974f8ec794074fbcd6f8fae96831a55938dc70547a8fb255f226
|
data/lib/component_host/host.rb
CHANGED
@@ -62,6 +62,14 @@ module ComponentHost
|
|
62
62
|
logger.info { "Handled INT signal (MessageName: #{message.message_name}, SupervisorAddress: #{supervisor.address.id})" }
|
63
63
|
end
|
64
64
|
|
65
|
+
signal.trap 'TERM' do
|
66
|
+
message = Actor::Messages::Shutdown
|
67
|
+
|
68
|
+
send.(message, supervisor.address)
|
69
|
+
|
70
|
+
logger.info { "Handled TERM signal (MessageName: #{message.message_name}, SupervisorAddress: #{supervisor.address.id})" }
|
71
|
+
end
|
72
|
+
|
65
73
|
start_components do |component|
|
66
74
|
started_components << component
|
67
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-component_host
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ntl-actor
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.7.3
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Host components inside a single physical process
|