kumogata-template 0.0.25 → 0.0.26

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: e68d851f205814db46daa78d9f8de23d90daed76
4
- data.tar.gz: 48272c915961e88257895459d16a76a7831f2403
3
+ metadata.gz: be4c7caa3556239afc3151427c364e99c744aff3
4
+ data.tar.gz: 1de25309a11916e14ed6f428bdc2aeb4bb6b9e17
5
5
  SHA512:
6
- metadata.gz: 6596787ad06441fcec1780d68e3aa9dc50403e8c579f6485dd658fc258e65b62ea3ed7cf2c7155007e3a05288ec2d418b5afb1afb534d326084e1115c0ce6988
7
- data.tar.gz: 50bb3f63b35bad4356cefac50b15873561ea7a668220345db3739df3064c146ced30929593bd0ddd7fe263febd2bd1f77f385b3f5676cadec5a9f68d9899808f
6
+ metadata.gz: 220f97ebfde87403b34dbd4f9d82a913e1d2b65e2897006defae79ddb5546f84e07eba8a2da49a06459080e940ebf9f206babe179dc42722b0b8eda8d06d237d
7
+ data.tar.gz: 919dcf05d5dd0e5405d952c9f577570576e80da40f1efe17e4684a460d6b769a85d94b59c4ed2ee820bd974c4ae7e559cbd75058d09cf7e50b9fd21151f022a3
@@ -84,7 +84,7 @@ def _iam_policy_document(name, args)
84
84
  end
85
85
 
86
86
  array << _{
87
- Sid v[:sid] if v.key :sid
87
+ Sid v[:sid] if v.key? :sid
88
88
  Effect v[:effect] || "Allow"
89
89
  NotAction no_action v[:no_action] if v.key? :no_action
90
90
  Action actions
@@ -1 +1 @@
1
- KUMOGATA_TEMPLATE_VERSION = '0.0.25'
1
+ KUMOGATA_TEMPLATE_VERSION = '0.0.26'
data/test/iam_test.rb CHANGED
@@ -111,6 +111,7 @@ PolicyDocument _iam_policy_document "test", test: [ { service: "s3", sid: "test"
111
111
  {
112
112
  "PolicyDocument": [
113
113
  {
114
+ "Sid": "test",
114
115
  "Effect": "Allow",
115
116
  "Action": [
116
117
  "s3:*"
@@ -133,6 +134,7 @@ PolicyDocument _iam_policy_document "test", test: [ { service: "s3", sid: "test"
133
134
  {
134
135
  "PolicyDocument": [
135
136
  {
137
+ "Sid": "test",
136
138
  "Effect": "Allow",
137
139
  "Action": [
138
140
  "s3:*"
@@ -150,7 +152,6 @@ PolicyDocument _iam_policy_document "test", test: [ { service: "s3", sid: "test"
150
152
  }
151
153
  EOS
152
154
  assert_equal exp_template.chomp, act_template
153
-
154
155
  end
155
156
 
156
157
  def test_iam_assume_role_policy_document
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoya Nakazawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-11 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -413,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
413
  version: '0'
414
414
  requirements: []
415
415
  rubyforge_project:
416
- rubygems_version: 2.5.2
416
+ rubygems_version: 2.6.11
417
417
  signing_key:
418
418
  specification_version: 4
419
419
  summary: Template for Kumogata.