kitchen-terraform 4.1.0 → 4.1.1

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
  SHA256:
3
- metadata.gz: 5b18b16b234f4c155f86abbfd6684a10d3e43f3a637366fd53668c7e9cf5cd37
4
- data.tar.gz: 57a4bc4756f15ae663d72f7579ee4ed273cb17aaf3892f41fc8ca3d09b0b1e8b
3
+ metadata.gz: 79ce2705435a58ee12d82ba7b32f8a65e4af772d5d9acbb5097778876ed827e8
4
+ data.tar.gz: 9230772270bc048ca54b3b2ae6f99e34d6b9cd0095f2233f74163bc687bb94aa
5
5
  SHA512:
6
- metadata.gz: 19f5902df6a81a4d22f0f70bbdb42914cef15e66a0fbbf496055e39b224018ef905f7afdb7eb96840d7054830f030af96dece62655563c620b7ec8ba479058c5
7
- data.tar.gz: 10e5e6cca13be7abfe3b762b7c52331a55499c56198e346dcc703cb3a52e5056ca1846452945bc7d8be1de0e4a90ca88248d7043f6ed1647e43cf765ef339af6
6
+ metadata.gz: b5d4447b9a4a6acb2f0ac8350480d7c738196d43fa97a3f41ac2d9997e2489ea41fca77fde8bdc525bbd4f720d34b7cd9cf446627d84a3827813b23a195e58e5
7
+ data.tar.gz: 05adc213a57fd1c82bbc505dbd1ad8d5b32337058ba8a6b368ac2b213d491f6392839d42b213a858d5aecb9e943c658c9372af4e20407b7f0b8f0751174963f1
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -257,12 +257,14 @@ class ::Kitchen::Driver::Terraform < ::Kitchen::Driver::Base
257
257
  )
258
258
  end
259
259
 
260
- # Retrieves the Terraform state outputs.
260
+ # Retrieves the Terraform state outputs for a Kitchen instance by selecting the test workspace and fetching the
261
+ # outputs.
261
262
  #
262
263
  # @raise [::Kitchen::Terraform::Error] if the retrieval fails.
263
264
  # @return [void]
264
- # @yieldparam output [::String] the state output.
265
+ # @yieldparam output [::Hash] the state output.
265
266
  def retrieve_outputs(&block)
267
+ run_workspace_select_instance
266
268
  ::Kitchen::Terraform::Command::Output.run(
267
269
  options: {
268
270
  cwd: config_root_module_directory, live_stream: logger, timeout: config_command_timeout,
@@ -30,7 +30,7 @@ module ::Kitchen::Terraform::Command::Output
30
30
  # command.
31
31
  # @option options [::Integer] :timeout the maximum duration in seconds to run the command.
32
32
  # @param options [::Hash] options which adjust the execution of the command.
33
- # @yieldparam output [::String] the standard output of the command parsed as JSON.
33
+ # @yieldparam output [::Hash] the standard output of the command parsed as JSON.
34
34
  def run(options:, &block)
35
35
  run_shell_out(
36
36
  options: options,
@@ -72,7 +72,7 @@ module ::Kitchen::Terraform::Version
72
72
 
73
73
  # @api private
74
74
  def value
75
- self.value = ::Gem::Version.new "4.1.0" if not @value
75
+ self.value = ::Gem::Version.new "4.1.1" if not @value
76
76
  @value
77
77
  end
78
78
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Lane
@@ -57,7 +57,7 @@ cert_chain:
57
57
  BVaY4PA1920fVWRcwrNEzxNhWvlAlNCU9d63OhVIo1rD46E5/+fuWunp4ZyEJHIX
58
58
  lema55cN
59
59
  -----END CERTIFICATE-----
60
- date: 2018-12-10 00:00:00.000000000 Z
60
+ date: 2018-12-13 00:00:00.000000000 Z
61
61
  dependencies:
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: guard
metadata.gz.sig CHANGED
Binary file