kitchen-dsc 0.2.1 → 0.2.2

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: cbdc72a0f521e5abe0d1b7cf6542ba91291638df
4
- data.tar.gz: bfbe7121c4af6a821bbe3bdce965c76e9b7e261b
3
+ metadata.gz: 67b9cceaa9a2983ffa6615f701c8ab8f7a5b84e9
4
+ data.tar.gz: dd66cf4436b80d2ffda047e18657236842edf45d
5
5
  SHA512:
6
- metadata.gz: 336d5e4fbfb3aed04b1e587fd36b56401d15fa9df576141a657ae2b5b287693acdbd57388665d6a393e0a7face235382a87e3b1f6f100855eacd7821a6f640f9
7
- data.tar.gz: ae44374bc4a0573196af77417d4405956701e3ef8b51e7b79b75afb57b6a1a049cd43518283a9316367dc620156f51481933edad8b7cc75f07c5da09cedc071e
6
+ metadata.gz: c7f4fbcd82f80e4bb430dc89bbf94d781f70781bc7dbc9ccc01d20ff8b4abced2f2d4aed5729c39c0697d51d7393abfb84942971dcf7c4499690a76d85935d5f
7
+ data.tar.gz: fc675bde7b34bf81fc8053274ae0dd9017adc76a3f531c73d7bce2c67d65c4e01dadbc72e8e9819f21585f7243c5e3644d848d22928f1398becbe3536554d316
@@ -113,7 +113,7 @@ module Kitchen
113
113
  {
114
114
  mkdir 'c:/configurations' | out-null
115
115
  }
116
- $ConfigurationScriptPath = Join-path #{config[:root_path]} #{config[:configuration_script]}
116
+ $ConfigurationScriptPath = Join-path #{config[:root_path]} #{sandboxed_configuration_script}
117
117
  if (-not (test-path $ConfigurationScriptPath))
118
118
  {
119
119
  throw "Failed to find $ConfigurationScriptPath"
@@ -188,10 +188,14 @@ module Kitchen
188
188
  FileUtils.cp_r(module_path, sandbox_module_path)
189
189
  end
190
190
 
191
+ def sandboxed_configuration_script
192
+ File.join('configuration', config[:configuration_script])
193
+ end
194
+
191
195
  def prepare_configuration_script
192
196
  configuration_script_file = File.join(config[:configuration_script_folder], config[:configuration_script])
193
197
  configuration_script_path = File.join(config[:kitchen_root], configuration_script_file)
194
- sandbox_configuration_script_path = File.join(sandbox_path, config[:configuration_script])
198
+ sandbox_configuration_script_path = File.join(sandbox_path, sandboxed_configuration_script)
195
199
 
196
200
  debug("Moving #{configuration_script_path} to #{sandbox_configuration_script_path}")
197
201
  FileUtils.cp(configuration_script_path, sandbox_configuration_script_path)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Dsc
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |+
14
14
  == DESCRIPTION: