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

23 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
Ruben Koster
92b5760b49 [openstack] string interpolation problem image create fixes #1493 2013-01-23 10:55:40 +01:00
Sergio Rubio
b11f509156 [openstack|image] Fixes #1383 2012-12-18 11:58:09 +01:00
Nelvin Driz
0035231954 [openstack] Fix Failing Shindo Tests
Signed-off-by: Nelvin Driz <nelvindriz@live.com>
2012-10-02 14:09:02 +08:00
Nelvin Driz
b863ba8a10 [openstack|image] Fix Hash Access on Mock of Create Image
Signed-off-by: Nelvin Driz <nelvindriz@live.com>
2012-09-28 15:10:12 +08:00
Philip Mark M. Deazeta
b62e37e0e3 [openstack] Updated 'image update' mocks
Conflicts:
	lib/fog/openstack/requests/image/list_public_images_detailed.rb
2012-09-28 15:08:42 +08:00
Philip Mark M. Deazeta
609995ccbe [openstack] Fixed mocks for failing shindo tests
reverted back to double quoted string

Conflicts:
	lib/fog/openstack/identity.rb
	lib/fog/openstack/requests/compute/get_volume_details.rb
	lib/fog/openstack/requests/compute/list_security_groups.rb
	lib/fog/openstack/requests/identity/list_tenants.rb
	lib/fog/openstack/requests/image/create_image.rb
	lib/fog/openstack/requests/image/list_public_images.rb
	lib/fog/openstack/requests/image/list_public_images_detailed.rb
	lib/fog/openstack/requests/image/update_image.rb
	tests/openstack/requests/compute/volume_tests.rb
2012-09-28 15:07:38 +08:00
Philip Mark M. Deazeta
a36abe3c52 [openstack] Updated mocks for quota, image, tenant and volumes
Conflicts:
	lib/fog/openstack/requests/compute/get_quota.rb
	lib/fog/openstack/requests/compute/get_quota_defaults.rb
	lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb
2012-09-28 14:54:52 +08:00
Alvin Garcia
8d06517538 [openstack|image] Fixed update image and list public images mocks 2012-09-28 14:47:01 +08:00
Alvin Garcia
8beec31665 [openstack|image] Added optional attributes to set on create image 2012-09-28 14:33:41 +08:00
Alvin Garcia
db489caaa4 [openstack|image] Added updateable attributes 2012-09-28 14:33:19 +08:00
Alvin Garcia
155b0c9157 [openstack|image] Added update_members function 2012-09-28 14:32:37 +08:00
Vadim Spivak
a47c23bbf0 [openstack|image] Stream OpenStack image
The excon gem already supports passing in a File for the body
instead of a String. Also close the file after the request has been
processed.
2012-07-16 15:49:08 -07:00
Bohuslav Kabrda
fbf202f7c7 Add the 'new_image' public images, so that find_by_id can find it 2012-07-02 12:51:21 +02:00
Bohuslav Kabrda
3260077dbb Return the properly updated image 2012-07-02 12:34:04 +02:00
Alvin Garcia
99de5161c9 [openstack|image] Added copy_from attribute 2012-05-14 14:46:14 +08:00
Alvin Garcia
1129de27c9 [openstack|image] Added set_tenant 2012-04-30 10:35:02 +08:00
Philip Mark Deazeta
f67a186902 [openstack|image] Refactor Dynamic Methods on Image Model
-removed method missing, added location attr for image upload
2012-04-30 10:35:00 +08:00
Philip Mark Deazeta
be19ce2073 [openstack|image] Image Model Updates
-added dynamic finders
-added queries for public and private images
-added function to show image metadata
2012-04-30 10:35:00 +08:00
Philip Mark Deazeta
74fe4885c9 [openstack|image] Added image module, model and request 2012-04-30 10:34:59 +08:00
Philip Mark Deazeta
8e5ac8d9ed [openstack|image] Added test for models and request 2012-04-30 10:34:59 +08:00
Philip Mark Deazeta
c122d622c0 [openstack|image] Added image service, model and request 2012-04-30 10:34:59 +08:00