active_mongoid 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_mongoid/bson_id.rb +1 -1
- data/lib/active_mongoid/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7660730ac81a2b13d5c447944116974a1303d903
|
4
|
+
data.tar.gz: 4f697462fdebf498c3407e6a8f6472534900b28f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9978dee4b787f5e322b5b48c651ad1505a58c7bbf9f40b9819d6e72c61a6fc401c402a012cab327e787422dd41dada19946a99f4e1bdf820abd70713f0a69630
|
7
|
+
data.tar.gz: da9a6da044d660d1db2352a7fba99fc6745f8cda181da51d500c31bf81d9275f5205b9c16bc48dd050c885d7a62413e2606d687cf558a8b56e1375b81c7e3b42
|
@@ -39,7 +39,7 @@ module ActiveMongoid
|
|
39
39
|
self.instance_eval do
|
40
40
|
define_method(name) do
|
41
41
|
attribute = read_attribute(name)
|
42
|
-
attribute.nil? ? nil : ::ActiveMongoid::BSON::ObjectId.from_string(attribute)
|
42
|
+
attribute.nil? ? nil : ::ActiveMongoid::BSON::ObjectId.from_string(attribute.to_s)
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryce Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
312
312
|
version: '0'
|
313
313
|
requirements: []
|
314
314
|
rubyforge_project:
|
315
|
-
rubygems_version: 2.4.
|
315
|
+
rubygems_version: 2.4.8
|
316
316
|
signing_key:
|
317
317
|
specification_version: 4
|
318
318
|
summary: ActiveMongoid provides a relational interface between ActiveRecord and Mongoid
|