multidisk-boxgrinder-plugin 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake'
6
6
  require 'jeweler'
7
7
  Jeweler::Tasks.new do |gem|
8
8
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
9
- gem.version = '0.1.2'
9
+ gem.version = '0.1.3'
10
10
  gem.name = "multidisk-boxgrinder-plugin"
11
11
  gem.homepage = "http://github.com/rubiojr/multidisk-boxgrinder-plugin"
12
12
  gem.license = "MIT"
@@ -7,10 +7,12 @@ module BoxGrinder
7
7
 
8
8
  def after_init
9
9
  register_deliverable(:vmdk_sparse => "#{@appliance_config.name}-sparse.vmdk")
10
- register_deliverable(:vmdk_stream => "#{@appliance_config.name}-streamoptimized.vmdk")
11
- register_deliverable(:vhd => "#{@appliance_config.name}.vhd")
12
10
  register_deliverable(:qcow_sparse => "#{@appliance_config.name}-sparse.qcow2")
13
11
  register_deliverable(:qcow_compressed => "#{@appliance_config.name}-compressed.qcow2")
12
+ if !`which VBoxManage`.empty?
13
+ register_deliverable(:vmdk_stream => "#{@appliance_config.name}-streamoptimized.vmdk")
14
+ register_deliverable(:vhd => "#{@appliance_config.name}.vhd")
15
+ end
14
16
  end
15
17
 
16
18
  def execute
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multidisk-boxgrinder-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: boxgrinder-build
16
- requirement: &16668060 !ruby/object:Gem::Requirement
16
+ requirement: &8406580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0.10'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16668060
24
+ version_requirements: *8406580
25
25
  description: BoxGrinder plugin to convert raw images to VMDK Stream Optimize
26
26
  email: rubiojr@frameos.org
27
27
  executables: []