cfndsl 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -2
- data/lib/cfndsl/rake_task.rb +6 -1
- data/lib/cfndsl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aec8f14026c73cf30f2b15660933dd4bb4e23a8d
|
4
|
+
data.tar.gz: 45910720285f290437fe380244d6394985519a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 251253ac278a5af596210327a1ee1d3bd05298b54c4cb1cc9c894532a09f16db9e66b2343aec6965072318266ec4490bea50297dfae1eddd34e50805acc3471f
|
7
|
+
data.tar.gz: 67dfc04df4c642e5ce092a097f6829f0dee63b90d56ce0113878835a121b796ba93f0132b0b98c176baabe152ae73a3fbc35f0e656a403b5e48bcc7a268b12ec
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.15.
|
4
|
-
[Full Changelog](https://github.com/stevenjack/cfndsl/compare/v0.15.
|
3
|
+
## [0.15.2](https://github.com/stevenjack/cfndsl/tree/0.15.2) (2017-06-20)
|
4
|
+
[Full Changelog](https://github.com/stevenjack/cfndsl/compare/v0.15.1...0.15.2)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- YAML output format in RakeTask [\#300](https://github.com/stevenjack/cfndsl/issues/300)
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- add outformat for rake task [\#334](https://github.com/stevenjack/cfndsl/pull/334) ([gergnz](https://github.com/gergnz))
|
13
|
+
- merge ruby version fix into 1.0.0.pre branch [\#333](https://github.com/stevenjack/cfndsl/pull/333) ([gergnz](https://github.com/gergnz))
|
14
|
+
|
15
|
+
## [v0.15.1](https://github.com/stevenjack/cfndsl/tree/v0.15.1) (2017-06-19)
|
16
|
+
[Full Changelog](https://github.com/stevenjack/cfndsl/compare/v0.15.0...v0.15.1)
|
5
17
|
|
6
18
|
**Fixed bugs:**
|
7
19
|
|
data/lib/cfndsl/rake_task.rb
CHANGED
@@ -24,7 +24,12 @@ module CfnDsl
|
|
24
24
|
def generate(opts)
|
25
25
|
log(opts)
|
26
26
|
outputter(opts) do |output|
|
27
|
-
|
27
|
+
if cfndsl_opts[:outformat] == 'yaml'
|
28
|
+
data = model(opts[:filename]).to_json
|
29
|
+
output.puts JSON.parse(data).to_yaml
|
30
|
+
else
|
31
|
+
output.puts cfndsl_opts[:pretty] ? JSON.pretty_generate(model(opts[:filename])) : model(opts[:filename]).to_json
|
32
|
+
end
|
28
33
|
end
|
29
34
|
end
|
30
35
|
|
data/lib/cfndsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfndsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-06-
|
12
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|