consul-templaterb 1.18.2 → 1.18.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d79f747c0b0378a3526f63fd7a4638f2cfe432da043821749c89f8b302a6489a
4
- data.tar.gz: 69f3d665fda37542cc4496daeb77f2d300514d9708afb0eef363aebf1a5a74ad
3
+ metadata.gz: 6b12634693cd840c5981486ee1f2daef7b2d6a35ef3df18d726653a23d1d68a1
4
+ data.tar.gz: efad7e3762bf953e5029c3ddc2aa9fa8de5d06728d482f0af0679af69ad49c12
5
5
  SHA512:
6
- metadata.gz: e6e24033378a8bc9abd18c6e57da606e45aac7bf20ea8f295d33ea668f2d44b9abf4395099ecf0dbc804e50a0467426807f587ba2f07fc2149361b568ce5b791
7
- data.tar.gz: 4a5c613be0aee5f4c7646286b699ab3d17cf4af3b26f6e227884f14c79648d6ea3086777d547de162bd5906e161877a1c3e5f7d19c2a5ecc8d1c94a072eebcb3
6
+ metadata.gz: 17b0e0a59eb862d07946543bbfc170ac827ffdcdfb1c28e691e03352678abc30b7f195241fa311b66a05c263d42606bcb76d86a49445136d0ec3f7643e4cfafd
7
+ data.tar.gz: dd427f30e6f07cbd908cf1bab8bfd262c4fabd468dabc41fb5502264df8980813f8d40f9257fc02f4b39f14ca835368778bd375539c110734fb04d9a969f2094
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## (UNRELEASED)
4
4
 
5
+ ## 1.18.3 (September 2, 2019)
6
+
7
+ BUGFIX:
8
+
9
+ * When vault receives at timeout, correctly reschedule it
10
+
5
11
  ## 1.18.2 (August 28, 2019)
6
12
 
7
13
  BUGFIX:
data/README.md CHANGED
@@ -217,11 +217,11 @@ $ consul-templaterb \\
217
217
  ### Process management and signalisation of configuration files
218
218
 
219
219
  With the `--exec` argument (can be specified multiple times), consul-templaterb will launch
220
- the process specified when all templates have been generated and will send a reload signal
221
- if the content of any of the files do change (the signal will be sent atomically however,
222
- meaning that if 2 results of templates are modified at the same time, the signal will be
223
- sent only once (it is helpful for instance if your app is using several configurations
224
- files that must be consistent all together).
220
+ the process specified when all templates have been generated. When generated file(s) do change,
221
+ a POSIX signal (HUP by default) is sent to the spawned process. If you generate several files
222
+ at the same time, the signal will be sent only once the rendering of all templates is completed,
223
+ so if your process is using several configuration files, all files will be modified and
224
+ consistent before the signal is sent to process.
225
225
 
226
226
  If any template does return nothing (aka use `return nil` in the code of a template),
227
227
  consul-templaterb does consider that the template is not ready and will not launch the executable
@@ -199,7 +199,7 @@ module Consul
199
199
  http_result = VaultHttpResponse.new(http, default_value)
200
200
  EventMachine.add_timer(retry_in) do
201
201
  yield
202
- queue.push
202
+ queue.push(0)
203
203
  end
204
204
  @e_callbacks.each { |c| c.call(http_result) }
205
205
  end
@@ -1,5 +1,5 @@
1
1
  module Consul
2
2
  module Async
3
- VERSION = '1.18.2'.freeze
3
+ VERSION = '1.18.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consul-templaterb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.2
4
+ version: 1.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SRE Core Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-28 00:00:00.000000000 Z
11
+ date: 2019-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-http-request
@@ -261,8 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
261
  - !ruby/object:Gem::Version
262
262
  version: '0'
263
263
  requirements: []
264
- rubyforge_project:
265
- rubygems_version: 2.7.7
264
+ rubygems_version: 3.0.3
266
265
  signing_key:
267
266
  specification_version: 4
268
267
  summary: Implementation of Consul template using Ruby and .erb templating language