bson 4.9.2-java → 4.9.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/bson-ruby.jar +0 -0
- data/lib/bson/version.rb +1 -1
- data/spec/spec_helper.rb +11 -0
- data/spec/support/spec_config.rb +6 -0
- metadata +85 -84
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0925b48b34b8fe9289635fef2f5e791a1ab980d5ec22f4581345257047d7537d'
|
4
|
+
data.tar.gz: '069c7aa8ec4ca7ef93818260d3e18fbb16a87f558a0b93f4fc7a51f1fed90e30'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9381b8e71f584636b402d555a3f0ed92ab4c2fdd1a1c46dcadf83161c0de5cb39b578157ac8309d9c62fc57f5815d68c998fa7d38c85404ac9900c580c9f8887
|
7
|
+
data.tar.gz: b9f771536a3bec7f5acba6e03d4314d597e7dcdb5e14bf369b93660e164e5b286db8fd72f944aa3bd25386adca8c3f6c61ae670e8f81285e2cedd31bd301c813
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/bson-ruby.jar
CHANGED
Binary file
|
data/lib/bson/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -60,4 +60,15 @@ RSpec.configure do |config|
|
|
60
60
|
config.expect_with :rspec do |c|
|
61
61
|
c.syntax = [:should, :expect]
|
62
62
|
end
|
63
|
+
|
64
|
+
# To ensure that calling GC.compact does not produce unexpected behavior,
|
65
|
+
# randomly call GC.compact after a small percentage of tests in the suite.
|
66
|
+
# This behavior is only enabled when the COMPACT environment variable is true.
|
67
|
+
if SpecConfig.instance.compact?
|
68
|
+
config.after do
|
69
|
+
if rand < SpecConfig::COMPACTION_CHANCE
|
70
|
+
GC.compact
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
63
74
|
end
|
data/spec/support/spec_config.rb
CHANGED
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.9.
|
4
|
+
version: 4.9.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
|
34
34
|
Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date: 2020-06-
|
36
|
+
date: 2020-06-24 00:00:00.000000000 Z
|
37
37
|
dependencies: []
|
38
38
|
description: A fully featured BSON specification implementation in Ruby
|
39
39
|
email:
|
@@ -223,118 +223,119 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: 1.3.6
|
225
225
|
requirements: []
|
226
|
-
|
226
|
+
rubyforge_project:
|
227
|
+
rubygems_version: 2.7.10
|
227
228
|
signing_key:
|
228
229
|
specification_version: 4
|
229
230
|
summary: Ruby implementation of the BSON specification
|
230
231
|
test_files:
|
231
|
-
- spec/bson_spec.rb
|
232
232
|
- spec/spec_helper.rb
|
233
|
-
- spec/
|
234
|
-
- spec/
|
235
|
-
- spec/
|
236
|
-
- spec/bson/
|
237
|
-
- spec/bson/byte_buffer_spec.rb
|
238
|
-
- spec/bson/ext_json_parse_spec.rb
|
239
|
-
- spec/bson/byte_buffer_read_spec.rb
|
240
|
-
- spec/bson/decimal128_spec.rb
|
241
|
-
- spec/bson/date_spec.rb
|
242
|
-
- spec/bson/object_spec.rb
|
243
|
-
- spec/bson/int64_spec.rb
|
233
|
+
- spec/bson_spec.rb
|
234
|
+
- spec/bson/regexp_spec.rb
|
235
|
+
- spec/bson/min_key_spec.rb
|
236
|
+
- spec/bson/time_spec.rb
|
244
237
|
- spec/bson/int32_spec.rb
|
245
|
-
- spec/bson/
|
246
|
-
- spec/bson/hash_spec.rb
|
247
|
-
- spec/bson/string_spec.rb
|
248
|
-
- spec/bson/boolean_spec.rb
|
249
|
-
- spec/bson/timestamp_spec.rb
|
250
|
-
- spec/bson/open_struct_spec.rb
|
238
|
+
- spec/bson/code_spec.rb
|
251
239
|
- spec/bson/config_spec.rb
|
252
|
-
- spec/bson/
|
253
|
-
- spec/bson/
|
240
|
+
- spec/bson/undefined_spec.rb
|
241
|
+
- spec/bson/boolean_spec.rb
|
242
|
+
- spec/bson/object_spec.rb
|
243
|
+
- spec/bson/array_spec.rb
|
244
|
+
- spec/bson/hash_spec.rb
|
245
|
+
- spec/bson/date_spec.rb
|
246
|
+
- spec/bson/json_spec.rb
|
254
247
|
- spec/bson/time_with_zone_spec.rb
|
255
|
-
- spec/bson/
|
256
|
-
- spec/bson/
|
248
|
+
- spec/bson/int64_spec.rb
|
249
|
+
- spec/bson/registry_spec.rb
|
250
|
+
- spec/bson/binary_uuid_spec.rb
|
251
|
+
- spec/bson/byte_buffer_read_spec.rb
|
257
252
|
- spec/bson/raw_spec.rb
|
258
253
|
- spec/bson/binary_spec.rb
|
259
|
-
- spec/bson/
|
254
|
+
- spec/bson/max_key_spec.rb
|
255
|
+
- spec/bson/symbol_raw_spec.rb
|
260
256
|
- spec/bson/code_with_scope_spec.rb
|
257
|
+
- spec/bson/byte_buffer_write_spec.rb
|
258
|
+
- spec/bson/date_time_spec.rb
|
259
|
+
- spec/bson/false_class_spec.rb
|
260
|
+
- spec/bson/byte_buffer_spec.rb
|
261
|
+
- spec/bson/string_spec.rb
|
262
|
+
- spec/bson/open_struct_spec.rb
|
263
|
+
- spec/bson/timestamp_spec.rb
|
264
|
+
- spec/bson/ext_json_parse_spec.rb
|
261
265
|
- spec/bson/symbol_spec.rb
|
262
|
-
- spec/bson/
|
263
|
-
- spec/bson/symbol_raw_spec.rb
|
264
|
-
- spec/bson/true_class_spec.rb
|
266
|
+
- spec/bson/decimal128_spec.rb
|
265
267
|
- spec/bson/integer_spec.rb
|
266
|
-
- spec/bson/binary_uuid_spec.rb
|
267
|
-
- spec/bson/time_spec.rb
|
268
|
-
- spec/bson/json_spec.rb
|
269
|
-
- spec/bson/date_time_spec.rb
|
270
268
|
- spec/bson/document_spec.rb
|
271
|
-
- spec/bson/
|
272
|
-
- spec/bson/
|
273
|
-
- spec/bson/
|
274
|
-
- spec/bson/
|
275
|
-
- spec/support/shared_examples.rb
|
276
|
-
- spec/support/spec_config.rb
|
269
|
+
- spec/bson/float_spec.rb
|
270
|
+
- spec/bson/nil_class_spec.rb
|
271
|
+
- spec/bson/true_class_spec.rb
|
272
|
+
- spec/bson/object_id_spec.rb
|
277
273
|
- spec/support/utils.rb
|
278
|
-
- spec/
|
274
|
+
- spec/support/spec_config.rb
|
275
|
+
- spec/support/shared_examples.rb
|
276
|
+
- spec/runners/corpus.rb
|
277
|
+
- spec/runners/corpus_legacy.rb
|
278
|
+
- spec/runners/common_driver.rb
|
279
279
|
- spec/spec_tests/corpus_spec.rb
|
280
280
|
- spec/spec_tests/common_driver_spec.rb
|
281
|
-
- spec/spec_tests/
|
282
|
-
- spec/spec_tests/data/corpus_legacy/code_w_scope.json
|
283
|
-
- spec/spec_tests/data/corpus_legacy/null.json
|
284
|
-
- spec/spec_tests/data/corpus_legacy/boolean.json
|
285
|
-
- spec/spec_tests/data/corpus_legacy/oid.json
|
286
|
-
- spec/spec_tests/data/corpus_legacy/regex.json
|
287
|
-
- spec/spec_tests/data/corpus_legacy/array.json
|
288
|
-
- spec/spec_tests/data/corpus_legacy/document.json
|
289
|
-
- spec/spec_tests/data/corpus_legacy/undefined.json
|
290
|
-
- spec/spec_tests/data/corpus_legacy/binary.json
|
291
|
-
- spec/spec_tests/data/corpus_legacy/minkey.json
|
292
|
-
- spec/spec_tests/data/corpus_legacy/maxkey.json
|
293
|
-
- spec/spec_tests/data/corpus_legacy/int32.json
|
294
|
-
- spec/spec_tests/data/corpus_legacy/timestamp.json
|
295
|
-
- spec/spec_tests/data/corpus_legacy/top.json
|
296
|
-
- spec/spec_tests/data/corpus_legacy/string.json
|
297
|
-
- spec/spec_tests/data/corpus_legacy/double.json
|
298
|
-
- spec/spec_tests/data/corpus_legacy/failures/symbol.json
|
299
|
-
- spec/spec_tests/data/corpus_legacy/failures/datetime.json
|
300
|
-
- spec/spec_tests/data/corpus_legacy/failures/int64.json
|
301
|
-
- spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
|
302
|
-
- spec/spec_tests/data/corpus/code.json
|
303
|
-
- spec/spec_tests/data/corpus/code_w_scope.json
|
304
|
-
- spec/spec_tests/data/corpus/decimal128-1.json
|
305
|
-
- spec/spec_tests/data/corpus/null.json
|
281
|
+
- spec/spec_tests/corpus_legacy_spec.rb
|
306
282
|
- spec/spec_tests/data/corpus/multi-type.json
|
283
|
+
- spec/spec_tests/data/corpus/decimal128-1.json
|
284
|
+
- spec/spec_tests/data/corpus/dbref.json
|
285
|
+
- spec/spec_tests/data/corpus/multi-type-deprecated.json
|
286
|
+
- spec/spec_tests/data/corpus/maxkey.json
|
307
287
|
- spec/spec_tests/data/corpus/boolean.json
|
308
|
-
- spec/spec_tests/data/corpus/symbol.json
|
309
288
|
- spec/spec_tests/data/corpus/datetime.json
|
310
289
|
- spec/spec_tests/data/corpus/oid.json
|
311
|
-
- spec/spec_tests/data/corpus/
|
312
|
-
- spec/spec_tests/data/corpus/int64.json
|
313
|
-
- spec/spec_tests/data/corpus/decimal128-7.json
|
290
|
+
- spec/spec_tests/data/corpus/code.json
|
314
291
|
- spec/spec_tests/data/corpus/array.json
|
315
|
-
- spec/spec_tests/data/corpus/decimal128-
|
316
|
-
- spec/spec_tests/data/corpus/
|
317
|
-
- spec/spec_tests/data/corpus/
|
318
|
-
- spec/spec_tests/data/corpus/
|
292
|
+
- spec/spec_tests/data/corpus/decimal128-7.json
|
293
|
+
- spec/spec_tests/data/corpus/symbol.json
|
294
|
+
- spec/spec_tests/data/corpus/double.json
|
295
|
+
- spec/spec_tests/data/corpus/decimal128-6.json
|
296
|
+
- spec/spec_tests/data/corpus/code_w_scope.json
|
297
|
+
- spec/spec_tests/data/corpus/int64.json
|
319
298
|
- spec/spec_tests/data/corpus/README.md
|
320
|
-
- spec/spec_tests/data/corpus/
|
299
|
+
- spec/spec_tests/data/corpus/string.json
|
300
|
+
- spec/spec_tests/data/corpus/document.json
|
301
|
+
- spec/spec_tests/data/corpus/decimal128-5.json
|
302
|
+
- spec/spec_tests/data/corpus/top.json
|
321
303
|
- spec/spec_tests/data/corpus/decimal128-4.json
|
304
|
+
- spec/spec_tests/data/corpus/null.json
|
305
|
+
- spec/spec_tests/data/corpus/int32.json
|
306
|
+
- spec/spec_tests/data/corpus/dbpointer.json
|
322
307
|
- spec/spec_tests/data/corpus/undefined.json
|
323
|
-
- spec/spec_tests/data/corpus/
|
324
|
-
- spec/spec_tests/data/corpus/
|
308
|
+
- spec/spec_tests/data/corpus/timestamp.json
|
309
|
+
- spec/spec_tests/data/corpus/decimal128-3.json
|
325
310
|
- spec/spec_tests/data/corpus/binary.json
|
326
311
|
- spec/spec_tests/data/corpus/minkey.json
|
312
|
+
- spec/spec_tests/data/corpus/regex.json
|
327
313
|
- spec/spec_tests/data/corpus/decimal128-2.json
|
328
|
-
- spec/spec_tests/data/
|
329
|
-
- spec/spec_tests/data/
|
330
|
-
- spec/spec_tests/data/
|
331
|
-
- spec/spec_tests/data/
|
332
|
-
- spec/spec_tests/data/
|
333
|
-
- spec/spec_tests/data/
|
314
|
+
- spec/spec_tests/data/corpus_legacy/maxkey.json
|
315
|
+
- spec/spec_tests/data/corpus_legacy/boolean.json
|
316
|
+
- spec/spec_tests/data/corpus_legacy/oid.json
|
317
|
+
- spec/spec_tests/data/corpus_legacy/code.json
|
318
|
+
- spec/spec_tests/data/corpus_legacy/array.json
|
319
|
+
- spec/spec_tests/data/corpus_legacy/double.json
|
320
|
+
- spec/spec_tests/data/corpus_legacy/code_w_scope.json
|
321
|
+
- spec/spec_tests/data/corpus_legacy/string.json
|
322
|
+
- spec/spec_tests/data/corpus_legacy/document.json
|
323
|
+
- spec/spec_tests/data/corpus_legacy/top.json
|
324
|
+
- spec/spec_tests/data/corpus_legacy/null.json
|
325
|
+
- spec/spec_tests/data/corpus_legacy/int32.json
|
326
|
+
- spec/spec_tests/data/corpus_legacy/undefined.json
|
327
|
+
- spec/spec_tests/data/corpus_legacy/timestamp.json
|
328
|
+
- spec/spec_tests/data/corpus_legacy/binary.json
|
329
|
+
- spec/spec_tests/data/corpus_legacy/minkey.json
|
330
|
+
- spec/spec_tests/data/corpus_legacy/regex.json
|
331
|
+
- spec/spec_tests/data/corpus_legacy/failures/datetime.json
|
332
|
+
- spec/spec_tests/data/corpus_legacy/failures/symbol.json
|
333
|
+
- spec/spec_tests/data/corpus_legacy/failures/int64.json
|
334
|
+
- spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
|
334
335
|
- spec/spec_tests/data/decimal128/decimal128-1.json
|
335
336
|
- spec/spec_tests/data/decimal128/decimal128-7.json
|
336
|
-
- spec/spec_tests/data/decimal128/decimal128-
|
337
|
+
- spec/spec_tests/data/decimal128/decimal128-6.json
|
337
338
|
- spec/spec_tests/data/decimal128/decimal128-5.json
|
338
339
|
- spec/spec_tests/data/decimal128/decimal128-4.json
|
339
|
-
- spec/spec_tests/data/decimal128/decimal128-
|
340
|
+
- spec/spec_tests/data/decimal128/decimal128-3.json
|
340
341
|
- spec/spec_tests/data/decimal128/decimal128-2.json
|
metadata.gz.sig
CHANGED
Binary file
|