erb-hiera 0.5.0.pre.rc0 → 0.5.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/erb-hiera/hiera.rb +1 -1
- data/lib/erb-hiera/version.rb +1 -1
- data/lib/erb-hiera.rb +7 -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: cbf140594d4148a8e4c66719c31a1d0219e0d953f5445abfaca68f68e84d14b3
|
4
|
+
data.tar.gz: 7c553308ca1c5ccfcfc7dbcef8e14fd2be5a4f12f9c1f32b821fd9d117e9e632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20442d10c65d0a7b21d0329c1137c016e6d265c3bfd3ad9a75e9ab72ed314444084194b2f48784382da9cfbce86ecd79bc8eab6ead0da09ab51f84c508aaab2e
|
7
|
+
data.tar.gz: 1a879f65d3036a5f35341d52b3457e0c7411fbca34ed4ca83bbf93c47719383f2cdc190e2981b3d8815e3f5dc6e0fd9e9b0a9741ba4fe3ba5cb83a20a52b0afc
|
data/lib/erb-hiera/hiera.rb
CHANGED
data/lib/erb-hiera/version.rb
CHANGED
data/lib/erb-hiera.rb
CHANGED
@@ -20,6 +20,7 @@ module ErbHiera
|
|
20
20
|
|
21
21
|
def self.run
|
22
22
|
@options = CLI.parse
|
23
|
+
header unless mappings.empty?
|
23
24
|
mappings.each do |mapping|
|
24
25
|
ErbHiera.scope = scope_from_cli || mapping["scope"]
|
25
26
|
input = options[:input] || mapping["dir"]["input"]
|
@@ -51,6 +52,12 @@ module ErbHiera
|
|
51
52
|
|
52
53
|
private
|
53
54
|
|
55
|
+
def self.header
|
56
|
+
puts "#"
|
57
|
+
puts "# erb-hiera"
|
58
|
+
puts "#"
|
59
|
+
end
|
60
|
+
|
54
61
|
def self.scope_from_cli
|
55
62
|
JSON.load(options[:scope]) if options[:scope]
|
56
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erb-hiera
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0.pre.
|
4
|
+
version: 0.5.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hiera
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: 1.3.1
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.6
|
144
|
+
rubygems_version: 2.7.6
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: ERB Hiera Document Generator
|