mark_facets 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module MagicAttributes
11
11
  end
12
12
 
13
13
  def initialize(attributes = {})
14
- self.attributes = attributes.to_mash
14
+ self.attributes = (attributes || {}).to_mash
15
15
  self.attributes.each do |k, v|
16
16
  self.send("#{k}=", v) if self.respond_to?("#{k}=")
17
17
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - markbates
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-01 00:00:00 -04:00
17
+ date: 2010-09-08 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- hash: 4314776129040420778
77
+ hash: -444417550766157893
78
78
  segments:
79
79
  - 0
80
80
  version: "0"