fog 0.3.20 → 0.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fog (0.3.20)
4
+ fog (0.3.21)
5
5
  builder
6
6
  excon (>= 0.2.4)
7
7
  formatador (>= 0.0.15)
@@ -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.20'
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
@@ -18,7 +18,7 @@ module Fog
18
18
  @mocking = false
19
19
 
20
20
  unless const_defined?(:VERSION)
21
- VERSION = '0.3.20'
21
+ VERSION = '0.3.21'
22
22
  end
23
23
 
24
24
  module Mock
@@ -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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 20
9
- version: 0.3.20
8
+ - 21
9
+ version: 0.3.21
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)