Commit Graph

1888 Commits

Author SHA1 Message Date
Mitchell Hashimoto 642c94429e Hobo::VM uses instance methods now since the VM is a form of state 2010-01-31 17:59:19 -08:00
Mitchell Hashimoto 4cffa15d4e hobo-down and Env.require_persisted_vm 2010-01-31 01:27:18 -08:00
Mitchell Hashimoto a394f1cd5f Hobo boot process loads the UUID as VM object rather than the raw UUID. 2010-01-31 01:16:44 -08:00
Mitchell Hashimoto 3631ff0078 hobo-up persists the UUID of the VM 2010-01-30 23:00:56 -08:00
Mitchell Hashimoto e948ce9663 Function to persist UUID 2010-01-30 22:18:18 -08:00
Mitchell Hashimoto a629889ff6 Load the path to hobo file and use that path to load UUID 2010-01-30 19:58:07 -08:00
John Bender e8d9f07c94 load_dotfile uses path traversal and not a regex 2010-01-30 01:03:18 -08:00
John Bender 62c6d91a24 walks the parent folders to find the dotfile 2010-01-30 00:46:56 -08:00
Mitchell Hashimoto f4cc3d430b Hobo up creates the VM, matches MAC addresses for NAT, port forwards SSH. 2010-01-30 00:07:58 -08:00
John Bender 4fa88e6436 persisted_uuid will be null unless the dotfile exists 2010-01-29 23:48:05 -08:00
John Bender e98e9eba24 "load! load_config! load_uuid! and a persisted_uuid added to Hobo::Env" 2010-01-29 23:22:58 -08:00
John Bender cb63c8c2ae removed block, added test to config 2010-01-29 23:22:57 -08:00
John Bender d399a2babf less bad set config value 2010-01-29 23:22:57 -08:00
John Bender dbc10a840f removed alterable config, and added a test 2010-01-29 23:22:57 -08:00
Mitchell Hashimoto 5f5b080464 Whitespace 2010-01-29 20:40:43 -08:00
Mitchell Hashimoto ed22b555f4 Logging environments (silence for tests) and some test refactor 2010-01-29 20:38:36 -08:00
Mitchell Hashimoto 6a2619be02 Goodbye virtual_box.rb, hello virtualbox gem 2010-01-29 20:22:50 -08:00
John Bender 6ea3fe39b9 compacted class default value class methods in ssh, and tightened up the tests 2010-01-26 20:49:22 -08:00
John Bender 3fd2ef5e2b ssh and ssh expect script added 2010-01-26 00:01:17 -08:00
John Bender bb3496c6a6 dot method alteration similar to git, prevents alteration of non leaf settings 2010-01-24 00:09:15 -08:00
John Bender 2883130434 config switched to hash, providing alterable version for writting to settings file 2010-01-23 23:46:16 -08:00
Mitchell Hashimoto 5b29ce59aa VirtualBox wrapper now uses import to create a VM rather than createvm 2010-01-23 23:45:34 -08:00
Mitchell Hashimoto c7769661dd Destroying VMs is now possible 2010-01-22 14:02:03 -08:00
Mitchell Hashimoto 92dd514c4d VirtualBox wrapper now uses import to create a VM rather than createvm 2010-01-22 13:34:46 -08:00
Mitchell Hashimoto 148cd091bb Stricter test coverage on env.rb 2010-01-22 01:47:28 -08:00
John Bender 62f7682f9b test refactor 2010-01-22 00:56:27 -08:00
John Bender 7cd249ec63 Hobo::Config.settings -> Hobo.config 2010-01-22 00:42:29 -08:00
Mitchell Hashimoto c59b189bfa Fixed hobo dir tests to work even if the dir is already present 2010-01-22 00:22:11 -08:00
John Bender 9ed95705f7 Hobo::Config.settings is less crappy than .config ... 2010-01-21 23:58:09 -08:00
Mitchell Hashimoto 41a474dd77 Back to mocha for now. Flexmock made stubbing awkward. 2010-01-21 23:57:31 -08:00
Mitchell Hashimoto a628274e94 Initial commit for VirtualBox class. 2010-01-21 23:54:13 -08:00
John Bender b054973dc6 env and config tested and working 2010-01-21 23:38:41 -08:00
John Bender 07be6f1ac0 config hash to dot methods 2010-01-21 23:38:41 -08:00
Mitchell Hashimoto 531aa5474d ruby-debug in tests 2010-01-21 21:36:34 -08:00
John Bender ec2e34e9e3 corrected bundler require 2010-01-21 21:08:55 -08:00
John Bender 4bb35e6af1 moved vendor require to test_helper 2010-01-21 21:07:01 -08:00
John Bender 032d0175de test_helper and passing test 2010-01-21 20:35:31 -08:00
Mitchell Hashimoto 6a8d6bcaf4 Initial Gemfile for dependencies. Touched a .gitignore for the various
folders needed.
2010-01-21 19:09:18 -08:00