awspec 0.52.2 → 0.52.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 888f2c6498be8295a7f89c77886a4fc70a0843e5
|
4
|
+
data.tar.gz: 01e3402cfb40ff200ad20e73bb25c60b59b89144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ec3e5bb9a7a0ebbcb952c7289449903e2c830ad79ae86f19dbd45c90ade0c232fa2f62a959026031f2390f3c88667cbb9ff4fb96d71cf3281bf53d3bd6f5aa3
|
7
|
+
data.tar.gz: 5ac384c8bb2f951ae78bd0e345e1d7a1b0eaafd9415693443855cdbd14d7d3396bf4892b28d4b106f3ef4f0253757d0c1d769b128c7d7e22624c0538363a22f1
|
@@ -12,7 +12,7 @@ module Awspec::Generator
|
|
12
12
|
policy_name: policy_name
|
13
13
|
})
|
14
14
|
document = JSON.generate(JSON.parse(URI.decode(res.policy_document)))
|
15
|
-
"it { should have_inline_policy('#{policy_name}').
|
15
|
+
"it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
|
16
16
|
end
|
17
17
|
content = ERB.new(iam_group_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
|
18
18
|
end
|
@@ -12,7 +12,7 @@ module Awspec::Generator
|
|
12
12
|
policy_name: policy_name
|
13
13
|
})
|
14
14
|
document = JSON.generate(JSON.parse(URI.decode(res.policy_document)))
|
15
|
-
"it { should have_inline_policy('#{policy_name}').
|
15
|
+
"it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
|
16
16
|
end
|
17
17
|
content = ERB.new(iam_role_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
|
18
18
|
end
|
@@ -12,7 +12,7 @@ module Awspec::Generator
|
|
12
12
|
policy_name: policy_name
|
13
13
|
})
|
14
14
|
document = JSON.generate(JSON.parse(URI.decode(res.policy_document)))
|
15
|
-
"it { should have_inline_policy('#{policy_name}').
|
15
|
+
"it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
|
16
16
|
end
|
17
17
|
content = ERB.new(iam_user_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
|
18
18
|
end
|
data/lib/awspec/version.rb
CHANGED