cfnlego 0.3.4 → 0.3.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: cb90ed1493f1c1c1dc6e41818e0b89d85c80441b
4
- data.tar.gz: 5b805e0afeeb52e0800a1169234b1bf29f180e65
3
+ metadata.gz: 1d3dc4f3b6c6053df3f45806fd1eed9372ed3802
4
+ data.tar.gz: 3a5e47ec9f9f23faf4439d089f2c268c9e996394
5
5
  SHA512:
6
- metadata.gz: 8fa14dc87585a9f592f19cdadd57fc395a6d145de3cefbc03bc44fc9ef93edf442b51b1f5b59822100c660827a42133cf7b8e763e49dafea833ede355e7925de
7
- data.tar.gz: 547930d66dc3f4b02d442a2c8fdbda7cfd236deca9000633b534bf1be85076300c70d82c2fb848cf40320918b7d8acdabffd5aea5cb409d2a2a4037149a5a44e
6
+ metadata.gz: 5b366e59d60d10d35f700059a9301254ada99b99edcff2666dd88338e9aee9982524af8990695f288c5be0d9888b3895550ac0fe08de431f5feb6d5d924d4d9a
7
+ data.tar.gz: 8bfbf7baae9b01d695003253d30dcf539f0cf3b2f44b1f104563048f1f2458122e78c8770f8b4dec1220ef5a802decdfa00489e1ab25a7a64368df0e0ef8d1e0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.2
1
+ ruby-2.3
data/.travis.yml CHANGED
@@ -1,8 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.5
5
- - 2.2.0
3
+ - 2.3.0
6
4
  - ruby-head
7
5
  matrix:
8
6
  allow_failures:
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- cfndsl (0.2.3)
5
- coderay (1.1.0)
4
+ cfndsl (0.9.1)
5
+ coderay (1.1.1)
6
6
  diff-lcs (1.2.5)
7
7
  ffi (1.9.10)
8
8
  formatador (0.2.5)
9
- guard (2.13.0)
9
+ guard (2.14.0)
10
10
  formatador (>= 0.2.4)
11
- listen (>= 2.7, <= 4.0)
11
+ listen (>= 2.7, < 4.0)
12
12
  lumberjack (~> 1.0)
13
13
  nenv (~> 0.1)
14
14
  notiffany (~> 0.0)
@@ -16,41 +16,43 @@ GEM
16
16
  shellany (~> 0.0)
17
17
  thor (>= 0.18.1)
18
18
  guard-compat (1.2.1)
19
- guard-rspec (4.6.4)
19
+ guard-rspec (4.7.2)
20
20
  guard (~> 2.1)
21
21
  guard-compat (~> 1.1)
22
22
  rspec (>= 2.99.0, < 4.0)
23
- listen (3.0.3)
24
- rb-fsevent (>= 0.9.3)
25
- rb-inotify (>= 0.9)
26
- lumberjack (1.0.9)
23
+ listen (3.1.5)
24
+ rb-fsevent (~> 0.9, >= 0.9.4)
25
+ rb-inotify (~> 0.9, >= 0.9.7)
26
+ ruby_dep (~> 1.2)
27
+ lumberjack (1.0.10)
27
28
  method_source (0.8.2)
28
- nenv (0.2.0)
29
- notiffany (0.0.7)
29
+ nenv (0.3.0)
30
+ notiffany (0.1.0)
30
31
  nenv (~> 0.1)
31
32
  shellany (~> 0.0)
32
- pry (0.10.1)
33
+ pry (0.10.3)
33
34
  coderay (~> 1.1.0)
34
35
  method_source (~> 0.8.1)
35
36
  slop (~> 3.4)
36
- rake (10.4.2)
37
- rb-fsevent (0.9.6)
38
- rb-inotify (0.9.5)
37
+ rake (11.2.2)
38
+ rb-fsevent (0.9.7)
39
+ rb-inotify (0.9.7)
39
40
  ffi (>= 0.5.0)
