fog 0.3.20 → 0.3.21
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/fog.gemspec +1 -1
- data/lib/fog.rb +1 -1
- data/lib/fog/core/attributes.rb +2 -0
- metadata +2 -2
data/Gemfile.lock
CHANGED
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.3.
|
10
|
+
s.version = '0.3.21'
|
11
11
|
s.date = '2010-11-17'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
data/lib/fog.rb
CHANGED
data/lib/fog/core/attributes.rb
CHANGED
@@ -139,8 +139,10 @@ module Fog
|
|
139
139
|
for key, value in new_attributes
|
140
140
|
unless self.class.ignored_attributes.include?(key)
|
141
141
|
if aliased_key = self.class.aliases[key]
|
142
|
+
attributes[aliased_key] = value
|
142
143
|
send("#{aliased_key}=", value)
|
143
144
|
elsif (public_methods | private_methods).detect {|method| ["#{key}=", :"#{key}="].include?(method)}
|
145
|
+
attributes[key] = value
|
144
146
|
send("#{key}=", value)
|
145
147
|
else
|
146
148
|
attributes[key] = value
|