system-builder 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ class SystemBuilder::DiskSquashfsImage
32
32
  end
33
33
 
34
34
  def create_file
35
+ FileUtils::mkdir_p File.dirname(file)
35
36
  FileUtils::sh "dd if=/dev/zero of=#{file} count=#{size.in_megabytes.to_i} bs=1M"
36
37
  end
37
38
 
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module SystemBuilder
5
- VERSION = '0.0.15'
5
+ VERSION = '0.0.16'
6
6
 
7
7
  @@configurations = {}
8
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: system-builder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 15
10
- version: 0.0.15
9
+ - 16
10
+ version: 0.0.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alban Peignier