lono-params 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce015beb8876d31b788b7cf5467017e892175e33
4
- data.tar.gz: c9b3a341de23ab62f2646a973a796272419cac4c
3
+ metadata.gz: 7f546c66474a1f8c7a6426629cf19b6e1b540568
4
+ data.tar.gz: 08d379c57ee6c8a1471cbf721bf2234b00b10479
5
5
  SHA512:
6
- metadata.gz: 8d206bfcc0c7bacfa41f545b5442040c5e2e96d0445cbfd475e8e11082396214a02816cc8f524736c4da33c9df3e56db2e389c59ecb45eaaf08b4f8fa1e3e713
7
- data.tar.gz: 865302f1c8a88f6792752fdaf5882afd58ab497a9ef2ab4083db554e36bce907a403ff1e7d440551842c8aa642aa4c66bc712ab6d152153dbb7bfdefc911aaee
6
+ metadata.gz: c8ca4ae05842a8d1fdd2770a11ae351e2a9ebeeb076f2c10ac2b38b92661248c504c0d338dbccd8c5162faad495d5dddc092005bd445bcb096dbef65ac56425b
7
+ data.tar.gz: 922b5405769d12c6476fa2a2dbc1143e9e06d4ccbe2a6e79710c6f7a3e082f806f8f38450a92f8eff5fa583614bcffce0c5a431978dbd650a4286686d934de50
@@ -12,6 +12,9 @@ module LonoParams
12
12
  end
13
13
 
14
14
  def generate
15
+ # useful option for lono-cfn
16
+ return if @options[:allow_blank] && !File.exist?(@source_path)
17
+
15
18
  if File.exist?(@source_path)
16
19
  contents = IO.read(@source_path)
17
20
  data = convert_to_cfn_format(contents)
@@ -1,3 +1,3 @@
1
1
  module LonoParams
2
- VERSION = "0.0.1"
3
- end
2
+ VERSION = "0.0.2"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono-params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
@@ -190,3 +190,4 @@ test_files:
190
190
  - spec/fixtures/my_project/params/my-stack.txt
191
191
  - spec/lib/cli_spec.rb
192
192
  - spec/spec_helper.rb
193
+ has_rdoc: