demeter-cli 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +3 -0
- data/.gitignore +6 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +0 -0
- data/CONTRIBUTING.md +50 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +67 -0
- data/LICENSE.md +21 -0
- data/README.md +62 -0
- data/Rakefile +14 -0
- data/bin/demeter +11 -0
- data/certs/coinbase.pem +21 -0
- data/demeter.gemspec +35 -0
- data/lib/demeter.rb +48 -0
- data/lib/demeter/aws/manage_security_groups.rb +113 -0
- data/lib/demeter/aws/security_group.rb +371 -0
- data/lib/demeter/cli.rb +92 -0
- data/lib/demeter/commands/apply.rb +15 -0
- data/lib/demeter/commands/base.rb +21 -0
- data/lib/demeter/commands/generate.rb +109 -0
- data/lib/demeter/commands/plan.rb +40 -0
- data/lib/demeter/commands/status.rb +42 -0
- data/lib/demeter/version.rb +6 -0
- data/spec/ec2_stub.rb +77 -0
- data/spec/manage_security_groups_spec.rb +72 -0
- data/spec/projects/simple/ec2_apollo.yml +17 -0
- data/spec/projects/with_vars/ec2_apollo.yml +17 -0
- data/spec/projects/with_vars/ec2_bastion.yml +12 -0
- data/spec/security_group_spec.rb +73 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/variables/development.yml +2 -0
- data/spec/variables/global.yml +5 -0
- metadata +247 -0
- metadata.gz.sig +3 -0
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,247 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: demeter-cli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Saso Matejina
|
8
|
+
- Jeremy Deininger
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- |
|
13
|
+
-----BEGIN CERTIFICATE-----
|
14
|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Mreup2XjUFl9hh5PM8VLX1zNukgmYuui+
|
29
|
+
ENY3lM0N1v482XJ0fdfbg43g9Ss8/JnXMplVJgWLTp+yTCUIMoW1mnarvxHZomzb
|
30
|
+
UL9hDd7K8HzMSwi5byL9o4LfQqTwjxBgWY76uROt0pNTPtcuXrnkKqSHwgwZ5RmH
|
31
|
+
vMBSV8F4fVD4X38X65JM6sekvTV2g7EfEWXUYRpo+GbTO447fdHbeSeA9LeYTY40
|
32
|
+
BrzC5KFFAVcr7Bl/R6Jdzbj7ZlhwFUize0CjOw==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: thor
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.19'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0.19'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: aws-sdk
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.1'
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2.1'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: hashdiff
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0.2'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.2'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.6'
|
85
|
+
type: :runtime
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.6'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: colorize
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0.7'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0.7'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: terminal-table
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '1.5'
|
113
|
+
type: :runtime
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '1.5'
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: dotenv
|
122
|
+
requirement: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '2.0'
|
127
|
+
type: :runtime
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '2.0'
|
134
|
+
- !ruby/object:Gem::Dependency
|
135
|
+
name: rake
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '10'
|
141
|
+
type: :development
|
142
|
+
prerelease: false
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - "~>"
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '10'
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: rspec
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - "~>"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '3.3'
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '3.3'
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: pry
|
164
|
+
requirement: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
type: :development
|
170
|
+
prerelease: false
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
description: A complete manager for AWS security groups
|
177
|
+
email: []
|
178
|
+
executables:
|
179
|
+
- demeter
|
180
|
+
extensions: []
|
181
|
+
extra_rdoc_files: []
|
182
|
+
files:
|
183
|
+
- ".gitignore"
|
184
|
+
- ".rspec"
|
185
|
+
- CHANGELOG.md
|
186
|
+
- CONTRIBUTING.md
|
187
|
+
- Gemfile
|
188
|
+
- Gemfile.lock
|
189
|
+
- LICENSE.md
|
190
|
+
- README.md
|
191
|
+
- Rakefile
|
192
|
+
- bin/demeter
|
193
|
+
- certs/coinbase.pem
|
194
|
+
- demeter.gemspec
|
195
|
+
- lib/demeter.rb
|
196
|
+
- lib/demeter/aws/manage_security_groups.rb
|
197
|
+
- lib/demeter/aws/security_group.rb
|
198
|
+
- lib/demeter/cli.rb
|
199
|
+
- lib/demeter/commands/apply.rb
|
200
|
+
- lib/demeter/commands/base.rb
|
201
|
+
- lib/demeter/commands/generate.rb
|
202
|
+
- lib/demeter/commands/plan.rb
|
203
|
+
- lib/demeter/commands/status.rb
|
204
|
+
- lib/demeter/version.rb
|
205
|
+
- spec/ec2_stub.rb
|
206
|
+
- spec/manage_security_groups_spec.rb
|
207
|
+
- spec/projects/simple/ec2_apollo.yml
|
208
|
+
- spec/projects/with_vars/ec2_apollo.yml
|
209
|
+
- spec/projects/with_vars/ec2_bastion.yml
|
210
|
+
- spec/security_group_spec.rb
|
211
|
+
- spec/spec_helper.rb
|
212
|
+
- spec/variables/development.yml
|
213
|
+
- spec/variables/global.yml
|
214
|
+
homepage: https://github.com/coinbase/demeter
|
215
|
+
licenses:
|
216
|
+
- MIT
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: 2.0.0
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
requirements: []
|
233
|
+
rubyforge_project:
|
234
|
+
rubygems_version: 2.4.5
|
235
|
+
signing_key:
|
236
|
+
specification_version: 4
|
237
|
+
summary: A complete manager for AWS security groups
|
238
|
+
test_files:
|
239
|
+
- spec/ec2_stub.rb
|
240
|
+
- spec/manage_security_groups_spec.rb
|
241
|
+
- spec/projects/simple/ec2_apollo.yml
|
242
|
+
- spec/projects/with_vars/ec2_apollo.yml
|
243
|
+
- spec/projects/with_vars/ec2_bastion.yml
|
244
|
+
- spec/security_group_spec.rb
|
245
|
+
- spec/spec_helper.rb
|
246
|
+
- spec/variables/development.yml
|
247
|
+
- spec/variables/global.yml
|
metadata.gz.sig
ADDED