virtual_box 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.project +6 -0
- data/Gemfile +3 -2
- data/Gemfile.lock +6 -4
- data/README.markdown +1 -1
- data/VERSION +1 -1
- data/lib/virtual_box/cli.rb +22 -4
- data/lib/virtual_box/error.rb +25 -0
- data/lib/virtual_box/{dhcp.rb → net/dhcp.rb} +42 -39
- data/lib/virtual_box/net.rb +66 -20
- data/lib/virtual_box/version.rb +7 -7
- data/lib/virtual_box/vm/board.rb +3 -7
- data/lib/virtual_box/vm/disk.rb +2 -9
- data/lib/virtual_box/vm/io_bus.rb +4 -10
- data/lib/virtual_box/vm/nic.rb +0 -33
- data/lib/virtual_box/vm.rb +15 -39
- data/lib/virtual_box.rb +3 -2
- data/test/virtual_box/cli_test.rb +28 -8
- data/test/virtual_box/integration_test.rb +4 -5
- data/test/virtual_box/{dhcp_test.rb → net/dhcp_test.rb} +11 -18
- data/test/virtual_box/net_test.rb +60 -2
- data/test/virtual_box/version_test.rb +21 -21
- data/test/virtual_box/vm/board_test.rb +4 -4
- data/test/virtual_box/vm/disk_test.rb +11 -11
- data/test/virtual_box/vm/io_bus_test.rb +8 -8
- data/test/virtual_box/vm/nic_test.rb +3 -23
- data/test/virtual_box/vm_test.rb +6 -6
- data/virtual_box.gemspec +15 -11
- metadata +28 -11
data/virtual_box.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "virtual_box"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Victor Costan"]
|
12
|
-
s.date = "2012-05-
|
12
|
+
s.date = "2012-05-06"
|
13
13
|
s.description = "Drives the VirtualBox command-line to manage VMs"
|
14
14
|
s.email = "victor@costan.us"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -29,8 +29,9 @@ Gem::Specification.new do |s|
|
|
29
29
|
"VERSION",
|
30
30
|
"lib/virtual_box.rb",
|
31
31
|
"lib/virtual_box/cli.rb",
|
32
|
-
"lib/virtual_box/
|
32
|
+
"lib/virtual_box/error.rb",
|
33
33
|
"lib/virtual_box/net.rb",
|
34
|
+
"lib/virtual_box/net/dhcp.rb",
|
34
35
|
"lib/virtual_box/version.rb",
|
35
36
|
"lib/virtual_box/vm.rb",
|
36
37
|
"lib/virtual_box/vm/board.rb",
|
@@ -40,8 +41,8 @@ Gem::Specification.new do |s|
|
|
40
41
|
"test/helper.rb",
|
41
42
|
"test/tasks/tinycore.rake",
|
42
43
|
"test/virtual_box/cli_test.rb",
|
43
|
-
"test/virtual_box/dhcp_test.rb",
|
44
44
|
"test/virtual_box/integration_test.rb",
|
45
|
+
"test/virtual_box/net/dhcp_test.rb",
|
45
46
|
"test/virtual_box/net_test.rb",
|
46
47
|
"test/virtual_box/version_test.rb",
|
47
48
|
"test/virtual_box/vm/board_test.rb",
|
@@ -54,43 +55,46 @@ Gem::Specification.new do |s|
|
|
54
55
|
s.homepage = "http://github.com/csail/police"
|
55
56
|
s.licenses = ["MIT"]
|
56
57
|
s.require_paths = ["lib"]
|
57
|
-
s.rubygems_version = "1.8.
|
58
|
+
s.rubygems_version = "1.8.24"
|
58
59
|
s.summary = "VirtualBox driver"
|
59
60
|
|
60
61
|
if s.respond_to? :specification_version then
|
61
62
|
s.specification_version = 3
|
62
63
|
|
63
64
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
64
|
-
s.add_runtime_dependency(%q<
|
65
|
+
s.add_runtime_dependency(%q<posix-spawn>, [">= 0.3.6"])
|
65
66
|
s.add_runtime_dependency(%q<uuid>, [">= 2.3.5"])
|
66
67
|
s.add_development_dependency(%q<bundler>, [">= 1.1.3"])
|
67
68
|
s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
|
68
69
|
s.add_development_dependency(%q<minitest>, [">= 2.12.1"])
|
69
70
|
s.add_development_dependency(%q<mocha>, [">= 0.11.0"])
|
70
71
|
s.add_development_dependency(%q<net-ssh>, [">= 2.3.0"])
|
72
|
+
s.add_development_dependency(%q<redcarpet>, [">= 2.1.1"])
|
71
73
|
s.add_development_dependency(%q<simplecov>, [">= 0.6.1"])
|
72
|
-
s.add_development_dependency(%q<yard>, [">= 0.
|
74
|
+
s.add_development_dependency(%q<yard>, [">= 0.8.1"])
|
73
75
|
else
|
74
|
-
s.add_dependency(%q<
|
76
|
+
s.add_dependency(%q<posix-spawn>, [">= 0.3.6"])
|
75
77
|
s.add_dependency(%q<uuid>, [">= 2.3.5"])
|
76
78
|
s.add_dependency(%q<bundler>, [">= 1.1.3"])
|
77
79
|
s.add_dependency(%q<jeweler>, [">= 1.8.3"])
|
78
80
|
s.add_dependency(%q<minitest>, [">= 2.12.1"])
|
79
81
|
s.add_dependency(%q<mocha>, [">= 0.11.0"])
|
80
82
|
s.add_dependency(%q<net-ssh>, [">= 2.3.0"])
|
83
|
+
s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
|
81
84
|
s.add_dependency(%q<simplecov>, [">= 0.6.1"])
|
82
|
-
s.add_dependency(%q<yard>, [">= 0.
|
85
|
+
s.add_dependency(%q<yard>, [">= 0.8.1"])
|
83
86
|
end
|
84
87
|
else
|
85
|
-
s.add_dependency(%q<
|
88
|
+
s.add_dependency(%q<posix-spawn>, [">= 0.3.6"])
|
86
89
|
s.add_dependency(%q<uuid>, [">= 2.3.5"])
|
87
90
|
s.add_dependency(%q<bundler>, [">= 1.1.3"])
|
88
91
|
s.add_dependency(%q<jeweler>, [">= 1.8.3"])
|
89
92
|
s.add_dependency(%q<minitest>, [">= 2.12.1"])
|
90
93
|
s.add_dependency(%q<mocha>, [">= 0.11.0"])
|
91
94
|
s.add_dependency(%q<net-ssh>, [">= 2.3.0"])
|
95
|
+
s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
|
92
96
|
s.add_dependency(%q<simplecov>, [">= 0.6.1"])
|
93
|
-
s.add_dependency(%q<yard>, [">= 0.
|
97
|
+
s.add_dependency(%q<yard>, [">= 0.8.1"])
|
94
98
|
end
|
95
99
|
end
|
96
100
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virtual_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,16 +9,16 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: posix-spawn
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.3.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.3.6
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: uuid
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,6 +123,22 @@ dependencies:
|
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: 2.3.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: redcarpet
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 2.1.1
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.1.1
|
126
142
|
- !ruby/object:Gem::Dependency
|
127
143
|
name: simplecov
|
128
144
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +162,7 @@ dependencies:
|
|
146
162
|
requirements:
|
147
163
|
- - ! '>='
|
148
164
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.
|
165
|
+
version: 0.8.1
|
150
166
|
type: :development
|
151
167
|
prerelease: false
|
152
168
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -154,7 +170,7 @@ dependencies:
|
|
154
170
|
requirements:
|
155
171
|
- - ! '>='
|
156
172
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.
|
173
|
+
version: 0.8.1
|
158
174
|
description: Drives the VirtualBox command-line to manage VMs
|
159
175
|
email: victor@costan.us
|
160
176
|
executables: []
|
@@ -175,8 +191,9 @@ files:
|
|
175
191
|
- VERSION
|
176
192
|
- lib/virtual_box.rb
|
177
193
|
- lib/virtual_box/cli.rb
|
178
|
-
- lib/virtual_box/
|
194
|
+
- lib/virtual_box/error.rb
|
179
195
|
- lib/virtual_box/net.rb
|
196
|
+
- lib/virtual_box/net/dhcp.rb
|
180
197
|
- lib/virtual_box/version.rb
|
181
198
|
- lib/virtual_box/vm.rb
|
182
199
|
- lib/virtual_box/vm/board.rb
|
@@ -186,8 +203,8 @@ files:
|
|
186
203
|
- test/helper.rb
|
187
204
|
- test/tasks/tinycore.rake
|
188
205
|
- test/virtual_box/cli_test.rb
|
189
|
-
- test/virtual_box/dhcp_test.rb
|
190
206
|
- test/virtual_box/integration_test.rb
|
207
|
+
- test/virtual_box/net/dhcp_test.rb
|
191
208
|
- test/virtual_box/net_test.rb
|
192
209
|
- test/virtual_box/version_test.rb
|
193
210
|
- test/virtual_box/vm/board_test.rb
|
@@ -211,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
228
|
version: '0'
|
212
229
|
segments:
|
213
230
|
- 0
|
214
|
-
hash: -
|
231
|
+
hash: -3995801418779294892
|
215
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
233
|
none: false
|
217
234
|
requirements:
|
@@ -220,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
237
|
version: '0'
|
221
238
|
requirements: []
|
222
239
|
rubyforge_project:
|
223
|
-
rubygems_version: 1.8.
|
240
|
+
rubygems_version: 1.8.24
|
224
241
|
signing_key:
|
225
242
|
specification_version: 3
|
226
243
|
summary: VirtualBox driver
|