rspec-terraform 0.5.0.pre.3 → 0.5.0.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +7 -6
- data/Gemfile.lock +86 -45
- data/Rakefile +70 -18
- data/lib/rspec/terraform/configuration/providers/chain.rb +1 -1
- data/lib/rspec/terraform/configuration/providers/confidante.rb +1 -1
- data/lib/rspec/terraform/configuration/providers/identity.rb +1 -1
- data/lib/rspec/terraform/configuration/providers/in_memory.rb +1 -1
- data/lib/rspec/terraform/configuration/providers/seed.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/apply.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/destroy.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/init.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/output.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/plan.rb +1 -1
- data/lib/rspec/terraform/helpers/actions/show.rb +1 -1
- data/lib/rspec/terraform/helpers/actions.rb +10 -10
- data/lib/rspec/terraform/helpers/apply.rb +2 -2
- data/lib/rspec/terraform/helpers/base.rb +1 -1
- data/lib/rspec/terraform/helpers/destroy.rb +2 -2
- data/lib/rspec/terraform/helpers/output.rb +2 -2
- data/lib/rspec/terraform/helpers/plan.rb +2 -2
- data/lib/rspec/terraform/helpers/var.rb +1 -1
- data/lib/rspec/terraform/helpers.rb +5 -5
- data/lib/rspec/terraform/matchers.rb +2 -2
- data/lib/rspec/terraform/version.rb +1 -1
- data/rspec-terraform.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 586a7be966dfaaada2ae9c9a31a1d25b3c6eacd4b1b528dee9822ed1a62a335d
|
4
|
+
data.tar.gz: 5defdb0d2f291ec13dbf64806a3bcc43f4475385dc8deb439c438ad694038ae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ab82bb2afaad7148fe68dfc35789a9a4bcd4bd86715eae7af3cedad730f0a16d35df211bcec55061055c826d4e75def853f92977f4a5790708ac001715fe74c
|
7
|
+
data.tar.gz: 7959e51b70c2f0bb3a3d5f67e23b7c0ca70aa90e7b649e14bffdba9d84c0afe1929933ac08beda9b038554cf499aff64b8af83d92b3b143fcad8c49d2f9bd10b
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -23,7 +23,7 @@ include:
|
|
23
23
|
Examples of unacceptable behavior by participants include:
|
24
24
|
|
25
25
|
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
26
|
+
advances
|
27
27
|
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
28
|
* Public or private harassment
|
29
29
|
* Publishing others' private information, such as a physical or electronic
|
@@ -37,11 +37,11 @@ Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
37
|
behavior and are expected to take appropriate and fair corrective action in
|
38
38
|
response to any instances of unacceptable behavior.
|
39
39
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or reject
|
41
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
42
|
+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
|
43
|
+
contributor for other behaviors that they deem inappropriate, threatening,
|
44
|
+
offensive, or harmful.
|
45
45
|
|
46
46
|
## Scope
|
47
47
|
|
@@ -72,4 +72,5 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
72
72
|
version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
73
73
|
|
74
74
|
[homepage]: http://contributor-covenant.org
|
75
|
+
|
75
76
|
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rspec-terraform (0.5.0.pre.
|
4
|
+
rspec-terraform (0.5.0.pre.4)
|
5
5
|
confidante (>= 0.27)
|
6
6
|
rspec (>= 3.0)
|
7
7
|
ruby-terraform (= 1.7.0)
|
@@ -9,42 +9,56 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (7.
|
12
|
+
activesupport (7.1.1)
|
13
|
+
base64
|
14
|
+
bigdecimal
|
13
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
connection_pool (>= 2.2.5)
|
17
|
+
drb
|
14
18
|
i18n (>= 1.6, < 2)
|
15
19
|
minitest (>= 5.1)
|
20
|
+
mutex_m
|
16
21
|
tzinfo (~> 2.0)
|
17
|
-
addressable (2.8.
|
22
|
+
addressable (2.8.5)
|
18
23
|
public_suffix (>= 2.0.2, < 6.0)
|
19
24
|
ast (2.4.2)
|
20
25
|
aws-eventstream (1.2.0)
|
21
|
-
aws-sigv4 (1.
|
26
|
+
aws-sigv4 (1.6.1)
|
22
27
|
aws-eventstream (~> 1, >= 1.0.2)
|
28
|
+
base64 (0.1.1)
|
29
|
+
bigdecimal (3.1.4)
|
23
30
|
coderay (1.1.3)
|
24
31
|
colored2 (3.1.2)
|
25
|
-
concurrent-ruby (1.
|
32
|
+
concurrent-ruby (1.2.2)
|
26
33
|
confidante (0.28.0)
|
27
34
|
activesupport (>= 4)
|
28
35
|
hiera (~> 3.3)
|
29
36
|
shikashi (~> 0.6)
|
30
37
|
vault (~> 0.17)
|
38
|
+
connection_pool (2.4.1)
|
31
39
|
diff-lcs (1.5.0)
|
32
40
|
docile (1.4.0)
|
41
|
+
drb (2.1.1)
|
42
|
+
ruby2_keywords
|
33
43
|
evalhook (0.6.0)
|
34
44
|
partialruby (~> 0.3)
|
35
45
|
sexp_processor (~> 4.0)
|
36
|
-
excon (0.
|
37
|
-
faker (3.1
|
46
|
+
excon (0.104.0)
|
47
|
+
faker (3.2.1)
|
38
48
|
i18n (>= 1.8.11, < 2)
|
39
|
-
faraday (2.7.
|
49
|
+
faraday (2.7.11)
|
50
|
+
base64
|
40
51
|
faraday-net_http (>= 2.0, < 3.1)
|
41
52
|
ruby2_keywords (>= 0.0.4)
|
42
53
|
faraday-net_http (3.0.2)
|
43
|
-
ffi (1.
|
54
|
+
ffi (1.16.3)
|
44
55
|
formatador (1.1.0)
|
45
56
|
gem-release (2.2.2)
|
46
57
|
getsource (0.2.2)
|
47
|
-
|
58
|
+
git (1.18.0)
|
59
|
+
addressable (~> 2.8)
|
60
|
+
rchardet (~> 1.8)
|
61
|
+
guard (2.18.1)
|
48
62
|
formatador (>= 0.2.4)
|
49
63
|
listen (>= 2.7, < 4.0)
|
50
64
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -63,48 +77,61 @@ GEM
|
|
63
77
|
rubocop (< 2.0)
|
64
78
|
hamster (3.0.0)
|
65
79
|
concurrent-ruby (~> 1.0)
|
66
|
-
hiera (3.
|
67
|
-
i18n (1.
|
80
|
+
hiera (3.12.0)
|
81
|
+
i18n (1.14.1)
|
68
82
|
concurrent-ruby (~> 1.0)
|
69
83
|
immutable-struct (2.4.1)
|
70
84
|
json (2.6.3)
|
85
|
+
language_server-protocol (3.17.0.3)
|
71
86
|
lino (3.1.0)
|
72
87
|
hamster (~> 3.0)
|
73
88
|
open4 (~> 1.3)
|
74
|
-
listen (3.
|
89
|
+
listen (3.8.0)
|
75
90
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
76
91
|
rb-inotify (~> 0.9, >= 0.9.10)
|
77
|
-
lumberjack (1.2.
|
92
|
+
lumberjack (1.2.9)
|
78
93
|
method_source (1.0.0)
|
79
|
-
minitest (5.
|
94
|
+
minitest (5.20.0)
|
95
|
+
mutex_m (0.1.2)
|
80
96
|
nenv (0.3.0)
|
81
97
|
notiffany (0.1.3)
|
82
98
|
nenv (~> 0.1)
|
83
99
|
shellany (~> 0.0)
|
84
|
-
octokit (6.
|
100
|
+
octokit (6.1.1)
|
85
101
|
faraday (>= 1, < 3)
|
86
102
|
sawyer (~> 0.9)
|
87
103
|
open4 (1.3.4)
|
88
|
-
parallel (1.
|
89
|
-
parser (3.
|
104
|
+
parallel (1.23.0)
|
105
|
+
parser (3.2.2.4)
|
90
106
|
ast (~> 2.4.1)
|
107
|
+
racc
|
91
108
|
partialruby (0.3.0)
|
92
109
|
ruby2ruby (~> 2)
|
93
110
|
ruby_parser (~> 3)
|
94
|
-
pry (0.14.
|
111
|
+
pry (0.14.2)
|
95
112
|
coderay (~> 1.1)
|
96
113
|
method_source (~> 1.0)
|
97
|
-
public_suffix (5.0.
|
114
|
+
public_suffix (5.0.3)
|
115
|
+
racc (1.7.1)
|
98
116
|
rainbow (3.1.1)
|
99
|
-
rake (13.0
|
117
|
+
rake (13.1.0)
|
100
118
|
rake_circle_ci (0.11.0)
|
101
119
|
colored2 (~> 3.1)
|
102
120
|
excon (~> 0.72)
|
103
121
|
rake_factory (~> 0.23)
|
104
122
|
sshkey (~> 2.0)
|
105
|
-
rake_factory (0.
|
123
|
+
rake_factory (0.32.0.pre.2)
|
106
124
|
activesupport (>= 4)
|
107
125
|
rake (~> 13.0)
|
126
|
+
rake_git (0.1.0.pre.8)
|
127
|
+
colored2 (~> 3.1)
|
128
|
+
git (~> 1.13, >= 1.13.2)
|
129
|
+
rake_factory (= 0.32.0.pre.2)
|
130
|
+
rake_git_crypt (0.1.0.pre.27)
|
131
|
+
colored2 (~> 3.1)
|
132
|
+
rake_factory (= 0.32.0.pre.2)
|
133
|
+
ruby_git_crypt (= 0.1.0.pre.2)
|
134
|
+
ruby_gpg2 (~> 0.6)
|
108
135
|
rake_github (0.11.0)
|
109
136
|
colored2 (~> 3.1)
|
110
137
|
octokit (>= 4.16, < 7.0)
|
@@ -113,45 +140,53 @@ GEM
|
|
113
140
|
rake_gpg (0.18.0)
|
114
141
|
rake_factory (~> 0.23)
|
115
142
|
ruby_gpg2 (~> 0.6)
|
116
|
-
rake_ssh (0.
|
143
|
+
rake_ssh (0.10.0)
|
117
144
|
colored2 (~> 3.1)
|
118
145
|
rake_factory (~> 0.23)
|
119
146
|
sshkey (~> 2.0)
|
120
147
|
rb-fsevent (0.11.2)
|
121
148
|
rb-inotify (0.10.1)
|
122
149
|
ffi (~> 1.0)
|
123
|
-
|
124
|
-
|
150
|
+
rchardet (1.8.0)
|
151
|
+
regexp_parser (2.8.2)
|
152
|
+
rexml (3.2.6)
|
125
153
|
rspec (3.12.0)
|
126
154
|
rspec-core (~> 3.12.0)
|
127
155
|
rspec-expectations (~> 3.12.0)
|
128
156
|
rspec-mocks (~> 3.12.0)
|
129
|
-
rspec-core (3.12.
|
157
|
+
rspec-core (3.12.2)
|
130
158
|
rspec-support (~> 3.12.0)
|
131
|
-
rspec-expectations (3.12.
|
159
|
+
rspec-expectations (3.12.3)
|
132
160
|
diff-lcs (>= 1.2.0, < 2.0)
|
133
161
|
rspec-support (~> 3.12.0)
|
134
|
-
rspec-mocks (3.12.
|
162
|
+
rspec-mocks (3.12.6)
|
135
163
|
diff-lcs (>= 1.2.0, < 2.0)
|
136
164
|
rspec-support (~> 3.12.0)
|
137
|
-
rspec-support (3.12.
|
138
|
-
rubocop (1.
|
165
|
+
rspec-support (3.12.1)
|
166
|
+
rubocop (1.57.2)
|
139
167
|
json (~> 2.3)
|
168
|
+
language_server-protocol (>= 3.17.0)
|
140
169
|
parallel (~> 1.10)
|
141
|
-
parser (>= 3.
|
170
|
+
parser (>= 3.2.2.4)
|
142
171
|
rainbow (>= 2.2.2, < 4.0)
|
143
172
|
regexp_parser (>= 1.8, < 3.0)
|
144
173
|
rexml (>= 3.2.5, < 4.0)
|
145
|
-
rubocop-ast (>= 1.
|
174
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
146
175
|
ruby-progressbar (~> 1.7)
|
147
|
-
unicode-display_width (>=
|
148
|
-
rubocop-ast (1.
|
149
|
-
parser (>= 3.
|
176
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
177
|
+
rubocop-ast (1.30.0)
|
178
|
+
parser (>= 3.2.1.0)
|
179
|
+
rubocop-capybara (2.19.0)
|
180
|
+
rubocop (~> 1.41)
|
181
|
+
rubocop-factory_bot (2.24.0)
|
182
|
+
rubocop (~> 1.33)
|
150
183
|
rubocop-rake (0.6.0)
|
151
184
|
rubocop (~> 1.0)
|
152
|
-
rubocop-rspec (2.
|
153
|
-
rubocop (~> 1.
|
154
|
-
|
185
|
+
rubocop-rspec (2.25.0)
|
186
|
+
rubocop (~> 1.40)
|
187
|
+
rubocop-capybara (~> 2.17)
|
188
|
+
rubocop-factory_bot (~> 2.22)
|
189
|
+
ruby-progressbar (1.13.0)
|
155
190
|
ruby-terraform (1.7.0)
|
156
191
|
immutable-struct (~> 2.4)
|
157
192
|
lino (~> 3.0)
|
@@ -159,14 +194,17 @@ GEM
|
|
159
194
|
ruby2ruby (2.5.0)
|
160
195
|
ruby_parser (~> 3.1)
|
161
196
|
sexp_processor (~> 4.6)
|
197
|
+
ruby_git_crypt (0.1.0.pre.2)
|
198
|
+
immutable-struct (~> 2.4)
|
199
|
+
lino (~> 3.0)
|
162
200
|
ruby_gpg2 (0.10.0)
|
163
201
|
lino (~> 3.0)
|
164
|
-
ruby_parser (3.
|
202
|
+
ruby_parser (3.20.3)
|
165
203
|
sexp_processor (~> 4.16)
|
166
204
|
sawyer (0.9.2)
|
167
205
|
addressable (>= 2.3.5)
|
168
206
|
faraday (>= 0.17.3, < 3)
|
169
|
-
sexp_processor (4.
|
207
|
+
sexp_processor (4.17.0)
|
170
208
|
shellany (0.0.1)
|
171
209
|
shikashi (0.6.0)
|
172
210
|
evalhook (>= 0.6.0)
|
@@ -179,15 +217,16 @@ GEM
|
|
179
217
|
simplecov_json_formatter (0.1.4)
|
180
218
|
sshkey (2.0.0)
|
181
219
|
terminal-notifier-guard (1.7.0)
|
182
|
-
thor (1.
|
183
|
-
tzinfo (2.0.
|
220
|
+
thor (1.3.0)
|
221
|
+
tzinfo (2.0.6)
|
184
222
|
concurrent-ruby (~> 1.0)
|
185
|
-
unicode-display_width (2.
|
186
|
-
vault (0.
|
223
|
+
unicode-display_width (2.5.0)
|
224
|
+
vault (0.18.1)
|
187
225
|
aws-sigv4
|
188
226
|
|
189
227
|
PLATFORMS
|
190
228
|
arm64-darwin-21
|
229
|
+
ruby
|
191
230
|
x86_64-darwin-19
|
192
231
|
x86_64-linux
|
193
232
|
|
@@ -200,6 +239,8 @@ DEPENDENCIES
|
|
200
239
|
guard-rubocop
|
201
240
|
rake
|
202
241
|
rake_circle_ci
|
242
|
+
rake_git
|
243
|
+
rake_git_crypt
|
203
244
|
rake_github
|
204
245
|
rake_gpg
|
205
246
|
rake_ssh
|
@@ -211,4 +252,4 @@ DEPENDENCIES
|
|
211
252
|
terminal-notifier-guard
|
212
253
|
|
213
254
|
BUNDLED WITH
|
214
|
-
2.4.
|
255
|
+
2.4.17
|
data/Rakefile
CHANGED
@@ -1,19 +1,44 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'yaml'
|
4
3
|
require 'rake_circle_ci'
|
4
|
+
require 'rake_git'
|
5
|
+
require 'rake_git_crypt'
|
5
6
|
require 'rake_github'
|
6
|
-
require 'rake_ssh'
|
7
7
|
require 'rake_gpg'
|
8
|
-
require '
|
8
|
+
require 'rake_ssh'
|
9
9
|
require 'rspec/core/rake_task'
|
10
10
|
require 'rubocop/rake_task'
|
11
|
+
require 'securerandom'
|
12
|
+
require 'yaml'
|
11
13
|
|
12
14
|
task default: %i[
|
13
15
|
library:fix
|
14
16
|
test:unit
|
15
17
|
]
|
16
18
|
|
19
|
+
RakeGitCrypt.define_standard_tasks(
|
20
|
+
namespace: :git_crypt,
|
21
|
+
|
22
|
+
provision_secrets_task_name: :'secrets:provision',
|
23
|
+
destroy_secrets_task_name: :'secrets:destroy',
|
24
|
+
|
25
|
+
install_commit_task_name: :'git:commit',
|
26
|
+
uninstall_commit_task_name: :'git:commit',
|
27
|
+
|
28
|
+
gpg_user_key_paths: %w[
|
29
|
+
config/gpg
|
30
|
+
config/secrets/ci/gpg.public
|
31
|
+
]
|
32
|
+
)
|
33
|
+
|
34
|
+
namespace :git do
|
35
|
+
RakeGit.define_commit_task(
|
36
|
+
argument_names: [:message]
|
37
|
+
) do |t, args|
|
38
|
+
t.message = args.message
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
17
42
|
namespace :encryption do
|
18
43
|
namespace :directory do
|
19
44
|
desc 'Ensure CI secrets directory exists.'
|
@@ -23,10 +48,12 @@ namespace :encryption do
|
|
23
48
|
end
|
24
49
|
|
25
50
|
namespace :passphrase do
|
26
|
-
desc 'Generate encryption passphrase
|
51
|
+
desc 'Generate encryption passphrase for CI GPG key'
|
27
52
|
task generate: ['directory:ensure'] do
|
28
|
-
File.write(
|
29
|
-
|
53
|
+
File.write(
|
54
|
+
'config/secrets/ci/encryption.passphrase',
|
55
|
+
SecureRandom.base64(36)
|
56
|
+
)
|
30
57
|
end
|
31
58
|
end
|
32
59
|
end
|
@@ -39,24 +66,50 @@ namespace :keys do
|
|
39
66
|
)
|
40
67
|
end
|
41
68
|
|
42
|
-
namespace :
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
69
|
+
namespace :secrets do
|
70
|
+
namespace :gpg do
|
71
|
+
RakeGPG.define_generate_key_task(
|
72
|
+
output_directory: 'config/secrets/ci',
|
73
|
+
name_prefix: 'gpg',
|
74
|
+
owner_name: 'InfraBlocks Maintainers',
|
75
|
+
owner_email: 'maintainers@infrablocks.io',
|
76
|
+
owner_comment: 'rollo CI Key'
|
77
|
+
)
|
78
|
+
end
|
79
|
+
|
80
|
+
desc 'Generate key used by CI to access secrets.'
|
81
|
+
task generate: [:'gpg:generate']
|
50
82
|
end
|
51
83
|
end
|
52
84
|
|
53
85
|
namespace :secrets do
|
54
|
-
|
55
|
-
|
86
|
+
namespace :directory do
|
87
|
+
desc 'Ensure secrets directory exists and is set up correctly'
|
88
|
+
task :ensure do
|
89
|
+
FileUtils.mkdir_p('config/secrets')
|
90
|
+
unless File.exist?('config/secrets/.unlocked')
|
91
|
+
File.write('config/secrets/.unlocked', 'true')
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
desc 'Generate all generatable secrets.'
|
97
|
+
task generate: %w[
|
56
98
|
encryption:passphrase:generate
|
57
99
|
keys:deploy:generate
|
58
|
-
keys:
|
100
|
+
keys:secrets:generate
|
59
101
|
]
|
102
|
+
|
103
|
+
desc 'Provision all secrets.'
|
104
|
+
task provision: [:generate]
|
105
|
+
|
106
|
+
desc 'Delete all secrets.'
|
107
|
+
task :destroy do
|
108
|
+
rm_rf 'config/secrets'
|
109
|
+
end
|
110
|
+
|
111
|
+
desc 'Rotate all secrets.'
|
112
|
+
task rotate: [:'git_crypt:reinstall']
|
60
113
|
end
|
61
114
|
|
62
115
|
RuboCop::RakeTask.new
|
@@ -116,7 +169,6 @@ end
|
|
116
169
|
namespace :pipeline do
|
117
170
|
desc 'Prepare CircleCI Pipeline'
|
118
171
|
task prepare: %i[
|
119
|
-
circle_ci:project:follow
|
120
172
|
circle_ci:env_vars:ensure
|
121
173
|
circle_ci:checkout_keys:ensure
|
122
174
|
circle_ci:ssh_keys:ensure
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative '
|
4
|
-
require_relative '
|
5
|
-
require_relative '
|
6
|
-
require_relative '
|
7
|
-
require_relative '
|
8
|
-
require_relative '
|
9
|
-
require_relative '
|
10
|
-
require_relative '
|
11
|
-
require_relative '
|
12
|
-
require_relative '
|
3
|
+
require_relative 'actions/clean'
|
4
|
+
require_relative 'actions/validate'
|
5
|
+
require_relative 'actions/init'
|
6
|
+
require_relative 'actions/apply'
|
7
|
+
require_relative 'actions/destroy'
|
8
|
+
require_relative 'actions/plan'
|
9
|
+
require_relative 'actions/output'
|
10
|
+
require_relative 'actions/show'
|
11
|
+
require_relative 'actions/remove'
|
12
|
+
require_relative 'actions/execute_if_required'
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative '
|
4
|
-
require_relative '
|
5
|
-
require_relative '
|
6
|
-
require_relative '
|
7
|
-
require_relative '
|
3
|
+
require_relative 'helpers/apply'
|
4
|
+
require_relative 'helpers/destroy'
|
5
|
+
require_relative 'helpers/plan'
|
6
|
+
require_relative 'helpers/output'
|
7
|
+
require_relative 'helpers/var'
|
8
8
|
|
9
9
|
module RSpec
|
10
10
|
module Terraform
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative '
|
4
|
-
require_relative '
|
3
|
+
require_relative 'matchers/include_resource_change'
|
4
|
+
require_relative 'matchers/include_output_change'
|
5
5
|
|
6
6
|
module RSpec
|
7
7
|
module Terraform
|
data/rspec-terraform.gemspec
CHANGED
@@ -49,6 +49,8 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_development_dependency 'guard-rubocop'
|
50
50
|
spec.add_development_dependency 'rake'
|
51
51
|
spec.add_development_dependency 'rake_circle_ci'
|
52
|
+
spec.add_development_dependency 'rake_git'
|
53
|
+
spec.add_development_dependency 'rake_git_crypt'
|
52
54
|
spec.add_development_dependency 'rake_github'
|
53
55
|
spec.add_development_dependency 'rake_gpg'
|
54
56
|
spec.add_development_dependency 'rake_ssh'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0.pre.
|
4
|
+
version: 0.5.0.pre.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: confidante
|
@@ -164,6 +164,34 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake_git
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rake_git_crypt
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
196
|
name: rake_github
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|