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

16 commits

Author SHA1 Message Date
Paul Thornthwaite
40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
Paul Thornthwaite
e020b80249 [hp] Replaces #new_record? with #persisted? 2012-12-19 14:53:27 +00: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
geemus
c08a0874d7 [HP|Storage] remove debug output 2012-09-26 13:27:01 -05:00
Wesley Beary
07797fac00 Merge pull request #1136 from neillturner/master
For HP Compute model Server add method to return security groups
2012-09-10 08:38:13 -07:00
Neill Turner
7283aa5f54 Update lib/fog/hp/models/compute/server.rb 2012-09-08 16:10:06 +02:00
Timur Alperovich
cc69d10c89 Add generic support for EMC Atmos.
Refactor ninefold to provide generic Atmos support. Add an additional
argument, when compared to ninefold, which is the endpoint. The
endpoint should be a full URL, e.g.
https://storage.provider.com:1337/atmos. The API path and port are
optional. If the port is not specified, it is inferred from the
protocol.
2012-09-04 10:45:39 -07:00
Neill Turner
34be7b7a9a Update lib/fog/hp/models/compute/image.rb 2012-09-04 12:29:45 +02:00
Frederick Cheung
9f909e61dc [HP] delete_if returns the array, not what was deleted 2012-09-02 13:43:29 +01:00
Ferran Rodenas
09adbd69f0 [hp|storage] Use response_block param, as excon has deprecated implicit blocks 2012-08-23 17:59:24 +02:00
Edward Muller
d180ad4967 Don't leak HP cdn & storage 2012-06-22 09:38:00 -07:00
Edward Muller
1dbc7b4769 Generalize NoLeak Inspector for Fog::Service
Fog::Services can use the 'secrets' class method to list the symbols of
the instance variables not to display via #inspect.
2012-06-22 09:36:06 -07:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
Kevin Menard
dcefc2d7de Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7 Use MultiJSON #dump and #load rather than #encode and #decode
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Rupak Ganguly
9d1e801d92 Add new HP providers for Object Storage, Compute and CDN services. 2012-04-16 15:48:41 -04:00