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

6 commits

Author SHA1 Message Date
Erik Michaels-Ober
f2bd2404d1 Revert "Updated gem spec to require json rather than multi_json"
This reverts commits: 66638b25d7,
3f0314dbd1, and
18ce4b7eca.

Since google-api-client was added as a dependency in afa9b025e9,
multi_json is a de facto dependency of fog, so this is a needless layer.
If #1034 is still an issue, I'd be happy to ship a version of multi_json
that requires rubygems >= 1.3.5.
2013-05-06 04:05:36 -07:00
Kyle Rames
18ce4b7eca Added tests for Fog::JSON; Added Fog::JSON::LoadError class; Updated all MultiJson references to Fog::JSON 2013-04-03 10:37:03 -05:00
Eric Hodel
693caeef8e Ruby 1.8.7 does not allow trailing commas in method arguments 2012-12-05 14:27:10 -08:00
Eric Hodel
185acdfbbe Added documentation for OS-EC2 requests 2012-12-05 14:27:10 -08:00
Eric Hodel
97d50bbeae Added OpenStack EC2 credential management models
Altered the paths for EC2 credential requests to remove an extra / in
the request URIs.

Altered Fog::Open::Identity::Real#request to retry only once when given
a 401 error response code.  The EC2 API returns 401 when attempting to
fetch nonexistent EC2 credentials instead of something sensible like
404, leading to an infinite loop.  Also, the "Bad username or password"
check was removed.  My version of OpenStack does not return this message
when a token is expired, but returns the same message as for a missing
EC2 credential.
2012-12-05 14:27:10 -08:00
Eric Hodel
8c76badfba Add OpenStack EC2 credentials requests.
This wraps API discovered from python-keystoneclient that allows CRUD
for EC2 credentials for an OpenStack service.  Unfortunately I haven't
been able to find documentation for this API.
2012-12-05 14:27:10 -08:00