mux_tf 0.9.0 → 0.10.0

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: b79dc73fcdc056b82b415b35dbb624b69e70edf3bc6db7852d8e2ea06f95c1ce
4
- data.tar.gz: 119261f6a5f86ff78319cf411d1f24ff35f2c13262a427d3dd3ec990bd4fbd09
3
+ metadata.gz: 7674eca8a264df1e58d37be750bc5681a40c55ba1b47de8027ab77eda156c506
4
+ data.tar.gz: d0bd742e109563bd51420c19d66ab11a45947778f200dc24fb0e1a2869f4b556
5
5
  SHA512:
6
- metadata.gz: dce2287920bef8ea5eafd6b8565b7c2a7b6799ceb4514739a3aa7d7dc5fe0bcb840275824faf824294309b929a40698dc6203ed2755071238ed9008409865277
7
- data.tar.gz: 92da3b7540fee9234c8d2b9ecc2cb6b8a4027c8644549777417aff862a3babdb5f66deeb1bd815f7ef43abf256305f26602efe4c93308176a7023d92845125f2
6
+ metadata.gz: 5eeab6c9a70ab1e7124722c93e7bd6cbc0af3148902d6a3d9ab58436a352b41e6c16064c4d2881648060a063ad1fae212198acf4da64f9052403612e9fc9a136
7
+ data.tar.gz: 7231f4def9919e26f091f5d2c5ac343923345addb9d4b55c7cb6687f324c526b301f255937f86653ec83b087b7244684ac9f122d04db020fb79d44469c9e1c3b
@@ -70,12 +70,16 @@ module MuxTf
70
70
 
71
71
  private
72
72
 
73
+ def tf_base_command
74
+ ENV.fetch("MUX_TF_BASE_CMD", "terraform")
75
+ end
76
+
73
77
  def tf_prepare_command(args, need_auth:)
74
78
  if ENV["MUX_TF_AUTH_WRAPPER"] && need_auth
75
79
  words = Shellwords.shellsplit(ENV["MUX_TF_AUTH_WRAPPER"])
76
- [*words, "terraform", *args]
80
+ [*words, tf_base_command, *args]
77
81
  else
78
- ["terraform", *args]
82
+ [tf_base_command, *args]
79
83
  end
80
84
  end
81
85
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuxTf
4
- VERSION = "0.9.0"
4
+ VERSION = "0.10.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mux_tf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Banasik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-14 00:00:00.000000000 Z
11
+ date: 2023-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport