virtualbox 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.gitignore +2 -1
  2. data/Gemfile +3 -12
  3. data/Rakefile +36 -4
  4. data/features/support/env.rb +0 -1
  5. data/lib/virtualbox/abstract_model/attributable.rb +1 -1
  6. data/lib/virtualbox/abstract_model/dirty.rb +2 -2
  7. data/lib/virtualbox/abstract_model.rb +1 -1
  8. data/lib/virtualbox/com/ffi/vboxxpcomc.rb +2 -2
  9. data/lib/virtualbox/com/interface/3.1.x/access_mode.rb +11 -0
  10. data/lib/virtualbox/com/interface/3.1.x/machine.rb +1 -1
  11. data/lib/virtualbox/com/interface/3.1.x/virtualbox.rb +1 -1
  12. data/lib/virtualbox/com/interface/3.2.x/access_mode.rb +11 -0
  13. data/lib/virtualbox/com/interface/3.2.x/machine.rb +1 -1
  14. data/lib/virtualbox/com/interface/3.2.x/virtualbox.rb +1 -1
  15. data/lib/virtualbox/ext/platform.rb +4 -0
  16. data/lib/virtualbox/lib.rb +2 -0
  17. data/lib/virtualbox/version.rb +2 -0
  18. data/test/test_helper.rb +1 -10
  19. data/test/virtualbox/abstract_model/attributable_test.rb +1 -1
  20. data/test/virtualbox/abstract_model/dirty_test.rb +2 -2
  21. data/test/virtualbox/abstract_model/interface_attributes_test.rb +1 -1
  22. data/test/virtualbox/abstract_model/relatable_test.rb +1 -1
  23. data/test/virtualbox/abstract_model/validatable_test.rb +2 -2
  24. data/test/virtualbox/abstract_model/version_matcher_test.rb +1 -1
  25. data/test/virtualbox/abstract_model_test.rb +2 -1
  26. data/test/virtualbox/appliance_test.rb +1 -1
  27. data/test/virtualbox/audio_adapter_test.rb +2 -2
  28. data/test/virtualbox/bios_test.rb +2 -2
  29. data/test/virtualbox/com/abstract_enum_test.rb +2 -2
  30. data/test/virtualbox/com/abstract_implementer_test.rb +1 -1
  31. data/test/virtualbox/com/abstract_interface_test.rb +1 -1
  32. data/test/virtualbox/com/ffi/interface_test.rb +2 -2
  33. data/test/virtualbox/com/ffi/util_test.rb +2 -2
  34. data/test/virtualbox/com/ffi_interface_test.rb +2 -2
  35. data/test/virtualbox/com/implementer/base_test.rb +1 -1
  36. data/test/virtualbox/com/implementer/ffi_test.rb +2 -2
  37. data/test/virtualbox/com/implementer/mscom_test.rb +5 -10
  38. data/test/virtualbox/com/mscom_interface_test.rb +2 -2
  39. data/test/virtualbox/com/util_test.rb +2 -2
  40. data/test/virtualbox/cpu_test.rb +2 -2
  41. data/test/virtualbox/dhcp_server_test.rb +1 -1
  42. data/test/virtualbox/dvd_test.rb +2 -2
  43. data/test/virtualbox/ext/byte_normalizer_test.rb +2 -2
  44. data/test/virtualbox/ext/platform_test.rb +2 -2
  45. data/test/virtualbox/ext/subclass_listing_test.rb +2 -2
  46. data/test/virtualbox/extra_data_test.rb +1 -1
  47. data/test/virtualbox/forwarded_port_test.rb +1 -1
  48. data/test/virtualbox/global_test.rb +2 -2
  49. data/test/virtualbox/hard_drive_test.rb +1 -1
  50. data/test/virtualbox/host_network_interface_test.rb +1 -1
  51. data/test/virtualbox/host_test.rb +1 -1
  52. data/test/virtualbox/hw_virtualization_test.rb +2 -2
  53. data/test/virtualbox/lib_test.rb +2 -2
  54. data/test/virtualbox/medium_attachment_test.rb +2 -2
  55. data/test/virtualbox/medium_test.rb +2 -2
  56. data/test/virtualbox/nat_engine_test.rb +1 -1
  57. data/test/virtualbox/nat_forwarded_port_test.rb +1 -1
  58. data/test/virtualbox/network_adapter_test.rb +1 -1
  59. data/test/virtualbox/proxies/collection_test.rb +1 -1
  60. data/test/virtualbox/shared_folder_test.rb +2 -1
  61. data/test/virtualbox/snapshot_test.rb +2 -2
  62. data/test/virtualbox/storage_controller_test.rb +2 -2
  63. data/test/virtualbox/system_properties_test.rb +2 -2
  64. data/test/virtualbox/usb_controller_test.rb +4 -3
  65. data/test/virtualbox/usb_device_filter_test.rb +1 -1
  66. data/test/virtualbox/version_test.rb +1 -1
  67. data/test/virtualbox/virtual_system_description_test.rb +2 -2
  68. data/test/virtualbox/vm_test.rb +2 -1
  69. data/test/virtualbox/vrdp_server_test.rb +2 -2
  70. data/test/virtualbox_test.rb +2 -2
  71. data/virtualbox.gemspec +17 -369
  72. metadata +53 -79
  73. data/VERSION +0 -1
  74. data/tasks/cucumber.task +0 -13
  75. data/tasks/jeweler.task +0 -21
  76. data/tasks/rcov.task +0 -15
  77. data/tasks/test.task +0 -10
  78. data/tasks/yard.task +0 -9
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class HWVirtualizationTest < Test::Unit::TestCase
4
4
  setup do
