terraform-wrapper 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/terraform-wrapper/tasks/binary.rb +5 -7
- data/lib/terraform-wrapper/version.rb +1 -1
- data/terraform-wrapper.gemspec +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 396b440e7aa8c426cd54846db62df689f760cb48b6a7fabeb8c0e8d28a49c950
|
4
|
+
data.tar.gz: 845ed83f74fd667731939aacb62e461af6f90e33adadb55f0ef06ac2d826e1c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 450d625fe1b8c81158295caffaa2098ecf11b20592fec7a5c46fa606e40b3af873f3a7b0976ea224eb4a461032c662511a4a057cda983dff84f2d70f494866e8
|
7
|
+
data.tar.gz: 6e3eec9c6b46eb9d624626abb502d17f6a29d46d3863ebec6090cdaa58a4920290729ce7291de46be8ed95767595655e489a929952de0834136e5c700361e4e9
|
@@ -60,7 +60,7 @@ module TerraformWrapper
|
|
60
60
|
download(path: archive_path, uri: archive_uri) unless File.file?(archive_path)
|
61
61
|
download(path: sums_path, uri: sums_uri) unless File.file?(sums_path)
|
62
62
|
verify(file: archive_file, path: archive_path, sums: sums_path)
|
63
|
-
extract(archive: archive_path, binary: archive_binary, destination: @binary.
|
63
|
+
extract(archive: archive_path, binary: archive_binary, destination: @binary.directory)
|
64
64
|
ensure
|
65
65
|
clean(archive: archive_path, sums: sums_path)
|
66
66
|
end
|
@@ -133,14 +133,12 @@ module TerraformWrapper
|
|
133
133
|
logger.info("Extracting: #{archive}")
|
134
134
|
|
135
135
|
Zip::File.open(archive) do |zip|
|
136
|
-
|
137
|
-
zip.extract(
|
136
|
+
begin
|
137
|
+
zip.extract(binary, destination_directory: destination)
|
138
|
+
rescue StandardError
|
139
|
+
logger.fatal("Extraction of Terraform binary: #{binary}, from archive: #{archive} has failed!")
|
138
140
|
end
|
139
141
|
end
|
140
|
-
|
141
|
-
return if File.file?(destination)
|
142
|
-
|
143
|
-
logger.fatal("Extraction of Terraform binary: #{binary}, from archive: #{archive} has failed!")
|
144
142
|
end
|
145
143
|
|
146
144
|
#########################################################################
|
data/terraform-wrapper.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraform-wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Lees
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rake
|
@@ -30,14 +29,14 @@ dependencies:
|
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
32
|
+
version: '3.0'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
39
|
+
version: '3.0'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rspec
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,7 +111,6 @@ licenses:
|
|
112
111
|
metadata:
|
113
112
|
homepage_uri: https://gitlab.com/bitservices/ruby/terraform-wrapper/
|
114
113
|
source_code_uri: https://gitlab.com/bitservices/ruby/terraform-wrapper/
|
115
|
-
post_install_message:
|
116
114
|
rdoc_options: []
|
117
115
|
require_paths:
|
118
116
|
- lib
|
@@ -127,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
125
|
- !ruby/object:Gem::Version
|
128
126
|
version: '0'
|
129
127
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
131
|
-
signing_key:
|
128
|
+
rubygems_version: 3.6.9
|
132
129
|
specification_version: 4
|
133
130
|
summary: A ruby wrapper for managing Terraform binaries and remote state.
|
134
131
|
test_files: []
|