Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix _id decoding signed/unsigned bug

  • Loading branch information...
commit 1b5236725f0f84e362917b8dcee3d1fddb89592e 1 parent 1325c94
Aman Gupta authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/mongo/buffer.rb
3  lib/mongo/buffer.rb
View
@@ -70,7 +70,8 @@ def read *types
# end.map do |num|
# num.to_s(16).rjust(8,'0')
# end.join('')
- _read(12, 'i*').map do |num|
+
+ _read(12, 'I*').map do |num|
num.to_s(16).rjust(8,'0')
end.join('')
when :bson
Please sign in to comment.
Something went wrong with that request. Please try again.