veewee-to-packer 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -145,6 +145,13 @@ module VeeweeToPacker
145
145
  kickstart_file.each do |single_file|
146
146
  kickstart_file_src = Pathname.new(File.expand_path(single_file, input_dir))
147
147
  kickstart_file_dest = http_dir.join(kickstart_file_src.basename)
148
+
149
+
150
+ if kickstart_file_src.file?
151
+ raise Error, "The kickstart file below is specified in the definition but\n" +
152
+ "is a directory and not a file. The kickstart file list should be files."
153
+ end
154
+
148
155
  FileUtils.cp(kickstart_file_src, kickstart_file_dest)
149
156
  end
150
157
 
@@ -1,3 +1,3 @@
1
1
  module VeeweeToPacker
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.1
4
+ version: 0.2.2
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-07-19 00:00:00.000000000 Z
12
+ date: 2013-08-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Converts Veewee templates to Packer templates.
15
15
  email: