fog 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fog (0.3.14)
4
+ fog (0.3.15)
5
5
  builder
6
6
  excon (>= 0.2.4)
7
7
  formatador (>= 0.0.15)
@@ -7,8 +7,8 @@ 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.14'
11
- s.date = '2010-11-02'
10
+ s.version = '0.3.15'
11
+ s.date = '2010-11-03'
12
12
  s.rubyforge_project = 'fog'
13
13
 
14
14
  ## Make sure your summary is short. The description may be as long
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.14'
21
+ VERSION = '0.3.15'
22
22
  end
23
23
 
24
24
  module Mock
@@ -140,7 +140,7 @@ module Fog
140
140
  unless self.class.ignored_attributes.include?(key)
141
141
  if aliased_key = self.class.aliases[key]
142
142
  send("#{aliased_key}=", value)
143
- elsif (methods | private_methods ).include?("#{key}=")
143
+ elsif (public_methods | private_methods).detect {|method| ["#{key}=", :"#{key}="].include?(method)}
144
144
  send("#{key}=", value)
145
145
  else
146
146
  attributes[key] = value
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 14
9
- version: 0.3.14
8
+ - 15
9
+ version: 0.3.15
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-02 00:00:00 -07:00
17
+ date: 2010-11-03 00:00:00 -07:00
18
18
  default_executable: fog
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency