fog 0.0.49 → 0.0.50

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 49
4
+ :patch: 50
5
5
  :build:
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fog}
8
- s.version = "0.0.49"
8
+ s.version = "0.0.50"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["geemus (Wesley Beary)"]
@@ -14,12 +14,12 @@ module Fog
14
14
 
15
15
  def all(options = {})
16
16
  merge_attributes(options)
17
- directory = directory.collection.get(
17
+ parent = directory.collection.get(
18
18
  directory.name,
19
19
  options
20
20
  )
21
- if directory
22
- load(directory.files.map {|file| file.attributes})
21
+ if parent
22
+ load(parent.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
- directory = directory.collection.get(
16
+ parent = directory.collection.get(
17
17
  directory.name,
18
18
  options
19
19
  )
20
- if directory
21
- load(directory.files.map {|file| file.attributes})
20
+ if parent
21
+ load(parent.files.map {|file| file.attributes})
22
22
  else
23
23
  nil
24
24
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 49
9
- version: 0.0.49
8
+ - 50
9
+ version: 0.0.50
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)