terradactyl-terraform 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 414a5cd429ebeb337767f029ee5ffcaec14a61bbb471ae9dff8c063274d024be
4
- data.tar.gz: 8cbcace0c15a7da8f3e296c61550e64cee9a6e94cbd745ac30b45d93bb6318d9
3
+ metadata.gz: a2dfea5ec6c90e0702ac97ab7ded539f25449f5a740cfab11e9bebc8585abb7d
4
+ data.tar.gz: 5db7c1cd55112ec8c641dc46f12d29bbd05d3e3b210e445971feb899767f1558
5
5
  SHA512:
6
- metadata.gz: 8e189de12cfbe14a6fee652f46479b41af6de0631645242433ca319882518e6744d36213e0be01cd3284c9514c440d162c15d1f26f2132f468a87d2c8b47fa59
7
- data.tar.gz: 3679715a8b81dba0604aca3ab525f2b340233384320487e4fcba113479dd2b5446f8e1ffd69d0b7fbbec9d74ec2b84ff33f4292f30371c23de5e5457ac037496
6
+ metadata.gz: 4bc83ac367c5cec84be36508d98aef747699cf3eaa4e29bd0dbd4e56a64e8d9d8b57140c4f7d93e4533c59013fd81f595b3d960fc5e5f92ab586c6b96ccc194f
7
+ data.tar.gz: e25af71ba8475ea1ac53f876a67c8d9cf0ff57c72b4a5fb058b6830003069c6e95764a6db79252830ca23e212ba540a306701c47fec5213508a65f826f52361c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 1.8.1 (2025-04-17)
3
+ ## 1.8.2 (2024-04-24)
4
+ BUG FIX:
5
+ * fix unzipping TF versions > 1.8.2 (breaking distribution change [details](https://github.com/hashicorp/terraform/blob/v1.8.2/CHANGELOG.md#182-april-24-2024))
6
+
7
+ ## 1.8.1 (2024-04-17)
4
8
  NEW FEATURES:
5
9
  * add support for using latest Terraform 1.x minor version without an explicit implementation
6
10
  * update init, planfile, and destroy commands (add Rev1_latest)
@@ -8,7 +12,7 @@ NEW FEATURES:
8
12
  BUG FIX:
9
13
  * fix downloading TF versions < 1.0 on `arm64` architectures
10
14
 
11
- ## 1.8.0 (2025-04-10)
15
+ ## 1.8.0 (2024-04-10)
12
16
  NEW FEATURES:
13
17
  * add support for Terraform version `~> 1.8.0`
14
18
  * update init, planfile, and destroy commands (add Rev1_08)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Terradactyl
4
4
  module Terraform
5
- VERSION = '1.8.1'
5
+ VERSION = '1.8.2'
6
6
  end
7
7
  end
@@ -7,6 +7,7 @@ module Terradactyl
7
7
  include Package
8
8
 
9
9
  ERROR_CHECKSUM = 'FATAL: Calculated sum does not match published value!'
10
+ TERRAFORM_FILENAME = 'terraform'
10
11
 
11
12
  attr_accessor :version
12
13
 
@@ -52,7 +53,11 @@ module Terradactyl
52
53
  private
53
54
 
54
55
  def unzip(src, dst)
55
- Zip::File.open(src) { |arch| arch.each { |f| f.extract(dst) } }
56
+ Zip::File.open(src) do |arch|
57
+ arch.each do |f|
58
+ f.extract(dst) if f.name.include?(TERRAFORM_FILENAME)
59
+ end
60
+ end
56
61
  end
57
62
 
58
63
  def fetch
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terradactyl-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Warsing
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-19 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip