muesli 0.0.2 → 0.0.3

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: b5207efed312b06072f78b5df9076b88d2e939ed
4
- data.tar.gz: 2a7d581ca91a43f62830a37d10f1104231d66c9d
3
+ metadata.gz: 2d88c7b5ea190a21c2f434d660fc6a096fc7fb1b
4
+ data.tar.gz: 61c0ebb207d165d27354cdbd67951e5a0eacd879
5
5
  SHA512:
6
- metadata.gz: 3c38e9e896d58770795d967257f907a6361cd56620cc95a41944151c1e44073e82805f754e2ab4663c1697f403bb4c7dd20a7c7d15419d7bcbbbfc8968c49cb2
7
- data.tar.gz: e29e41ca99af7f301ca6abdc3bbdbf66d4f4f699ce5c194ff57e90b62913e2b343bb2da2e50dfb0da50bb38e70da5de4cfd5d5fd2ffb6e110b1cd9bad49d45d4
6
+ metadata.gz: 3ba343f8c5e11e8487a4c19f7b118af386c0377b846c5af686d000329c064f3e124c00f44a53987f92cdf7e3abdee64a2d1321f479d352d3bdf9760d3d3de5aa
7
+ data.tar.gz: aeebe4cd258a35f88e83455bd14e6e3bb49926eba518373a96bec862dee76a8838f751968fe6c88a1d9e803017a12d16a808f4c254f5ffb9af07929904cfa7ae
@@ -0,0 +1,11 @@
1
+ module Muesli
2
+ module AttributeSerializers
3
+ module BSON
4
+ class ObjectId < Base
5
+ def serialize
6
+ return @value.to_s
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
data/lib/muesli.rb CHANGED
@@ -3,5 +3,6 @@ require 'muesli/attribute_serializers/time'
3
3
  require 'muesli/attribute_serializers/date'
4
4
  require 'muesli/attribute_serializers/date_time'
5
5
  require 'muesli/attribute_serializers/moped_bson_objectid'
6
+ require 'muesli/attribute_serializers/bson_objectid'
6
7
  require 'muesli/serializers/base'
7
8
  require 'muesli/adapters/cancan'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muesli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Connor
@@ -20,6 +20,7 @@ files:
20
20
  - lib/muesli.rb
21
21
  - lib/muesli/adapters/cancan.rb
22
22
  - lib/muesli/attribute_serializers/base.rb
23
+ - lib/muesli/attribute_serializers/bson_objectid.rb
23
24
  - lib/muesli/attribute_serializers/date.rb
24
25
  - lib/muesli/attribute_serializers/date_time.rb
25
26
  - lib/muesli/attribute_serializers/moped_bson_objectid.rb