@@ -100,4 +100,4 @@ class HWVirtualizationTest < Test::Unit::TestCase
100
100
  end
101
101
  end
102
102
  end
103
- end
103
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class LibTest < Test::Unit::TestCase
4
4
  context "the virtualbox library file path" do
@@ -90,4 +90,4 @@ class LibTest < Test::Unit::TestCase
90
90
  assert_equal @session, lib.session
91
91
  end
92
92
  end
93
- end
93
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class MediumAttachmentTest < Test::Unit::TestCase
4
4
  setup do
@@ -144,4 +144,4 @@ class MediumAttachmentTest < Test::Unit::TestCase
144
144
  end
145
145
  end
146
146
  end
147
- end
147
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class MediumTest < Test::Unit::TestCase
4
4
  setup do
@@ -189,4 +189,4 @@ class MediumTest < Test::Unit::TestCase
189
189
  end
190
190
  end
191
191
  end
192
- end
192
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class NATEngineTest < Test::Unit::TestCase
4
4
  setup do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class NATForwardedPortTest < Test::Unit::TestCase
4
4
  setup do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class NetworkAdapterTest < Test::Unit::TestCase
4
4
  setup do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', '..', 'test_helper')
1
+ require File.expand_path("../../../test_helper", __FILE__)
2
2
 
3
3
  class CollectionTest < Test::Unit::TestCase
4
4
  setup do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class SharedFolderTest < Test::Unit::TestCase
4
4
  setup do
@@ -96,6 +96,7 @@ class SharedFolderTest < Test::Unit::TestCase
96
96
  @parent_interface = mock("interface")
97
97
  @parent.stubs(:interface).returns(@parent_interface)
98
98
 
99
+ @name = "foo"
99
100
  @machine = mock("machine")
100
101
  @machine.stubs(:remove_shared_folder).with(@name)
101
102
 
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class SnapshotTest < Test::Unit::TestCase
4
4
  setup do
@@ -228,4 +228,4 @@ class SnapshotTest < Test::Unit::TestCase
228
228
  end
229
229
  end
230
230
  end
231
- end
231
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class StorageControllerTest < Test::Unit::TestCase
4
4
  setup do
@@ -194,4 +194,4 @@ class StorageControllerTest < Test::Unit::TestCase
194
194
  end
195
195
  end
196
196
  end
197
- end
197
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class SystemPropertiesTest < Test::Unit::TestCase
4
4
  setup do
@@ -84,4 +84,4 @@ class SystemPropertiesTest < Test::Unit::TestCase
84
84
  end
85
85
  end
86
86
  end
87
- end
87
+ end
@@ -1,9 +1,10 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class USBControllerTest < Test::Unit::TestCase
4
4
  setup do
5
5
  @klass = VirtualBox::USBController
6
6
  @interface = mock("interface")
7
+ @parent = mock("parent")
7
8
  end
8
9
 
9
10
  context "initializing" do
@@ -68,7 +69,7 @@ class USBControllerTest < Test::Unit::TestCase
68
69
 
69
70
  should "call new with the interface" do
70
71
  @klass.expects(:new).with(@parent, @controller_interface).returns(@instance)
71
- result = @klass.populate_relationship(nil, @interface)
72
+ result = @klass.populate_relationship(@parent, @interface)
72
73
  assert_equal @instance, result
73
74
  end
