mongo_ext 0.19 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/cbson/cbson.c +1 -1
- data/ext/cbson/version.h +1 -1
- metadata +3 -3
data/ext/cbson/cbson.c
CHANGED
@@ -495,7 +495,7 @@ static void write_doc(buffer_t buffer, VALUE hash, VALUE check_keys, VALUE move_
|
|
495
495
|
}
|
496
496
|
else {
|
497
497
|
allow_id = 1;
|
498
|
-
if (strcmp(rb_class2name(RBASIC(hash)->klass), "
|
498
|
+
if (strcmp(rb_class2name(RBASIC(hash)->klass), "Hash") == 0) {
|
499
499
|
if ((rb_funcall(hash, rb_intern("has_key?"), 1, id_str) == Qtrue) &&
|
500
500
|
(rb_funcall(hash, rb_intern("has_key?"), 1, id_sym) == Qtrue)) {
|
501
501
|
VALUE oid_sym = rb_hash_delete(hash, id_sym);
|
data/ext/cbson/version.h
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dirolf
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-02 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -31,7 +31,7 @@ files:
|
|
31
31
|
- ext/cbson/buffer.h
|
32
32
|
- ext/cbson/encoding_helpers.h
|
33
33
|
- ext/cbson/version.h
|
34
|
-
has_rdoc:
|
34
|
+
has_rdoc: false
|
35
35
|
homepage: http://www.mongodb.org
|
36
36
|
licenses: []
|
37
37
|
|