fog 0.0.82 → 0.0.83
Sign up to get free protection for your applications and to get access to all the features.
- data/fog.gemspec +1 -1
- data/lib/fog.rb +1 -1
- data/lib/fog/model.rb +5 -2
- metadata +2 -2
data/fog.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'fog'
|
10
|
-
s.version = '0.0.
|
10
|
+
s.version = '0.0.83'
|
11
11
|
s.date = '2010-04-27'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
data/lib/fog.rb
CHANGED
data/lib/fog/model.rb
CHANGED
@@ -84,8 +84,11 @@ module Fog
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def reload
|
87
|
-
|
88
|
-
|
87
|
+
if data = collection.get(identity)
|
88
|
+
new_attributes = data.attributes
|
89
|
+
merge_attributes(new_attributes)
|
90
|
+
end
|
91
|
+
self
|
89
92
|
end
|
90
93
|
|
91
94
|
def requires(*args)
|