74
75
  end
@@ -108,4 +109,4 @@ class USBControllerTest < Test::Unit::TestCase
108
109
  end
109
110
  end
110
111
  end
111
- end
112
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class USBDeviceFilterTestTest < Test::Unit::TestCase
4
4
  setup do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class VersionTest < Test::Unit::TestCase
4
4
  module VersionTestMod
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class VirtualSystemDescriptionTest < Test::Unit::TestCase
4
4
  setup do
@@ -58,4 +58,4 @@ class VirtualSystemDescriptionTest < Test::Unit::TestCase
58
58
  assert !@instance.new_record?
59
59
  end
60
60
  end
61
- end
61
+ end
@@ -1,9 +1,10 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class VMTest < Test::Unit::TestCase
4
4
  setup do
5
5
  @klass = VirtualBox::VM
6
6
  @interface = mock("interface")
7
+ @parent = mock("parent")
7
8
  end
8
9
 
9
10
  context "class methods" do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', 'test_helper')
1
+ require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class VRDPServerTest < Test::Unit::TestCase
4
4
  setup do
@@ -80,4 +80,4 @@ class VRDPServerTest < Test::Unit::TestCase
80
80
  end
81
81
  end
82
82
  end
83
- end
83
+ end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), 'test_helper')
1
+ require File.expand_path("../test_helper", __FILE__)
2
2
 
3
3
  class VirtualBoxTest < Test::Unit::TestCase
4
4
  setup do
@@ -8,4 +8,4 @@ class VirtualBoxTest < Test::Unit::TestCase
8
8
  context "the version" do
9
9
  # TODO
10
10
  end
