rake_terraform 1.24.0.pre.7 → 1.24.0.pre.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +58 -53
- data/lib/rake_terraform/task_sets/provider.rb +6 -2
- data/lib/rake_terraform/task_sets/terraform.rb +7 -3
- 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: 1ee83f701e16052eeaca8615334742ddc4627f98fc2830b983d0033d90d180cc
|
4
|
+
data.tar.gz: 3055035a7727c39b74bd4ba5d2e18bd4cdf4e62790cd4c8a91a849e43a63b267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a91f4fd15533ae73677ccafe72ce0c81e2ae61192a0cc632b8e055eadffe37b2964bc4334da36304fefd8028a67487c4c0b98b283435b347f0327cadc0f6b304
|
7
|
+
data.tar.gz: 8dd352781582f0bb36b52230020111a537fff46636068a4ee8edaf89528113ce7e43c474cfca23c8b2744c37576afb0b355e596872c9b06e68c9f5a93895dc4d
|
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.9)
|
5
5
|
colored2 (~> 3.1)
|
6
|
-
rake_dependencies (
|
6
|
+
rake_dependencies (= 3.6.0.pre.7)
|
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 (8.
|
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.7)
|
108
108
|
down (~> 5.3)
|
109
109
|
hamster (~> 3.0)
|
110
110
|
minitar (~> 0.9)
|
@@ -135,47 +135,51 @@ 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)
|
@@ -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
|
@@ -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
|
@@ -124,7 +126,9 @@ module RakeTerraform
|
|
124
126
|
x86_64: 'amd64',
|
125
127
|
x86: '386',
|
126
128
|
x64: 'amd64',
|
127
|
-
|
129
|
+
arm: 'arm',
|
130
|
+
arm64: 'arm64',
|
131
|
+
aarch64: 'arm64'
|
128
132
|
}
|
129
133
|
end
|
130
134
|
|
@@ -155,7 +159,7 @@ module RakeTerraform
|
|
155
159
|
end
|
156
160
|
|
157
161
|
def needs_fetch
|
158
|
-
@needs_fetch ||= ->(_) {
|
162
|
+
@needs_fetch ||= ->(_) { !exist?(binary) }
|
159
163
|
end
|
160
164
|
|
161
165
|
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
|
@@ -106,7 +108,9 @@ module RakeTerraform
|
|
106
108
|
x86_64: 'amd64',
|
107
109
|
x86: '386',
|
108
110
|
x64: 'amd64',
|
109
|
-
|
111
|
+
arm: 'arm',
|
112
|
+
arm64: 'arm64',
|
113
|
+
aarch64: 'arm64'
|
110
114
|
}
|
111
115
|
end
|
112
116
|
|
@@ -124,7 +128,7 @@ module RakeTerraform
|
|
124
128
|
end
|
125
129
|
|
126
130
|
def needs_fetch
|
127
|
-
@needs_fetch ||= ->(_) {
|
131
|
+
@needs_fetch ||= ->(_) { !exists_with_correct_version?(binary) }
|
128
132
|
end
|
129
133
|
|
130
134
|
def exists_with_correct_version?(binary)
|
@@ -171,7 +175,7 @@ module RakeTerraform
|
|
171
175
|
|
172
176
|
def log_version_information(result)
|
173
177
|
logger.info(
|
174
|
-
"Terraform version information is: \n#{result}"
|
178
|
+
"Terraform version information is: \n#{result.string}"
|
175
179
|
)
|
176
180
|
end
|
177
181
|
|
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.7'
|
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.9
|
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.7
|
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.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake_factory
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|