virtualbox 0.8.6 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/Rakefile +11 -5
  2. data/TODO.md +7 -0
  3. data/lib/virtualbox.rb +34 -8
  4. data/lib/virtualbox/abstract_model.rb +7 -8
  5. data/lib/virtualbox/abstract_model/attributable.rb +16 -2
  6. data/lib/virtualbox/abstract_model/interface_attributes.rb +10 -1
  7. data/lib/virtualbox/abstract_model/relatable.rb +11 -0
  8. data/lib/virtualbox/appliance.rb +1 -1
  9. data/lib/virtualbox/com.rb +13 -12
  10. data/lib/virtualbox/com/abstract_enum.rb +21 -5
  11. data/lib/virtualbox/com/abstract_interface.rb +11 -0
  12. data/lib/virtualbox/com/base_interface.rb +1 -32
  13. data/lib/virtualbox/com/{ffi/vboxxpcomc.rb → ffi.rb} +7 -0
  14. data/lib/virtualbox/com/ffi/interface.rb +10 -27
  15. data/lib/virtualbox/com/ffi/util.rb +32 -2
  16. data/lib/virtualbox/com/ffi_interface.rb +8 -2
  17. data/lib/virtualbox/com/implementer.rb +10 -0
  18. data/lib/virtualbox/com/implementer/base.rb +10 -3
  19. data/lib/virtualbox/com/implementer/ffi.rb +40 -13
  20. data/lib/virtualbox/com/implementer/mscom.rb +18 -1
  21. data/lib/virtualbox/com/interface/4.0.x/{access_mode.rb → AccessMode.rb} +1 -1
  22. data/lib/virtualbox/com/interface/4.0.x/{appliance.rb → Appliance.rb} +0 -0
  23. data/lib/virtualbox/com/interface/4.0.x/{audio_adapter.rb → AudioAdapter.rb} +1 -1
  24. data/lib/virtualbox/com/interface/4.0.x/{audio_controller_type.rb → AudioControllerType.rb} +0 -0
  25. data/lib/virtualbox/com/interface/4.0.x/{audio_driver_type.rb → AudioDriverType.rb} +0 -0
  26. data/lib/virtualbox/com/interface/4.0.x/{auth_type.rb → AuthType.rb} +0 -0
  27. data/lib/virtualbox/com/interface/4.0.x/{bios_boot_menu_mode.rb → BIOSBootMenuMode.rb} +0 -0
  28. data/lib/virtualbox/com/interface/4.0.x/{bios_settings.rb → BIOSSettings.rb} +1 -1
  29. data/lib/virtualbox/com/interface/4.0.x/{bandwidth_control.rb → BandwidthControl.rb} +0 -0
  30. data/lib/virtualbox/com/interface/4.0.x/{bandwidth_group.rb → BandwidthGroup.rb} +0 -0
  31. data/lib/virtualbox/com/interface/4.0.x/{bandwidth_group_type.rb → BandwidthGroupType.rb} +0 -0
  32. data/lib/virtualbox/com/interface/4.0.x/{chipset_type.rb → ChipsetType.rb} +0 -0
  33. data/lib/virtualbox/com/interface/4.0.x/{cleanup_mode.rb → CleanupMode.rb} +0 -0
  34. data/lib/virtualbox/com/interface/4.0.x/{clipboard_mode.rb → ClipboardMode.rb} +0 -0
  35. data/lib/virtualbox/com/interface/4.0.x/{console.rb → Console.rb} +0 -0
  36. data/lib/virtualbox/com/interface/4.0.x/{cpu_property_type.rb → CpuPropertyType.rb} +0 -0
  37. data/lib/virtualbox/com/interface/4.0.x/{dhcp_server.rb → DHCPServer.rb} +0 -0
  38. data/lib/virtualbox/com/interface/4.0.x/{data_type.rb → DataType.rb} +0 -0
  39. data/lib/virtualbox/com/interface/4.0.x/{device_type.rb → DeviceType.rb} +0 -0
  40. data/lib/virtualbox/com/interface/4.0.x/{event_source.rb → EventSource.rb} +0 -0
  41. data/lib/virtualbox/com/interface/4.0.x/{fault_tolerance_state.rb → FaultToleranceState.rb} +0 -0
  42. data/lib/virtualbox/com/interface/4.0.x/{firmware_type.rb → FirmwareType.rb} +0 -0
  43. data/lib/virtualbox/com/interface/4.0.x/{guest.rb → Guest.rb} +0 -0
  44. data/lib/virtualbox/com/interface/4.0.x/{guest_os_type.rb → GuestOSType.rb} +0 -0
  45. data/lib/virtualbox/com/interface/4.0.x/{hw_virt_ex_property_type.rb → HWVirtExPropertyType.rb} +0 -0
  46. data/lib/virtualbox/com/interface/4.0.x/{host.rb → Host.rb} +6 -6
  47. data/lib/virtualbox/com/interface/4.0.x/{host_network_interface.rb → HostNetworkInterface.rb} +0 -0
  48. data/lib/virtualbox/com/interface/4.0.x/{host_network_interface_medium_type.rb → HostNetworkInterfaceMediumType.rb} +0 -0
  49. data/lib/virtualbox/com/interface/4.0.x/{host_network_interface_status.rb → HostNetworkInterfaceStatus.rb} +0 -0
  50. data/lib/virtualbox/com/interface/4.0.x/{host_network_interface_type.rb → HostNetworkInterfaceType.rb} +0 -0
  51. data/lib/virtualbox/com/interface/4.0.x/{host_usb_device.rb → HostUSBDevice.rb} +3 -1
  52. data/lib/virtualbox/com/interface/4.0.x/{host_usb_device_filter.rb → HostUSBDeviceFilter.rb} +3 -1
  53. data/lib/virtualbox/com/interface/4.0.x/{keyboard_hid_type.rb → KeyboardHidType.rb} +0 -0
  54. data/lib/virtualbox/com/interface/4.0.x/{lock_type.rb → LockType.rb} +0 -0
  55. data/lib/virtualbox/com/interface/4.0.x/{machine.rb → Machine.rb} +0 -0
  56. data/lib/virtualbox/com/interface/4.0.x/{machine_state.rb → MachineState.rb} +0 -0
  57. data/lib/virtualbox/com/interface/4.0.x/{medium.rb → Medium.rb} +0 -0
  58. data/lib/virtualbox/com/interface/4.0.x/{medium_attachment.rb → MediumAttachment.rb} +0 -0
  59. data/lib/virtualbox/com/interface/4.0.x/{medium_format.rb → MediumFormat.rb} +0 -0
  60. data/lib/virtualbox/com/interface/4.0.x/{medium_state.rb → MediumState.rb} +0 -0
  61. data/lib/virtualbox/com/interface/4.0.x/{medium_type.rb → MediumType.rb} +0 -0
  62. data/lib/virtualbox/com/interface/4.0.x/{medium_variant.rb → MediumVariant.rb} +0 -0
  63. data/lib/virtualbox/com/interface/4.0.x/{nat_alias_mode.rb → NATAliasMode.rb} +0 -0
  64. data/lib/virtualbox/com/interface/4.0.x/{nat_engine.rb → NATEngine.rb} +0 -0
  65. data/lib/virtualbox/com/interface/4.0.x/{nat_protocol.rb → NATProtocol.rb} +0 -0
  66. data/lib/virtualbox/com/interface/4.0.x/{nsiexception.rb → NSIException.rb} +0 -0
  67. data/lib/virtualbox/com/interface/4.0.x/{nsisupports.rb → NSISupports.rb} +3 -0
  68. data/lib/virtualbox/com/interface/4.0.x/{network_adapter.rb → NetworkAdapter.rb} +0 -0
  69. data/lib/virtualbox/com/interface/4.0.x/{network_adapter_type.rb → NetworkAdapterType.rb} +0 -0
  70. data/lib/virtualbox/com/interface/4.0.x/{network_attachment_type.rb → NetworkAttachmentType.rb} +0 -0
  71. data/lib/virtualbox/com/interface/4.0.x/{parallel_port.rb → ParallelPort.rb} +0 -0
  72. data/lib/virtualbox/com/interface/4.0.x/{pci_device_attachment.rb → PciDeviceAttachment.rb} +0 -0
  73. data/lib/virtualbox/com/interface/4.0.x/{pointing_hid_type.rb → PointingHidType.rb} +0 -0
  74. data/lib/virtualbox/com/interface/4.0.x/{port_mode.rb → PortMode.rb} +0 -0
  75. data/lib/virtualbox/com/interface/4.0.x/{progress.rb → Progress.rb} +0 -0
  76. data/lib/virtualbox/com/interface/4.0.x/{serial_port.rb → SerialPort.rb} +0 -0
  77. data/lib/virtualbox/com/interface/4.0.x/{session.rb → Session.rb} +0 -0
  78. data/lib/virtualbox/com/interface/4.0.x/{session_state.rb → SessionState.rb} +0 -0
  79. data/lib/virtualbox/com/interface/4.0.x/{session_type.rb → SessionType.rb} +0 -0
  80. data/lib/virtualbox/com/interface/4.0.x/{shared_folder.rb → SharedFolder.rb} +0 -0
  81. data/lib/virtualbox/com/interface/4.0.x/{snapshot.rb → Snapshot.rb} +0 -0
  82. data/lib/virtualbox/com/interface/4.0.x/{storage_bus.rb → StorageBus.rb} +0 -0
  83. data/lib/virtualbox/com/interface/4.0.x/{storage_controller.rb → StorageController.rb} +0 -0
  84. data/lib/virtualbox/com/interface/4.0.x/{storage_controller_type.rb → StorageControllerType.rb} +0 -0
  85. data/lib/virtualbox/com/interface/4.0.x/{system_properties.rb → SystemProperties.rb} +0 -0
  86. data/lib/virtualbox/com/interface/4.0.x/{usb_controller.rb → USBController.rb} +0 -0
  87. data/lib/virtualbox/com/interface/4.0.x/{usb_device.rb → USBDevice.rb} +0 -0
  88. data/lib/virtualbox/com/interface/4.0.x/{usb_device_filter.rb → USBDeviceFilter.rb} +0 -0
  89. data/lib/virtualbox/com/interface/4.0.x/{usb_device_filter_action.rb → USBDeviceFilterAction.rb} +0 -0
  90. data/lib/virtualbox/com/interface/4.0.x/{usb_device_state.rb → USBDeviceState.rb} +0 -0
  91. data/lib/virtualbox/com/interface/4.0.x/{vrde_server.rb → VRDEServer.rb} +0 -0
  92. data/lib/virtualbox/com/interface/4.0.x/{virtualbox.rb → VirtualBox.rb} +1 -1
  93. data/lib/virtualbox/com/interface/4.0.x/{virtual_box_error_info.rb → VirtualBoxErrorInfo.rb} +3 -1
  94. data/lib/virtualbox/com/interface/4.0.x/{virtual_system_description.rb → VirtualSystemDescription.rb} +0 -0
  95. data/lib/virtualbox/com/interface/4.0.x/{virtual_system_description_type.rb → VirtualSystemDescriptionType.rb} +0 -0
  96. data/lib/virtualbox/com/interface/4.0.x/{virtual_system_description_value_type.rb → VirtualSystemDescriptionValueType.rb} +0 -0
  97. data/lib/virtualbox/com/interface/{3.2.x/access_mode.rb → 4.1.x/AccessMode.rb} +2 -2
  98. data/lib/virtualbox/com/interface/4.1.x/AdditionsFacility.rb +17 -0
  99. data/lib/virtualbox/com/interface/4.1.x/AdditionsFacilityClass.rb +17 -0
  100. data/lib/virtualbox/com/interface/4.1.x/AdditionsFacilityStatus.rb +19 -0
  101. data/lib/virtualbox/com/interface/4.1.x/AdditionsFacilityType.rb +17 -0
  102. data/lib/virtualbox/com/interface/4.1.x/AdditionsRunLevelType.rb +14 -0
  103. data/lib/virtualbox/com/interface/{3.2.x/appliance.rb → 4.1.x/Appliance.rb} +5 -4
  104. data/lib/virtualbox/com/interface/{3.1.x/audio_adapter.rb → 4.1.x/AudioAdapter.rb} +2 -2
  105. data/lib/virtualbox/com/interface/{3.1.x/audio_controller_type.rb → 4.1.x/AudioControllerType.rb} +2 -2
  106. data/lib/virtualbox/com/interface/{3.2.x/audio_driver_type.rb → 4.1.x/AudioDriverType.rb} +2 -2
  107. data/lib/virtualbox/com/interface/{3.1.x/vrdp_auth_type.rb → 4.1.x/AuthType.rb} +3 -3
  108. data/lib/virtualbox/com/interface/{3.1.x/bios_boot_menu_mode.rb → 4.1.x/BIOSBootMenuMode.rb} +2 -2
  109. data/lib/virtualbox/com/interface/{3.2.x/bios_settings.rb → 4.1.x/BIOSSettings.rb} +2 -2
  110. data/lib/virtualbox/com/interface/4.1.x/BandwidthControl.rb +18 -0
  111. data/lib/virtualbox/com/interface/4.1.x/BandwidthGroup.rb +16 -0
  112. data/lib/virtualbox/com/interface/4.1.x/BandwidthGroupType.rb +11 -0
  113. data/lib/virtualbox/com/interface/4.1.x/ChipsetType.rb +11 -0
  114. data/lib/virtualbox/com/interface/4.1.x/CleanupMode.rb +12 -0
  115. data/lib/virtualbox/com/interface/{3.2.x/clipboard_mode.rb → 4.1.x/ClipboardMode.rb} +2 -2
  116. data/lib/virtualbox/com/interface/4.1.x/CloneMode.rb +13 -0
  117. data/lib/virtualbox/com/interface/4.1.x/CloneOptions.rb +14 -0
  118. data/lib/virtualbox/com/interface/{3.1.x/console.rb → 4.1.x/Console.rb} +10 -7
  119. data/lib/virtualbox/com/interface/{3.2.x/cpu_property_type.rb → 4.1.x/CpuPropertyType.rb} +2 -2
  120. data/lib/virtualbox/com/interface/{3.1.x/dhcp_server.rb → 4.1.x/DHCPServer.rb} +2 -2
  121. data/lib/virtualbox/com/interface/4.1.x/DataType.rb +11 -0
  122. data/lib/virtualbox/com/interface/{3.1.x/device_type.rb → 4.1.x/DeviceType.rb} +2 -2
  123. data/lib/virtualbox/com/interface/4.1.x/DirectoryCreateFlag.rb +12 -0
  124. data/lib/virtualbox/com/interface/4.1.x/DirectoryOpenFlag.rb +11 -0
  125. data/lib/virtualbox/com/interface/{3.2.x/guest.rb → 4.1.x/EventSource.rb} +4 -4
  126. data/lib/virtualbox/com/interface/4.1.x/ExecuteProcessFlag.rb +15 -0
  127. data/lib/virtualbox/com/interface/4.1.x/ExecuteProcessStatus.rb +19 -0
  128. data/lib/virtualbox/com/interface/4.1.x/FaultToleranceState.rb +11 -0
  129. data/lib/virtualbox/com/interface/{3.1.x/firmware_type.rb → 4.1.x/FirmwareType.rb} +2 -2
  130. data/lib/virtualbox/com/interface/4.1.x/Guest.rb +36 -0
  131. data/lib/virtualbox/com/interface/4.1.x/GuestDirEntry.rb +15 -0
  132. data/lib/virtualbox/com/interface/4.1.x/GuestDirEntryType.rb +14 -0
  133. data/lib/virtualbox/com/interface/{3.2.x/guest_os_type.rb → 4.1.x/GuestOSType.rb} +2 -2
  134. data/lib/virtualbox/com/interface/{3.1.x/hw_virt_ex_property_type.rb → 4.1.x/HWVirtExPropertyType.rb} +4 -3
  135. data/lib/virtualbox/com/interface/{3.1.x/host.rb → 4.1.x/Host.rb} +8 -6
  136. data/lib/virtualbox/com/interface/{3.1.x/host_network_interface.rb → 4.1.x/HostNetworkInterface.rb} +2 -2
  137. data/lib/virtualbox/com/interface/{3.1.x/host_network_interface_medium_type.rb → 4.1.x/HostNetworkInterfaceMediumType.rb} +2 -2
  138. data/lib/virtualbox/com/interface/{3.2.x/host_network_interface_status.rb → 4.1.x/HostNetworkInterfaceStatus.rb} +2 -2
  139. data/lib/virtualbox/com/interface/{3.1.x/host_network_interface_type.rb → 4.1.x/HostNetworkInterfaceType.rb} +2 -2
  140. data/lib/virtualbox/com/interface/{3.1.x/host_usb_device.rb → 4.1.x/HostUSBDevice.rb} +4 -2
  141. data/lib/virtualbox/com/interface/{3.2.x/host_usb_device_filter.rb → 4.1.x/HostUSBDeviceFilter.rb} +4 -2
  142. data/lib/virtualbox/com/interface/4.1.x/ImportOptions.rb +12 -0
  143. data/lib/virtualbox/com/interface/{3.2.x/keyboard_hid_type.rb → 4.1.x/KeyboardHidType.rb} +2 -2
  144. data/lib/virtualbox/com/interface/4.1.x/LockType.rb +11 -0
  145. data/lib/virtualbox/com/interface/{3.2.x/machine.rb → 4.1.x/Machine.rb} +34 -15
  146. data/lib/virtualbox/com/interface/{3.1.x/machine_state.rb → 4.1.x/MachineState.rb} +1 -1
  147. data/lib/virtualbox/com/interface/{3.2.x/medium.rb → 4.1.x/Medium.rb} +5 -2
  148. data/lib/virtualbox/com/interface/{3.1.x/medium_attachment.rb → 4.1.x/MediumAttachment.rb} +6 -2
  149. data/lib/virtualbox/com/interface/{3.1.x/medium_format.rb → 4.1.x/MediumFormat.rb} +2 -2
  150. data/lib/virtualbox/com/interface/{3.1.x/medium_state.rb → 4.1.x/MediumState.rb} +2 -2
  151. data/lib/virtualbox/com/interface/{3.2.x/medium_type.rb → 4.1.x/MediumType.rb} +2 -2
  152. data/lib/virtualbox/com/interface/{3.1.x/medium_variant.rb → 4.1.x/MediumVariant.rb} +2 -2
  153. data/lib/virtualbox/com/interface/{3.2.x/nat_alias_mode.rb → 4.1.x/NATAliasMode.rb} +2 -2
  154. data/lib/virtualbox/com/interface/{3.2.x/nat_engine.rb → 4.1.x/NATEngine.rb} +2 -2
  155. data/lib/virtualbox/com/interface/{3.2.x/nat_protocol.rb → 4.1.x/NATProtocol.rb} +2 -2
  156. data/lib/virtualbox/com/interface/{3.1.x/nsiexception.rb → 4.1.x/NSIException.rb} +2 -2
  157. data/lib/virtualbox/com/interface/{3.1.x/nsisupports.rb → 4.1.x/NSISupports.rb} +4 -1
  158. data/lib/virtualbox/com/interface/{3.2.x/network_adapter.rb → 4.1.x/NetworkAdapter.rb} +11 -11
  159. data/lib/virtualbox/com/interface/4.1.x/NetworkAdapterPromiscModePolicy.rb +13 -0
  160. data/lib/virtualbox/com/interface/{3.1.x/network_adapter_type.rb → 4.1.x/NetworkAdapterType.rb} +2 -2
  161. data/lib/virtualbox/com/interface/{3.1.x/network_attachment_type.rb → 4.1.x/NetworkAttachmentType.rb} +3 -3
  162. data/lib/virtualbox/com/interface/{3.2.x/parallel_port.rb → 4.1.x/ParallelPort.rb} +2 -2
  163. data/lib/virtualbox/com/interface/4.1.x/PciDeviceAttachment.rb +16 -0
  164. data/lib/virtualbox/com/interface/{3.2.x/pointing_hid_type.rb → 4.1.x/PointingHidType.rb} +2 -2
  165. data/lib/virtualbox/com/interface/{3.1.x/port_mode.rb → 4.1.x/PortMode.rb} +1 -1
  166. data/lib/virtualbox/com/interface/4.1.x/ProcessOutputFlag.rb +12 -0
  167. data/lib/virtualbox/com/interface/{3.2.x/progress.rb → 4.1.x/Progress.rb} +3 -1
  168. data/lib/virtualbox/com/interface/{3.1.x/serial_port.rb → 4.1.x/SerialPort.rb} +2 -2
  169. data/lib/virtualbox/com/interface/{3.2.x/session.rb → 4.1.x/Session.rb} +2 -2
  170. data/lib/virtualbox/com/interface/{3.1.x/session_state.rb → 4.1.x/SessionState.rb} +2 -2
  171. data/lib/virtualbox/com/interface/{3.1.x/session_type.rb → 4.1.x/SessionType.rb} +3 -3
  172. data/lib/virtualbox/com/interface/4.1.x/SettingsVersion.rb +25 -0
  173. data/lib/virtualbox/com/interface/{3.1.x/shared_folder.rb → 4.1.x/SharedFolder.rb} +2 -2
  174. data/lib/virtualbox/com/interface/{3.1.x/snapshot.rb → 4.1.x/Snapshot.rb} +3 -2
  175. data/lib/virtualbox/com/interface/{3.2.x/storage_bus.rb → 4.1.x/StorageBus.rb} +2 -2
  176. data/lib/virtualbox/com/interface/{3.2.x/storage_controller.rb → 4.1.x/StorageController.rb} +3 -2
  177. data/lib/virtualbox/com/interface/{3.2.x/storage_controller_type.rb → 4.1.x/StorageControllerType.rb} +2 -2
  178. data/lib/virtualbox/com/interface/4.1.x/StorageDeviceChangedEvent.rb +14 -0
  179. data/lib/virtualbox/com/interface/{3.2.x/system_properties.rb → 4.1.x/SystemProperties.rb} +8 -6
  180. data/lib/virtualbox/com/interface/{3.2.x/usb_controller.rb → 4.1.x/USBController.rb} +2 -2
  181. data/lib/virtualbox/com/interface/{3.1.x/usb_device.rb → 4.1.x/USBDevice.rb} +2 -2
  182. data/lib/virtualbox/com/interface/{3.1.x/usb_device_filter.rb → 4.1.x/USBDeviceFilter.rb} +2 -2
  183. data/lib/virtualbox/com/interface/{3.2.x/usb_device_filter_action.rb → 4.1.x/USBDeviceFilterAction.rb} +2 -2
  184. data/lib/virtualbox/com/interface/{3.2.x/usb_device_state.rb → 4.1.x/USBDeviceState.rb} +2 -2
  185. data/lib/virtualbox/com/interface/4.1.x/VRDEServer.rb +23 -0
  186. data/lib/virtualbox/com/interface/{3.2.x/virtualbox.rb → 4.1.x/VirtualBox.rb} +13 -27
  187. data/lib/virtualbox/com/interface/{3.2.x/virtual_box_error_info.rb → 4.1.x/VirtualBoxErrorInfo.rb} +4 -2
  188. data/lib/virtualbox/com/interface/{3.2.x/virtual_system_description.rb → 4.1.x/VirtualSystemDescription.rb} +2 -2
  189. data/lib/virtualbox/com/interface/4.1.x/VirtualSystemDescriptionType.rb +34 -0
  190. data/lib/virtualbox/com/interface/{3.2.x/virtual_system_description_value_type.rb → 4.1.x/VirtualSystemDescriptionValueType.rb} +1 -1
  191. data/lib/virtualbox/com/util.rb +30 -8
  192. data/lib/virtualbox/exceptions.rb +14 -13
  193. data/lib/virtualbox/extra_data.rb +2 -0
  194. data/lib/virtualbox/hard_drive.rb +1 -1
  195. data/lib/virtualbox/host_network_interface.rb +1 -1
  196. data/lib/virtualbox/lib.rb +2 -0
  197. data/lib/virtualbox/medium.rb +2 -0
  198. data/lib/virtualbox/network_adapter.rb +6 -22
  199. data/lib/virtualbox/proxies.rb +6 -0
  200. data/lib/virtualbox/system_properties.rb +0 -1
  201. data/lib/virtualbox/version.rb +28 -30
  202. data/lib/virtualbox/vm.rb +75 -55
  203. data/test/test_helper.rb +2 -5
  204. data/test/virtualbox/abstract_model/attributable_test.rb +22 -0
  205. data/test/virtualbox/abstract_model/relatable_test.rb +21 -0
  206. data/test/virtualbox/abstract_model_test.rb +1 -8
  207. data/test/virtualbox/com/abstract_enum_test.rb +1 -1
  208. data/test/virtualbox/com/ffi/interface_test.rb +9 -6
  209. data/test/virtualbox/com/ffi/util_test.rb +0 -11
  210. data/test/virtualbox/com/implementer/ffi_test.rb +7 -21
  211. data/test/virtualbox/com/util_test.rb +0 -10
  212. data/test/virtualbox/host_network_interface_test.rb +1 -1
  213. data/test/virtualbox/network_adapter_test.rb +6 -32
  214. data/test/virtualbox/version_test.rb +1 -5
  215. data/test/virtualbox/vm_test.rb +11 -17
  216. data/virtualbox.gemspec +4 -2
  217. metadata +224 -250
  218. data/lib/virtualbox/com/ffi/interfaces.rb +0 -64
  219. data/lib/virtualbox/com/interface/3.1.x/access_mode.rb +0 -11
  220. data/lib/virtualbox/com/interface/3.1.x/appliance.rb +0 -22
  221. data/lib/virtualbox/com/interface/3.1.x/audio_driver_type.rb +0 -11
  222. data/lib/virtualbox/com/interface/3.1.x/bios_settings.rb +0 -21
  223. data/lib/virtualbox/com/interface/3.1.x/clipboard_mode.rb +0 -11
  224. data/lib/virtualbox/com/interface/3.1.x/cpu_property_type.rb +0 -11
  225. data/lib/virtualbox/com/interface/3.1.x/guest_os_type.rb +0 -23
  226. data/lib/virtualbox/com/interface/3.1.x/host_network_interface_status.rb +0 -11
  227. data/lib/virtualbox/com/interface/3.1.x/host_usb_device_filter.rb +0 -13
  228. data/lib/virtualbox/com/interface/3.1.x/machine.rb +0 -105
  229. data/lib/virtualbox/com/interface/3.1.x/medium.rb +0 -50
  230. data/lib/virtualbox/com/interface/3.1.x/medium_type.rb +0 -11
  231. data/lib/virtualbox/com/interface/3.1.x/network_adapter.rb +0 -30
  232. data/lib/virtualbox/com/interface/3.1.x/parallel_port.rb +0 -17
  233. data/lib/virtualbox/com/interface/3.1.x/progress.rb +0 -63
  234. data/lib/virtualbox/com/interface/3.1.x/session.rb +0 -18
  235. data/lib/virtualbox/com/interface/3.1.x/storage_bus.rb +0 -11
  236. data/lib/virtualbox/com/interface/3.1.x/storage_controller.rb +0 -23
  237. data/lib/virtualbox/com/interface/3.1.x/storage_controller_type.rb +0 -11
  238. data/lib/virtualbox/com/interface/3.1.x/system_properties.rb +0 -37
  239. data/lib/virtualbox/com/interface/3.1.x/usb_controller.rb +0 -20
  240. data/lib/virtualbox/com/interface/3.1.x/usb_device_filter_action.rb +0 -11
  241. data/lib/virtualbox/com/interface/3.1.x/usb_device_state.rb +0 -11
  242. data/lib/virtualbox/com/interface/3.1.x/virtual_box_error_info.rb +0 -17
  243. data/lib/virtualbox/com/interface/3.1.x/virtual_system_description.rb +0 -19
  244. data/lib/virtualbox/com/interface/3.1.x/virtual_system_description_type.rb +0 -14
  245. data/lib/virtualbox/com/interface/3.1.x/virtual_system_description_value_type.rb +0 -11
  246. data/lib/virtualbox/com/interface/3.1.x/virtualbox.rb +0 -67
  247. data/lib/virtualbox/com/interface/3.1.x/vrdp_server.rb +0 -19
  248. data/lib/virtualbox/com/interface/3.2.x/audio_adapter.rb +0 -15
  249. data/lib/virtualbox/com/interface/3.2.x/audio_controller_type.rb +0 -11
  250. data/lib/virtualbox/com/interface/3.2.x/bios_boot_menu_mode.rb +0 -11
  251. data/lib/virtualbox/com/interface/3.2.x/console.rb +0 -50
  252. data/lib/virtualbox/com/interface/3.2.x/device_type.rb +0 -11
  253. data/lib/virtualbox/com/interface/3.2.x/dhcp_server.rb +0 -22
  254. data/lib/virtualbox/com/interface/3.2.x/firmware_type.rb +0 -11
  255. data/lib/virtualbox/com/interface/3.2.x/host.rb +0 -43
  256. data/lib/virtualbox/com/interface/3.2.x/host_network_interface.rb +0 -30
  257. data/lib/virtualbox/com/interface/3.2.x/host_network_interface_medium_type.rb +0 -11
  258. data/lib/virtualbox/com/interface/3.2.x/host_network_interface_type.rb +0 -11
  259. data/lib/virtualbox/com/interface/3.2.x/host_usb_device.rb +0 -13
  260. data/lib/virtualbox/com/interface/3.2.x/hw_virt_ex_property_type.rb +0 -11
  261. data/lib/virtualbox/com/interface/3.2.x/machine_state.rb +0 -14
  262. data/lib/virtualbox/com/interface/3.2.x/medium_attachment.rb +0 -18
  263. data/lib/virtualbox/com/interface/3.2.x/medium_format.rb +0 -18
  264. data/lib/virtualbox/com/interface/3.2.x/medium_state.rb +0 -11
  265. data/lib/virtualbox/com/interface/3.2.x/medium_variant.rb +0 -11
  266. data/lib/virtualbox/com/interface/3.2.x/network_adapter_type.rb +0 -11
  267. data/lib/virtualbox/com/interface/3.2.x/network_attachment_type.rb +0 -11
  268. data/lib/virtualbox/com/interface/3.2.x/nsiexception.rb +0 -23
  269. data/lib/virtualbox/com/interface/3.2.x/nsisupports.rb +0 -15
  270. data/lib/virtualbox/com/interface/3.2.x/port_mode.rb +0 -11
  271. data/lib/virtualbox/com/interface/3.2.x/serial_port.rb +0 -19
  272. data/lib/virtualbox/com/interface/3.2.x/session_state.rb +0 -11
  273. data/lib/virtualbox/com/interface/3.2.x/session_type.rb +0 -11
  274. data/lib/virtualbox/com/interface/3.2.x/shared_folder.rb +0 -17
  275. data/lib/virtualbox/com/interface/3.2.x/snapshot.rb +0 -20
  276. data/lib/virtualbox/com/interface/3.2.x/usb_device.rb +0 -24
  277. data/lib/virtualbox/com/interface/3.2.x/usb_device_filter.rb +0 -23
  278. data/lib/virtualbox/com/interface/3.2.x/virtual_system_description_type.rb +0 -14
  279. data/lib/virtualbox/com/interface/3.2.x/vrdp_auth_type.rb +0 -11
  280. data/lib/virtualbox/com/interface/3.2.x/vrdp_server.rb +0 -21
  281. data/lib/virtualbox/ext/glob_loader.rb +0 -35
