config_skeleton 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/config_skeleton.gemspec +1 -1
- data/lib/config_skeleton.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdaa156de0445e8a32b2d49d55ea11308d153d4c73658f6c4ff648a7c32a1440
|
4
|
+
data.tar.gz: 5dff0715f11dad930b6dd485204d9a1f2b75a47afc9096cb33dd0c4f5a538423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c7ffc7621e69441f17349d9e46a9d4f5146ed88a4c5b382524dfd64b7c0aa6b4aedc72bcb3ffac220509299983adff24263f86e8a327072ed34b933095ab3e
|
7
|
+
data.tar.gz: 50e06b7b3fbe40c4baf522b95595bd447ec3e349c2e14a1cbf7da64500f2db5a64d006ec6b9f15a2320fdbc76f879f733d91ff555c26d7eef7432d1fc46ff059
|
data/.gitignore
CHANGED
data/config_skeleton.gemspec
CHANGED
data/lib/config_skeleton.rb
CHANGED
@@ -196,11 +196,12 @@ class ConfigSkeleton < ServiceSkeleton
|
|
196
196
|
|
197
197
|
hook_signal(:HUP) do
|
198
198
|
logger.info("SIGHUP") { "received SIGHUP, triggering config regeneration" }
|
199
|
-
|
199
|
+
@trigger_regen_w << "."
|
200
200
|
end
|
201
201
|
|
202
202
|
initialize_config_skeleton_metrics
|
203
203
|
@trigger_regen_r, @trigger_regen_w = IO.pipe
|
204
|
+
@terminate_r, @terminate_w = IO.pipe
|
204
205
|
end
|
205
206
|
|
206
207
|
# Expose the write pipe which can be written to to trigger a config
|
@@ -230,8 +231,6 @@ class ConfigSkeleton < ServiceSkeleton
|
|
230
231
|
|
231
232
|
logger.debug(logloc) { "notifier fd is #{notifier.to_io.inspect}" }
|
232
233
|
|
233
|
-
@terminate_r, @terminate_w = IO.pipe
|
234
|
-
|
235
234
|
loop do
|
236
235
|
if ios = IO.select(
|
237
236
|
[notifier.to_io, @terminate_r, @trigger_regen_r],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config_skeleton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|