40
- rspec (3.3.0)
41
- rspec-core (~> 3.3.0)
42
- rspec-expectations (~> 3.3.0)
43
- rspec-mocks (~> 3.3.0)
44
- rspec-core (3.3.2)
45
- rspec-support (~> 3.3.0)
46
- rspec-expectations (3.3.1)
41
+ rspec (3.5.0)
42
+ rspec-core (~> 3.5.0)
43
+ rspec-expectations (~> 3.5.0)
44
+ rspec-mocks (~> 3.5.0)
45
+ rspec-core (3.5.0)
46
+ rspec-support (~> 3.5.0)
47
+ rspec-expectations (3.5.0)
47
48
  diff-lcs (>= 1.2.0, < 2.0)
48
- rspec-support (~> 3.3.0)
49
- rspec-mocks (3.3.2)
49
+ rspec-support (~> 3.5.0)
50
+ rspec-mocks (3.5.0)
50
51
  diff-lcs (>= 1.2.0, < 2.0)
51
- rspec-support (~> 3.3.0)
52
- rspec-support (3.3.0)
53
- ruby-beautify (0.97.3)
52
+ rspec-support (~> 3.5.0)
53
+ rspec-support (3.5.0)
54
+ ruby-beautify (0.97.4)
55
+ ruby_dep (1.3.1)
54
56
  shellany (0.0.1)
55
57
  slop (3.6.0)
56
58
  thor (0.19.1)
@@ -65,3 +67,6 @@ DEPENDENCIES
65
67
  rake
66
68
  rspec
67
69
  ruby-beautify
70
+
71
+ BUNDLED WITH
72
+ 1.10.6
data/README.md CHANGED
@@ -72,8 +72,8 @@ Example:
72
72
  - AWS::IAM::InstanceProfile
73
73
  - AWS::IAM::ManagedPolicy
74
74
  - AWS::IAM::Role
75
- - AWS::Kinesis::Stream
76
75
  - AWS::KMS::Key
76
+ - AWS::Kinesis::Stream
77
77
  - AWS::Lambda::EventSourceMapping
78
78
  - AWS::Lambda::Function
79
79
  - AWS::Lambda::Permission
@@ -89,7 +89,8 @@ Example:
89
89
  - AWS::S3::Bucket
90
90
  - AWS::SNS::Topic
91
91
  - AWS::SNS::TopicPolicy
92
-
92
+ - AWS::SQS::Queue
93
+ - AWS::SQS::QueuePolicy
93
94
 
94
95
  ### License
95
96
 
@@ -0,0 +1,20 @@
1
+ AWS::SQS::QueuePolicy:
2
+ Properties:
3
+ PolicyDocument: |
4
+ {
5
+ "Id" => "MyQueuePolicy",
6
+ "Version" => "2012-10-17",
7
+ "Statement" => [ {
8
+ "Sid" => "Allow-User-SendMessage",
9
+ "Effect" => "Allow",
10
+ "Principal" => {
11
+ "AWS" => "arn:aws:iam::123456789012:user/myapp"
12
+ },
13
+ "Action" => [ "sqs:SendMessage" ],
14
+ "Resource" => "*"
15
+ } ]
16
+ }
17
+ Queues: |
18
+ [
19
+ "The URLs of the queues to which you want to add the policy. You can use the Ref function to specify an AWS::SQS::Queue resource."
20
+ ]
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.3.4'
2
+ VERSION='0.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfnlego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Yung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-01 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-beautify
@@ -146,6 +146,7 @@ files:
146
146
  - lib/cfnlego/resources/AWS/SNS/Topic.yaml
147
147
  - lib/cfnlego/resources/AWS/SNS/TopicPolicy.yaml
148
148
  - lib/cfnlego/resources/AWS/SQS/Queue.yaml
149
+ - lib/cfnlego/resources/AWS/SQS/QueuePolicy.yaml
149
150
  - lib/cfnlego/version.rb
150
151
  - utils/list-supported-resources.sh
151
152
  homepage: https://github.com/allinwonder/cfnlego
@@ -168,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
169
  version: '0'
169
170
  requirements: []
170
171
  rubyforge_project:
171
- rubygems_version: 2.4.8
172
+ rubygems_version: 2.5.1
172
173
  signing_key:
173
174
  specification_version: 4
174
175
  summary: Command Line tool to bootstrap CloudForamtion development with cfndsl