rake_terraform 1.24.0.pre.6 → 1.24.0.pre.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +64 -59
- data/Rakefile +1 -3
- data/lib/rake_terraform/task_sets/provider.rb +3 -1
- data/lib/rake_terraform/task_sets/terraform.rb +3 -1
- data/lib/rake_terraform/version.rb +1 -1
- data/rake_terraform.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffa17eb48af5b5617d031446580fc9f5a3c854fa921ae3745106f885dc3c5a2e
|
4
|
+
data.tar.gz: 4965eeee75717c967658e359786245de2dc3fdbc1c159b2faaf204cc428bf5db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68d16a4ccc6f4b5763d2195d07ba61fbf4252d511c37c35c67b0c9a6affce4f23049a88eca4ab21be874edfc13d95db36112cd04684163aa51e2c48ecba73424
|
7
|
+
data.tar.gz: 12b6877e788ad874d88082eee5629a88d81e07789ea6fa9ed3e5d4fe7ff6cf8e3be5a4a7e582e805959c8cc61c4374668a9512023188bb0f3013ac295dada601
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_terraform (1.24.0.pre.
|
4
|
+
rake_terraform (1.24.0.pre.8)
|
5
5
|
colored2 (~> 3.1)
|
6
|
-
rake_dependencies (
|
6
|
+
rake_dependencies (= 3.6.0.pre.6)
|
7
7
|
rake_factory (~> 0.23)
|
8
8
|
ruby-terraform (~> 1.4)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (7.1.
|
13
|
+
activesupport (7.1.3.3)
|
14
14
|
base64
|
15
15
|
bigdecimal
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -20,24 +20,23 @@ GEM
|
|
20
20
|
minitest (>= 5.1)
|
21
21
|
mutex_m
|
22
22
|
tzinfo (~> 2.0)
|
23
|
-
addressable (2.8.
|
23
|
+
addressable (2.8.6)
|
24
24
|
public_suffix (>= 2.0.2, < 6.0)
|
25
25
|
ast (2.4.2)
|
26
|
-
base64 (0.
|
27
|
-
bigdecimal (3.1.
|
26
|
+
base64 (0.2.0)
|
27
|
+
bigdecimal (3.1.8)
|
28
28
|
coderay (1.1.3)
|
29
29
|
colored2 (3.1.2)
|
30
|
-
concurrent-ruby (1.2.
|
30
|
+
concurrent-ruby (1.2.3)
|
31
31
|
connection_pool (2.4.1)
|
32
|
-
diff-lcs (1.5.
|
32
|
+
diff-lcs (1.5.1)
|
33
33
|
docile (1.4.0)
|
34
|
-
down (5.4.
|
34
|
+
down (5.4.2)
|
35
35
|
addressable (~> 2.8)
|
36
|
-
drb (2.
|
37
|
-
|
38
|
-
excon (0.104.0)
|
36
|
+
drb (2.2.1)
|
37
|
+
excon (0.110.0)
|
39
38
|
fakefs (2.5.0)
|
40
|
-
faraday (2.
|
39
|
+
faraday (2.8.1)
|
41
40
|
base64
|
42
41
|
faraday-net_http (>= 2.0, < 3.1)
|
43
42
|
ruby2_keywords (>= 0.0.4)
|
@@ -45,7 +44,7 @@ GEM
|
|
45
44
|
ffi (1.16.3)
|
46
45
|
formatador (1.1.0)
|
47
46
|
gem-release (2.2.2)
|
48
|
-
git (1.
|
47
|
+
git (1.19.1)
|
49
48
|
addressable (~> 2.8)
|
50
49
|
rchardet (~> 1.8)
|
51
50
|
guard (2.18.1)
|
@@ -64,47 +63,48 @@ GEM
|
|
64
63
|
rspec (>= 2.99.0, < 4.0)
|
65
64
|
hamster (3.0.0)
|
66
65
|
concurrent-ruby (~> 1.0)
|
67
|
-
i18n (1.14.
|
66
|
+
i18n (1.14.5)
|
68
67
|
concurrent-ruby (~> 1.0)
|
69
68
|
immutable-struct (2.4.1)
|
70
|
-
json (2.
|
69
|
+
json (2.7.2)
|
71
70
|
language_server-protocol (3.17.0.3)
|
72
71
|
lino (3.1.0)
|
73
72
|
hamster (~> 3.0)
|
74
73
|
open4 (~> 1.3)
|
75
|
-
listen (3.
|
74
|
+
listen (3.9.0)
|
76
75
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
77
76
|
rb-inotify (~> 0.9, >= 0.9.10)
|
78
|
-
lumberjack (1.2.
|
79
|
-
method_source (1.
|
77
|
+
lumberjack (1.2.10)
|
78
|
+
method_source (1.1.0)
|
80
79
|
minitar (0.9)
|
81
|
-
minitest (5.
|
82
|
-
mutex_m (0.
|
80
|
+
minitest (5.23.0)
|
81
|
+
mutex_m (0.2.0)
|
83
82
|
nenv (0.3.0)
|
84
83
|
notiffany (0.1.3)
|
85
84
|
nenv (~> 0.1)
|
86
85
|
shellany (~> 0.0)
|
87
|
-
octokit (
|
86
|
+
octokit (8.1.0)
|
87
|
+
base64
|
88
88
|
faraday (>= 1, < 3)
|
89
89
|
sawyer (~> 0.9)
|
90
90
|
open4 (1.3.4)
|
91
|
-
parallel (1.
|
92
|
-
parser (3.
|
91
|
+
parallel (1.24.0)
|
92
|
+
parser (3.3.1.0)
|
93
93
|
ast (~> 2.4.1)
|
94
94
|
racc
|
95
95
|
pry (0.14.2)
|
96
96
|
coderay (~> 1.1)
|
97
97
|
method_source (~> 1.0)
|
98
|
-
public_suffix (5.0.
|
99
|
-
racc (1.
|
98
|
+
public_suffix (5.0.5)
|
99
|
+
racc (1.8.0)
|
100
100
|
rainbow (3.1.1)
|
101
|
-
rake (13.1
|
101
|
+
rake (13.2.1)
|
102
102
|
rake_circle_ci (0.11.0)
|
103
103
|
colored2 (~> 3.1)
|
104
104
|
excon (~> 0.72)
|
105
105
|
rake_factory (~> 0.23)
|
106
106
|
sshkey (~> 2.0)
|
107
|
-
rake_dependencies (3.
|
107
|
+
rake_dependencies (3.6.0.pre.6)
|
108
108
|
down (~> 5.3)
|
109
109
|
hamster (~> 3.0)
|
110
110
|
minitar (~> 0.9)
|
@@ -113,18 +113,18 @@ GEM
|
|
113
113
|
rake_factory (0.32.0.pre.2)
|
114
114
|
activesupport (>= 4)
|
115
115
|
rake (~> 13.0)
|
116
|
-
rake_git (0.1.0.pre.
|
116
|
+
rake_git (0.1.0.pre.10)
|
117
117
|
colored2 (~> 3.1)
|
118
118
|
git (~> 1.13, >= 1.13.2)
|
119
119
|
rake_factory (= 0.32.0.pre.2)
|
120
|
-
rake_git_crypt (0.1.0.pre.
|
120
|
+
rake_git_crypt (0.1.0.pre.29)
|
121
121
|
colored2 (~> 3.1)
|
122
122
|
rake_factory (= 0.32.0.pre.2)
|
123
|
-
ruby_git_crypt (= 0.1.0.pre.
|
123
|
+
ruby_git_crypt (= 0.1.0.pre.4)
|
124
124
|
ruby_gpg2 (~> 0.6)
|
125
|
-
rake_github (0.
|
125
|
+
rake_github (0.13.0)
|
126
126
|
colored2 (~> 3.1)
|
127
|
-
octokit (>= 4.16, <
|
127
|
+
octokit (>= 4.16, < 9.0)
|
128
128
|
rake_factory (~> 0.23)
|
129
129
|
sshkey (~> 2.0)
|
130
130
|
rake_gpg (0.18.0)
|
@@ -135,53 +135,57 @@ GEM
|
|
135
135
|
rake_factory (~> 0.23)
|
136
136
|
sshkey (~> 2.0)
|
137
137
|
rb-fsevent (0.11.2)
|
138
|
-
rb-inotify (0.
|
138
|
+
rb-inotify (0.11.1)
|
139
139
|
ffi (~> 1.0)
|
140
140
|
rchardet (1.8.0)
|
141
|
-
regexp_parser (2.
|
142
|
-
rexml (3.2.
|
143
|
-
|
144
|
-
|
145
|
-
rspec-
|
146
|
-
rspec-
|
147
|
-
|
148
|
-
|
149
|
-
|
141
|
+
regexp_parser (2.9.2)
|
142
|
+
rexml (3.2.8)
|
143
|
+
strscan (>= 3.0.9)
|
144
|
+
rspec (3.13.0)
|
145
|
+
rspec-core (~> 3.13.0)
|
146
|
+
rspec-expectations (~> 3.13.0)
|
147
|
+
rspec-mocks (~> 3.13.0)
|
148
|
+
rspec-core (3.13.0)
|
149
|
+
rspec-support (~> 3.13.0)
|
150
|
+
rspec-expectations (3.13.0)
|
150
151
|
diff-lcs (>= 1.2.0, < 2.0)
|
151
|
-
rspec-support (~> 3.
|
152
|
-
rspec-mocks (3.
|
152
|
+
rspec-support (~> 3.13.0)
|
153
|
+
rspec-mocks (3.13.1)
|
153
154
|
diff-lcs (>= 1.2.0, < 2.0)
|
154
|
-
rspec-support (~> 3.
|
155
|
-
rspec-support (3.
|
156
|
-
rubocop (1.
|
155
|
+
rspec-support (~> 3.13.0)
|
156
|
+
rspec-support (3.13.1)
|
157
|
+
rubocop (1.63.5)
|
157
158
|
json (~> 2.3)
|
158
159
|
language_server-protocol (>= 3.17.0)
|
159
160
|
parallel (~> 1.10)
|
160
|
-
parser (>= 3.
|
161
|
+
parser (>= 3.3.0.2)
|
161
162
|
rainbow (>= 2.2.2, < 4.0)
|
162
163
|
regexp_parser (>= 1.8, < 3.0)
|
163
164
|
rexml (>= 3.2.5, < 4.0)
|
164
|
-
rubocop-ast (>= 1.
|
165
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
165
166
|
ruby-progressbar (~> 1.7)
|
166
167
|
unicode-display_width (>= 2.4.0, < 3.0)
|
167
|
-
rubocop-ast (1.
|
168
|
-
parser (>= 3.
|
169
|
-
rubocop-capybara (2.
|
168
|
+
rubocop-ast (1.31.3)
|
169
|
+
parser (>= 3.3.1.0)
|
170
|
+
rubocop-capybara (2.20.0)
|
171
|
+
rubocop (~> 1.41)
|
172
|
+
rubocop-factory_bot (2.25.1)
|
170
173
|
rubocop (~> 1.41)
|
171
|
-
rubocop-factory_bot (2.24.0)
|
172
|
-
rubocop (~> 1.33)
|
173
174
|
rubocop-rake (0.6.0)
|
174
175
|
rubocop (~> 1.0)
|
175
|
-
rubocop-rspec (2.
|
176
|
+
rubocop-rspec (2.29.2)
|
176
177
|
rubocop (~> 1.40)
|
177
178
|
rubocop-capybara (~> 2.17)
|
178
179
|
rubocop-factory_bot (~> 2.22)
|
180
|
+
rubocop-rspec_rails (~> 2.28)
|
181
|
+
rubocop-rspec_rails (2.28.3)
|
182
|
+
rubocop (~> 1.40)
|
179
183
|
ruby-progressbar (1.13.0)
|
180
184
|
ruby-terraform (1.7.0)
|
181
185
|
immutable-struct (~> 2.4)
|
182
186
|
lino (~> 3.0)
|
183
187
|
ruby2_keywords (0.0.5)
|
184
|
-
ruby_git_crypt (0.1.0.pre.
|
188
|
+
ruby_git_crypt (0.1.0.pre.4)
|
185
189
|
immutable-struct (~> 2.4)
|
186
190
|
lino (~> 3.0)
|
187
191
|
ruby_gpg2 (0.10.0)
|
@@ -198,11 +202,12 @@ GEM
|
|
198
202
|
simplecov-html (0.12.3)
|
199
203
|
simplecov_json_formatter (0.1.4)
|
200
204
|
sshkey (2.0.0)
|
201
|
-
|
205
|
+
strscan (3.1.0)
|
206
|
+
thor (1.3.1)
|
202
207
|
tzinfo (2.0.6)
|
203
208
|
concurrent-ruby (~> 1.0)
|
204
209
|
unicode-display_width (2.5.0)
|
205
|
-
yard (0.9.
|
210
|
+
yard (0.9.36)
|
206
211
|
|
207
212
|
PLATFORMS
|
208
213
|
ruby
|
data/Rakefile
CHANGED
@@ -171,7 +171,7 @@ end
|
|
171
171
|
RakeGithub.define_repository_tasks(
|
172
172
|
namespace: :github,
|
173
173
|
repository: 'infrablocks/rake_terraform'
|
174
|
-
) do |t
|
174
|
+
) do |t|
|
175
175
|
github_config =
|
176
176
|
YAML.load_file('config/secrets/github/config.yaml')
|
177
177
|
|
@@ -182,8 +182,6 @@ RakeGithub.define_repository_tasks(
|
|
182
182
|
public_key: File.read('config/secrets/ci/ssh.public')
|
183
183
|
}
|
184
184
|
]
|
185
|
-
t.branch_name = args.branch_name
|
186
|
-
t.commit_message = args.commit_message
|
187
185
|
end
|
188
186
|
|
189
187
|
namespace :pipeline do
|
@@ -53,6 +53,8 @@ module RakeTerraform
|
|
53
53
|
|
54
54
|
installation_directory: installation_directory,
|
55
55
|
|
56
|
+
logger: logger,
|
57
|
+
|
56
58
|
needs_fetch: needs_fetch
|
57
59
|
}
|
58
60
|
end
|
@@ -155,7 +157,7 @@ module RakeTerraform
|
|
155
157
|
end
|
156
158
|
|
157
159
|
def needs_fetch
|
158
|
-
@needs_fetch ||= ->(_) {
|
160
|
+
@needs_fetch ||= ->(_) { !exist?(binary) }
|
159
161
|
end
|
160
162
|
|
161
163
|
def exist?(binary)
|
@@ -50,6 +50,8 @@ module RakeTerraform
|
|
50
50
|
|
51
51
|
binary_directory: binary_directory,
|
52
52
|
|
53
|
+
logger: logger,
|
54
|
+
|
53
55
|
needs_fetch: needs_fetch
|
54
56
|
}
|
55
57
|
end
|
@@ -124,7 +126,7 @@ module RakeTerraform
|
|
124
126
|
end
|
125
127
|
|
126
128
|
def needs_fetch
|
127
|
-
@needs_fetch ||= ->(_) {
|
129
|
+
@needs_fetch ||= ->(_) { !exists_with_correct_version?(binary) }
|
128
130
|
end
|
129
131
|
|
130
132
|
def exists_with_correct_version?(binary)
|
data/rake_terraform.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.required_ruby_version = '>= 2.7'
|
39
39
|
|
40
40
|
spec.add_dependency 'colored2', '~> 3.1'
|
41
|
-
spec.add_dependency 'rake_dependencies', '
|
41
|
+
spec.add_dependency 'rake_dependencies', '3.6.0.pre.6'
|
42
42
|
spec.add_dependency 'rake_factory', '~> 0.23'
|
43
43
|
spec.add_dependency 'ruby-terraform', '~> 1.4'
|
44
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.24.0.pre.
|
4
|
+
version: 1.24.0.pre.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake_dependencies
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.6.0.pre.6
|
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
|
-
version:
|
40
|
+
version: 3.6.0.pre.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake_factory
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|