ruby-terraform 0.7.0 → 0.8.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72ff9e4da7ec2ba6ac9aab11d040b4009d188e9e
4
- data.tar.gz: c846397f7b6bfe9244c8dc4cd641775efd299ad0
3
+ metadata.gz: dfb6efdd6ed625fd883c7766286c773998b311fc
4
+ data.tar.gz: 347e952ddabd763e7123f0ba3c97339f3b50a5ec
5
5
  SHA512:
6
- metadata.gz: a494a6817091804ff9964b7e8be59df3d4e35c7d23c93b12c154dbc6cd57317e10e219960031b37f9078697d3133b632fcdc055e590a0e932d326db577b3f846
7
- data.tar.gz: bb37a628e4fa40e5093468d32f5f1534e87682d586081afff3d386ed70ccc099124dbd26c9c8e6677e70d7de28fc0512344d440e8bdf0aedeb57332f74fe16bb
6
+ metadata.gz: 7301719aafb260f3e1ef2ce397749d77132b5069d0ba759e4b792a6f6b50081aaa176d313c4e9abd30cfd3f2d0729aa11de2bade0c83f587588345e9286aab9a
7
+ data.tar.gz: 566f94645a0a6e292de8b886269e57b442c43578bf08c78f3e57852c19dc22da4dc07e98da3004280300195f117789c6bfdfd360c7cc72766bd203b86022cc01
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-terraform (0.7.0)
4
+ ruby-terraform (0.8.0)
5
5
  lino (~> 1.1)
6
6
 
7
7
  GEM
@@ -7,6 +7,7 @@ module RubyTerraform
7
7
  def configure_command(builder, opts)
8
8
  directory = opts[:directory]
9
9
  vars = opts[:vars] || {}
10
+ var_file = opts[:var_file]
10
11
  state = opts[:state]
11
12
  no_backup = opts[:no_backup]
12
13
  backup = no_backup ? '-' : opts[:backup]
@@ -17,6 +18,7 @@ module RubyTerraform
17
18
  vars.each do |key, value|
18
19
  sub = sub.with_option('-var', "'#{key}=#{value}'", separator: ' ')
19
20
  end
21
+ sub = sub.with_option('-var-file', var_file) if var_file
20
22
  sub = sub.with_option('-state', state) if state
21
23
  sub = sub.with_option('-backup', backup) if backup
22
24
  sub = sub.with_flag('-no-color') if no_color
@@ -26,4 +28,4 @@ module RubyTerraform
26
28
  end
27
29
  end
28
30
  end
29
- end
31
+ end
@@ -7,6 +7,7 @@ module RubyTerraform
7
7
  def configure_command(builder, opts)
8
8
  directory = opts[:directory]
9
9
  vars = opts[:vars] || {}
10
+ var_file = opts[:var_file]
10
11
  state = opts[:state]
11
12
  force = opts[:force]
12
13
  no_backup = opts[:no_backup]
@@ -18,6 +19,7 @@ module RubyTerraform
18
19
  vars.each do |key, value|
19
20
  sub = sub.with_option('-var', "'#{key}=#{value}'", separator: ' ')
20
21
  end
22
+ sub = sub.with_option('-var-file', var_file) if var_file
21
23
  sub = sub.with_option('-state', state) if state
22
24
  sub = sub.with_option('-backup', backup) if backup
23
25
  sub = sub.with_flag('-no-color') if no_color
@@ -28,4 +30,4 @@ module RubyTerraform
28
30
  end
29
31
  end
30
32
  end
31
- end
33
+ end
@@ -7,6 +7,7 @@ module RubyTerraform
7
7
  def configure_command(builder, opts)
8
8
  directory = opts[:directory]
9
9
  vars = opts[:vars] || {}
10
+ var_file = opts[:var_file]
10
11
  state = opts[:state]
11
12
  plan = opts[:plan]
12
13
  destroy = opts[:destroy]
@@ -17,6 +18,7 @@ module RubyTerraform
17
18
  vars.each do |key, value|
18
19
  sub = sub.with_option('-var', "'#{key}=#{value}'", separator: ' ')
19
20
  end
21
+ sub = sub.with_option('-var-file', var_file) if var_file
20
22
  sub = sub.with_option('-state', state) if state
21
23
  sub = sub.with_option('-out', plan) if plan
22
24
  sub = sub.with_flag('-destroy') if destroy
@@ -27,4 +29,4 @@ module RubyTerraform
27
29
  end
28
30
  end
29
31
  end
30
- end
32
+ end
@@ -1,3 +1,3 @@
1
1
  module RubyTerraform
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson