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
Paul Thornthwaite
15ef5365e5 Require json or xml in provider cores
Since `fog-json` was extracted from `fog` it means if you rely on:

    require "fog/provider/compute"

`Fog::JSON` was not defined although it was supposed to be a supported
use case.

This adds the requires for JSON or XML based APIs based on a quick scan
of each provider to declare the required part.

AWS seems to be relying on both. Which is nice.

Providers relying on native code dependencies
2014-02-19 14:58:00 +00:00
Paul Thornthwaite
8483a599f2 Remove trailing whitespace 2014-02-19 12:30:59 +00: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
John F. Douthat
f4ecc8657b Fix typo puplic -> public 2014-01-20 15:53:03 -06:00
Rupak Ganguly
625d5634b6 Remove some files that were added during merge. 2013-10-30 19:02:54 -04:00
howete
68945be16e merge 2013-10-30 19:02:37 -04:00
Brian D. Burns
4ea463eb7b require mime/types in Fog::Storage 2013-08-27 20:43:49 -04:00
Bob Lail and Luke Booth
47547e42ef [fix] Corrected the service mocks for testing to respond with a 304 to values of If-Modified-Since that match Last-Modified
The HTTP spec suggests that clients supply the value of Last-Modified that they previously received from the server to If-Modified-Since. When comparing If-Modified-Since > Last-Modified, however, the Mock object would fail to return a 304 for such a case.
2013-07-10 13:58:54 -05:00
geemus
16cbeb1e14 fix broken test related to redacted excon error bodies 2013-05-20 11:04:16 -05:00
Mark Rushakoff
6e35409a9d Fix "cache_controle" typo in docs 2013-05-10 08:15:09 -07:00
Paul Thornthwaite
22e5f71973 [Docs] Fixes assorted yardoc tagging issues
This fixes some incorrect tag names and type/name ordering
2013-05-02 13:19:12 +01:00
Andrew Kuklewicz
243102a4d7 fix bug with head request - no query on version id for IA 2013-04-18 13:43:24 -04:00
Andrew Kuklewicz
a6da5bc80e cosmetic - fix space 2013-04-18 13:32:10 -04:00
Andrew Kuklewicz
cb8f86ca6c fix internet archive use of headers, remove acls 2013-03-26 17:21:57 -04:00
Andrew Kuklewicz
8b65626047 fix 1.8.7 error, oops 2013-03-06 14:18:40 -06:00
Andrew Kuklewicz
36e61c91fa fix tests, found a few differences with S3 2013-03-06 14:06:26 -06:00
Andrew Kuklewicz
c7166b8d45 get rid of versions from IA 2013-03-06 12:14:03 -06:00
Andrew Kuklewicz
356bc1bbcd add IA specific headers for file 2013-03-06 10:29:39 -06:00
Andrew Kuklewicz
af33b63222 get rid of bucket/directory delete - not allowed for IA 2013-03-06 10:29:11 -06:00
Andrew Kuklewicz
6414499f4d set defaults to be scheme http, port 80, as that is what internet_archive supports 2013-01-31 15:16:49 -05:00
Andrew Kuklewicz
82748f53ec and internet_archive code, tests 2013-01-31 15:16:49 -05:00