1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Paul Thornthwaite
6716f37c5f Replace deprecated Hash methods
Done with `rubocop --auto-correct --only DeprecatedHashMethods`
2014-05-26 16:22:08 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Paul Thornthwaite
a72433d2f8 Remove duplicate requires from services
Following work on reorganising the requires, there was an inconsistent
approach to where service wrappers are required. (Fog::Compute...)

Since they should be standardised and shared across providers (although
they really aren't yet) they have been moved to `fog-core` gem.

Each provider has their own `lib/fog/{provider}/core` files that is
required by each of their services. These files should all require
`fog/core` which already required most or these.

So this removes the extra cases to concentrate them in core.
2014-02-13 17:44:48 +00:00
Lance Ivy
f9a5b9e942 don't require service when registering it
services will still be required when you:
* require them yourself
* require the entire provider (which requires all services)
2014-02-01 22:02:40 -05:00
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
Kyle Rames
01518d380c [core] updating Server models to use ssh_ip_address rather than public_ip_address 2014-01-22 14:18:35 -06:00
Paul Thornthwaite
00068859b9 [vmfusion] Updates reference to service 2013-01-07 21:01:23 +00:00
geemus
62e1c092e0 rescue/retry when loading gems (possibly without rubygems)
closes #901
2012-12-28 15:39:43 -06:00
Carlos Sanchez
a25691ed23 Move ssh private_key, public_key, username to Server model to reduce duplication 2012-10-31 12:31:49 +01:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
Cody Herriges
bca7179e2e [vmfusion|compute] Sync fission v0.4.0 plus more.
This patch has several purposes.  Firstly this patch brings the
  Fog vmfusion provider in line with the recently released v0.4.0 version
  of the Fission project by aligning various method names.  During this
  sync up servers.rb was modified to obtain all VM states and passing
  them to the raw object instead of doing so when attributes are
  obtained inside server.rb.  This improves performance a lot since it
  reduces the need to run vmrun for every VM on the system.  Other
  changes being made to the provider are so that it returns data and acts more
  similar to the vsphere provider while still keeping backward
  compatibility with the original implementation; which was to be more
  similar to various cloud providers.
2012-01-18 14:04:50 -08:00
Patrick Debois
ce9a26e344 [vmfusion|compute] reworked structure as will be released in 0.4.0a 2011-09-23 16:59:23 +02:00
Patrick Debois
cb1d5919f0 [vmfusion|compute] fixed destroy function 2011-09-16 15:47:20 +02:00
Patrick Debois
1a576820ae vmfusion provider , requires the fission gem (pull request pending) 2011-09-16 14:57:00 +02:00