cfn-model 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b40be56bb9e42ec1fba35ad4529c386233317a61
4
- data.tar.gz: f4c348c41667a8331a283773acc0e3eceece5d70
3
+ metadata.gz: 26c41beb000211e302ebdeac61752270a96bfa70
4
+ data.tar.gz: 59d6cca9ec33eb3862beab40b2af55eb8c89cf0a
5
5
  SHA512:
6
- metadata.gz: 5aae1c11924963643a52f60f94926412ae25142c37b46c80d29447562a48e89b4678d57a1363044e3778c875be6502f7535f46098686354e03475e871a8d5694
7
- data.tar.gz: b05b8a0cef40e5ee4252586104a71b54221f4b232c787dad86c360b9d49b60531f725c2219235fd91a88a6b56d462e6c48c36abde1f90682a9a92fa4a0d25bf7
6
+ metadata.gz: 3480831b4214c70e08ad74aa7cf73e2244e0c802f4663ded81638a28ebfdb8e9cac5b0710f94d33027e7dd069008cc23ac6b9ccf15063f8b7c7046c1a3d11ac8
7
+ data.tar.gz: ccd84000813cc8b87c557caf5e20607450bb3c0f5991a2b33f51c5d2c047d96a1ae3277cbee51a5e7493844eae8403b290c58f0448b2588c606102bd65da64d8
@@ -35,7 +35,7 @@ class PolicyDocument
35
35
  end
36
36
 
37
37
  def ==(another_doc)
38
- @version == another_doc.version && @statements == another_doc.statements
38
+ self.version == another_doc.version && @statements == another_doc.statements
39
39
  end
40
40
 
41
41
  def to_s
@@ -8,8 +8,8 @@ class IamGroupParser
8
8
 
9
9
  iam_group.policy_objects = iam_group.policies.map do |policy|
10
10
  new_policy = Policy.new
11
- new_policy.policyName = policy['PolicyName']
12
- new_policy.policyDocument = PolicyDocumentParser.new.parse(policy['PolicyDocument'])
11
+ new_policy.policy_name = policy['PolicyName']
12
+ new_policy.policy_document = PolicyDocumentParser.new.parse(policy['PolicyDocument'])
13
13
  new_policy
14
14
  end
15
15
  iam_group
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify