rake_terraform 1.15.0 → 1.16.0.pre.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +94 -14
- data/Rakefile +89 -42
- data/bin/console +4 -3
- data/lib/rake_terraform.rb +33 -114
- data/lib/rake_terraform/task_sets.rb +4 -0
- data/lib/rake_terraform/task_sets/all.rb +50 -40
- data/lib/rake_terraform/task_sets/provider.rb +168 -0
- data/lib/rake_terraform/task_sets/terraform.rb +179 -0
- data/lib/rake_terraform/tasks.rb +2 -0
- data/lib/rake_terraform/tasks/destroy.rb +42 -30
- data/lib/rake_terraform/tasks/output.rb +34 -28
- data/lib/rake_terraform/tasks/plan.rb +40 -32
- data/lib/rake_terraform/tasks/provision.rb +42 -31
- data/lib/rake_terraform/tasks/validate.rb +33 -33
- data/lib/rake_terraform/version.rb +3 -1
- data/rake_terraform.gemspec +62 -0
- metadata +132 -49
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'rake_terraform/version'
|
6
|
+
|
7
|
+
files = %w[
|
8
|
+
bin
|
9
|
+
lib
|
10
|
+
CODE_OF_CONDUCT.md
|
11
|
+
rake_terraform.gemspec
|
12
|
+
Gemfile
|
13
|
+
LICENSE.txt
|
14
|
+
Rakefile
|
15
|
+
README.md
|
16
|
+
]
|
17
|
+
|
18
|
+
Gem::Specification.new do |spec|
|
19
|
+
spec.name = 'rake_terraform'
|
20
|
+
spec.version = RakeTerraform::VERSION
|
21
|
+
spec.authors = ['Toby Clemson']
|
22
|
+
spec.email = ['tobyclemson@gmail.com']
|
23
|
+
|
24
|
+
spec.summary = 'Rake tasks for running terraform.'
|
25
|
+
spec.description =
|
26
|
+
'Provides rake tasks for executing terraform commands as part of a ' \
|
27
|
+
'rake build.'
|
28
|
+
spec.homepage = 'https://github.com/infrablocks/rake_terraform'
|
29
|
+
spec.license = 'MIT'
|
30
|
+
|
31
|
+
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
32
|
+
f.match(/^(#{files.map { |g| Regexp.escape(g) }.join('|')})/)
|
33
|
+
end
|
34
|
+
spec.bindir = 'exe'
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
+
spec.require_paths = ['lib']
|
37
|
+
|
38
|
+
spec.required_ruby_version = '>= 2.6'
|
39
|
+
|
40
|
+
spec.add_dependency 'colored2', '~> 3.1'
|
41
|
+
spec.add_dependency 'rake_dependencies', '~> 2.9'
|
42
|
+
spec.add_dependency 'rake_factory', '~> 0.23'
|
43
|
+
spec.add_dependency 'ruby-terraform', '~> 1.1'
|
44
|
+
|
45
|
+
spec.add_development_dependency 'activesupport', '~> 5.2'
|
46
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
47
|
+
spec.add_development_dependency 'fakefs', '~> 0.18'
|
48
|
+
spec.add_development_dependency 'gem-release', '~> 2.1'
|
49
|
+
spec.add_development_dependency 'guard', '~> 2.16'
|
50
|
+
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
51
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
52
|
+
spec.add_development_dependency 'rake_circle_ci', '~> 0.9'
|
53
|
+
spec.add_development_dependency 'rake_github', '~> 0.5'
|
54
|
+
spec.add_development_dependency 'rake_gpg', '~> 0.12'
|
55
|
+
spec.add_development_dependency 'rake_ssh', '~> 0.4'
|
56
|
+
spec.add_development_dependency 'rspec', '~> 3.9'
|
57
|
+
spec.add_development_dependency 'rubocop', '~> 1.12'
|
58
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.5'
|
59
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.2'
|
60
|
+
spec.add_development_dependency 'simplecov', '~> 0.21'
|
61
|
+
spec.add_development_dependency 'yard', '~> 0.9'
|
62
|
+
end
|
metadata
CHANGED
@@ -1,89 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0.pre.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: colored2
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3'
|
19
|
+
version: '3.1'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake_dependencies
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.9'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
31
39
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
40
|
+
version: '2.9'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
42
|
name: rake_factory
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
|
-
- - "
|
45
|
+
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
47
|
version: '0.23'
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '1'
|
43
48
|
type: :runtime
|
44
49
|
prerelease: false
|
45
50
|
version_requirements: !ruby/object:Gem::Requirement
|
46
51
|
requirements:
|
47
|
-
- - "
|
52
|
+
- - "~>"
|
48
53
|
- !ruby/object:Gem::Version
|
49
54
|
version: '0.23'
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '1'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: ruby-terraform
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
56
58
|
requirements:
|
57
|
-
- - "
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '0.62'
|
60
|
-
- - "<"
|
59
|
+
- - "~>"
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1'
|
61
|
+
version: '1.1'
|
63
62
|
type: :runtime
|
64
63
|
prerelease: false
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
|
-
- - "
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.62'
|
70
|
-
- - "<"
|
66
|
+
- - "~>"
|
71
67
|
- !ruby/object:Gem::Version
|
72
|
-
version: '1'
|
68
|
+
version: '1.1'
|
73
69
|
- !ruby/object:Gem::Dependency
|
74
|
-
name:
|
70
|
+
name: activesupport
|
75
71
|
requirement: !ruby/object:Gem::Requirement
|
76
72
|
requirements:
|
77
73
|
- - "~>"
|
78
74
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
80
|
-
type: :
|
75
|
+
version: '5.2'
|
76
|
+
type: :development
|
81
77
|
prerelease: false
|
82
78
|
version_requirements: !ruby/object:Gem::Requirement
|
83
79
|
requirements:
|
84
80
|
- - "~>"
|
85
81
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
82
|
+
version: '5.2'
|
87
83
|
- !ruby/object:Gem::Dependency
|
88
84
|
name: bundler
|
89
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +94,62 @@ dependencies:
|
|
98
94
|
- - "~>"
|
99
95
|
- !ruby/object:Gem::Version
|
100
96
|
version: '2.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: fakefs
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.18'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.18'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: gem-release
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.16'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.16'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard-rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4.7'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '4.7'
|
101
153
|
- !ruby/object:Gem::Dependency
|
102
154
|
name: rake
|
103
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,33 +193,33 @@ dependencies:
|
|
141
193
|
- !ruby/object:Gem::Version
|
142
194
|
version: '0.5'
|
143
195
|
- !ruby/object:Gem::Dependency
|
144
|
-
name:
|
196
|
+
name: rake_gpg
|
145
197
|
requirement: !ruby/object:Gem::Requirement
|
146
198
|
requirements:
|
147
199
|
- - "~>"
|
148
200
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0.
|
201
|
+
version: '0.12'
|
150
202
|
type: :development
|
151
203
|
prerelease: false
|
152
204
|
version_requirements: !ruby/object:Gem::Requirement
|
153
205
|
requirements:
|
154
206
|
- - "~>"
|
155
207
|
- !ruby/object:Gem::Version
|
156
|
-
version: '0.
|
208
|
+
version: '0.12'
|
157
209
|
- !ruby/object:Gem::Dependency
|
158
|
-
name:
|
210
|
+
name: rake_ssh
|
159
211
|
requirement: !ruby/object:Gem::Requirement
|
160
212
|
requirements:
|
161
213
|
- - "~>"
|
162
214
|
- !ruby/object:Gem::Version
|
163
|
-
version: '0.
|
215
|
+
version: '0.4'
|
164
216
|
type: :development
|
165
217
|
prerelease: false
|
166
218
|
version_requirements: !ruby/object:Gem::Requirement
|
167
219
|
requirements:
|
168
220
|
- - "~>"
|
169
221
|
- !ruby/object:Gem::Version
|
170
|
-
version: '0.
|
222
|
+
version: '0.4'
|
171
223
|
- !ruby/object:Gem::Dependency
|
172
224
|
name: rspec
|
173
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,47 +235,75 @@ dependencies:
|
|
183
235
|
- !ruby/object:Gem::Version
|
184
236
|
version: '3.9'
|
185
237
|
- !ruby/object:Gem::Dependency
|
186
|
-
name:
|
238
|
+
name: rubocop
|
187
239
|
requirement: !ruby/object:Gem::Requirement
|
188
240
|
requirements:
|
189
241
|
- - "~>"
|
190
242
|
- !ruby/object:Gem::Version
|
191
|
-
version: '
|
243
|
+
version: '1.12'
|
192
244
|
type: :development
|
193
245
|
prerelease: false
|
194
246
|
version_requirements: !ruby/object:Gem::Requirement
|
195
247
|
requirements:
|
196
248
|
- - "~>"
|
197
249
|
- !ruby/object:Gem::Version
|
198
|
-
version: '
|
250
|
+
version: '1.12'
|
199
251
|
- !ruby/object:Gem::Dependency
|
200
|
-
name:
|
252
|
+
name: rubocop-rake
|
201
253
|
requirement: !ruby/object:Gem::Requirement
|
202
254
|
requirements:
|
203
255
|
- - "~>"
|
204
256
|
- !ruby/object:Gem::Version
|
205
|
-
version: '5
|
257
|
+
version: '0.5'
|
206
258
|
type: :development
|
207
259
|
prerelease: false
|
208
260
|
version_requirements: !ruby/object:Gem::Requirement
|
209
261
|
requirements:
|
210
262
|
- - "~>"
|
211
263
|
- !ruby/object:Gem::Version
|
212
|
-
version: '5
|
264
|
+
version: '0.5'
|
213
265
|
- !ruby/object:Gem::Dependency
|
214
|
-
name:
|
266
|
+
name: rubocop-rspec
|
215
267
|
requirement: !ruby/object:Gem::Requirement
|
216
268
|
requirements:
|
217
269
|
- - "~>"
|
218
270
|
- !ruby/object:Gem::Version
|
219
|
-
version: '
|
271
|
+
version: '2.2'
|
220
272
|
type: :development
|
221
273
|
prerelease: false
|
222
274
|
version_requirements: !ruby/object:Gem::Requirement
|
223
275
|
requirements:
|
224
276
|
- - "~>"
|
225
277
|
- !ruby/object:Gem::Version
|
226
|
-
version: '
|
278
|
+
version: '2.2'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: simplecov
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0.21'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0.21'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: yard
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0.9'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0.9'
|
227
307
|
description: Provides rake tasks for executing terraform commands as part of a rake
|
228
308
|
build.
|
229
309
|
email:
|
@@ -243,6 +323,8 @@ files:
|
|
243
323
|
- lib/rake_terraform.rb
|
244
324
|
- lib/rake_terraform/task_sets.rb
|
245
325
|
- lib/rake_terraform/task_sets/all.rb
|
326
|
+
- lib/rake_terraform/task_sets/provider.rb
|
327
|
+
- lib/rake_terraform/task_sets/terraform.rb
|
246
328
|
- lib/rake_terraform/tasks.rb
|
247
329
|
- lib/rake_terraform/tasks/destroy.rb
|
248
330
|
- lib/rake_terraform/tasks/output.rb
|
@@ -250,6 +332,7 @@ files:
|
|
250
332
|
- lib/rake_terraform/tasks/provision.rb
|
251
333
|
- lib/rake_terraform/tasks/validate.rb
|
252
334
|
- lib/rake_terraform/version.rb
|
335
|
+
- rake_terraform.gemspec
|
253
336
|
homepage: https://github.com/infrablocks/rake_terraform
|
254
337
|
licenses:
|
255
338
|
- MIT
|
@@ -265,9 +348,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
348
|
version: '2.6'
|
266
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
350
|
requirements:
|
268
|
-
- - "
|
351
|
+
- - ">"
|
269
352
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
353
|
+
version: 1.3.1
|
271
354
|
requirements: []
|
272
355
|
rubygems_version: 3.0.1
|
273
356
|
signing_key:
|