fog 0.0.48 → 0.0.49
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/fog.gemspec +1 -1
- data/lib/fog/aws/models/s3/files.rb +3 -3
- data/lib/fog/rackspace/models/files/files.rb +3 -3
- metadata +2 -2
data/VERSION.yml
CHANGED
data/fog.gemspec
CHANGED
@@ -14,12 +14,12 @@ module Fog
|
|
14
14
|
|
15
15
|
def all(options = {})
|
16
16
|
merge_attributes(options)
|
17
|
-
|
17
|
+
directory = directory.collection.get(
|
18
18
|
directory.name,
|
19
19
|
options
|
20
20
|
)
|
21
|
-
if
|
22
|
-
load(
|
21
|
+
if directory
|
22
|
+
load(directory.files.map {|file| file.attributes})
|
23
23
|
else
|
24
24
|
nil
|
25
25
|
end
|
@@ -13,12 +13,12 @@ module Fog
|
|
13
13
|
|
14
14
|
def all(options = {})
|
15
15
|
merge_attributes(options)
|
16
|
-
|
16
|
+
directory = directory.collection.get(
|
17
17
|
directory.name,
|
18
18
|
options
|
19
19
|
)
|
20
|
-
if
|
21
|
-
load(
|
20
|
+
if directory
|
21
|
+
load(directory.files.map {|file| file.attributes})
|
22
22
|
else
|
23
23
|
nil
|
24
24
|
end
|