supermodel 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/supermodel/base.rb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -17,7 +17,7 @@ module SuperModel
17
17
  end
18
18
 
19
19
  def attributes(*attributes)
20
- self.known_attributes += attributes.map(&:to_s)
20
+ self.known_attributes |= attributes.map(&:to_s)
21
21
  end
22
22
 
23
23
  def records
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supermodel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-08-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
16
- requirement: &70137254259940 !ruby/object:Gem::Requirement
16
+ requirement: &70347445690680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70137254259940
24
+ version_requirements: *70347445690680
25
25
  description: In memory DB using ActiveModel
26
26
  email: info@eribium.org
27
27
  executables: []