bson 4.14.0 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/bson/dbref.rb +31 -4
- data/lib/bson/version.rb +1 -1
- data/spec/bson/dbref_legacy_spec.rb +169 -0
- data/spec/bson/dbref_spec.rb +26 -0
- data.tar.gz.sig +0 -0
- metadata +111 -110
- metadata.gz.sig +0 -0
- data/lib/bson_native.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5ec11b42a8128c41cd06cd8fc23d2ebee4018efa84de8a59d5676a0802fa3c4
|
4
|
+
data.tar.gz: 58c7ef8d648b9ad1b35c6aef6e3521be706c73b366644e4d7b6727534542b5d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca0a5c1c642319eddbe69dfea59ad845316baabb0207658cdc7b389bea2295a284d52d62e4c675305b7ac985350ca430653fb5244002d5e7d2854a24199d4fc6
|
7
|
+
data.tar.gz: f1aa3987ed9bba6ca90dcc1739c26ca7e70130d56a55bbaf4a8f92611ba96908a89309d346a1608cfb19c276378c238c3fbcbd10b8b813b9a2027b454a295890
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/bson/dbref.rb
CHANGED
@@ -63,11 +63,38 @@ module BSON
|
|
63
63
|
|
64
64
|
# Instantiate a new DBRef.
|
65
65
|
#
|
66
|
-
# @example Create the DBRef.
|
66
|
+
# @example Create the DBRef - hash API.
|
67
67
|
# BSON::DBRef.new({'$ref' => 'users', '$id' => id, '$db' => 'database'})
|
68
68
|
#
|
69
|
-
# @
|
70
|
-
|
69
|
+
# @example Create the DBRef - legacy API.
|
70
|
+
# BSON::DBRef.new('users', id, 'database')
|
71
|
+
#
|
72
|
+
# @param [ Hash | String ] hash_or_collection The DBRef hash, when using
|
73
|
+
# the hash API. It must contain $ref and $id. When using the legacy API,
|
74
|
+
# this parameter must be a String containing the collection name.
|
75
|
+
# @param [ Object ] id The object id, when using the legacy API.
|
76
|
+
# @param [ String ] database The database name, when using the legacy API.
|
77
|
+
def initialize(hash_or_collection, id = nil, database = nil)
|
78
|
+
if hash_or_collection.is_a?(Hash)
|
79
|
+
hash = hash_or_collection
|
80
|
+
|
81
|
+
unless id.nil? && database.nil?
|
82
|
+
raise ArgumentError, 'When using the hash API, DBRef constructor accepts only one argument'
|
83
|
+
end
|
84
|
+
else
|
85
|
+
warn("BSON::DBRef constructor called with the legacy API - please use the hash API instead")
|
86
|
+
|
87
|
+
if id.nil?
|
88
|
+
raise ArgumentError, 'When using the legacy constructor API, id must be provided'
|
89
|
+
end
|
90
|
+
|
91
|
+
hash = {
|
92
|
+
:$ref => hash_or_collection,
|
93
|
+
:$id => id,
|
94
|
+
:$db => database,
|
95
|
+
}
|
96
|
+
end
|
97
|
+
|
71
98
|
hash = reorder_fields(hash)
|
72
99
|
%w($ref $id).each do |key|
|
73
100
|
unless hash[key]
|
@@ -85,7 +112,7 @@ module BSON
|
|
85
112
|
end
|
86
113
|
end
|
87
114
|
|
88
|
-
super
|
115
|
+
super(hash)
|
89
116
|
end
|
90
117
|
|
91
118
|
# Converts the DBRef to raw BSON.
|
data/lib/bson/version.rb
CHANGED
@@ -0,0 +1,169 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'spec_helper'
|
5
|
+
require 'json'
|
6
|
+
|
7
|
+
# These tests are copied from driver when the driver implemented Mongo:DBRef
|
8
|
+
# class, and are intended to verify that the current DBRef implementation is
|
9
|
+
# compatible with the legacy driver DBRef interface.
|
10
|
+
|
11
|
+
describe BSON::DBRef do
|
12
|
+
|
13
|
+
let(:object_id) do
|
14
|
+
BSON::ObjectId.new
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '#as_json' do
|
18
|
+
|
19
|
+
context 'when the database is not provided' do
|
20
|
+
|
21
|
+
let(:dbref) do
|
22
|
+
described_class.new('users', object_id)
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'returns the json document without database' do
|
26
|
+
expect(dbref.as_json).to eq({ '$ref' => 'users', '$id' => object_id })
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context 'when the database is provided' do
|
31
|
+
|
32
|
+
let(:dbref) do
|
33
|
+
described_class.new('users', object_id, 'database')
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'returns the json document with database' do
|
37
|
+
expect(dbref.as_json).to eq({
|
38
|
+
'$ref' => 'users',
|
39
|
+
'$id' => object_id,
|
40
|
+
'$db' => 'database'
|
41
|
+
})
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe '#initialize' do
|
47
|
+
|
48
|
+
let(:dbref) do
|
49
|
+
described_class.new('users', object_id)
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'sets the collection' do
|
53
|
+
expect(dbref.collection).to eq('users')
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'sets the id' do
|
57
|
+
expect(dbref.id).to eq(object_id)
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'when a database is provided' do
|
61
|
+
|
62
|
+
let(:dbref) do
|
63
|
+
described_class.new('users', object_id, 'db')
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'sets the database' do
|
67
|
+
expect(dbref.database).to eq('db')
|
68
|
+
end
|
69
|
+
|
70
|
+
context 'when id is not provided' do
|
71
|
+
|
72
|
+
let(:dbref) do
|
73
|
+
described_class.new('users', nil, 'db')
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'raises ArgumentError' do
|
77
|
+
lambda do
|
78
|
+
dbref
|
79
|
+
end.should raise_error(ArgumentError)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe '#to_bson' do
|
86
|
+
|
87
|
+
let(:dbref) do
|
88
|
+
described_class.new('users', object_id, 'database')
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'converts the underlying document to bson' do
|
92
|
+
expect(dbref.to_bson.to_s).to eq(dbref.as_json.to_bson.to_s)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
describe '#to_json' do
|
97
|
+
|
98
|
+
context 'when the database is not provided' do
|
99
|
+
|
100
|
+
let(:dbref) do
|
101
|
+
described_class.new('users', object_id)
|
102
|
+
end
|
103
|
+
|
104
|
+
it 'returns the json document without database' do
|
105
|
+
expect(dbref.to_json).to eq("{\"$ref\":\"users\",\"$id\":#{object_id.to_json}}")
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
context 'when the database is provided' do
|
110
|
+
|
111
|
+
let(:dbref) do
|
112
|
+
described_class.new('users', object_id, 'database')
|
113
|
+
end
|
114
|
+
|
115
|
+
it 'returns the json document with database' do
|
116
|
+
expect(dbref.to_json).to eq("{\"$ref\":\"users\",\"$id\":#{object_id.to_json},\"$db\":\"database\"}")
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
describe '#from_bson' do
|
122
|
+
|
123
|
+
let(:buffer) do
|
124
|
+
dbref.to_bson
|
125
|
+
end
|
126
|
+
|
127
|
+
let(:decoded) do
|
128
|
+
BSON::Document.from_bson(BSON::ByteBuffer.new(buffer.to_s))
|
129
|
+
end
|
130
|
+
|
131
|
+
context 'when a database exists' do
|
132
|
+
|
133
|
+
let(:dbref) do
|
134
|
+
described_class.new('users', object_id, 'database')
|
135
|
+
end
|
136
|
+
|
137
|
+
it 'decodes the ref' do
|
138
|
+
expect(decoded.collection).to eq('users')
|
139
|
+
end
|
140
|
+
|
141
|
+
it 'decodes the id' do
|
142
|
+
expect(decoded.id).to eq(object_id)
|
143
|
+
end
|
144
|
+
|
145
|
+
it 'decodes the database' do
|
146
|
+
expect(decoded.database).to eq('database')
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
context 'when no database exists' do
|
151
|
+
|
152
|
+
let(:dbref) do
|
153
|
+
described_class.new('users', object_id)
|
154
|
+
end
|
155
|
+
|
156
|
+
it 'decodes the ref' do
|
157
|
+
expect(decoded.collection).to eq('users')
|
158
|
+
end
|
159
|
+
|
160
|
+
it 'decodes the id' do
|
161
|
+
expect(decoded.id).to eq(object_id)
|
162
|
+
end
|
163
|
+
|
164
|
+
it 'sets the database to nil' do
|
165
|
+
expect(decoded.database).to be_nil
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
data/spec/bson/dbref_spec.rb
CHANGED
@@ -73,6 +73,32 @@ describe BSON::DBRef do
|
|
73
73
|
expect(dbref.id).to eq(object_id)
|
74
74
|
end
|
75
75
|
|
76
|
+
context 'when first argument is a hash and two arguments are provided' do
|
77
|
+
|
78
|
+
let(:dbref) do
|
79
|
+
described_class.new({:$ref => 'users', :$id => object_id}, object_id)
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'raises ArgumentError' do
|
83
|
+
lambda do
|
84
|
+
dbref
|
85
|
+
end.should raise_error(ArgumentError)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
context 'when first argument is a hash and three arguments are provided' do
|
90
|
+
|
91
|
+
let(:dbref) do
|
92
|
+
described_class.new({:$ref => 'users', :$id => object_id}, object_id, 'db')
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'raises ArgumentError' do
|
96
|
+
lambda do
|
97
|
+
dbref
|
98
|
+
end.should raise_error(ArgumentError)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
76
102
|
context 'when a database is provided' do
|
77
103
|
|
78
104
|
let(:hash) do
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.14.
|
4
|
+
version: 4.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
YoFhlyUEi7VLlqNH0H/JFttVZK6+qmLelkVNcIYVLeWOB4Lf4VxEiYGEK1ORxsrY
|
34
34
|
iyYKJJALWY1FAInGRIlvkN+B8o3yIhq1
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date: 2022-
|
36
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
37
37
|
dependencies: []
|
38
38
|
description: A fully featured BSON specification implementation in Ruby
|
39
39
|
email:
|
@@ -101,7 +101,6 @@ files:
|
|
101
101
|
- lib/bson/true_class.rb
|
102
102
|
- lib/bson/undefined.rb
|
103
103
|
- lib/bson/version.rb
|
104
|
-
- lib/bson_native.bundle
|
105
104
|
- spec/README.md
|
106
105
|
- spec/bson/array_spec.rb
|
107
106
|
- spec/bson/big_decimal_spec.rb
|
@@ -116,6 +115,7 @@ files:
|
|
116
115
|
- spec/bson/config_spec.rb
|
117
116
|
- spec/bson/date_spec.rb
|
118
117
|
- spec/bson/date_time_spec.rb
|
118
|
+
- spec/bson/dbref_legacy_spec.rb
|
119
119
|
- spec/bson/dbref_spec.rb
|
120
120
|
- spec/bson/decimal128_spec.rb
|
121
121
|
- spec/bson/document_as_spec.rb
|
@@ -266,137 +266,138 @@ signing_key:
|
|
266
266
|
specification_version: 4
|
267
267
|
summary: Ruby implementation of the BSON specification
|
268
268
|
test_files:
|
269
|
-
- spec/
|
270
|
-
- spec/
|
271
|
-
- spec/
|
272
|
-
- spec/
|
273
|
-
- spec/bson/
|
274
|
-
- spec/bson/
|
275
|
-
- spec/bson/document_spec.rb
|
276
|
-
- spec/bson/object_id_spec.rb
|
277
|
-
- spec/bson/int64_spec.rb
|
278
|
-
- spec/bson/float_spec.rb
|
279
|
-
- spec/bson/registry_spec.rb
|
269
|
+
- spec/bson_spec.rb
|
270
|
+
- spec/runners/corpus_legacy.rb
|
271
|
+
- spec/runners/common_driver.rb
|
272
|
+
- spec/runners/corpus.rb
|
273
|
+
- spec/bson/raw_spec.rb
|
274
|
+
- spec/bson/date_spec.rb
|
280
275
|
- spec/bson/false_class_spec.rb
|
281
|
-
- spec/bson/integer_spec.rb
|
282
276
|
- spec/bson/dbref_spec.rb
|
283
|
-
- spec/bson/date_time_spec.rb
|
284
|
-
- spec/bson/ext_json_parse_spec.rb
|
285
|
-
- spec/bson/code_spec.rb
|
286
|
-
- spec/bson/document_as_spec.rb
|
287
|
-
- spec/bson/object_spec.rb
|
288
|
-
- spec/bson/binary_spec.rb
|
289
277
|
- spec/bson/symbol_spec.rb
|
290
|
-
- spec/bson/int32_spec.rb
|
291
|
-
- spec/bson/code_with_scope_spec.rb
|
292
|
-
- spec/bson/byte_buffer_spec.rb
|
293
|
-
- spec/bson/boolean_spec.rb
|
294
278
|
- spec/bson/undefined_spec.rb
|
295
279
|
- spec/bson/max_key_spec.rb
|
296
|
-
- spec/bson/
|
297
|
-
- spec/bson/
|
298
|
-
- spec/bson/
|
299
|
-
- spec/bson/
|
280
|
+
- spec/bson/integer_spec.rb
|
281
|
+
- spec/bson/float_spec.rb
|
282
|
+
- spec/bson/code_spec.rb
|
283
|
+
- spec/bson/min_key_spec.rb
|
284
|
+
- spec/bson/time_spec.rb
|
300
285
|
- spec/bson/time_with_zone_spec.rb
|
301
|
-
- spec/bson/
|
286
|
+
- spec/bson/code_with_scope_spec.rb
|
302
287
|
- spec/bson/regexp_spec.rb
|
303
|
-
- spec/bson/hash_spec.rb
|
304
|
-
- spec/bson/big_decimal_spec.rb
|
305
|
-
- spec/bson/min_key_spec.rb
|
306
|
-
- spec/bson/json_spec.rb
|
307
288
|
- spec/bson/hash_as_spec.rb
|
308
|
-
- spec/bson/
|
289
|
+
- spec/bson/dbref_legacy_spec.rb
|
290
|
+
- spec/bson/boolean_spec.rb
|
291
|
+
- spec/bson/nil_class_spec.rb
|
292
|
+
- spec/bson/byte_buffer_write_spec.rb
|
293
|
+
- spec/bson/config_spec.rb
|
294
|
+
- spec/bson/int32_spec.rb
|
295
|
+
- spec/bson/document_spec.rb
|
296
|
+
- spec/bson/big_decimal_spec.rb
|
309
297
|
- spec/bson/symbol_raw_spec.rb
|
298
|
+
- spec/bson/object_spec.rb
|
299
|
+
- spec/bson/document_as_spec.rb
|
300
|
+
- spec/bson/binary_uuid_spec.rb
|
301
|
+
- spec/bson/byte_buffer_spec.rb
|
302
|
+
- spec/bson/true_class_spec.rb
|
303
|
+
- spec/bson/string_spec.rb
|
304
|
+
- spec/bson/hash_spec.rb
|
305
|
+
- spec/bson/decimal128_spec.rb
|
306
|
+
- spec/bson/byte_buffer_read_spec.rb
|
307
|
+
- spec/bson/int64_spec.rb
|
308
|
+
- spec/bson/object_id_spec.rb
|
309
|
+
- spec/bson/timestamp_spec.rb
|
310
|
+
- spec/bson/json_spec.rb
|
311
|
+
- spec/bson/array_spec.rb
|
312
|
+
- spec/bson/date_time_spec.rb
|
313
|
+
- spec/bson/binary_spec.rb
|
314
|
+
- spec/bson/registry_spec.rb
|
315
|
+
- spec/bson/ext_json_parse_spec.rb
|
310
316
|
- spec/bson/open_struct_spec.rb
|
311
|
-
- spec/
|
312
|
-
- spec/
|
313
|
-
- spec/shared/shlib/set_env.sh
|
314
|
-
- spec/shared/shlib/distro.sh
|
315
|
-
- spec/shared/share/haproxy-1.conf
|
316
|
-
- spec/shared/share/Dockerfile.erb
|
317
|
-
- spec/shared/share/haproxy-2.conf
|
318
|
-
- spec/shared/lib/mrss/spec_organizer.rb
|
319
|
-
- spec/shared/lib/mrss/server_version_registry.rb
|
320
|
-
- spec/shared/lib/mrss/docker_runner.rb
|
321
|
-
- spec/shared/lib/mrss/lite_constraints.rb
|
322
|
-
- spec/shared/lib/mrss/event_subscriber.rb
|
323
|
-
- spec/shared/lib/mrss/child_process_helper.rb
|
324
|
-
- spec/shared/lib/mrss/cluster_config.rb
|
325
|
-
- spec/shared/lib/mrss/constraints.rb
|
326
|
-
- spec/shared/lib/mrss/utils.rb
|
327
|
-
- spec/shared/bin/s3-upload
|
328
|
-
- spec/shared/bin/s3-copy
|
329
|
-
- spec/shared/bin/get-mongodb-download-url
|
330
|
-
- spec/shared/LICENSE
|
331
|
-
- spec/spec_helper.rb
|
332
|
-
- spec/spec_tests/corpus_legacy_spec.rb
|
333
|
-
- spec/spec_tests/corpus_spec.rb
|
317
|
+
- spec/README.md
|
318
|
+
- spec/spec_tests/data/decimal128/decimal128-3.json
|
334
319
|
- spec/spec_tests/data/decimal128/decimal128-5.json
|
335
|
-
- spec/spec_tests/data/decimal128/decimal128-4.json
|
336
320
|
- spec/spec_tests/data/decimal128/decimal128-2.json
|
337
321
|
- spec/spec_tests/data/decimal128/decimal128-7.json
|
338
|
-
- spec/spec_tests/data/decimal128/decimal128-
|
339
|
-
- spec/spec_tests/data/decimal128/decimal128-3.json
|
322
|
+
- spec/spec_tests/data/decimal128/decimal128-4.json
|
340
323
|
- spec/spec_tests/data/decimal128/decimal128-1.json
|
341
|
-
- spec/spec_tests/data/
|
342
|
-
- spec/spec_tests/data/
|
343
|
-
- spec/spec_tests/data/corpus_legacy/failures/datetime.json
|
344
|
-
- spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
|
345
|
-
- spec/spec_tests/data/corpus_legacy/failures/int64.json
|
346
|
-
- spec/spec_tests/data/corpus_legacy/failures/symbol.json
|
347
|
-
- spec/spec_tests/data/corpus_legacy/oid.json
|
348
|
-
- spec/spec_tests/data/corpus_legacy/undefined.json
|
349
|
-
- spec/spec_tests/data/corpus_legacy/string.json
|
350
|
-
- spec/spec_tests/data/corpus_legacy/code.json
|
351
|
-
- spec/spec_tests/data/corpus_legacy/document.json
|
352
|
-
- spec/spec_tests/data/corpus_legacy/boolean.json
|
353
|
-
- spec/spec_tests/data/corpus_legacy/double.json
|
354
|
-
- spec/spec_tests/data/corpus_legacy/int32.json
|
355
|
-
- spec/spec_tests/data/corpus_legacy/regex.json
|
356
|
-
- spec/spec_tests/data/corpus_legacy/top.json
|
357
|
-
- spec/spec_tests/data/corpus_legacy/minkey.json
|
358
|
-
- spec/spec_tests/data/corpus_legacy/array.json
|
359
|
-
- spec/spec_tests/data/corpus_legacy/maxkey.json
|
360
|
-
- spec/spec_tests/data/corpus_legacy/timestamp.json
|
361
|
-
- spec/spec_tests/data/corpus_legacy/code_w_scope.json
|
362
|
-
- spec/spec_tests/data/corpus/dbref.json
|
363
|
-
- spec/spec_tests/data/corpus/null.json
|
364
|
-
- spec/spec_tests/data/corpus/binary.json
|
365
|
-
- spec/spec_tests/data/corpus/oid.json
|
366
|
-
- spec/spec_tests/data/corpus/undefined.json
|
324
|
+
- spec/spec_tests/data/decimal128/decimal128-6.json
|
325
|
+
- spec/spec_tests/data/corpus/array.json
|
367
326
|
- spec/spec_tests/data/corpus/multi-type-deprecated.json
|
368
|
-
- spec/spec_tests/data/corpus/README.md
|
369
327
|
- spec/spec_tests/data/corpus/string.json
|
370
|
-
- spec/spec_tests/data/corpus/
|
371
|
-
- spec/spec_tests/data/corpus/
|
328
|
+
- spec/spec_tests/data/corpus/timestamp.json
|
329
|
+
- spec/spec_tests/data/corpus/double.json
|
330
|
+
- spec/spec_tests/data/corpus/binary.json
|
372
331
|
- spec/spec_tests/data/corpus/document.json
|
373
|
-
- spec/spec_tests/data/corpus/
|
374
|
-
- spec/spec_tests/data/corpus/decimal128-
|
375
|
-
- spec/spec_tests/data/corpus/multi-type.json
|
332
|
+
- spec/spec_tests/data/corpus/null.json
|
333
|
+
- spec/spec_tests/data/corpus/decimal128-3.json
|
376
334
|
- spec/spec_tests/data/corpus/boolean.json
|
377
|
-
- spec/spec_tests/data/corpus/
|
378
|
-
- spec/spec_tests/data/corpus/
|
335
|
+
- spec/spec_tests/data/corpus/regex.json
|
336
|
+
- spec/spec_tests/data/corpus/oid.json
|
337
|
+
- spec/spec_tests/data/corpus/README.md
|
338
|
+
- spec/spec_tests/data/corpus/code.json
|
339
|
+
- spec/spec_tests/data/corpus/undefined.json
|
379
340
|
- spec/spec_tests/data/corpus/datetime.json
|
341
|
+
- spec/spec_tests/data/corpus/int32.json
|
342
|
+
- spec/spec_tests/data/corpus/decimal128-5.json
|
343
|
+
- spec/spec_tests/data/corpus/dbref.json
|
344
|
+
- spec/spec_tests/data/corpus/multi-type.json
|
345
|
+
- spec/spec_tests/data/corpus/decimal128-2.json
|
346
|
+
- spec/spec_tests/data/corpus/dbpointer.json
|
380
347
|
- spec/spec_tests/data/corpus/decimal128-7.json
|
381
|
-
- spec/spec_tests/data/corpus/
|
382
|
-
- spec/spec_tests/data/corpus/regex.json
|
348
|
+
- spec/spec_tests/data/corpus/symbol.json
|
383
349
|
- spec/spec_tests/data/corpus/top.json
|
384
|
-
- spec/spec_tests/data/corpus/decimal128-3.json
|
385
|
-
- spec/spec_tests/data/corpus/dbpointer.json
|
386
|
-
- spec/spec_tests/data/corpus/decimal128-1.json
|
387
350
|
- spec/spec_tests/data/corpus/minkey.json
|
388
|
-
- spec/spec_tests/data/corpus/array.json
|
389
|
-
- spec/spec_tests/data/corpus/int64.json
|
390
351
|
- spec/spec_tests/data/corpus/maxkey.json
|
391
|
-
- spec/spec_tests/data/corpus/
|
352
|
+
- spec/spec_tests/data/corpus/decimal128-4.json
|
353
|
+
- spec/spec_tests/data/corpus/decimal128-1.json
|
354
|
+
- spec/spec_tests/data/corpus/int64.json
|
392
355
|
- spec/spec_tests/data/corpus/code_w_scope.json
|
393
|
-
- spec/spec_tests/data/corpus/
|
356
|
+
- spec/spec_tests/data/corpus/decimal128-6.json
|
357
|
+
- spec/spec_tests/data/corpus_legacy/array.json
|
358
|
+
- spec/spec_tests/data/corpus_legacy/string.json
|
359
|
+
- spec/spec_tests/data/corpus_legacy/timestamp.json
|
360
|
+
- spec/spec_tests/data/corpus_legacy/double.json
|
361
|
+
- spec/spec_tests/data/corpus_legacy/binary.json
|
362
|
+
- spec/spec_tests/data/corpus_legacy/document.json
|
363
|
+
- spec/spec_tests/data/corpus_legacy/null.json
|
364
|
+
- spec/spec_tests/data/corpus_legacy/boolean.json
|
365
|
+
- spec/spec_tests/data/corpus_legacy/regex.json
|
366
|
+
- spec/spec_tests/data/corpus_legacy/oid.json
|
367
|
+
- spec/spec_tests/data/corpus_legacy/code.json
|
368
|
+
- spec/spec_tests/data/corpus_legacy/undefined.json
|
369
|
+
- spec/spec_tests/data/corpus_legacy/int32.json
|
370
|
+
- spec/spec_tests/data/corpus_legacy/failures/datetime.json
|
371
|
+
- spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
|
372
|
+
- spec/spec_tests/data/corpus_legacy/failures/symbol.json
|
373
|
+
- spec/spec_tests/data/corpus_legacy/failures/int64.json
|
374
|
+
- spec/spec_tests/data/corpus_legacy/top.json
|
375
|
+
- spec/spec_tests/data/corpus_legacy/minkey.json
|
376
|
+
- spec/spec_tests/data/corpus_legacy/maxkey.json
|
377
|
+
- spec/spec_tests/data/corpus_legacy/code_w_scope.json
|
378
|
+
- spec/spec_tests/corpus_spec.rb
|
379
|
+
- spec/spec_tests/corpus_legacy_spec.rb
|
394
380
|
- spec/spec_tests/common_driver_spec.rb
|
395
|
-
- spec/
|
381
|
+
- spec/spec_helper.rb
|
382
|
+
- spec/support/utils.rb
|
396
383
|
- spec/support/spec_config.rb
|
397
384
|
- spec/support/shared_examples.rb
|
398
|
-
- spec/
|
399
|
-
- spec/
|
400
|
-
- spec/
|
401
|
-
- spec/
|
402
|
-
- spec/
|
385
|
+
- spec/shared/share/Dockerfile.erb
|
386
|
+
- spec/shared/share/haproxy-2.conf
|
387
|
+
- spec/shared/share/haproxy-1.conf
|
388
|
+
- spec/shared/bin/s3-copy
|
389
|
+
- spec/shared/bin/get-mongodb-download-url
|
390
|
+
- spec/shared/bin/s3-upload
|
391
|
+
- spec/shared/shlib/distro.sh
|
392
|
+
- spec/shared/shlib/set_env.sh
|
393
|
+
- spec/shared/shlib/server.sh
|
394
|
+
- spec/shared/LICENSE
|
395
|
+
- spec/shared/lib/mrss/constraints.rb
|
396
|
+
- spec/shared/lib/mrss/cluster_config.rb
|
397
|
+
- spec/shared/lib/mrss/child_process_helper.rb
|
398
|
+
- spec/shared/lib/mrss/event_subscriber.rb
|
399
|
+
- spec/shared/lib/mrss/utils.rb
|
400
|
+
- spec/shared/lib/mrss/server_version_registry.rb
|
401
|
+
- spec/shared/lib/mrss/lite_constraints.rb
|
402
|
+
- spec/shared/lib/mrss/docker_runner.rb
|
403
|
+
- spec/shared/lib/mrss/spec_organizer.rb
|
metadata.gz.sig
CHANGED
Binary file
|
data/lib/bson_native.bundle
DELETED
Binary file
|