cfndsl 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/cfndsl/JSONable.rb +1 -1
- data/lib/cfndsl/version.rb +1 -1
- data/spec/cfndsl_spec.rb +0 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjQxMWU0YTZhNjg1ZGRlNzYwYTZhZWJjOWJhMDkwYmYxN2U4MWFmOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTk2MjdlMGI3YWUzZjFkMTYzZTYwZTA1ZjNlZTJjNjMyMDY5YWM5OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWQ1MWMzNGYyN2RjNmM1OGM4YjkxMTcxODJiMTBkMWIzZDhlYTUzOGJjZmMw
|
10
|
+
MThmZmI4OTQ5YTQ3MjQ5M2JiMjZlNjU3NjMzYmMyZTYxYzc4M2ViODI5ZDFi
|
11
|
+
MWYzNzRjNzMzYjNiODk1ZGRkMDg1OWM5MTkzNzgwYTU1Y2FmMzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmRmZGIxYWY0ZjFlMTI4ZGJlN2Y3ZDY1MGRmYzliZDI3MDIwZDBhYTY3ZTQx
|
14
|
+
NWRkZTkxNzY4MGRjMjcxMDI2NjA5MmIxNmQ5MzIwN2ZlMGEwNWM2NWQ0Njc3
|
15
|
+
ODcxNTM4YTRkN2QxY2JkNmQ1MzlkZWRkNTMxMjQ2YjgxMDQwM2U=
|
data/lib/cfndsl/JSONable.rb
CHANGED
data/lib/cfndsl/version.rb
CHANGED
data/spec/cfndsl_spec.rb
CHANGED
@@ -100,21 +100,6 @@ describe CfnDsl::CloudFormationTemplate do
|
|
100
100
|
expect(refs).to have_key('X')
|
101
101
|
end
|
102
102
|
|
103
|
-
context 'FnNot' do
|
104
|
-
let(:data) { "test" }
|
105
|
-
let(:expected) { "{\"Fn::Not\":[\"#{data}\"]}" }
|
106
|
-
|
107
|
-
it 'formats correctly' do
|
108
|
-
func = subject.FnNot data
|
109
|
-
expect(func.to_json).to eq expected
|
110
|
-
end
|
111
|
-
|
112
|
-
it 'flattens existing array' do
|
113
|
-
func = subject.FnNot [data]
|
114
|
-
expect(func.to_json).to eq expected
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
103
|
it 'FnBase64' do
|
119
104
|
func = subject.FnBase64 'A'
|
120
105
|
expect(func.to_json).to eq('{"Fn::Base64":"A"}')
|