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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5bd42e8cd2f6ff10aa998ed7e3dd94a92829c6f
4
- data.tar.gz: 4bb0e5b3309514f69bee4cf5620922154cb66159
3
+ metadata.gz: 7660730ac81a2b13d5c447944116974a1303d903
4
+ data.tar.gz: 4f697462fdebf498c3407e6a8f6472534900b28f
5
5
  SHA512:
6
- metadata.gz: 165efcb720f10b7a646e863a074038546287bfaa410aa662b72b62f9b8256055d76ba13dbe58eb728df5afcd8a12ec912ad6374a0019ebeb6ae4c50feba0876d
7
- data.tar.gz: 440c44e214a16195df803a1ce72da3ba87bb1d748eb4c726d643746fc276fdc4e98e61fcc09d71985cc2fbb6138c58099e829d57703b39836850c1780820453d
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
@@ -1,3 +1,3 @@
1
1
  module ActiveMongoid
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  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.3
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-04-15 00:00:00.000000000 Z
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.5
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