multidisk-boxgrinder-plugin 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/multidisk-boxgrinder-plugin.rb +4 -0
- metadata +29 -50
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.
|
9
|
+
gem.version = '0.1.2'
|
10
10
|
gem.name = "multidisk-boxgrinder-plugin"
|
11
11
|
gem.homepage = "http://github.com/rubiojr/multidisk-boxgrinder-plugin"
|
12
12
|
gem.license = "MIT"
|
@@ -8,6 +8,7 @@ module BoxGrinder
|
|
8
8
|
def after_init
|
9
9
|
register_deliverable(:vmdk_sparse => "#{@appliance_config.name}-sparse.vmdk")
|
10
10
|
register_deliverable(:vmdk_stream => "#{@appliance_config.name}-streamoptimized.vmdk")
|
11
|
+
register_deliverable(:vhd => "#{@appliance_config.name}.vhd")
|
11
12
|
register_deliverable(:qcow_sparse => "#{@appliance_config.name}-sparse.qcow2")
|
12
13
|
register_deliverable(:qcow_compressed => "#{@appliance_config.name}-compressed.qcow2")
|
13
14
|
end
|
@@ -28,7 +29,10 @@ module BoxGrinder
|
|
28
29
|
@log.error "VBoxManage binary not found in your path, skipping VMDK Stream format."
|
29
30
|
else
|
30
31
|
@log.info "Using VBoxManage to convert the image..."
|
32
|
+
@log.info "Converting to VMDK..."
|
31
33
|
@exec_helper.execute "VBoxManage clonehd --format VMDK --variant Stream '#{@deliverables.vmdk_sparse}' '#{@deliverables.vmdk_stream}'"
|
34
|
+
@log.info "Converting to VHD..."
|
35
|
+
@exec_helper.execute "VBoxManage clonehd --format VHD '#{@deliverables.vmdk_sparse}' '#{@deliverables.vhd}'"
|
32
36
|
end
|
33
37
|
|
34
38
|
@log.info "Conversions done."
|
metadata
CHANGED
@@ -1,83 +1,62 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: multidisk-boxgrinder-plugin
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 1
|
10
|
-
version: 0.1.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Sergio Rubio
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-04-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: boxgrinder-build
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &16668060 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 10
|
32
|
-
version: "0.10"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.10'
|
33
22
|
type: :runtime
|
34
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *16668060
|
35
25
|
description: BoxGrinder plugin to convert raw images to VMDK Stream Optimize
|
36
26
|
email: rubiojr@frameos.org
|
37
27
|
executables: []
|
38
|
-
|
39
28
|
extensions: []
|
40
|
-
|
41
|
-
extra_rdoc_files:
|
29
|
+
extra_rdoc_files:
|
42
30
|
- LICENSE.txt
|
43
31
|
- README.md
|
44
|
-
files:
|
32
|
+
files:
|
45
33
|
- LICENSE.txt
|
46
34
|
- README.md
|
47
35
|
- Rakefile
|
48
36
|
- lib/multidisk-boxgrinder-plugin.rb
|
49
37
|
homepage: http://github.com/rubiojr/multidisk-boxgrinder-plugin
|
50
|
-
licenses:
|
38
|
+
licenses:
|
51
39
|
- MIT
|
52
40
|
post_install_message:
|
53
41
|
rdoc_options: []
|
54
|
-
|
55
|
-
require_paths:
|
42
|
+
require_paths:
|
56
43
|
- lib
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
45
|
none: false
|
59
|
-
requirements:
|
60
|
-
- -
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
|
63
|
-
|
64
|
-
- 0
|
65
|
-
version: "0"
|
66
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
51
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
version: "0"
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
75
56
|
requirements: []
|
76
|
-
|
77
57
|
rubyforge_project:
|
78
|
-
rubygems_version: 1.8.
|
58
|
+
rubygems_version: 1.8.17
|
79
59
|
signing_key:
|
80
60
|
specification_version: 3
|
81
61
|
summary: BoxGrinder plugin to convert raw images to VMDK Stream Optimize
|
82
62
|
test_files: []
|
83
|
-
|