aws-cfn-dsl 0.9.4 → 0.9.5
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/aws/cfn/dsl/base.rb +4 -2
- data/lib/aws/cfn/dsl/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: 9733b6a0b44c11d981b3b91cd99bc10f444720c5
|
|
4
|
+
data.tar.gz: dbcacef7617a07e4cf9bf82620384b8693fda7fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26ec9f42d0fb67c799ecf0e3d6d04ad4d77a2b868c139b1226c914aea7850d2335d0d0e393a10f89e84249061f953acdd6e54e1ebd4016a37ef260dfc012aa1a
|
|
7
|
+
data.tar.gz: 2dbabae2ffeafdb2c0d21cdd9937c77dac572818990a211be26c9c19ec2fed9de73d903e6fd286be76d4cd2c7dbaeb34d49bc94adbe4a115cd31940ce8498806
|
data/lib/aws/cfn/dsl/base.rb
CHANGED
|
@@ -77,9 +77,11 @@ module Aws
|
|
|
77
77
|
end
|
|
78
78
|
if File.exists?(abs)
|
|
79
79
|
case File.extname(File.basename(abs)).downcase
|
|
80
|
-
|
|
80
|
+
# TODO: [2014-0-16 Christo] Replace these with @json_template_ext_regex
|
|
81
|
+
when /json|js|template|jtf/
|
|
81
82
|
@items = JSON.parse(File.read(abs))
|
|
82
|
-
|
|
83
|
+
# TODO: [2014-0-16 Christo] Replace these with @yaml_template_ext_regex
|
|
84
|
+
when /yaml|yml|ytf/
|
|
83
85
|
@items = YAML.load(File.read(abs))
|
|
84
86
|
else
|
|
85
87
|
abort! "Unsupported file type for specification: #{file}"
|
data/lib/aws/cfn/dsl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-cfn-dsl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christo DeLange
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|