cloud_former 0.4.4 → 0.4.5

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: 824f6fcdd80333e6966cd86039ba5a81d5532e43
4
- data.tar.gz: f2a52a41630c79f8110c484305c0d04db709213f
3
+ metadata.gz: 84167053e8d5d9ea3121cea708e6623be602d59b
4
+ data.tar.gz: d1247cf396ca82ecb41b03019dd2d269a1899853
5
5
  SHA512:
6
- metadata.gz: 416b754b8f470292b8f9ef66b07814439f75ae175fbb343ef8a017687a917c6834f0f3b3d930b95aeefce6d461a3c7a6ac80ba35fb8f99931de3c33913f15a44
7
- data.tar.gz: 417ab5c9c3de2709de463338a908b58e51b48609af96108dc0baf0357b89f30394ecd8e1c1806d5e8fb5a38b392ea6df1e533863488a2b3aaa978cd6bd8f0676
6
+ metadata.gz: 59a426c9a3b990c1c2c5c69c423914bbe677a03f3e06a4098c804e7a241831c4269c2f9e81f8fd08c404b6dd2d9a95074c7d0e01cfee6e0b6c52548d43ba0f12
7
+ data.tar.gz: 9edee876617839297fdadabe9c443bff27c51ae8fba22ad5587ac1040dc3c7abf90559a0dc64d2fb346f38c7242983a24151bc61e9f84a5ad5ece1ef82195640
data/lib/cloud_former.rb CHANGED
@@ -156,6 +156,7 @@ module CloudFormer
156
156
  module IAM
157
157
  autoload :AccessKey, 'cloud_former/resources/iam/access_key'
158
158
  autoload :Group, 'cloud_former/resources/iam/group'
159
+ autoload :IAMPolicy, 'cloud_former/resource_properties/iam/iam_policy'
159
160
  autoload :InstanceProfile, 'cloud_former/resources/iam/instance_profile'
160
161
  autoload :Policy, 'cloud_former/resources/iam/policy'
161
162
  autoload :Role, 'cloud_former/resources/iam/role'
@@ -0,0 +1,9 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html
2
+ module CloudFormer
3
+ module IAM
4
+ class IAMPolicy < ResourceProperty
5
+ aws_attribute :policy_document, type: Hash
6
+ aws_attribute :policy_name, type: String
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.4.4'
2
+ VERSION = '0.4.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -156,6 +156,7 @@ files:
156
156
  - lib/cloud_former/resource_properties/elastic_load_balancing/lb_cookie_stickiness_policy.rb
157
157
  - lib/cloud_former/resource_properties/elastic_load_balancing/listener.rb
158
158
  - lib/cloud_former/resource_properties/elastic_load_balancing/policy.rb
159
+ - lib/cloud_former/resource_properties/iam/iam_policy.rb
159
160
  - lib/cloud_former/resource_properties/rds/security_group_rule.rb
160
161
  - lib/cloud_former/resource_properties/redshift/parameter.rb
161
162
  - lib/cloud_former/resource_properties/resource_property.rb
@@ -275,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
276
  version: '0'
276
277
  requirements: []
277
278
  rubyforge_project:
278
- rubygems_version: 2.2.2
279
+ rubygems_version: 2.4.3
279
280
  signing_key:
280
281
  specification_version: 4
281
282
  summary: A Ruby DSL for creating CloudFormation templates