mongomodel 0.2.18 → 0.2.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module MongoModel
27
27
  end
28
28
 
29
29
  def before_type_cast(key)
30
- values_before_typecast[key]
30
+ values_before_typecast[key] || self[key]
31
31
  end
32
32
 
33
33
  private
@@ -1,3 +1,3 @@
1
1
  module MongoModel
2
- VERSION = "0.2.18"
2
+ VERSION = "0.2.19"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongomodel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 18
10
- version: 0.2.18
9
+ - 19
10
+ version: 0.2.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sam Pohlenz