@@ -119,7 +119,7 @@ class AbstractModelTest < Test::Unit::TestCase
119
119
 
120
120
  should "turn attributes which are AbstractInterfaces into classes" do
121
121
  @model.foo = VirtualBox::COM::Util.versioned_interface(:VirtualBox).new(VirtualBox::COM::Implementer::Nil, nil)
122
- assert_equal "#<AbstractModelTest::FakeModel :bar=nil, :bars=..., :foo=#<VirtualBox::COM::Interface::Version_3_2_X::VirtualBox>, :foos=...>", @model.inspect
122
+ assert_equal "#<AbstractModelTest::FakeModel :bar=nil, :bars=..., :foo=#<VirtualBox::COM::Interface::Version_4_0_X::VirtualBox>, :foos=...>", @model.inspect
123
123
  end
124
124
  end
125
125
 
@@ -451,12 +451,5 @@ class AbstractModelTest < Test::Unit::TestCase
451
451
  assert @model.foo_changed?
452
452
  assert_equal "foo2", @model.foo
453
453
  end
454
-
455
- should "not mark dirtiness on write_attribute if the attribute is lazy and not yet loaded" do
456
- @model.expects(:lazy_attribute?).with(:foo).returns(true)
457
- @model.expects(:loaded_attribute?).with(:foo).returns(false)
458
- @model.expects(:set_dirty!).never
459
- @model.write_attribute(:foo, "foo2")
460
- end
461
454
  end
