geemus
696b2ddb1e
[storage] auto-paginate for #each
...
closes #268
2011-05-02 14:57:11 -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
H. Wade Minter
96366efce8
Better formatting of conditional.
2011-03-24 14:20:49 -04:00
H. Wade Minter
8c457441d4
Support for serving Rackspace CDN objects via SSL.
2011-03-23 09:08:14 -04: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
geemus
11ed66103e
[rackspace|cdn] use post_container to update
2011-03-04 12:27:52 -08:00
geemus
f6ccfee60c
[rackspace|storage] pass through explicit content-type
2011-03-04 10:50:11 -08: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
9772bd7822
[rackspace|storage] disable cdn when deleting container
2011-02-25 14:49:17 -08:00
geemus
70af200dda
removing more deprecated stuff
2011-02-16 16:41:39 -08:00
geemus
cebfc4f91f
[local|storage] rewrite to use nested directories
...
This replaces CGI.escape for key names
NOTE: this change is not backwards compatible
Closes #169
2011-02-15 16:53:45 -08:00
geemus
13b0d4452a
convert content lengths to integers
2011-01-26 15:56:50 -08:00
geemus
847d2f28cd
[local|storage] support file#content_type
2011-01-26 15:56:39 -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