config_file_generator 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/config_file_generator.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89008280639f99077383e9c2a9f9c202cdc55775
|
4
|
+
data.tar.gz: 55db5c7f1b91c2b03649a8a96216aa7a949d34a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 945434c942977ab03f41cf387116cda328bdacd5213508a4e3855d4593570e687e31e457fbb6bce09c0f203068dd3a197410eaee4c10ccc398b31ddf06ca5887
|
7
|
+
data.tar.gz: 9a3574ec83a463980f608f506ae4ad849e4f1141ce6788eb86ecbfa71cab1e21477ba9d761dd705d3cd3bb876a1d9bf7cb587f3315e57b823025d8be6dbe1800
|
@@ -59,7 +59,7 @@ class ConfigFileGenerator
|
|
59
59
|
def find_templates(template_path)
|
60
60
|
if File.directory?(template_path)
|
61
61
|
Dir["#{template_path}/**/*"].select do |file|
|
62
|
-
File.file?(file) and ! file.include? 'vars.yml'
|
62
|
+
File.file?(file) and File.extname(file) == '.erb' and ! file.include? 'vars.yml'
|
63
63
|
end
|
64
64
|
elsif File.file?(template_path)
|
65
65
|
[template_path]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config_file_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Curtis
|
@@ -10,8 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: A simple tool to
|
14
|
-
|
13
|
+
description: A simple tool to parse ERB-templated files and generate your text from
|
14
|
+
them.
|
15
15
|
email: austin.curtis@wpengine.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|