462
455
  end
@@ -12,7 +12,7 @@ class COMAbstractEnumTest < Test::Unit::TestCase
12
12
  assert_equal :a, @enum[0]
13
13
  assert_equal :b, @enum[1]
14
14
  assert_equal :c, @enum[2]
15
- assert_equal [:a, :b, :c], @enum.map
15
+ assert_equal({:a => 0, :b => 1, :c => 2}, @enum.map)
16
16
  end
17
17
 
18
18
  should "do the reverse mapping of value to index" do
@@ -5,6 +5,7 @@ class COMFFIInterfaceTest < Test::Unit::TestCase
5
5
  @klass = VirtualBox::COM::FFI::Interface
6
6
  @interface = mock("interface")
7
7
  @parent = mock("parent")
8
+ @interface.stubs(:get_parent).returns(@parent)
8
9
  end
9
10
 
10
11
  context "specifying a com interface" do
@@ -17,13 +18,13 @@ class COMFFIInterfaceTest < Test::Unit::TestCase
17
18
 
18
19
  should "get the interface with respect to the COM interfaces" do
19
20
  VirtualBox::COM::Util.expects(:versioned_interface).with(@interface).returns(@com_interface)
20
- @klass.com_interface(@interface, @parent)
21
+ @klass.com_interface(@interface)
21
22
  end
