Benjamin Manns
288f5714c2
[local|storage] Add copy method to Local::File.
...
This fixes fog/fog#735 .
2012-02-16 14:43:46 -05:00
Benjamin Manns
1deb159c6a
[local|storage] Fix Local::File deletion for Ruby 1.8.
...
Ruby 1.8 doesn't have a Dir.exists? method, which causes an exception and
prevents empty parent directories from being deleted. These changes use
File.exists? and File.directory? in place of Dir.exists?. Fixes
fog/fog#707 .
2012-02-15 12:52:52 -05:00
geemus
dc61fc09b2
[storage|local] move local storage to its own shared area (namespacing should probably be corrected)
...
ninefold fix
2011-08-24 14:09:18 -05:00
geemus
ac480ad928
[storage] consolidate
2011-01-07 15:34:20 -08:00
geemus
21cd346b4d
[local|storage] CGI.escape file names
2010-11-23 13:45:37 -08:00
geemus
73f5fdf9e7
[local|storage] properly write out file contents
2010-11-22 14:20:45 -08:00
geemus
5854e249aa
more consistent attribute storage/usage
2010-11-19 13:45:45 -08:00
geemus
3f5b48e812
add public methods to file model
2010-11-18 11:18:46 -08:00
geemus
93b8d32845
[storage] add public= and public_url for directory, public_url for file
2010-11-05 15:31:44 -07:00
geemus
c53b5e273c
fixing more warnings
2010-10-13 13:20:18 -07:00
geemus
46fdab47e5
[aws|storage] continuing to flesh out tests
2010-10-12 18:07:36 -07:00
geemus
f890f27141
fixing warnings
2010-10-12 16:23:35 -07:00
geemus
619f7d430f
fix paths for core requires
2010-10-04 14:02:08 -07:00
geemus
71e4f64024
[local] fix some leftover bugs from the remodel
2010-09-21 10:54:15 -07:00
geemus
eb6bca6f34
leftovers that I missed on the first pass in the last few commits
2010-09-08 14:41:14 -07:00
geemus
24897e9c1e
[local] rename files to storage for consistency
2010-09-08 12:50:38 -07:00
geemus
6d6eafbb2b
update attribute to consistently take hash and remove legacy array of aliases usage
2010-09-07 11:30:02 -07:00
geemus
fd755e042b
clean up by changing service abstraction into a class
2010-09-03 15:04:54 -07:00
geemus
a3af5d7800
working toward more consistent/simpler collection/bin management
2010-09-02 16:01:19 -07:00
geemus
936cfc0e95
refactor/cleanup to use service
2010-06-12 15:31:17 -07:00
geemus
4a5faf5a79
make deprecation a bit more flexible and deprecate setters
2010-05-04 14:31:42 -07:00
geemus
7ac536e873
[local] rough first cut of local storage
2010-05-01 22:10:11 -07:00