geemus/fog — pull request #580 by zimbatm (2011-10-31 16:58:55+00:00)
Title: Use autoload instead of require in #initialize methods

`Kernel#require` is quite slow and can be taxing when creating a lot of instances. This patch removes these calls and replace them by adding autoload statements in fog/core.rb.

This patch is preliminary as the shindo test suite is badly broken on my computer but I though of at least starting a conversation on that issue. When mocking is disabled, I only have an AWS account and even there some tests are failing. When mocking is enabled, I get some uninplemented issues and halts on the vsphere tests because of malformed YAML (they are indented and shouldn't). I don't have the time right now to fix the test suite unfortunately.