22
23
 
23
24
  should "define the vtbl parent and vtbl" do
24
25
  @klass.expects(:define_vtbl_parent_for_interface).with(@com_interface)
25
- @klass.expects(:define_vtbl_for_interface).with(@com_interface, @parent)
26
- @klass.com_interface(@interface, @parent)
26
+ @klass.expects(:define_vtbl_for_interface).with(@com_interface)
27
+ @klass.com_interface(@interface)
27
28
  end
28
29
  end
29
30
 
@@ -93,8 +94,10 @@ class COMFFIInterfaceTest < Test::Unit::TestCase
93
94
 
94
95
  should "get the class in the context of the FFI namespace" do
95
96
  name = :foo
97
+ klass_parent = Class.new
96
98
  klass = mock("klass")
97
- Object.expects(:module_eval).with("::VirtualBox::COM::FFI::#{VirtualBox::COM::Util.version_const}::#{name}::Vtbl").returns(klass)
99
+ klass_parent.const_set("Vtbl", klass)
100
+ VirtualBox::COM::FFI::Util.expects(:versioned_interface).with(name).returns(klass_parent)
98
101
  @klass.layout_args.expects(:<<).with([:superklass, klass])
99
102
  @klass.define_interface_parent(name)
100
103
  end
@@ -199,12 +202,12 @@ class COMFFIInterfaceTest < Test::Unit::TestCase
199
202
  should "append the return type to the spec" do
200
203
  expected = VirtualBox::COM::FFI::Util.spec_to_ffi(@spec.dup.push([:out, :int]))
201
204
 
202
- @klass.expects(:callback).with(@name, expected, VirtualBox::COM::FFI::NSRESULT_TYPE)
205
+ @klass.expects(:callback).with(@name, expected, VirtualBox::COM::FFI::Interface::NSRESULT_TYPE)
203
206
  @klass.define_interface_function(@name, :int, @spec)
204
207
  end
205
208
 
206
209
  should "turn the spec into FFI parameters, and create the callback" do
207
- @klass.expects(:callback).with(@name, @ffi_spec, VirtualBox::COM::FFI::NSRESULT_TYPE)
210
+ @klass.expects(:callback).with(@name, @ffi_spec, VirtualBox::COM::FFI::Interface::NSRESULT_TYPE)
208
211
  @klass.define_interface_function(@name, nil, @spec)
209
212
  end
210
213
 
@@ -14,17 +14,6 @@ class COMFFIUtilTest < Test::Unit::TestCase
14
14
  end
15
15
  end
16
16
 
17
- context "versioned interface" do
18
- should "get the current FFI interface associated with the current version" do
19
- result = mock("result")
20
- version_module = mock("vmod")
21
- interface = mock("interface")
22
- VirtualBox::COM::FFI.expects(:const_get).with(::VirtualBox::COM::Util.version_const).returns(version_module)
23
- version_module.expects(:const_get).with(interface).returns(result)
24
- assert_equal result, @klass.versioned_interface(interface)
25
- end
26
- end
27
-
28
17
  context "converting function specs to FFI parameter lists" do
29
18
  def assert_spec(spec, expected)
30
19
  result = @klass.spec_to_ffi(spec)
@@ -6,23 +6,6 @@ class COMImplementerFFITest < Test::Unit::TestCase
6
6
  @interface = mock("interface")
7
7
  end
8
8
 
9
- context "initializing" do
10
- setup do
11
- @interface.stubs(:class).returns(VirtualBox::COM::Util.versioned_interface(:Session))
12
-
13
- @ffi = mock("ffi")
14
-
15
- @pointer = mock("pointer")
16
- end
17
-
18
- should "initialize the FFI interface associated with the AbstractInterface" do
19
- result = mock("result")
20
- VirtualBox::COM::FFI::Util.versioned_interface(:Session).expects(:new).with(@pointer).once.returns(result)
21
- instance = @klass.new(@interface, @ffi, @pointer)
22
- assert_equal result, instance.ffi_interface
23
- end
24
- end
25
-
26
9
  context "with an instance" do
27
10
  setup do
28
11
  @lib_base = mock("lib_base")
@@ -97,7 +80,7 @@ class COMImplementerFFITest < Test::Unit::TestCase
97
80
 
98
81
  should "raise an exception if an error occurred" do
99
82
  @function.expects(:call).returns(0x8000_4002)
