consul-templaterb 1.5.8 → 1.5.9

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: '07836a796fda9c6b6c7e2273b0ad75e5c8248d3e4331f78f9ff898ed001fef4b'
4
- data.tar.gz: 27874e394149fd25bc40be6eacf99ef916c91b5795582a7ba381b5362f43aa90
3
+ metadata.gz: b8adb29eaa4b01d73d82d80cf9183f6761e06db0a3204a1a6959a41597b5475f
4
+ data.tar.gz: 6ac7f61796835fb9663e9f6de39f8047a192e8e8f20b07b438a0865bd82ce8a0
5
5
  SHA512:
6
- metadata.gz: f8e6c2e9210e21e671395dfca15c8a80f5a763510712613528c2441c571fd1c6f54a96930546b833c763b63a40db927dad9b5a6cf37b7c1143217e8bcab58894
7
- data.tar.gz: aac441891b0ba00789ae068ef3d694b3e4e3487c716359ca037bfd3de22c9a946b534a86b86b36ad1e7fc15a42453a09db841a91df6853eb50dfee2eaad6d25a
6
+ metadata.gz: 05f0d978f9b90a5c855c6e7aee93719fef0104c530a0faa80a03232ab20e6c2945ecb9c769ab75e3f9f14f629489cfc10fa42e4fc7704b967e964fa32882bad4
7
+ data.tar.gz: 35f472ccf9e47b07a0d1da65ab7259ab5ae49ea917418c0f9d2edae98cada88737fa294ca4bf38044a0e6d971ab4e6bf237e2c24d13da2cc2799f3927fc9465c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## (UNRELEASED)
4
4
 
5
+ ## 1.5.9 (November 17, 2018)
6
+
7
+ BUG FIXES:
8
+
9
+ * Upgraded potentially vulnerable bootstrap library
10
+
11
+ IMPROVEMENTS:
12
+
13
+ * Clearer help (indentation issue), added `-o` option as synonym for `--once`
14
+
5
15
  ## 1.5.8 (November 14, 2018)
6
16
 
7
17
  IMPROVEMENTS:
data/Gemfile CHANGED
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in consul-templaterb.gemspec
4
4
  gemspec
5
- gem 'bootstrap', '~> 4.0.0'
5
+ gem 'bootstrap', '~> 4.1', '>= 4.1.2'
data/README.md CHANGED
@@ -140,6 +140,11 @@ USAGE: consul-templaterb [[options]]
140
140
  -v, --version Show Version
141
141
  -c, --consul-addr=<address> Address of Consul, eg: http://localhost:8500
142
142
  --consul-token=<token> Use a token to connect to Consul
143
+ -V, --vault-addr=<address> Address of Vault, eg: http://localhost:8200
144
+ --vault-token=<token> Token used to authenticate against vault.
145
+ --[no-]vault-renew Control auto-renewal of the Vault token. Default: activated
146
+ --vault-lease-duration-factor=<factor>
147
+ Wait at least <factor> * lease time before updating a Vault secret. Default: 0.5
143
148
  -w, --wait=<min_duration> Wait at least n seconds before each template generation
144
149
  -r, --retry-delay=<min_duration> Min Retry delay on Error/Missing Consul Index
145
150
  -k, --hot-reload=<behavior> Control hot reload behaviour, one of :[die (kill daemon on hot reload failure), keep (on error, keep running), disable (hot reload disabled)]
@@ -150,7 +155,7 @@ USAGE: consul-templaterb [[options]]
150
155
  -d, --debug-network-usage Debug the network usage
151
156
  -t erb_file:[output]:[command]:[params_file],
152
157
  --template Add a erb template, its output and optional reload command
153
- --once Do not run the process as a daemon
158
+ -o, --once Do not run the process as a daemon
154
159
  ```
155
160
 
156
161
  When launched with file arguments ending with .erb, the executable will assume
@@ -223,7 +223,7 @@ optparse = OptionParser.new do |opts|
223
223
  end
224
224
  end
225
225
 
226
- opts.on(nil, '--once', 'Do not run the process as a daemon') do
226
+ opts.on('-o', '--once', 'Do not run the process as a daemon') do
227
227
  consul_engine.add_template_callback do |all_ready, template_manager, _|
228
228
  if all_ready
229
229
  STDERR.puts '[INFO] Program ends since daemon mode has been disabled, file(s) has been written'
@@ -1,5 +1,5 @@
1
1
  module Consul
2
2
  module Async
3
- VERSION = '1.5.8'.freeze
3
+ VERSION = '1.5.9'.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.5.8
4
+ version: 1.5.9
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: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2018-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-http-request