Sha256: 3c6294e213110f3ed23c94c1ebc3ca815efa52b9da659dc7d20f02820b068dda

Contents?: true

Size: 215 Bytes

Versions: 62

Compression:

Stored size: 215 Bytes

Contents

# This is here to deal with bson-ruby's change to
# how it serializes ObjectId objects. Eventually,
# this can probably be removed.
#
module BSON
  class ObjectId
    def as_json(*args)
      to_s
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.15 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.36 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.14 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.35 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.13 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.34 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.12 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.33 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.11 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.10 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.32 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.9 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.31 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.8 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.30 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.7 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.29 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.6 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.4.28 lib/workarea/ext/freedom_patches/bson.rb
workarea-core-3.5.5 lib/workarea/ext/freedom_patches/bson.rb