kitchen-dsc 0.2.2 → 0.2.3

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: 67b9cceaa9a2983ffa6615f701c8ab8f7a5b84e9
4
- data.tar.gz: dd66cf4436b80d2ffda047e18657236842edf45d
3
+ metadata.gz: d254d3dbbf50778bf30979b2eb6081b954c60910
4
+ data.tar.gz: 042dff4ac31ee1bc0c807485766715b54cbb5115
5
5
  SHA512:
6
- metadata.gz: c7f4fbcd82f80e4bb430dc89bbf94d781f70781bc7dbc9ccc01d20ff8b4abced2f2d4aed5729c39c0697d51d7393abfb84942971dcf7c4499690a76d85935d5f
7
- data.tar.gz: fc675bde7b34bf81fc8053274ae0dd9017adc76a3f531c73d7bce2c67d65c4e01dadbc72e8e9819f21585f7243c5e3644d848d22928f1398becbe3536554d316
6
+ metadata.gz: 5f914b5dbfe83dd6a90f8ec40c52ed9560324ca108a9b48f1775436defcdc349e26ced8911ee344a9ce192302e3fdda583134286bc3ca6cba1b0aaa45a66684b
7
+ data.tar.gz: 4bcc0777b07a3d50fc0e7ff87a4b4f12c99678e80f1340a20895b796fbd978460c1e1d92081ff209388f37292f4245ef1a8d718d13f0ae928ee9b81b1e1e9e3f
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Dsc
5
- VERSION = '0.2.2'
5
+ VERSION = '0.2.3'
6
6
  end
7
7
  end
@@ -189,14 +189,14 @@ module Kitchen
189
189
  end
190
190
 
191
191
  def sandboxed_configuration_script
192
- File.join('configuration', config[:configuration_script])
192
+ File.join('./configuration', config[:configuration_script])
193
193
  end
194
194
 
195
195
  def prepare_configuration_script
196
196
  configuration_script_file = File.join(config[:configuration_script_folder], config[:configuration_script])
197
197
  configuration_script_path = File.join(config[:kitchen_root], configuration_script_file)
198
198
  sandbox_configuration_script_path = File.join(sandbox_path, sandboxed_configuration_script)
199
-
199
+ FileUtils.mkdir_p(File.dirname(sandbox_configuration_script_path))
200
200
  debug("Moving #{configuration_script_path} to #{sandbox_configuration_script_path}")
201
201
  FileUtils.cp(configuration_script_path, sandbox_configuration_script_path)
202
202
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski