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
geemus
01544701aa [storage] fix deprecated get_url usage 2011-08-12 11:00:47 -05:00
Wesley Beary
49b7c122ab Merge pull request #352 from skippy/master
[storage|aws] clean up multi-region directory creation
2011-08-04 07:36:35 -07:00
Kenji Kabashima
0fa818ad42 Patch for AWS S3 Metadata problem 2011-07-10 15:37:15 +09:00
geemus
339c2c0aef [storage|aws] fix escaping for file#public_url 2011-07-06 13:05:09 -05:00
geemus
50cbeea302 [storage] provide http/https options for signed urls
closes #157
2011-06-27 14:50:32 -07:00
geemus
e1512c9ac8 [storage] refactor provider/service namespacing 2011-06-15 14:27:11 -07:00
Adam Greene
bf28b55821 if creating an s3 directory (bucket), one needs to pass in :location as well as have the aws connection set to the correct region... 2011-06-05 19:37:50 -07:00
geemus
2398bfcee0 [aws|storage] fix error type for non-directories in files.get 2011-05-27 13:31:11 -07:00
geemus
8a1d31506f [aws|storage] discern between no file and no directory for files.get
closes #160
2011-05-27 11:07:31 -07:00
geemus
597acf0363 [storage] fix/consolidate content-length for utf8
closes #327
2011-05-25 14:39:00 -07:00
Samuel Merritt
1827f00c3a [storage|aws] Make Files#each iterate all files, not just the first page.
Removed Directory#each_file; it's not the API that people expect.

This may break code that expects Files#each to only go a page at a time;
those callers should switch to using #each_file_this_page.
2011-04-26 15:18:54 -07:00
Samuel Merritt
3299e16fb5 [storage|aws] Emit warning from Files#each.
Files#each doesn't take pagination into account; it's probably not
what you want to use. If it is, use Files#each_nowarn instead to avoid
the warning.
2011-04-19 14:02:36 -07:00
Samuel Merritt
75216af4f5 [storage|aws] Add #each_file method to directory model.
The method yields every file in a directory, even taking pagination
into account. The list of files is never fully realized in memory, so
this should be suitable for directories with large numbers of files.
2011-04-19 11:25:38 -07:00
Peter Weldon
f5f0a2f175 Merge remote branch 'origin/tumeric-v0.6.0.0' into tumeric-v0.7.0.0
Conflicts:
	lib/fog/storage/aws.rb
2011-03-18 20:12:55 +00:00
Peter Weldon
bfb9d22ad2 [aws|storage] Normalise headers for Files#get/#head 2011-03-01 10:49:44 -08:00
Peter Weldon
939d95bcfe [aws|storage] Remove etag quotes for File#save 2011-03-01 10:47:46 -08:00
Peter Weldon
e0b228c4ce [aws|storage] Pull out body size calculations 2011-03-01 10:45:24 -08:00
Peter Weldon
e6a4085342 [aws|storage] Make Files#get consistent with Directory#files
- etag: drop quotes
- content-length: parse to Numeric
- last-modified: parse to Time
2011-03-01 10:39:47 -08:00
Peter Weldon
eff1990db0 [aws|storage] Assume body has #size, and maybe #path 2011-03-01 10:36:56 -08:00
geemus
70af200dda removing more deprecated stuff 2011-02-16 16:41:39 -08:00
geemus
13b0d4452a convert content lengths to integers 2011-01-26 15:56:50 -08:00
geemus
5d9f65ed90 fix more broken require paths from reorg 2011-01-14 10:41:12 -08:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00