11
- end
11
+ end
data/virtualbox.gemspec CHANGED
@@ -1,377 +1,25 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ require File.expand_path("../lib/virtualbox/version", __FILE__)
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = %q{virtualbox}
8
- s.version = "0.7.5"
5
+ s.name = "virtualbox"
6
+ s.version = VirtualBox::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Mitchell Hashimoto"]
9
+ s.email = ["mitchell.hashimoto@gmail.com"]
10
+ s.homepage = "http://github.com/mitchellh/virtualbox"
11
+ s.summary = "Create and modify virtual machines in VirtualBox using pure ruby"
12
+ s.description = "Create and modify virtual machines in VirtualBox using pure ruby"
9
13
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Mitchell Hashimoto"]
12
- s.date = %q{2010-07-20}
13
- s.description = %q{Create and modify virtual machines in VirtualBox using pure ruby.}
14
- s.email = %q{mitchell.hashimoto@gmail.com}
15
- s.extra_rdoc_files = [
16
- "LICENSE"
17
- ]
18
- s.files = [
19
- ".gitignore",
20
- ".yardopts",
21
- "Gemfile",
22
- "LICENSE",
23
- "Rakefile",
24
- "Readme.md",
25
- "VERSION",
26
- "docs/GettingStarted.md",
27
- "docs/WhatsNew.md",
28
- "features/README.md",
29
- "features/global.feature",
30
- "features/global_extra_data.feature",
31
- "features/step_definitions/abstract_model_steps.rb",
32
- "features/step_definitions/extra_data_steps.rb",
33
- "features/step_definitions/global_steps.rb",
34
- "features/step_definitions/nat_engine_steps.rb",
35
- "features/step_definitions/network_adapter_steps.rb",
36
- "features/step_definitions/shared_folder_steps.rb",
37
- "features/step_definitions/snapshot_steps.rb",
38
- "features/step_definitions/storage_controller_steps.rb",
39
- "features/step_definitions/virtualbox_steps.rb",
40
- "features/step_definitions/vm_steps.rb",
41
- "features/support/env.rb",
42
- "features/support/helpers.rb",
43
- "features/support/hooks.rb",
44
- "features/support/ordered_hash.rb",
45
- "features/support/vboxmanage.rb",
46
- "features/version.feature",
47
- "features/vm.feature",
48
- "features/vm_bios.feature",
49
- "features/vm_cpu.feature",
50
- "features/vm_extra_data.feature",
51
- "features/vm_hw_virt.feature",
52
- "features/vm_nat_engine.feature",
53
- "features/vm_network_adapters.feature",
54
- "features/vm_shared_folders.feature",
55
- "features/vm_snapshots.feature",
56
- "features/vm_storage_controllers.feature",
57
- "lib/virtualbox.rb",
58
- "lib/virtualbox/abstract_model.rb",
59
- "lib/virtualbox/abstract_model/attributable.rb",
60
- "lib/virtualbox/abstract_model/dirty.rb",
61
- "lib/virtualbox/abstract_model/interface_attributes.rb",
62
- "lib/virtualbox/abstract_model/relatable.rb",
63
- "lib/virtualbox/abstract_model/validatable.rb",
64
- "lib/virtualbox/abstract_model/version_matcher.rb",
65
- "lib/virtualbox/appliance.rb",
66
- "lib/virtualbox/audio_adapter.rb",
67
- "lib/virtualbox/bios.rb",
68
- "lib/virtualbox/com.rb",
69
- "lib/virtualbox/com/abstract_enum.rb",
70
- "lib/virtualbox/com/abstract_implementer.rb",
71
- "lib/virtualbox/com/abstract_interface.rb",
72
- "lib/virtualbox/com/base_interface.rb",
73
- "lib/virtualbox/com/ffi/interface.rb",
74
- "lib/virtualbox/com/ffi/interfaces.rb",
75
- "lib/virtualbox/com/ffi/util.rb",
76
- "lib/virtualbox/com/ffi/vboxxpcomc.rb",
77
- "lib/virtualbox/com/ffi_interface.rb",
78
- "lib/virtualbox/com/implementer/base.rb",
79
- "lib/virtualbox/com/implementer/ffi.rb",
80
- "lib/virtualbox/com/implementer/mscom.rb",
81
- "lib/virtualbox/com/implementer/nil.rb",
82
- "lib/virtualbox/com/interface/3.1.x/appliance.rb",
83
- "lib/virtualbox/com/interface/3.1.x/audio_adapter.rb",
84
- "lib/virtualbox/com/interface/3.1.x/audio_controller_type.rb",
85
- "lib/virtualbox/com/interface/3.1.x/audio_driver_type.rb",
86
- "lib/virtualbox/com/interface/3.1.x/bios_boot_menu_mode.rb",
87
- "lib/virtualbox/com/interface/3.1.x/bios_settings.rb",
88
- "lib/virtualbox/com/interface/3.1.x/clipboard_mode.rb",
89
- "lib/virtualbox/com/interface/3.1.x/console.rb",
90
- "lib/virtualbox/com/interface/3.1.x/cpu_property_type.rb",
91
- "lib/virtualbox/com/interface/3.1.x/device_type.rb",
92
- "lib/virtualbox/com/interface/3.1.x/dhcp_server.rb",
93
- "lib/virtualbox/com/interface/3.1.x/firmware_type.rb",
94
- "lib/virtualbox/com/interface/3.1.x/guest_os_type.rb",
95
- "lib/virtualbox/com/interface/3.1.x/host.rb",
96
- "lib/virtualbox/com/interface/3.1.x/host_network_interface.rb",
97
- "lib/virtualbox/com/interface/3.1.x/host_network_interface_medium_type.rb",
98
- "lib/virtualbox/com/interface/3.1.x/host_network_interface_status.rb",
99
- "lib/virtualbox/com/interface/3.1.x/host_network_interface_type.rb",
100
- "lib/virtualbox/com/interface/3.1.x/host_usb_device.rb",
101
- "lib/virtualbox/com/interface/3.1.x/host_usb_device_filter.rb",
102
- "lib/virtualbox/com/interface/3.1.x/hw_virt_ex_property_type.rb",
103
- "lib/virtualbox/com/interface/3.1.x/machine.rb",
104
- "lib/virtualbox/com/interface/3.1.x/machine_state.rb",
105
- "lib/virtualbox/com/interface/3.1.x/medium.rb",
106
- "lib/virtualbox/com/interface/3.1.x/medium_attachment.rb",
107
- "lib/virtualbox/com/interface/3.1.x/medium_format.rb",
108
- "lib/virtualbox/com/interface/3.1.x/medium_state.rb",
109
- "lib/virtualbox/com/interface/3.1.x/medium_type.rb",
110
- "lib/virtualbox/com/interface/3.1.x/medium_variant.rb",
111
- "lib/virtualbox/com/interface/3.1.x/network_adapter.rb",
112
- "lib/virtualbox/com/interface/3.1.x/network_adapter_type.rb",
113
- "lib/virtualbox/com/interface/3.1.x/network_attachment_type.rb",
114
- "lib/virtualbox/com/interface/3.1.x/nsiexception.rb",
115
- "lib/virtualbox/com/interface/3.1.x/nsisupports.rb",
116
- "lib/virtualbox/com/interface/3.1.x/parallel_port.rb",
117
- "lib/virtualbox/com/interface/3.1.x/port_mode.rb",
118
- "lib/virtualbox/com/interface/3.1.x/progress.rb",
119
- "lib/virtualbox/com/interface/3.1.x/serial_port.rb",
120
- "lib/virtualbox/com/interface/3.1.x/session.rb",
121
- "lib/virtualbox/com/interface/3.1.x/session_state.rb",
122
- "lib/virtualbox/com/interface/3.1.x/session_type.rb",
123
- "lib/virtualbox/com/interface/3.1.x/shared_folder.rb",
124
- "lib/virtualbox/com/interface/3.1.x/snapshot.rb",
125
- "lib/virtualbox/com/interface/3.1.x/storage_bus.rb",
126
- "lib/virtualbox/com/interface/3.1.x/storage_controller.rb",
127
- "lib/virtualbox/com/interface/3.1.x/storage_controller_type.rb",
128
- "lib/virtualbox/com/interface/3.1.x/system_properties.rb",
129
- "lib/virtualbox/com/interface/3.1.x/usb_controller.rb",
130
- "lib/virtualbox/com/interface/3.1.x/usb_device.rb",
131
- "lib/virtualbox/com/interface/3.1.x/usb_device_filter.rb",
132
- "lib/virtualbox/com/interface/3.1.x/usb_device_filter_action.rb",
133
- "lib/virtualbox/com/interface/3.1.x/usb_device_state.rb",
134
- "lib/virtualbox/com/interface/3.1.x/virtual_box_error_info.rb",
135
- "lib/virtualbox/com/interface/3.1.x/virtual_system_description.rb",
136
- "lib/virtualbox/com/interface/3.1.x/virtual_system_description_type.rb",
137
- "lib/virtualbox/com/interface/3.1.x/virtual_system_description_value_type.rb",
138
- "lib/virtualbox/com/interface/3.1.x/virtualbox.rb",
139
- "lib/virtualbox/com/interface/3.1.x/vrdp_auth_type.rb",
140
- "lib/virtualbox/com/interface/3.1.x/vrdp_server.rb",
141
- "lib/virtualbox/com/interface/3.2.x/appliance.rb",
142
- "lib/virtualbox/com/interface/3.2.x/audio_adapter.rb",
143
- "lib/virtualbox/com/interface/3.2.x/audio_controller_type.rb",
144
- "lib/virtualbox/com/interface/3.2.x/audio_driver_type.rb",
145
- "lib/virtualbox/com/interface/3.2.x/bios_boot_menu_mode.rb",
146
- "lib/virtualbox/com/interface/3.2.x/bios_settings.rb",
147
- "lib/virtualbox/com/interface/3.2.x/clipboard_mode.rb",
148
- "lib/virtualbox/com/interface/3.2.x/console.rb",
149
- "lib/virtualbox/com/interface/3.2.x/cpu_property_type.rb",
150
- "lib/virtualbox/com/interface/3.2.x/device_type.rb",
151
- "lib/virtualbox/com/interface/3.2.x/dhcp_server.rb",
152
- "lib/virtualbox/com/interface/3.2.x/firmware_type.rb",
153
- "lib/virtualbox/com/interface/3.2.x/guest.rb",
154
- "lib/virtualbox/com/interface/3.2.x/guest_os_type.rb",
155
- "lib/virtualbox/com/interface/3.2.x/host.rb",
156
- "lib/virtualbox/com/interface/3.2.x/host_network_interface.rb",
157
- "lib/virtualbox/com/interface/3.2.x/host_network_interface_medium_type.rb",
158
- "lib/virtualbox/com/interface/3.2.x/host_network_interface_status.rb",
159
- "lib/virtualbox/com/interface/3.2.x/host_network_interface_type.rb",
160
- "lib/virtualbox/com/interface/3.2.x/host_usb_device.rb",
161
- "lib/virtualbox/com/interface/3.2.x/host_usb_device_filter.rb",
162
- "lib/virtualbox/com/interface/3.2.x/hw_virt_ex_property_type.rb",
163
- "lib/virtualbox/com/interface/3.2.x/keyboard_hid_type.rb",
164
- "lib/virtualbox/com/interface/3.2.x/machine.rb",
165
- "lib/virtualbox/com/interface/3.2.x/machine_state.rb",
166
- "lib/virtualbox/com/interface/3.2.x/medium.rb",
167
- "lib/virtualbox/com/interface/3.2.x/medium_attachment.rb",
168
- "lib/virtualbox/com/interface/3.2.x/medium_format.rb",
169
- "lib/virtualbox/com/interface/3.2.x/medium_state.rb",
170
- "lib/virtualbox/com/interface/3.2.x/medium_type.rb",
171
- "lib/virtualbox/com/interface/3.2.x/medium_variant.rb",
172
- "lib/virtualbox/com/interface/3.2.x/nat_alias_mode.rb",
173
- "lib/virtualbox/com/interface/3.2.x/nat_engine.rb",
174
- "lib/virtualbox/com/interface/3.2.x/nat_protocol.rb",
175
- "lib/virtualbox/com/interface/3.2.x/network_adapter.rb",
176
- "lib/virtualbox/com/interface/3.2.x/network_adapter_type.rb",
177
- "lib/virtualbox/com/interface/3.2.x/network_attachment_type.rb",
178
- "lib/virtualbox/com/interface/3.2.x/nsiexception.rb",
179
- "lib/virtualbox/com/interface/3.2.x/nsisupports.rb",
180
- "lib/virtualbox/com/interface/3.2.x/parallel_port.rb",
181
- "lib/virtualbox/com/interface/3.2.x/pointing_hid_type.rb",
182
- "lib/virtualbox/com/interface/3.2.x/port_mode.rb",
183
- "lib/virtualbox/com/interface/3.2.x/progress.rb",
184
- "lib/virtualbox/com/interface/3.2.x/serial_port.rb",
185
- "lib/virtualbox/com/interface/3.2.x/session.rb",
186
- "lib/virtualbox/com/interface/3.2.x/session_state.rb",
187
- "lib/virtualbox/com/interface/3.2.x/session_type.rb",
188
- "lib/virtualbox/com/interface/3.2.x/shared_folder.rb",
189
- "lib/virtualbox/com/interface/3.2.x/snapshot.rb",
190
- "lib/virtualbox/com/interface/3.2.x/storage_bus.rb",
191
- "lib/virtualbox/com/interface/3.2.x/storage_controller.rb",
192
- "lib/virtualbox/com/interface/3.2.x/storage_controller_type.rb",
193
- "lib/virtualbox/com/interface/3.2.x/system_properties.rb",
194
- "lib/virtualbox/com/interface/3.2.x/usb_controller.rb",
195
- "lib/virtualbox/com/interface/3.2.x/usb_device.rb",
196
- "lib/virtualbox/com/interface/3.2.x/usb_device_filter.rb",
197
- "lib/virtualbox/com/interface/3.2.x/usb_device_filter_action.rb",
198
- "lib/virtualbox/com/interface/3.2.x/usb_device_state.rb",
199
- "lib/virtualbox/com/interface/3.2.x/virtual_box_error_info.rb",
200
- "lib/virtualbox/com/interface/3.2.x/virtual_system_description.rb",
201
- "lib/virtualbox/com/interface/3.2.x/virtual_system_description_type.rb",
202
- "lib/virtualbox/com/interface/3.2.x/virtual_system_description_value_type.rb",
203
- "lib/virtualbox/com/interface/3.2.x/virtualbox.rb",
204
- "lib/virtualbox/com/interface/3.2.x/vrdp_auth_type.rb",
205
- "lib/virtualbox/com/interface/3.2.x/vrdp_server.rb",
206
- "lib/virtualbox/com/mscom_interface.rb",
207
- "lib/virtualbox/com/nil_interface.rb",
208
- "lib/virtualbox/com/util.rb",
209
- "lib/virtualbox/cpu.rb",
210
- "lib/virtualbox/dhcp_server.rb",
211
- "lib/virtualbox/dvd.rb",
212
- "lib/virtualbox/exceptions.rb",
213
- "lib/virtualbox/ext/byte_normalizer.rb",
214
- "lib/virtualbox/ext/glob_loader.rb",
215
- "lib/virtualbox/ext/logger.rb",
216
- "lib/virtualbox/ext/platform.rb",
217
- "lib/virtualbox/ext/subclass_listing.rb",
218
- "lib/virtualbox/extra_data.rb",
219
- "lib/virtualbox/forwarded_port.rb",
220
- "lib/virtualbox/global.rb",
221
- "lib/virtualbox/hard_drive.rb",
222
- "lib/virtualbox/host.rb",
223
- "lib/virtualbox/host_network_interface.rb",
224
- "lib/virtualbox/hw_virtualization.rb",
225
- "lib/virtualbox/lib.rb",
226
- "lib/virtualbox/media.rb",
227
- "lib/virtualbox/medium.rb",
228
- "lib/virtualbox/medium_attachment.rb",
229
- "lib/virtualbox/nat_engine.rb",
230
- "lib/virtualbox/nat_forwarded_port.rb",
231
- "lib/virtualbox/network_adapter.rb",
232
- "lib/virtualbox/proxies/collection.rb",
233
- "lib/virtualbox/shared_folder.rb",
234
- "lib/virtualbox/snapshot.rb",
235
- "lib/virtualbox/storage_controller.rb",
236
- "lib/virtualbox/system_properties.rb",
237
- "lib/virtualbox/usb_controller.rb",
238
- "lib/virtualbox/usb_device_filter.rb",
239
- "lib/virtualbox/version.rb",
240
- "lib/virtualbox/virtual_system_description.rb",
241
- "lib/virtualbox/vm.rb",
242
- "lib/virtualbox/vrdp_server.rb",
243
- "tasks/cucumber.task",
244
- "tasks/jeweler.task",
245
- "tasks/rcov.task",
246
- "tasks/test.task",
247
- "tasks/yard.task",
248
- "test/test_helper.rb",
249
- "test/virtualbox/abstract_model/attributable_test.rb",
250
- "test/virtualbox/abstract_model/dirty_test.rb",
251
- "test/virtualbox/abstract_model/interface_attributes_test.rb",
252
- "test/virtualbox/abstract_model/relatable_test.rb",
253
- "test/virtualbox/abstract_model/validatable_test.rb",
254
- "test/virtualbox/abstract_model/version_matcher_test.rb",
255
- "test/virtualbox/abstract_model_test.rb",
256
- "test/virtualbox/appliance_test.rb",
257
- "test/virtualbox/audio_adapter_test.rb",
258
- "test/virtualbox/bios_test.rb",
259
- "test/virtualbox/com/abstract_enum_test.rb",
260
- "test/virtualbox/com/abstract_implementer_test.rb",
261
- "test/virtualbox/com/abstract_interface_test.rb",
262
- "test/virtualbox/com/ffi/interface_test.rb",
263
- "test/virtualbox/com/ffi/util_test.rb",
264
- "test/virtualbox/com/ffi_interface_test.rb",
265
- "test/virtualbox/com/implementer/base_test.rb",
266
- "test/virtualbox/com/implementer/ffi_test.rb",
267
- "test/virtualbox/com/implementer/mscom_test.rb",
268
- "test/virtualbox/com/mscom_interface_test.rb",
269
- "test/virtualbox/com/util_test.rb",
270
- "test/virtualbox/cpu_test.rb",
271
- "test/virtualbox/dhcp_server_test.rb",
272
- "test/virtualbox/dvd_test.rb",
273
- "test/virtualbox/ext/byte_normalizer_test.rb",
274
- "test/virtualbox/ext/platform_test.rb",
275
- "test/virtualbox/ext/subclass_listing_test.rb",
276
- "test/virtualbox/extra_data_test.rb",
277
- "test/virtualbox/forwarded_port_test.rb",
278
- "test/virtualbox/global_test.rb",
279
- "test/virtualbox/hard_drive_test.rb",
280
- "test/virtualbox/host_network_interface_test.rb",
281
- "test/virtualbox/host_test.rb",
282
- "test/virtualbox/hw_virtualization_test.rb",
283
- "test/virtualbox/lib_test.rb",
284
- "test/virtualbox/medium_attachment_test.rb",
285
- "test/virtualbox/medium_test.rb",
286
- "test/virtualbox/nat_engine_test.rb",
287
- "test/virtualbox/nat_forwarded_port_test.rb",
288
- "test/virtualbox/network_adapter_test.rb",
289
- "test/virtualbox/proxies/collection_test.rb",
290
- "test/virtualbox/shared_folder_test.rb",
291
- "test/virtualbox/snapshot_test.rb",
292
- "test/virtualbox/storage_controller_test.rb",
293
- "test/virtualbox/system_properties_test.rb",
294
- "test/virtualbox/usb_controller_test.rb",
295
- "test/virtualbox/usb_device_filter_test.rb",
296
- "test/virtualbox/version_test.rb",
297
- "test/virtualbox/virtual_system_description_test.rb",
298
- "test/virtualbox/vm_test.rb",
299
- "test/virtualbox/vrdp_server_test.rb",
300
- "test/virtualbox_test.rb",
301
- "virtualbox.gemspec"
302
- ]
303
- s.homepage = %q{http://github.com/mitchellh/virtualbox}
304
- s.rdoc_options = ["--charset=UTF-8"]
305
- s.require_paths = ["lib"]
306
- s.rubygems_version = %q{1.3.7}
307
- s.summary = %q{Create and modify virtual machines in VirtualBox using pure ruby.}
308
- s.test_files = [
309
- "test/test_helper.rb",
310
- "test/virtualbox/abstract_model/attributable_test.rb",
311
- "test/virtualbox/abstract_model/dirty_test.rb",
312
- "test/virtualbox/abstract_model/interface_attributes_test.rb",
313
- "test/virtualbox/abstract_model/relatable_test.rb",
314
- "test/virtualbox/abstract_model/validatable_test.rb",
315
- "test/virtualbox/abstract_model/version_matcher_test.rb",
316
- "test/virtualbox/abstract_model_test.rb",
317
- "test/virtualbox/appliance_test.rb",
318
- "test/virtualbox/audio_adapter_test.rb",
319
- "test/virtualbox/bios_test.rb",
320
- "test/virtualbox/com/abstract_enum_test.rb",
321
- "test/virtualbox/com/abstract_implementer_test.rb",
322
- "test/virtualbox/com/abstract_interface_test.rb",
323
- "test/virtualbox/com/ffi/interface_test.rb",
324
- "test/virtualbox/com/ffi/util_test.rb",
325
- "test/virtualbox/com/ffi_interface_test.rb",
326
- "test/virtualbox/com/implementer/base_test.rb",
327
- "test/virtualbox/com/implementer/ffi_test.rb",
328
- "test/virtualbox/com/implementer/mscom_test.rb",
329
- "test/virtualbox/com/mscom_interface_test.rb",
330
- "test/virtualbox/com/util_test.rb",
331
- "test/virtualbox/cpu_test.rb",
332
- "test/virtualbox/dhcp_server_test.rb",
333
- "test/virtualbox/dvd_test.rb",
334
- "test/virtualbox/ext/byte_normalizer_test.rb",
335
- "test/virtualbox/ext/platform_test.rb",
336
- "test/virtualbox/ext/subclass_listing_test.rb",
337
- "test/virtualbox/extra_data_test.rb",
338
- "test/virtualbox/forwarded_port_test.rb",
339
- "test/virtualbox/global_test.rb",
340
- "test/virtualbox/hard_drive_test.rb",
341
- "test/virtualbox/host_network_interface_test.rb",
342
- "test/virtualbox/host_test.rb",
343
- "test/virtualbox/hw_virtualization_test.rb",
344
- "test/virtualbox/lib_test.rb",
345
- "test/virtualbox/medium_attachment_test.rb",
346
- "test/virtualbox/medium_test.rb",
347
- "test/virtualbox/nat_engine_test.rb",
348
- "test/virtualbox/nat_forwarded_port_test.rb",
349
- "test/virtualbox/network_adapter_test.rb",
350
- "test/virtualbox/proxies/collection_test.rb",
351
- "test/virtualbox/shared_folder_test.rb",
352
- "test/virtualbox/snapshot_test.rb",
353
- "test/virtualbox/storage_controller_test.rb",
354
- "test/virtualbox/system_properties_test.rb",
355
- "test/virtualbox/usb_controller_test.rb",
356
- "test/virtualbox/usb_device_filter_test.rb",
357
- "test/virtualbox/version_test.rb",
358
- "test/virtualbox/virtual_system_description_test.rb",
359
- "test/virtualbox/vm_test.rb",
360
- "test/virtualbox/vrdp_server_test.rb",
361
- "test/virtualbox_test.rb"
362
- ]
14
+ s.required_rubygems_version = ">= 1.3.6"
15
+ s.rubyforge_project = "virtualbox"
363
16
 
364
- if s.respond_to? :specification_version then
365
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
366
- s.specification_version = 3
17
+ s.add_dependency "ffi", "~> 0.6.3"
18
+ s.add_development_dependency "contest", "~> 0.1.2"
19
+ s.add_development_dependency "mocha", "~> 0.9.8"
367
20
 
368
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
369
- s.add_runtime_dependency(%q<ffi>, [">= 0.6.3"])
370
- else
371
- s.add_dependency(%q<ffi>, [">= 0.6.3"])
372
- end
373
- else
374
- s.add_dependency(%q<ffi>, [">= 0.6.3"])
375
- end
21
+ s.files = `git ls-files`.split("\n")
22
+ s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
23
+ s.require_path = 'lib'
376
24
  end
377
25