lono-params 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lono_params/generator.rb +3 -0
- data/lib/lono_params/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a5318c7d431c212dc1deb77a918fc3d3dcce2a5
|
4
|
+
data.tar.gz: 3bcb90dcdd5a5cce47000e9ab38544cee6876f4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 307ac647c0ca743c1caed7c8c2d6d9b5dd934722e33b4cb1afb381e3938aaf39981f8f358dc7a51df31189615b90323ea141fce0d6794055d37d86ad231c6ad0
|
7
|
+
data.tar.gz: ef16cc69a1064537ff9ee2c9cc5356d821e8c2eae5b4af92fc8279da7d1b349ed4b806d09f6d7b5456668a8f4430c7ebf1f6679b00aa054ebfd704eb5383ee7e
|
@@ -29,6 +29,9 @@ module LonoParams
|
|
29
29
|
|
30
30
|
# useful for when calling CloudFormation via the aws-sdk gem
|
31
31
|
def params
|
32
|
+
# useful option for lono-cfn
|
33
|
+
return {} if @options[:allow_blank] && !File.exist?(@source_path)
|
34
|
+
|
32
35
|
contents = IO.read(@source_path)
|
33
36
|
convert_to_cfn_format(contents, :underscore)
|
34
37
|
end
|
data/lib/lono_params/version.rb
CHANGED