bson_ext 1.8.3 → 1.8.4.rc0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/VERSION +1 -1
- data/bson_ext.gemspec +1 -0
- data/ext/cbson/cbson.c +7 -1
- data/ext/cbson/version.h +1 -1
- metadata +39 -30
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
Zjc2ZGE3ODczY2MyZjk1OWQ5MGYzOWNiZDhkZWJjNjhhYzM0MDg2MQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTk0MDZlYmVhMjg3MzA5MTc0ZDAxYmRjM2I1MzE1YWQ4ZDE2NGYzNw==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OGMzZjk0YzU4NGQyNGFlOGI3MmM0YzZkOTExYmM2OWRmN2MyZDAyODg1ODg0
|
10
|
+
NTE2MWViODBiZmViZjAxN2M5YzU2Yjk2Nzg3ZmVkZjM5OTNiZjkwMjliN2M3
|
11
|
+
ZDJiNzRlN2ZlMzkwZjEzODAxMjZkZWI2ZmZmYzZhODllMmFmYzc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MDcwY2FlZGI3YzFiMzA1YjAwMWNiNjkyNzA5NmJiYTY1OTJlZDM3MjBkMTdh
|
14
|
+
NGYzMzM3NDc5NmVjMDFhZDQ5N2VkNDAwZDJmNmY5YzYzNmUyNDlmYWI5ZTI0
|
15
|
+
MTVlNDRlNzlhOGQ4MjAxYWNlY2U5MmQ4Y2RhOWY1YTJmNTM4OWE=
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.4.rc0
|
data/bson_ext.gemspec
CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.summary = 'C extensions for Ruby BSON.'
|
10
10
|
s.description = 'C extensions to accelerate the Ruby BSON serialization. For more information about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.'
|
11
11
|
s.rubyforge_project = 'bson_ext'
|
12
|
+
s.license = 'Apache License Version 2.0'
|
12
13
|
|
13
14
|
s.signing_key = 'gem-private_key.pem'
|
14
15
|
s.cert_chain = ['gem-public_cert.pem']
|
data/ext/cbson/cbson.c
CHANGED
@@ -600,7 +600,7 @@ static void write_doc(bson_buffer_t buffer, VALUE hash, VALUE check_keys, VALUE
|
|
600
600
|
SAFE_WRITE(buffer, &zero, 1);
|
601
601
|
length = bson_buffer_get_position(buffer) - start_position;
|
602
602
|
|
603
|
-
// make sure that length doesn't exceed
|
603
|
+
// make sure that length doesn't exceed the max size (determined by server, defaults to 4mb)
|
604
604
|
if (length > bson_buffer_get_max_size(buffer)) {
|
605
605
|
bson_buffer_free(buffer);
|
606
606
|
rb_raise(InvalidDocument,
|
@@ -954,7 +954,13 @@ static VALUE objectid_from_string(VALUE self, VALUE str)
|
|
954
954
|
int i;
|
955
955
|
|
956
956
|
if (!legal_objectid_str(str)) {
|
957
|
+
if (TYPE(str) == T_STRING) {
|
957
958
|
rb_raise(InvalidObjectId, "illegal ObjectId format: %s", RSTRING_PTR(str));
|
959
|
+
} else {
|
960
|
+
VALUE inspect;
|
961
|
+
inspect = rb_funcall(str, rb_intern("to_s"), 0);
|
962
|
+
rb_raise(InvalidObjectId, "not a String: %s", inspect);
|
963
|
+
}
|
958
964
|
}
|
959
965
|
|
960
966
|
oid = rb_ary_new2(12);
|
data/ext/cbson/version.h
CHANGED
@@ -1 +1 @@
|
|
1
|
-
#define VERSION "1.8.
|
1
|
+
#define VERSION "1.8.4.rc0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bson_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4.rc0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -12,28 +12,35 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain:
|
15
|
-
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
15
|
+
- !binary |-
|
16
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURPRENDQWlDZ0F3SUJB
|
17
|
+
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJDTVJRd0VnWURWUVFEREF0a2Nt
|
18
|
+
bDIKWlhJdGNuVmllVEVWTUJNR0NnbVNKb21UOGl4a0FSa1dCVEV3WjJWdU1S
|
19
|
+
TXdFUVlLQ1pJbWlaUHlMR1FCR1JZRApZMjl0TUI0WERURXpNREl3TVRFME1U
|
20
|
+
RXpOMW9YRFRFME1ESXdNVEUwTVRFek4xb3dRakVVTUJJR0ExVUVBd3dMClpI
|
21
|
+
SnBkbVZ5TFhKMVlua3hGVEFUQmdvSmtpYUprL0lzWkFFWkZnVXhNR2RsYmpF
|
22
|
+
VE1CRUdDZ21TSm9tVDhpeGsKQVJrV0EyTnZiVENDQVNJd0RRWUpLb1pJaHZj
|
23
|
+
TkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFORmRTQWE4ZlJtMQpiQU05emE2
|
24
|
+
WjBmQUg0ZzAyYnFNMU5Hbnc4ekpRckUvUEZyRmZZNklGQ1QyQXNM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ZnVyWUl3a2NYczh5UG44Z2dBcEJJeTliWDZWSnhScy9sMitVdnF6YUhJRmFG
|
41
|
+
eS9GOC9HUApSTlR1WHNWRzVOREFDbzdRCi0tLS0tRU5EIENFUlRJRklDQVRF
|
42
|
+
LS0tLS0K
|
43
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
37
44
|
dependencies:
|
38
45
|
- !ruby/object:Gem::Dependency
|
39
46
|
name: bson
|
@@ -41,14 +48,14 @@ dependencies:
|
|
41
48
|
requirements:
|
42
49
|
- - ~>
|
43
50
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.8.
|
51
|
+
version: 1.8.4.rc0
|
45
52
|
type: :runtime
|
46
53
|
prerelease: false
|
47
54
|
version_requirements: !ruby/object:Gem::Requirement
|
48
55
|
requirements:
|
49
56
|
- - ~>
|
50
57
|
- !ruby/object:Gem::Version
|
51
|
-
version: 1.8.
|
58
|
+
version: 1.8.4.rc0
|
52
59
|
description: C extensions to accelerate the Ruby BSON serialization. For more information
|
53
60
|
about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.
|
54
61
|
email: mongodb-dev@googlegroups.com
|
@@ -68,7 +75,8 @@ files:
|
|
68
75
|
- ext/cbson/encoding_helpers.h
|
69
76
|
- ext/cbson/version.h
|
70
77
|
homepage: http://www.mongodb.org
|
71
|
-
licenses:
|
78
|
+
licenses:
|
79
|
+
- Apache License Version 2.0
|
72
80
|
metadata: {}
|
73
81
|
post_install_message:
|
74
82
|
rdoc_options: []
|
@@ -76,18 +84,19 @@ require_paths:
|
|
76
84
|
- ext/bson_ext
|
77
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
86
|
requirements:
|
79
|
-
- - '>='
|
87
|
+
- - ! '>='
|
80
88
|
- !ruby/object:Gem::Version
|
81
89
|
version: '0'
|
82
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
91
|
requirements:
|
84
|
-
- - '
|
92
|
+
- - ! '>'
|
85
93
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
94
|
+
version: 1.3.1
|
87
95
|
requirements: []
|
88
96
|
rubyforge_project: bson_ext
|
89
|
-
rubygems_version: 2.0.
|
97
|
+
rubygems_version: 2.0.3
|
90
98
|
signing_key:
|
91
99
|
specification_version: 4
|
92
100
|
summary: C extensions for Ruby BSON.
|
93
101
|
test_files: []
|
102
|
+
has_rdoc: yard
|
metadata.gz.sig
CHANGED
Binary file
|