veewee-to-packer 0.2.3 → 0.2.4

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.
@@ -143,6 +143,13 @@ module VeeweeToPacker
143
143
  kickstart_file.each do |single_file|
144
144
  kickstart_file_src = Pathname.new(File.expand_path(single_file, input_dir))
145
145
  kickstart_file_dest = http_dir.join(kickstart_file_src.basename)
146
+
147
+ if !kickstart_file_src.file?
148
+ raise Error, "The kickstart file below is specified in the definition but\n" +
149
+ "is a directory and not a file. The kickstart file list should be files.\n\n" +
150
+ kickstart_file_src.to_s
151
+ end
152
+
146
153
  FileUtils.cp(kickstart_file_src, kickstart_file_dest)
147
154
  end
148
155
 
@@ -1,3 +1,3 @@
1
1
  module VeeweeToPacker
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veewee-to-packer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-20 00:00:00.000000000 Z
12
+ date: 2013-08-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Converts Veewee templates to Packer templates.
15
15
  email: