aws-cfn-compiler 0.5.0 → 0.5.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzY5MDJkOWY3MWRlNGZhOTEzNDMxN2IzMjVlMmZhNmI3ZGE4YWYyMg==
4
+ ZjJhMzExNGM3MjcyYmUwZmI1MjNiODRiM2Q0MjMxZDg5MzY0MTZlMw==
5
5
  data.tar.gz: !binary |-
6
- MmI4Zjc4OGI3NmI0NzQzMTJmZTEyNTUxMjMzMDcxMmZjMDJiOTk5OQ==
6
+ M2NjOGZmZTNjZjU0M2Q2NGQ0ZDUxY2VkMmViMmY3ZjMxMjVkZTVjMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWU0YTAyZTU1MDUxMWYxMGI1NDhhNTBlMzhmMmFiNTViMjhjZjBkYzM5MTMz
10
- YzQwNzVlMjRmN2JkYmFlOTJhN2M4OWJkYzlmNjkzM2JjMGEzNTEyYzYxMGJk
11
- ZWU4Y2NhNDQ0NGQ4NzBhMmRiN2Y5ZDc4ZGY2ZTE2MjViNDMxOGY=
9
+ MzY0ODAwYzFmYjJiNDFlN2U5YWUxZGFiODAzYWI1MTUxYWY3MjM1OWM0YmUy
10
+ YmVkNGM3MDQ0NjQ5MjRmN2JlNDU3NWRhYmIyYzMzM2JlMjBkMWNlNDAyMzcw
11
+ YWNmYTM4Mzg3ZjkyMDExNGQ3Y2NkOTg1NjU3NDc3MzcwZDMyYjQ=
12
12
  data.tar.gz: !binary |-
13
- M2QzYTdlMmEyZWI3NDUwODA1YmEzNDc4Nzc2Y2UyODU0MmFjZmQ5MmQzODUx
14
- N2RlYjFkZDlkYWNjZjM3NGExZThkZmIwNDYyNWY0NjIwNmZhYmM4YWQxMDEx
15
- NGQwNjkyYzhjMzYzMDZhMzlmZjQzNjM0ZjFlYTBlNTBiMTViNjU=
13
+ ZjY3ZTJiM2U3YzY0NTc5ZjU0MGY1NzBkNjUxODljMDdlZmNhMzMwZmJlZDZl
14
+ YjY4NGYxY2NlYzY4NjBiM2UwNDhkNTc3OTYyYTFhMTRlNmYzZGI5ZDJjY2Zm
15
+ YWU0MzM5MDIyNTM4NDcwMjliZTNhYWIxMTJlNDk3NjNjOWMxOGI=
@@ -63,6 +63,8 @@ module Aws
63
63
  end
64
64
 
65
65
  def save(compiled, output_file)
66
+ output_file = File.expand_path(output_file) if @config[:expandedpaths]
67
+ @logger.step"Writing compiled file to #{output_file}..."
66
68
  begin
67
69
  hash = {}
68
70
  compiled.each do |item,value|
@@ -54,8 +54,6 @@ module Aws
54
54
  validate(compiled)
55
55
 
56
56
  output_file = @opts[:output] || 'compiled.json'
57
- puts
58
- @logger.step"Writing compiled file to #{output_file}..."
59
57
  save(compiled, output_file)
60
58
 
61
59
  puts
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Cfn
3
3
  module Compiler
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-cfn-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PKinney