100
- assert_raises(VirtualBox::Exceptions::FFIException) {
83
+ assert_raises(VirtualBox::Exceptions::COMException) {
101
84
  @instance.call_and_check(@name)
102
85
  }
103
86
  end
@@ -129,8 +112,8 @@ class COMImplementerFFITest < Test::Unit::TestCase
129
112
  assert_equal VirtualBox::Exceptions::ObjectNotFoundException, @instance.exception_map(0x80BB_0001)
130
113
  end
131
114
 
132
- should "return FFIException if no mapping is found" do
133
- assert_equal VirtualBox::Exceptions::FFIException, @instance.exception_map(-5)
115
+ should "return COMException if no mapping is found" do
116
+ assert_equal VirtualBox::Exceptions::COMException, @instance.exception_map(-5)
134
117
  end
135
118
  end
136
119
 
@@ -178,7 +161,10 @@ class COMImplementerFFITest < Test::Unit::TestCase
178
161
 
179
162
  should "replace in array types with two parameters" do
180
163
  @array = [true, false, false]
181
- assert_equal [@array.length, [1, 0, 0]], @instance.spec_to_args([[VirtualBox::COM::T_BOOL]], [@array])
164
+ result = @instance.spec_to_args([[VirtualBox::COM::T_BOOL]], [@array])
165
+ assert_equal 2, result.length
166
+ assert_equal @array.length, result[0]
167
+ assert result[1].kind_of?(::FFI::MemoryPointer)
182
168
  end
183
169
 
184
170
  should "replace out array types with two parameters" do
@@ -4,14 +4,4 @@ class COMUtilTest < Test::Unit::TestCase
4
4
  setup do
5
5
  @klass = VirtualBox::COM::Util
6
6
  end
7
-
8
- context "checking for interfaces" do
9
- should "return true for existing interfaces" do
10
- assert @klass.interface?(:VirtualBox)
11
- end
12
-
13
- should "return false for non-existing interfaces" do
14
- assert !@klass.interface?(:IDontExist)
15
- end
16
- end
17
7
  end
@@ -110,7 +110,7 @@ class HostNetworkInterfaceTest < Test::Unit::TestCase
110
110
  interfaces.each do |name|
111
111
  adapter = mock("adapter")
112
112
  adapter.stubs(:enabled?).returns(true)
113
- adapter.stubs(:host_interface).returns(name)
113
+ adapter.stubs(:host_only_interface).returns(name)
114
114
  adapters << adapter
115
115
  end
116
116
 
@@ -54,12 +54,13 @@ class NetworkAdapterTest < Test::Unit::TestCase
54
54
  @vbox = mock("vbox")
55
55
  @system_properties = mock("sys_props")
56
56
  @interface.stubs(:parent).returns(@vbox)
57
+ @interface.stubs(:chipset_type).returns(:piix3)
57
58
  @vbox.stubs(:system_properties).returns(@system_properties)
58
- @system_properties.stubs(:network_adapter_count).returns(@count)
59
+ @system_properties.stubs(:get_max_network_adapters).returns(@count)
59
60
  end
60
61
 
61
62
  should "return a proxied collection" do
62
- @system_properties.stubs(:network_adapter_count).returns(0)
63
+ @system_properties.expects(:get_max_network_adapters).with(@interface.chipset_type).returns(0)
63
64
  result = @klass.populate_relationship(nil, @interface)
64
65
  assert result.is_a?(VirtualBox::Proxies::Collection)
65
66
  end
@@ -116,13 +117,13 @@ class NetworkAdapterTest < Test::Unit::TestCase
116
117
  should "return the network interface associated with the adapter" do
117
118
  name = "foo"
118
119
  result = stub_interface(name)
119
- @instance.host_interface = name
120
+ @instance.host_only_interface = name
120
121
  assert_equal result, @instance.host_interface_object
121
122
  end
122
123
 
123
124
  should "return nil if the interface is not found" do
124
125
  stub_interface("foo")
125
- @instance.host_interface = "bar"
126
+ @instance.host_only_interface = "bar"
126
127
  assert_nil @instance.host_interface_object
127
128
  end
128
129
  end
@@ -133,40 +134,13 @@ class NetworkAdapterTest < Test::Unit::TestCase
133
134
  @instance.stubs(:modify_adapter).yields(@adapter)
134
135
  end
135
136
 
136
- should "save the attachment type and interface attributes on the open adapter" do
137
- @instance.expects(:save_attachment_type).with(@adapter).once
137
+ should "save the interface attributes on the open adapter" do
138
138
  @instance.expects(:save_changed_interface_attributes).with(@adapter).once
139
139
  @instance.expects(:save_relationships).once
140
140
  @instance.save
141
141
  end
142
142
  end
143
143
 
144
- context "saving attachment type" do
145
- setup do
146
- @adapter = mock("adapter")
147
- @instance.attachment_type = :nat
148
- end
149
-
150
- should "do nothing if attachment type is not changed" do
151
- @instance.clear_dirty!
152
- assert !@instance.attachment_type_changed?
153
- @instance.expects(:attach_to_nat).never
154
-
155
- @instance.save_attachment_type(@adapter)
156
- end
157
-
158
- should "run the proper method if it has changed" do
159
- @adapter.expects(:attach_to_nat).once
160
- @instance.save_attachment_type(@adapter)
161
- end
162
-
163
- should "clear the dirty state" do
164
- @adapter.stubs(:attach_to_nat)
165
- @instance.save_attachment_type(@adapter)
166
- assert !@instance.attachment_type_changed?
167
- end
168
- end
169
-
170
144
  context "modifying the adapter" do
171
145
  setup do
172
146
  @machine = mock("machine")
@@ -1,10 +1,6 @@
1
1
  require File.expand_path("../../test_helper", __FILE__)
2
2
 
3
3
  class VersionTest < Test::Unit::TestCase
4
- module VersionTestMod
5
- extend VirtualBox::Version
6
- end
7
-
8
4
  setup do
9
5
  @lib = mock("lib")
10
6
  @vbox = mock("vbox")
@@ -12,7 +8,7 @@ class VersionTest < Test::Unit::TestCase
12
8
  VirtualBox::Lib.stubs(:lib).returns(@lib)
13
9
  @lib.stubs(:virtualbox).returns(@vbox)
14
10
 
15
- @module = VersionTestMod
11
+ @module = VirtualBox
16
12
  end
17
13
 
18
14
  context "checking if supported version of VirtualBox" do
@@ -20,8 +20,10 @@ class VMTest < Test::Unit::TestCase
20
20
 
21
21
  context "finding a VM" do
22
22
  setup do
23
- @all = []
24
- @klass.stubs(:all).returns(@all)
23
+ @lib = mock("lib")
24
+ @virtualbox = mock("virtualbox")
25
+ VirtualBox::Lib.stubs(:lib).returns(@lib)
26
+ @lib.stubs(:virtualbox).returns(@virtualbox)
25
27
  end
26
28
 
27
29
  def mock_vm(uuid, name=nil)
@@ -32,21 +34,13 @@ class VMTest < Test::Unit::TestCase
32
34
  end
33
35
 
34
36
  should "return nil if it doesn't exist" do
35
- @all << mock_vm("foo")
37
+ @virtualbox.expects(:find_machine).raises(VirtualBox::Exceptions::ObjectNotFoundException)
36
38
  assert_nil @klass.find("bar")
37
39
  end
38
40
 
39
41
  should "return the matching vm if it is found" do
40
- vm = mock_vm("foo")
41
- @all << mock_vm("bar")
42
- @all << vm
43
- assert_equal vm, @klass.find("foo")
44
- end
45
-
46
- should "return if matching name is found" do
47
- vm = mock_vm(nil, "foo")
48
- @all << vm
49
- assert_equal vm, @klass.find("foo")
42
+ @virtualbox.expects(:find_machine).returns(mock_vm("foo"))
43
+ assert !@klass.find("foo").nil?
50
44
  end
51
45
  end
52
46
 
@@ -149,13 +143,13 @@ class VMTest < Test::Unit::TestCase
149
143
  @klass.any_instance.stubs(:populate_relationships)
150
144
  end
151
145
 
152
- should "load interface attribtues" do
153
- @klass.any_instance.expects(:load_interface_attributes).with(@interface).once
146
+ should "not load interface attribtues" do
147
+ @klass.any_instance.expects(:load_interface_attributes).with(@interface).never
154
148
  @klass.new(@interface)
155
149
  end
156
150
 
157
- should "populate relationships" do
158
- @klass.any_instance.expects(:populate_relationships).with(@interface).once
151
+ should "not populate relationships" do
152
+ @klass.any_instance.expects(:populate_relationships).with(@interface).never
159
153
  @klass.new(@interface)
160
154
  end
161
155
 
@@ -1,5 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path("../lib/virtualbox/version", __FILE__)
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
+ require "virtualbox/version"
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = "virtualbox"
@@ -14,9 +15,10 @@ Gem::Specification.new do |s|
14
15
  s.required_rubygems_version = ">= 1.3.6"
15
16
  s.rubyforge_project = "virtualbox"
16
17
 
17
- s.add_dependency "ffi", "~> 1.0"
18
+ s.add_dependency "ffi", "~> 1.0.9"
18
19
  s.add_development_dependency "contest", "~> 0.1.2"
19
20
  s.add_development_dependency "mocha", "~> 0.9.8"
21
+ s.add_development_dependency "rake", "~> 0.9.2"
20
22
 
21
23
  s.files = `git ls-files`.split("\n")
22
24
  s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
metadata CHANGED
@@ -1,66 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: virtualbox
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
4
5
  prerelease:
5
- version: 0.8.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Mitchell Hashimoto
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-16 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-20 00:00:00.000000000 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: ffi
17
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70207771149320 !ruby/object:Gem::Requirement
18
18
  none: false
19
- requirements:
19
+ requirements:
20
20
  - - ~>
21
- - !ruby/object:Gem::Version
22
- version: "1.0"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.9
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *70207771149320
26
+ - !ruby/object:Gem::Dependency
27
27
  name: contest
28
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &70207771148320 !ruby/object:Gem::Requirement
29
29
  none: false
30
- requirements:
30
+ requirements:
31
31
  - - ~>
32
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
33
33
  version: 0.1.2
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *70207771148320
37
+ - !ruby/object:Gem::Dependency
38
38
  name: mocha
39
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &70207771147420 !ruby/object:Gem::Requirement
40
40
  none: false
41
- requirements:
41
+ requirements:
42
42
  - - ~>
43
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
44
44
  version: 0.9.8
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *id003
47
+ version_requirements: *70207771147420
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: &70207771146660 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 0.9.2
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *70207771146660
48
59
  description: Create and modify virtual machines in VirtualBox using pure ruby
49
- email:
60
+ email:
50
61
  - mitchell.hashimoto@gmail.com
51
62
  executables: []
52
-
53
63
  extensions: []
54
-
55
64
  extra_rdoc_files: []
56
-
57
- files:
65
+ files:
58
66
  - .gitignore
59
67
  - .yardopts
60
68
  - Gemfile
61
69
  - LICENSE
62
70
  - Rakefile
63
71
  - Readme.md
72
+ - TODO.md
64
73
  - docs/GettingStarted.md
65
74
  - docs/WhatsNew.md
66
75
  - features/README.md
@@ -108,217 +117,185 @@ files:
108
117
  - lib/virtualbox/com/abstract_implementer.rb
109
118
  - lib/virtualbox/com/abstract_interface.rb
110
119
  - lib/virtualbox/com/base_interface.rb
120
+ - lib/virtualbox/com/ffi.rb
111
121
  - lib/virtualbox/com/ffi/interface.rb
112
- - lib/virtualbox/com/ffi/interfaces.rb
113
122
  - lib/virtualbox/com/ffi/util.rb
114
- - lib/virtualbox/com/ffi/vboxxpcomc.rb
115
123
  - lib/virtualbox/com/ffi_interface.rb
124
+ - lib/virtualbox/com/implementer.rb
116
125
  - lib/virtualbox/com/implementer/base.rb
117
126
  - lib/virtualbox/com/implementer/ffi.rb
118
127
  - lib/virtualbox/com/implementer/mscom.rb
119
128
  - lib/virtualbox/com/implementer/nil.rb
120
- - lib/virtualbox/com/interface/3.1.x/access_mode.rb
121
- - lib/virtualbox/com/interface/3.1.x/appliance.rb
122
- - lib/virtualbox/com/interface/3.1.x/audio_adapter.rb
123
- - lib/virtualbox/com/interface/3.1.x/audio_controller_type.rb
124
- - lib/virtualbox/com/interface/3.1.x/audio_driver_type.rb
125
- - lib/virtualbox/com/interface/3.1.x/bios_boot_menu_mode.rb
126
- - lib/virtualbox/com/interface/3.1.x/bios_settings.rb
127
- - lib/virtualbox/com/interface/3.1.x/clipboard_mode.rb
128
- - lib/virtualbox/com/interface/3.1.x/console.rb
129
- - lib/virtualbox/com/interface/3.1.x/cpu_property_type.rb
130
- - lib/virtualbox/com/interface/3.1.x/device_type.rb
131
- - lib/virtualbox/com/interface/3.1.x/dhcp_server.rb
132
- - lib/virtualbox/com/interface/3.1.x/firmware_type.rb
133
- - lib/virtualbox/com/interface/3.1.x/guest_os_type.rb
134
- - lib/virtualbox/com/interface/3.1.x/host.rb
135
- - lib/virtualbox/com/interface/3.1.x/host_network_interface.rb
136
- - lib/virtualbox/com/interface/3.1.x/host_network_interface_medium_type.rb
137
- - lib/virtualbox/com/interface/3.1.x/host_network_interface_status.rb
138
- - lib/virtualbox/com/interface/3.1.x/host_network_interface_type.rb
139
- - lib/virtualbox/com/interface/3.1.x/host_usb_device.rb
140
- - lib/virtualbox/com/interface/3.1.x/host_usb_device_filter.rb
141
- - lib/virtualbox/com/interface/3.1.x/hw_virt_ex_property_type.rb
142
- - lib/virtualbox/com/interface/3.1.x/machine.rb
143
- - lib/virtualbox/com/interface/3.1.x/machine_state.rb
144
- - lib/virtualbox/com/interface/3.1.x/medium.rb
145
- - lib/virtualbox/com/interface/3.1.x/medium_attachment.rb
146
- - lib/virtualbox/com/interface/3.1.x/medium_format.rb
147
- - lib/virtualbox/com/interface/3.1.x/medium_state.rb
148
- - lib/virtualbox/com/interface/3.1.x/medium_type.rb
149
- - lib/virtualbox/com/interface/3.1.x/medium_variant.rb
150
- - lib/virtualbox/com/interface/3.1.x/network_adapter.rb
151
- - lib/virtualbox/com/interface/3.1.x/network_adapter_type.rb
152
- - lib/virtualbox/com/interface/3.1.x/network_attachment_type.rb
153
- - lib/virtualbox/com/interface/3.1.x/nsiexception.rb
154
- - lib/virtualbox/com/interface/3.1.x/nsisupports.rb
155
- - lib/virtualbox/com/interface/3.1.x/parallel_port.rb
156
- - lib/virtualbox/com/interface/3.1.x/port_mode.rb
157
- - lib/virtualbox/com/interface/3.1.x/progress.rb
158
- - lib/virtualbox/com/interface/3.1.x/serial_port.rb
159
- - lib/virtualbox/com/interface/3.1.x/session.rb
160
- - lib/virtualbox/com/interface/3.1.x/session_state.rb
161
- - lib/virtualbox/com/interface/3.1.x/session_type.rb
162
- - lib/virtualbox/com/interface/3.1.x/shared_folder.rb
163
- - lib/virtualbox/com/interface/3.1.x/snapshot.rb
164
- - lib/virtualbox/com/interface/3.1.x/storage_bus.rb
165
- - lib/virtualbox/com/interface/3.1.x/storage_controller.rb
166
- - lib/virtualbox/com/interface/3.1.x/storage_controller_type.rb
167
- - lib/virtualbox/com/interface/3.1.x/system_properties.rb
168
- - lib/virtualbox/com/interface/3.1.x/usb_controller.rb
169
- - lib/virtualbox/com/interface/3.1.x/usb_device.rb
170
- - lib/virtualbox/com/interface/3.1.x/usb_device_filter.rb
171
- - lib/virtualbox/com/interface/3.1.x/usb_device_filter_action.rb
172
- - lib/virtualbox/com/interface/3.1.x/usb_device_state.rb
173
- - lib/virtualbox/com/interface/3.1.x/virtual_box_error_info.rb
174
- - lib/virtualbox/com/interface/3.1.x/virtual_system_description.rb
175
- - lib/virtualbox/com/interface/3.1.x/virtual_system_description_type.rb
176
- - lib/virtualbox/com/interface/3.1.x/virtual_system_description_value_type.rb
177
- - lib/virtualbox/com/interface/3.1.x/virtualbox.rb
178
- - lib/virtualbox/com/interface/3.1.x/vrdp_auth_type.rb
179
- - lib/virtualbox/com/interface/3.1.x/vrdp_server.rb
180
- - lib/virtualbox/com/interface/3.2.x/access_mode.rb
181
- - lib/virtualbox/com/interface/3.2.x/appliance.rb
182
- - lib/virtualbox/com/interface/3.2.x/audio_adapter.rb
183
- - lib/virtualbox/com/interface/3.2.x/audio_controller_type.rb
184
- - lib/virtualbox/com/interface/3.2.x/audio_driver_type.rb
185
- - lib/virtualbox/com/interface/3.2.x/bios_boot_menu_mode.rb
186
- - lib/virtualbox/com/interface/3.2.x/bios_settings.rb
187
- - lib/virtualbox/com/interface/3.2.x/clipboard_mode.rb
188
- - lib/virtualbox/com/interface/3.2.x/console.rb
189
- - lib/virtualbox/com/interface/3.2.x/cpu_property_type.rb
190
- - lib/virtualbox/com/interface/3.2.x/device_type.rb
191
- - lib/virtualbox/com/interface/3.2.x/dhcp_server.rb
192
- - lib/virtualbox/com/interface/3.2.x/firmware_type.rb
193
- - lib/virtualbox/com/interface/3.2.x/guest.rb
194
- - lib/virtualbox/com/interface/3.2.x/guest_os_type.rb
195
- - lib/virtualbox/com/interface/3.2.x/host.rb
196
- - lib/virtualbox/com/interface/3.2.x/host_network_interface.rb
197
- - lib/virtualbox/com/interface/3.2.x/host_network_interface_medium_type.rb
198
- - lib/virtualbox/com/interface/3.2.x/host_network_interface_status.rb
199
- - lib/virtualbox/com/interface/3.2.x/host_network_interface_type.rb
200
- - lib/virtualbox/com/interface/3.2.x/host_usb_device.rb
201
- - lib/virtualbox/com/interface/3.2.x/host_usb_device_filter.rb
202
- - lib/virtualbox/com/interface/3.2.x/hw_virt_ex_property_type.rb
203
- - lib/virtualbox/com/interface/3.2.x/keyboard_hid_type.rb
204
- - lib/virtualbox/com/interface/3.2.x/machine.rb
205
- - lib/virtualbox/com/interface/3.2.x/machine_state.rb
206
- - lib/virtualbox/com/interface/3.2.x/medium.rb
207
- - lib/virtualbox/com/interface/3.2.x/medium_attachment.rb
208
- - lib/virtualbox/com/interface/3.2.x/medium_format.rb
209
- - lib/virtualbox/com/interface/3.2.x/medium_state.rb
210
- - lib/virtualbox/com/interface/3.2.x/medium_type.rb
211
- - lib/virtualbox/com/interface/3.2.x/medium_variant.rb
212
- - lib/virtualbox/com/interface/3.2.x/nat_alias_mode.rb
213
- - lib/virtualbox/com/interface/3.2.x/nat_engine.rb
214
- - lib/virtualbox/com/interface/3.2.x/nat_protocol.rb
215
- - lib/virtualbox/com/interface/3.2.x/network_adapter.rb
216
- - lib/virtualbox/com/interface/3.2.x/network_adapter_type.rb
217
- - lib/virtualbox/com/interface/3.2.x/network_attachment_type.rb
218
- - lib/virtualbox/com/interface/3.2.x/nsiexception.rb
219
- - lib/virtualbox/com/interface/3.2.x/nsisupports.rb
220
- - lib/virtualbox/com/interface/3.2.x/parallel_port.rb
221
- - lib/virtualbox/com/interface/3.2.x/pointing_hid_type.rb
222
- - lib/virtualbox/com/interface/3.2.x/port_mode.rb
223
- - lib/virtualbox/com/interface/3.2.x/progress.rb
224
- - lib/virtualbox/com/interface/3.2.x/serial_port.rb
225
- - lib/virtualbox/com/interface/3.2.x/session.rb
226
- - lib/virtualbox/com/interface/3.2.x/session_state.rb
227
- - lib/virtualbox/com/interface/3.2.x/session_type.rb
228
- - lib/virtualbox/com/interface/3.2.x/shared_folder.rb
229
- - lib/virtualbox/com/interface/3.2.x/snapshot.rb
230
- - lib/virtualbox/com/interface/3.2.x/storage_bus.rb
231
- - lib/virtualbox/com/interface/3.2.x/storage_controller.rb
232
- - lib/virtualbox/com/interface/3.2.x/storage_controller_type.rb
233
- - lib/virtualbox/com/interface/3.2.x/system_properties.rb
234
- - lib/virtualbox/com/interface/3.2.x/usb_controller.rb
235
- - lib/virtualbox/com/interface/3.2.x/usb_device.rb
236
- - lib/virtualbox/com/interface/3.2.x/usb_device_filter.rb
237
- - lib/virtualbox/com/interface/3.2.x/usb_device_filter_action.rb
238
- - lib/virtualbox/com/interface/3.2.x/usb_device_state.rb
239
- - lib/virtualbox/com/interface/3.2.x/virtual_box_error_info.rb
240
- - lib/virtualbox/com/interface/3.2.x/virtual_system_description.rb
241
- - lib/virtualbox/com/interface/3.2.x/virtual_system_description_type.rb
242
- - lib/virtualbox/com/interface/3.2.x/virtual_system_description_value_type.rb
243
- - lib/virtualbox/com/interface/3.2.x/virtualbox.rb
244
- - lib/virtualbox/com/interface/3.2.x/vrdp_auth_type.rb
245
- - lib/virtualbox/com/interface/3.2.x/vrdp_server.rb
246
- - lib/virtualbox/com/interface/4.0.x/access_mode.rb
247
- - lib/virtualbox/com/interface/4.0.x/appliance.rb
248
- - lib/virtualbox/com/interface/4.0.x/audio_adapter.rb
249
- - lib/virtualbox/com/interface/4.0.x/audio_controller_type.rb
250
- - lib/virtualbox/com/interface/4.0.x/audio_driver_type.rb
251
- - lib/virtualbox/com/interface/4.0.x/auth_type.rb
252
- - lib/virtualbox/com/interface/4.0.x/bandwidth_control.rb
253
- - lib/virtualbox/com/interface/4.0.x/bandwidth_group.rb
254
- - lib/virtualbox/com/interface/4.0.x/bandwidth_group_type.rb
255
- - lib/virtualbox/com/interface/4.0.x/bios_boot_menu_mode.rb
256
- - lib/virtualbox/com/interface/4.0.x/bios_settings.rb
257
- - lib/virtualbox/com/interface/4.0.x/chipset_type.rb
258
- - lib/virtualbox/com/interface/4.0.x/cleanup_mode.rb
259
- - lib/virtualbox/com/interface/4.0.x/clipboard_mode.rb
260
- - lib/virtualbox/com/interface/4.0.x/console.rb
261
- - lib/virtualbox/com/interface/4.0.x/cpu_property_type.rb
262
- - lib/virtualbox/com/interface/4.0.x/data_type.rb
263
- - lib/virtualbox/com/interface/4.0.x/device_type.rb
264
- - lib/virtualbox/com/interface/4.0.x/dhcp_server.rb
265
- - lib/virtualbox/com/interface/4.0.x/event_source.rb
266
- - lib/virtualbox/com/interface/4.0.x/fault_tolerance_state.rb
267
- - lib/virtualbox/com/interface/4.0.x/firmware_type.rb
268
- - lib/virtualbox/com/interface/4.0.x/guest.rb
269
- - lib/virtualbox/com/interface/4.0.x/guest_os_type.rb
270
- - lib/virtualbox/com/interface/4.0.x/host.rb
271
- - lib/virtualbox/com/interface/4.0.x/host_network_interface.rb
272
- - lib/virtualbox/com/interface/4.0.x/host_network_interface_medium_type.rb
273
- - lib/virtualbox/com/interface/4.0.x/host_network_interface_status.rb
274
- - lib/virtualbox/com/interface/4.0.x/host_network_interface_type.rb
275
- - lib/virtualbox/com/interface/4.0.x/host_usb_device.rb
276
- - lib/virtualbox/com/interface/4.0.x/host_usb_device_filter.rb
277
- - lib/virtualbox/com/interface/4.0.x/hw_virt_ex_property_type.rb
278
- - lib/virtualbox/com/interface/4.0.x/keyboard_hid_type.rb
279
- - lib/virtualbox/com/interface/4.0.x/lock_type.rb
280
- - lib/virtualbox/com/interface/4.0.x/machine.rb
281
- - lib/virtualbox/com/interface/4.0.x/machine_state.rb
282
- - lib/virtualbox/com/interface/4.0.x/medium.rb
283
- - lib/virtualbox/com/interface/4.0.x/medium_attachment.rb
284
- - lib/virtualbox/com/interface/4.0.x/medium_format.rb
285
- - lib/virtualbox/com/interface/4.0.x/medium_state.rb
286
- - lib/virtualbox/com/interface/4.0.x/medium_type.rb
287
- - lib/virtualbox/com/interface/4.0.x/medium_variant.rb
288
- - lib/virtualbox/com/interface/4.0.x/nat_alias_mode.rb
289
- - lib/virtualbox/com/interface/4.0.x/nat_engine.rb
290
- - lib/virtualbox/com/interface/4.0.x/nat_protocol.rb
291
- - lib/virtualbox/com/interface/4.0.x/network_adapter.rb
292
- - lib/virtualbox/com/interface/4.0.x/network_adapter_type.rb
293
- - lib/virtualbox/com/interface/4.0.x/network_attachment_type.rb
294
- - lib/virtualbox/com/interface/4.0.x/nsiexception.rb
295
- - lib/virtualbox/com/interface/4.0.x/nsisupports.rb
296
- - lib/virtualbox/com/interface/4.0.x/parallel_port.rb
297
- - lib/virtualbox/com/interface/4.0.x/pci_device_attachment.rb
298
- - lib/virtualbox/com/interface/4.0.x/pointing_hid_type.rb
299
- - lib/virtualbox/com/interface/4.0.x/port_mode.rb
300
- - lib/virtualbox/com/interface/4.0.x/progress.rb
301
- - lib/virtualbox/com/interface/4.0.x/serial_port.rb
302
- - lib/virtualbox/com/interface/4.0.x/session.rb
303
- - lib/virtualbox/com/interface/4.0.x/session_state.rb
304
- - lib/virtualbox/com/interface/4.0.x/session_type.rb
305
- - lib/virtualbox/com/interface/4.0.x/shared_folder.rb
306
- - lib/virtualbox/com/interface/4.0.x/snapshot.rb
307
- - lib/virtualbox/com/interface/4.0.x/storage_bus.rb
308
- - lib/virtualbox/com/interface/4.0.x/storage_controller.rb
309
- - lib/virtualbox/com/interface/4.0.x/storage_controller_type.rb
310
- - lib/virtualbox/com/interface/4.0.x/system_properties.rb
311
- - lib/virtualbox/com/interface/4.0.x/usb_controller.rb
312
- - lib/virtualbox/com/interface/4.0.x/usb_device.rb
313
- - lib/virtualbox/com/interface/4.0.x/usb_device_filter.rb
314
- - lib/virtualbox/com/interface/4.0.x/usb_device_filter_action.rb
315
- - lib/virtualbox/com/interface/4.0.x/usb_device_state.rb
316
- - lib/virtualbox/com/interface/4.0.x/virtual_box_error_info.rb
317
- - lib/virtualbox/com/interface/4.0.x/virtual_system_description.rb
318
- - lib/virtualbox/com/interface/4.0.x/virtual_system_description_type.rb
319
- - lib/virtualbox/com/interface/4.0.x/virtual_system_description_value_type.rb
320
- - lib/virtualbox/com/interface/4.0.x/virtualbox.rb
321
- - lib/virtualbox/com/interface/4.0.x/vrde_server.rb
129
+ - lib/virtualbox/com/interface/4.0.x/AccessMode.rb
130
+ - lib/virtualbox/com/interface/4.0.x/Appliance.rb
131
+ - lib/virtualbox/com/interface/4.0.x/AudioAdapter.rb
132
+ - lib/virtualbox/com/interface/4.0.x/AudioControllerType.rb
133
+ - lib/virtualbox/com/interface/4.0.x/AudioDriverType.rb
134
+ - lib/virtualbox/com/interface/4.0.x/AuthType.rb
135
+ - lib/virtualbox/com/interface/4.0.x/BIOSBootMenuMode.rb
136
+ - lib/virtualbox/com/interface/4.0.x/BIOSSettings.rb
137
+ - lib/virtualbox/com/interface/4.0.x/BandwidthControl.rb
138
+ - lib/virtualbox/com/interface/4.0.x/BandwidthGroup.rb
139
+ - lib/virtualbox/com/interface/4.0.x/BandwidthGroupType.rb
140
+ - lib/virtualbox/com/interface/4.0.x/ChipsetType.rb
141
+ - lib/virtualbox/com/interface/4.0.x/CleanupMode.rb
142
+ - lib/virtualbox/com/interface/4.0.x/ClipboardMode.rb
143
+ - lib/virtualbox/com/interface/4.0.x/Console.rb
144
+ - lib/virtualbox/com/interface/4.0.x/CpuPropertyType.rb
145
+ - lib/virtualbox/com/interface/4.0.x/DHCPServer.rb
146
+ - lib/virtualbox/com/interface/4.0.x/DataType.rb
147
+ - lib/virtualbox/com/interface/4.0.x/DeviceType.rb
148
+ - lib/virtualbox/com/interface/4.0.x/EventSource.rb
149
+ - lib/virtualbox/com/interface/4.0.x/FaultToleranceState.rb
150
+ - lib/virtualbox/com/interface/4.0.x/FirmwareType.rb
151
+ - lib/virtualbox/com/interface/4.0.x/Guest.rb
152
+ - lib/virtualbox/com/interface/4.0.x/GuestOSType.rb
153
+ - lib/virtualbox/com/interface/4.0.x/HWVirtExPropertyType.rb
154
+ - lib/virtualbox/com/interface/4.0.x/Host.rb
155
+ - lib/virtualbox/com/interface/4.0.x/HostNetworkInterface.rb
156
+ - lib/virtualbox/com/interface/4.0.x/HostNetworkInterfaceMediumType.rb
157
+ - lib/virtualbox/com/interface/4.0.x/HostNetworkInterfaceStatus.rb
158
+ - lib/virtualbox/com/interface/4.0.x/HostNetworkInterfaceType.rb
159
+ - lib/virtualbox/com/interface/4.0.x/HostUSBDevice.rb
160
+ - lib/virtualbox/com/interface/4.0.x/HostUSBDeviceFilter.rb
161
+ - lib/virtualbox/com/interface/4.0.x/KeyboardHidType.rb
162
+ - lib/virtualbox/com/interface/4.0.x/LockType.rb
163
+ - lib/virtualbox/com/interface/4.0.x/Machine.rb
164
+ - lib/virtualbox/com/interface/4.0.x/MachineState.rb
165
+ - lib/virtualbox/com/interface/4.0.x/Medium.rb
166
+ - lib/virtualbox/com/interface/4.0.x/MediumAttachment.rb
167
+ - lib/virtualbox/com/interface/4.0.x/MediumFormat.rb
168
+ - lib/virtualbox/com/interface/4.0.x/MediumState.rb
169
+ - lib/virtualbox/com/interface/4.0.x/MediumType.rb
170
+ - lib/virtualbox/com/interface/4.0.x/MediumVariant.rb
171
+ - lib/virtualbox/com/interface/4.0.x/NATAliasMode.rb
172
+ - lib/virtualbox/com/interface/4.0.x/NATEngine.rb
173
+ - lib/virtualbox/com/interface/4.0.x/NATProtocol.rb
174
+ - lib/virtualbox/com/interface/4.0.x/NSIException.rb
175
+ - lib/virtualbox/com/interface/4.0.x/NSISupports.rb
176
+ - lib/virtualbox/com/interface/4.0.x/NetworkAdapter.rb
177
+ - lib/virtualbox/com/interface/4.0.x/NetworkAdapterType.rb
178
+ - lib/virtualbox/com/interface/4.0.x/NetworkAttachmentType.rb
179
+ - lib/virtualbox/com/interface/4.0.x/ParallelPort.rb
180
+ - lib/virtualbox/com/interface/4.0.x/PciDeviceAttachment.rb
181
+ - lib/virtualbox/com/interface/4.0.x/PointingHidType.rb
182
+ - lib/virtualbox/com/interface/4.0.x/PortMode.rb
183
+ - lib/virtualbox/com/interface/4.0.x/Progress.rb
184
+ - lib/virtualbox/com/interface/4.0.x/SerialPort.rb
185
+ - lib/virtualbox/com/interface/4.0.x/Session.rb
186
+ - lib/virtualbox/com/interface/4.0.x/SessionState.rb
187
+ - lib/virtualbox/com/interface/4.0.x/SessionType.rb
188
+ - lib/virtualbox/com/interface/4.0.x/SharedFolder.rb
189
+ - lib/virtualbox/com/interface/4.0.x/Snapshot.rb
190
+ - lib/virtualbox/com/interface/4.0.x/StorageBus.rb
191
+ - lib/virtualbox/com/interface/4.0.x/StorageController.rb
192
+ - lib/virtualbox/com/interface/4.0.x/StorageControllerType.rb
193
+ - lib/virtualbox/com/interface/4.0.x/SystemProperties.rb
194
+ - lib/virtualbox/com/interface/4.0.x/USBController.rb
195
+ - lib/virtualbox/com/interface/4.0.x/USBDevice.rb
196
+ - lib/virtualbox/com/interface/4.0.x/USBDeviceFilter.rb
197
+ - lib/virtualbox/com/interface/4.0.x/USBDeviceFilterAction.rb
198
+ - lib/virtualbox/com/interface/4.0.x/USBDeviceState.rb
199
+ - lib/virtualbox/com/interface/4.0.x/VRDEServer.rb
200
+ - lib/virtualbox/com/interface/4.0.x/VirtualBox.rb
201
+ - lib/virtualbox/com/interface/4.0.x/VirtualBoxErrorInfo.rb
202
+ - lib/virtualbox/com/interface/4.0.x/VirtualSystemDescription.rb
203
+ - lib/virtualbox/com/interface/4.0.x/VirtualSystemDescriptionType.rb
204
+ - lib/virtualbox/com/interface/4.0.x/VirtualSystemDescriptionValueType.rb
205
+ - lib/virtualbox/com/interface/4.1.x/AccessMode.rb
206
+ - lib/virtualbox/com/interface/4.1.x/AdditionsFacility.rb
207
+ - lib/virtualbox/com/interface/4.1.x/AdditionsFacilityClass.rb
208
+ - lib/virtualbox/com/interface/4.1.x/AdditionsFacilityStatus.rb
209
+ - lib/virtualbox/com/interface/4.1.x/AdditionsFacilityType.rb
210
+ - lib/virtualbox/com/interface/4.1.x/AdditionsRunLevelType.rb
211
+ - lib/virtualbox/com/interface/4.1.x/Appliance.rb
212
+ - lib/virtualbox/com/interface/4.1.x/AudioAdapter.rb
213
+ - lib/virtualbox/com/interface/4.1.x/AudioControllerType.rb
214
+ - lib/virtualbox/com/interface/4.1.x/AudioDriverType.rb
215
+ - lib/virtualbox/com/interface/4.1.x/AuthType.rb
216
+ - lib/virtualbox/com/interface/4.1.x/BIOSBootMenuMode.rb
217
+ - lib/virtualbox/com/interface/4.1.x/BIOSSettings.rb
218
+ - lib/virtualbox/com/interface/4.1.x/BandwidthControl.rb
219
+ - lib/virtualbox/com/interface/4.1.x/BandwidthGroup.rb
220
+ - lib/virtualbox/com/interface/4.1.x/BandwidthGroupType.rb
221
+ - lib/virtualbox/com/interface/4.1.x/ChipsetType.rb
222
+ - lib/virtualbox/com/interface/4.1.x/CleanupMode.rb
223
+ - lib/virtualbox/com/interface/4.1.x/ClipboardMode.rb
224
+ - lib/virtualbox/com/interface/4.1.x/CloneMode.rb
225
+ - lib/virtualbox/com/interface/4.1.x/CloneOptions.rb
226
+ - lib/virtualbox/com/interface/4.1.x/Console.rb
227
+ - lib/virtualbox/com/interface/4.1.x/CpuPropertyType.rb
228
+ - lib/virtualbox/com/interface/4.1.x/DHCPServer.rb
229
+ - lib/virtualbox/com/interface/4.1.x/DataType.rb
230
+ - lib/virtualbox/com/interface/4.1.x/DeviceType.rb
231
+ - lib/virtualbox/com/interface/4.1.x/DirectoryCreateFlag.rb
232
+ - lib/virtualbox/com/interface/4.1.x/DirectoryOpenFlag.rb
233
+ - lib/virtualbox/com/interface/4.1.x/EventSource.rb
234
+ - lib/virtualbox/com/interface/4.1.x/ExecuteProcessFlag.rb
235
+ - lib/virtualbox/com/interface/4.1.x/ExecuteProcessStatus.rb
236
+ - lib/virtualbox/com/interface/4.1.x/FaultToleranceState.rb
237
+ - lib/virtualbox/com/interface/4.1.x/FirmwareType.rb
238
+ - lib/virtualbox/com/interface/4.1.x/Guest.rb
239
+ - lib/virtualbox/com/interface/4.1.x/GuestDirEntry.rb
240
+ - lib/virtualbox/com/interface/4.1.x/GuestDirEntryType.rb
241
+ - lib/virtualbox/com/interface/4.1.x/GuestOSType.rb
242
+ - lib/virtualbox/com/interface/4.1.x/HWVirtExPropertyType.rb
243
+ - lib/virtualbox/com/interface/4.1.x/Host.rb
244
+ - lib/virtualbox/com/interface/4.1.x/HostNetworkInterface.rb
245
+ - lib/virtualbox/com/interface/4.1.x/HostNetworkInterfaceMediumType.rb
246
+ - lib/virtualbox/com/interface/4.1.x/HostNetworkInterfaceStatus.rb
247
+ - lib/virtualbox/com/interface/4.1.x/HostNetworkInterfaceType.rb
248
+ - lib/virtualbox/com/interface/4.1.x/HostUSBDevice.rb
249
+ - lib/virtualbox/com/interface/4.1.x/HostUSBDeviceFilter.rb
250
+ - lib/virtualbox/com/interface/4.1.x/ImportOptions.rb
251
+ - lib/virtualbox/com/interface/4.1.x/KeyboardHidType.rb
252
+ - lib/virtualbox/com/interface/4.1.x/LockType.rb
253
+ - lib/virtualbox/com/interface/4.1.x/Machine.rb
254
+ - lib/virtualbox/com/interface/4.1.x/MachineState.rb
255
+ - lib/virtualbox/com/interface/4.1.x/Medium.rb
256
+ - lib/virtualbox/com/interface/4.1.x/MediumAttachment.rb
257
+ - lib/virtualbox/com/interface/4.1.x/MediumFormat.rb
258
+ - lib/virtualbox/com/interface/4.1.x/MediumState.rb
259
+ - lib/virtualbox/com/interface/4.1.x/MediumType.rb
260
+ - lib/virtualbox/com/interface/4.1.x/MediumVariant.rb
261
+ - lib/virtualbox/com/interface/4.1.x/NATAliasMode.rb
262
+ - lib/virtualbox/com/interface/4.1.x/NATEngine.rb
263
+ - lib/virtualbox/com/interface/4.1.x/NATProtocol.rb
264
+ - lib/virtualbox/com/interface/4.1.x/NSIException.rb
265
+ - lib/virtualbox/com/interface/4.1.x/NSISupports.rb
266
+ - lib/virtualbox/com/interface/4.1.x/NetworkAdapter.rb
267
+ - lib/virtualbox/com/interface/4.1.x/NetworkAdapterPromiscModePolicy.rb
268
+ - lib/virtualbox/com/interface/4.1.x/NetworkAdapterType.rb
269
+ - lib/virtualbox/com/interface/4.1.x/NetworkAttachmentType.rb
270
+ - lib/virtualbox/com/interface/4.1.x/ParallelPort.rb
271
+ - lib/virtualbox/com/interface/4.1.x/PciDeviceAttachment.rb
272
+ - lib/virtualbox/com/interface/4.1.x/PointingHidType.rb
273
+ - lib/virtualbox/com/interface/4.1.x/PortMode.rb
274
+ - lib/virtualbox/com/interface/4.1.x/ProcessOutputFlag.rb
275
+ - lib/virtualbox/com/interface/4.1.x/Progress.rb
276
+ - lib/virtualbox/com/interface/4.1.x/SerialPort.rb
277
+ - lib/virtualbox/com/interface/4.1.x/Session.rb
278
+ - lib/virtualbox/com/interface/4.1.x/SessionState.rb
279
+ - lib/virtualbox/com/interface/4.1.x/SessionType.rb
280
+ - lib/virtualbox/com/interface/4.1.x/SettingsVersion.rb
281
+ - lib/virtualbox/com/interface/4.1.x/SharedFolder.rb
282
+ - lib/virtualbox/com/interface/4.1.x/Snapshot.rb
283
+ - lib/virtualbox/com/interface/4.1.x/StorageBus.rb
284
+ - lib/virtualbox/com/interface/4.1.x/StorageController.rb
285
+ - lib/virtualbox/com/interface/4.1.x/StorageControllerType.rb
286
+ - lib/virtualbox/com/interface/4.1.x/StorageDeviceChangedEvent.rb
287
+ - lib/virtualbox/com/interface/4.1.x/SystemProperties.rb
288
+ - lib/virtualbox/com/interface/4.1.x/USBController.rb
289
+ - lib/virtualbox/com/interface/4.1.x/USBDevice.rb
290
+ - lib/virtualbox/com/interface/4.1.x/USBDeviceFilter.rb
291
+ - lib/virtualbox/com/interface/4.1.x/USBDeviceFilterAction.rb
292
+ - lib/virtualbox/com/interface/4.1.x/USBDeviceState.rb
293
+ - lib/virtualbox/com/interface/4.1.x/VRDEServer.rb
294
+ - lib/virtualbox/com/interface/4.1.x/VirtualBox.rb
295
+ - lib/virtualbox/com/interface/4.1.x/VirtualBoxErrorInfo.rb
296
+ - lib/virtualbox/com/interface/4.1.x/VirtualSystemDescription.rb
297
+ - lib/virtualbox/com/interface/4.1.x/VirtualSystemDescriptionType.rb
298
+ - lib/virtualbox/com/interface/4.1.x/VirtualSystemDescriptionValueType.rb
322
299
  - lib/virtualbox/com/mscom_interface.rb
323
300
  - lib/virtualbox/com/nil_interface.rb
324
301
  - lib/virtualbox/com/util.rb
@@ -327,7 +304,6 @@ files:
327
304
  - lib/virtualbox/dvd.rb
328
305
  - lib/virtualbox/exceptions.rb
329
306
  - lib/virtualbox/ext/byte_normalizer.rb
330
- - lib/virtualbox/ext/glob_loader.rb
331
307
  - lib/virtualbox/ext/logger.rb
332
308
  - lib/virtualbox/ext/platform.rb
333
309
  - lib/virtualbox/ext/subclass_listing.rb
@@ -345,6 +321,7 @@ files:
345
321
  - lib/virtualbox/nat_engine.rb
346
322
  - lib/virtualbox/nat_forwarded_port.rb
347
323
  - lib/virtualbox/network_adapter.rb
324
+ - lib/virtualbox/proxies.rb
348
325
  - lib/virtualbox/proxies/collection.rb
349
326
  - lib/virtualbox/shared_folder.rb
350
327
  - lib/virtualbox/snapshot.rb
@@ -410,35 +387,32 @@ files:
410
387
  - test/virtualbox/vrde_server_test.rb
411
388
  - test/virtualbox_test.rb
412
389
  - virtualbox.gemspec
390
+ has_rdoc: true
413
391
  homepage: http://github.com/mitchellh/virtualbox
414
392
  licenses: []
415
-
416
393
  post_install_message:
417
394
  rdoc_options: []
418
-
419
- require_paths:
395
+ require_paths:
420
396
  - lib
421
- required_ruby_version: !ruby/object:Gem::Requirement
397
+ required_ruby_version: !ruby/object:Gem::Requirement
422
398
  none: false
423
- requirements:
424
- - - ">="
425
- - !ruby/object:Gem::Version
426
- hash: -4241268900487062131
427
- segments:
399
+ requirements:
400
+ - - ! '>='
401
+ - !ruby/object:Gem::Version
402
+ version: '0'
403
+ segments:
428
404
  - 0
429
- version: "0"
430
- required_rubygems_version: !ruby/object:Gem::Requirement
405
+ hash: 3134697959191809826
406
+ required_rubygems_version: !ruby/object:Gem::Requirement
431
407
  none: false
432
- requirements:
433
- - - ">="
434
- - !ruby/object:Gem::Version
408
+ requirements:
409
+ - - ! '>='
410
+ - !ruby/object:Gem::Version
435
411
  version: 1.3.6
436
412
  requirements: []
437
-
438
413
  rubyforge_project: virtualbox
439
- rubygems_version: 1.8.2
414
+ rubygems_version: 1.6.2
440
415
  signing_key:
441
416
  specification_version: 3
442
417
  summary: Create and modify virtual machines in VirtualBox using pure ruby
443
418
  test_files: []
444
-