piculet 0.2.9.beta6 → 0.2.9.beta7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -0
  3. data/lib/piculet/version.rb +1 -1
  4. metadata +25 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0acb042bcef82aa77c7269db66601ff5746cc717
4
- data.tar.gz: 314479539961a05663e695cc1068886e7f805254
3
+ metadata.gz: 8170ea9ce237001ca183cc6f84bd3a62c2af4146
4
+ data.tar.gz: 6f08c995ff95d1f9bcf4c2cea38bb2aa7dba407e
5
5
  SHA512:
6
- metadata.gz: 68fb81341d5ff134a1b6ffb62e397db9e1a152ddc169de0d651d5390bbf8cc11d8a4116235877d21321f34b5a30051326132ce9b8a06b375f8c050e04854840b
7
- data.tar.gz: 8f393de304ee09b3ba3a4ba45a316d4e0e46e1dc53aaa904321314da2a76542514d8ccf059307bf7ee02b82e112b4e26eb1d7983b664bc9db1047cebb65f4c8d
6
+ metadata.gz: 6b581255e77b5258050466d3e03c5d4c19a7f4879cab16d58f4f2961d025fc0b10cfca9c5a2ed6eef753dcf0f99b57801574cc74b2f89d72e82781c825fc2402
7
+ data.tar.gz: 80f1240d881eff49da152cd31d43c97879fef93f856cfb42f7a9a4b97d61f3d1fd84d7d39d2706e35aaadb7ef5614330a90565cf51b77a60618ea7a8869251dc
data/README.md CHANGED
@@ -289,3 +289,46 @@ end
289
289
 
290
290
  ## Similar tools
291
291
  * [Codenize.tools](http://codenize.tools/)
292
+
293
+ ## For piculet developers
294
+ ### Minimum required IAM policy to run tests
295
+
296
+ ```ruby
297
+ user 'piculet', path: '/' do
298
+ policy 'piculet' do
299
+ {
300
+ 'Version' => '2012-10-17',
301
+ 'Statement' => [
302
+ {
303
+ 'Effect' => 'Allow',
304
+ 'Action' => [
305
+ 'ec2:CreateSecurityGroup',
306
+ 'ec2:CreateTags',
307
+ 'ec2:DeleteTags',
308
+ 'ec2:DescribeSecurityGroups',
309
+ 'ec2:DescribeTags',
310
+ 'iam:GetUser',
311
+ ],
312
+ 'Resource' => '*',
313
+ },
314
+ {
315
+ 'Effect' => 'Allow',
316
+ 'Action' => [
317
+ 'ec2:AuthorizeSecurityGroupEgress',
318
+ 'ec2:AuthorizeSecurityGroupIngress',
319
+ 'ec2:DeleteSecurityGroup',
320
+ 'ec2:RevokeSecurityGroupEgress',
321
+ 'ec2:RevokeSecurityGroupIngress',
322
+ ],
323
+ 'Resource' => '*',
324
+ 'Condition' => {
325
+ 'StringEquals' => {
326
+ 'ec2:Vpc' => "arn:aws:ec2:#{ENV['TEST_AWS_REGION']}:#{ENV['TEST_OWNER_ID']}:vpc/#{ENV['TEST_VPC_ID']}",
327
+ },
328
+ },
329
+ },
330
+ ],
331
+ }
332
+ end
333
+ end
334
+ ```
@@ -1,3 +1,3 @@
1
1
  module Piculet
2
- VERSION = "0.2.9.beta6"
2
+ VERSION = "0.2.9.beta7"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piculet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9.beta6
4
+ version: 0.2.9.beta7
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-05 00:00:00.000000000 Z
11
+ date: 2016-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-v1
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.48.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.48.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: term-ansicolor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.2.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.2.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: diffy
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: hashie
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 2.14.1
103
+ version: 3.4.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 2.14.1
110
+ version: 3.4.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec-instafail
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: Piculet is a tool to manage EC2 Security Group. It defines the state
@@ -133,13 +133,14 @@ extra_rdoc_files: []
133
133
  files:
134
134
  - README.md
135
135
  - bin/piculet
136
+ - lib/piculet.rb
136
137
  - lib/piculet/client.rb
138
+ - lib/piculet/dsl.rb
137
139
  - lib/piculet/dsl/converter.rb
138
140
  - lib/piculet/dsl/ec2.rb
139
141
  - lib/piculet/dsl/permission.rb
140
142
  - lib/piculet/dsl/permissions.rb
141
143
  - lib/piculet/dsl/security-group.rb
142
- - lib/piculet/dsl.rb
143
144
  - lib/piculet/exporter.rb
144
145
  - lib/piculet/ext/ec2-owner-id-ext.rb
145
146
  - lib/piculet/ext/ip-permission-collection-ext.rb
@@ -154,7 +155,6 @@ files:
154
155
  - lib/piculet/wrapper/permission.rb
155
156
  - lib/piculet/wrapper/security-group-collection.rb
156
157
  - lib/piculet/wrapper/security-group.rb
157
- - lib/piculet.rb
158
158
  homepage: http://piculet.codenize.tools/
159
159
  licenses:
160
160
  - MIT
@@ -165,17 +165,17 @@ require_paths:
165
165
  - lib
166
166
  required_ruby_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - '>='
168
+ - - ">="
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0'
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - '>'
173
+ - - ">"
174
174
  - !ruby/object:Gem::Version
175
175
  version: 1.3.1
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.0.14.1
178
+ rubygems_version: 2.4.5.1
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Piculet is a tool to manage EC2 Security Group.