consul-templaterb 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -3
- data/CHANGELOG.md +8 -0
- data/README.md +13 -0
- data/bin/consul-templaterb +3 -2
- data/lib/consul/async/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dd867895d0b63e9a0fdde0c9a2719549dec7dc3a
|
4
|
+
data.tar.gz: 98fe2a5ff52ec3d1520d316ea3efeacccc4aaaf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 024d966c9a88484ef403e2381479d69db68f2ecf4a318a7dd62eb0b06aaf28c3bec5b6c7e32114546d61e591bd345de78b02418380cf571b6401e9479183fc6c
|
7
|
+
data.tar.gz: fc00d4e684443f556c490584203d40bf3eccd4939158e029cd82900238f482190fcb958a54876418594a1a21c4bacb9590b0941828e564a63dca992188136684
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -106,6 +106,19 @@ sudo apt-get install ruby ruby-dev && sudo gem install consul-templaterb
|
|
106
106
|
|
107
107
|
You can now use it directly using the binary `consul-templaterb` in your path.
|
108
108
|
|
109
|
+
### Quick install on Windows
|
110
|
+
|
111
|
+
On Windows, a bug exists with Ruby greater than 2.4.
|
112
|
+
|
113
|
+
In order to make it work, use those commands as explained in
|
114
|
+
https://github.com/oneclick/rubyinstaller2/issues/96#issuecomment-434619796
|
115
|
+
|
116
|
+
```
|
117
|
+
bundle install consul-templaterb
|
118
|
+
gem uninstall eventmachine
|
119
|
+
gem install eventmachine --platform ruby
|
120
|
+
```
|
121
|
+
|
109
122
|
### Playing with the samples templates
|
110
123
|
|
111
124
|
Samples are installed with the GEM, you can either
|
data/bin/consul-templaterb
CHANGED
@@ -8,7 +8,7 @@ require 'optparse'
|
|
8
8
|
require 'optparse/uri'
|
9
9
|
|
10
10
|
def usage_text
|
11
|
-
"USAGE: #{
|
11
|
+
"USAGE: #{$PROGRAM_NAME} [[options]]"
|
12
12
|
end
|
13
13
|
|
14
14
|
def compute_default_output(source)
|
@@ -295,8 +295,9 @@ ARGV.each do |tpl|
|
|
295
295
|
consul_engine.add_template(tpl, dest)
|
296
296
|
end
|
297
297
|
|
298
|
+
Signal.trap('USR1', 'IGNORE') unless Gem.win_platform?
|
298
299
|
# Ensure to kill child process if any
|
299
|
-
|
300
|
+
['EXIT'].each do |sig|
|
300
301
|
Signal.trap(sig) do
|
301
302
|
STDERR.puts "[KILL] received #{sig}, stopping myself"
|
302
303
|
template_manager.terminate
|
data/lib/consul/async/version.rb
CHANGED
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.
|
4
|
+
version: 1.12.0
|
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-
|
11
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-http-request
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
242
|
version: '0'
|
243
243
|
requirements: []
|
244
244
|
rubyforge_project:
|
245
|
-
rubygems_version: 2.
|
245
|
+
rubygems_version: 2.6.14.4
|
246
246
|
signing_key:
|
247
247
|
specification_version: 4
|
248
248
|
summary: Implementation of Consul template using Ruby and .erb templating language
|