bson 4.15.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.md +4 -4
  4. data/Rakefile +5 -0
  5. data/ext/bson/bson-native.h +12 -4
  6. data/ext/bson/extconf.rb +8 -3
  7. data/ext/bson/init.c +11 -11
  8. data/ext/bson/read.c +21 -6
  9. data/ext/bson/util.c +168 -16
  10. data/ext/bson/write.c +30 -39
  11. data/lib/bson/active_support.rb +1 -0
  12. data/lib/bson/array.rb +57 -31
  13. data/lib/bson/big_decimal.rb +16 -6
  14. data/lib/bson/binary.rb +255 -128
  15. data/lib/bson/boolean.rb +1 -0
  16. data/lib/bson/code.rb +9 -11
  17. data/lib/bson/code_with_scope.rb +8 -10
  18. data/lib/bson/config.rb +1 -27
  19. data/lib/bson/date.rb +2 -1
  20. data/lib/bson/date_time.rb +2 -1
  21. data/lib/bson/db_pointer.rb +11 -12
  22. data/lib/bson/dbref.rb +11 -9
  23. data/lib/bson/decimal128/builder.rb +9 -8
  24. data/lib/bson/decimal128.rb +24 -110
  25. data/lib/bson/document.rb +1 -0
  26. data/lib/bson/environment.rb +1 -0
  27. data/lib/bson/error/bson_decode_error.rb +11 -0
  28. data/lib/bson/error/ext_json_parse_error.rb +11 -0
  29. data/lib/bson/error/illegal_key.rb +23 -0
  30. data/lib/bson/error/invalid_binary_type.rb +37 -0
  31. data/lib/bson/error/invalid_dbref_argument.rb +12 -0
  32. data/lib/bson/error/invalid_decimal128_argument.rb +25 -0
  33. data/lib/bson/error/invalid_decimal128_range.rb +27 -0
  34. data/lib/bson/error/invalid_decimal128_string.rb +26 -0
  35. data/lib/bson/error/invalid_key.rb +24 -0
  36. data/lib/bson/error/invalid_object_id.rb +11 -0
  37. data/lib/bson/error/invalid_regexp_pattern.rb +13 -0
  38. data/lib/bson/error/unrepresentable_precision.rb +19 -0
  39. data/lib/bson/error/unserializable_class.rb +13 -0
  40. data/lib/bson/error/unsupported_binary_subtype.rb +12 -0
  41. data/lib/bson/error/unsupported_type.rb +11 -0
  42. data/lib/bson/error.rb +16 -28
  43. data/lib/bson/ext_json.rb +1 -0
  44. data/lib/bson/false_class.rb +2 -1
  45. data/lib/bson/float.rb +2 -1
  46. data/lib/bson/hash.rb +127 -72
  47. data/lib/bson/int32.rb +16 -4
  48. data/lib/bson/int64.rb +16 -4
  49. data/lib/bson/integer.rb +3 -4
  50. data/lib/bson/json.rb +1 -0
  51. data/lib/bson/max_key.rb +7 -9
  52. data/lib/bson/min_key.rb +7 -9
  53. data/lib/bson/nil_class.rb +1 -0
  54. data/lib/bson/object.rb +5 -25
  55. data/lib/bson/object_id.rb +75 -121
  56. data/lib/bson/open_struct.rb +3 -2
  57. data/lib/bson/regexp.rb +35 -64
  58. data/lib/bson/registry.rb +2 -6
  59. data/lib/bson/specialized.rb +2 -1
  60. data/lib/bson/string.rb +4 -27
  61. data/lib/bson/symbol.rb +22 -19
  62. data/lib/bson/time.rb +2 -1
  63. data/lib/bson/time_with_zone.rb +13 -1
  64. data/lib/bson/timestamp.rb +2 -1
  65. data/lib/bson/true_class.rb +2 -1
  66. data/lib/bson/undefined.rb +14 -0
  67. data/lib/bson/version.rb +2 -1
  68. data/lib/bson.rb +3 -2
  69. data/spec/bson/array_spec.rb +19 -60
  70. data/spec/bson/big_decimal_spec.rb +16 -4
  71. data/spec/bson/binary_spec.rb +83 -74
  72. data/spec/bson/binary_uuid_spec.rb +1 -0
  73. data/spec/bson/boolean_spec.rb +1 -0
  74. data/spec/bson/byte_buffer_read_spec.rb +1 -0
  75. data/spec/bson/byte_buffer_spec.rb +1 -0
  76. data/spec/bson/byte_buffer_write_spec.rb +1 -0
  77. data/spec/bson/code_spec.rb +5 -3
  78. data/spec/bson/code_with_scope_spec.rb +5 -3
  79. data/spec/bson/config_spec.rb +1 -35
  80. data/spec/bson/date_spec.rb +1 -0
  81. data/spec/bson/date_time_spec.rb +1 -0
  82. data/spec/bson/dbref_legacy_spec.rb +20 -3
  83. data/spec/bson/dbref_spec.rb +9 -9
  84. data/spec/bson/decimal128_spec.rb +40 -20
  85. data/spec/bson/document_as_spec.rb +1 -0
  86. data/spec/bson/document_spec.rb +1 -1
  87. data/spec/bson/ext_json_parse_spec.rb +1 -0
  88. data/spec/bson/false_class_spec.rb +8 -0
  89. data/spec/bson/float_spec.rb +8 -3
  90. data/spec/bson/hash_as_spec.rb +1 -0
  91. data/spec/bson/hash_spec.rb +87 -75
  92. data/spec/bson/int32_spec.rb +21 -6
  93. data/spec/bson/int64_spec.rb +21 -6
  94. data/spec/bson/integer_spec.rb +45 -13
  95. data/spec/bson/json_spec.rb +1 -0
  96. data/spec/bson/max_key_spec.rb +5 -3
  97. data/spec/bson/min_key_spec.rb +5 -3
  98. data/spec/bson/nil_class_spec.rb +1 -0
  99. data/spec/bson/object_id_spec.rb +43 -4
  100. data/spec/bson/object_spec.rb +2 -1
  101. data/spec/bson/open_struct_spec.rb +14 -71
  102. data/spec/bson/raw_spec.rb +9 -15
  103. data/spec/bson/regexp_spec.rb +4 -3
  104. data/spec/bson/registry_spec.rb +2 -1
  105. data/spec/bson/string_spec.rb +13 -38
  106. data/spec/bson/symbol_raw_spec.rb +25 -0
  107. data/spec/bson/symbol_spec.rb +15 -18
  108. data/spec/bson/time_spec.rb +1 -0
  109. data/spec/bson/time_with_zone_spec.rb +1 -0
  110. data/spec/bson/timestamp_spec.rb +1 -0
  111. data/spec/bson/true_class_spec.rb +8 -0
  112. data/spec/bson/undefined_spec.rb +27 -0
  113. data/spec/bson_spec.rb +1 -0
  114. data/spec/runners/common_driver.rb +6 -5
  115. data/spec/runners/corpus.rb +6 -0
  116. data/spec/runners/corpus_legacy.rb +1 -0
  117. data/spec/shared/lib/mrss/constraints.rb +8 -16
  118. data/spec/shared/lib/mrss/docker_runner.rb +30 -3
  119. data/spec/shared/lib/mrss/eg_config_utils.rb +51 -0
  120. data/spec/shared/lib/mrss/event_subscriber.rb +15 -5
  121. data/spec/shared/lib/mrss/lite_constraints.rb +48 -1
  122. data/spec/shared/lib/mrss/server_version_registry.rb +16 -23
  123. data/spec/shared/lib/mrss/session_registry.rb +69 -0
  124. data/spec/shared/lib/mrss/session_registry_legacy.rb +60 -0
  125. data/spec/shared/lib/mrss/utils.rb +28 -6
  126. data/spec/shared/share/Dockerfile.erb +68 -85
  127. data/spec/shared/shlib/config.sh +27 -0
  128. data/spec/shared/shlib/server.sh +73 -24
  129. data/spec/shared/shlib/set_env.sh +39 -1
  130. data/spec/spec_helper.rb +1 -0
  131. data/spec/spec_tests/common_driver_spec.rb +9 -4
  132. data/spec/spec_tests/corpus_legacy_spec.rb +1 -0
  133. data/spec/spec_tests/corpus_spec.rb +13 -3
  134. data/spec/spec_tests/data/corpus/binary.json +5 -0
  135. data/spec/spec_tests/data/corpus/code.json +13 -13
  136. data/spec/spec_tests/data/corpus/decimal128-4.json +48 -0
  137. data/spec/spec_tests/data/corpus/decimal128-6.json +12 -0
  138. data/spec/spec_tests/data/corpus/decimal128-7.json +4 -0
  139. data/spec/spec_tests/data/corpus/document.json +20 -0
  140. data/spec/spec_tests/data/corpus/symbol.json +7 -7
  141. data/spec/spec_tests/data/corpus/top.json +18 -3
  142. data/spec/support/shared_examples.rb +28 -5
  143. data/spec/support/spec_config.rb +1 -0
  144. data/spec/support/utils.rb +49 -1
  145. data.tar.gz.sig +0 -0
  146. metadata +167 -144
  147. metadata.gz.sig +2 -1
metadata CHANGED
@@ -1,43 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bson
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.15.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Tyler Brock
8
- - Durran Jordan
9
- - Brandon Black
10
- - Emily Stolfo
11
- - Gary Murakami
12
- autorequire:
7
+ - The MongoDB Ruby Team
8
+ autorequire:
13
9
  bindir: bin
14
10
  cert_chain:
15
11
  - |
16
12
  -----BEGIN CERTIFICATE-----
17
- MIIDfDCCAmSgAwI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+OQZkMCAwEAAaN7MHkw
26
+ CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFH4nnr4tYlatU57RbExW
27
+ jG86YM5nMB8GA1UdEQQYMBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMB8GA1UdEgQY
28
+ MBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMA0GCSqGSIb3DQEBCwUAA4IBgQBKGtHA
29
+ fpi3N/BL1J5O4CBsAjtF4jHDiw2r5MwK+66NzMh3uedjgPI7MoosemLy++SB+8BR
30
+ SE8bDkb6gfDQQzrI6KSXXyqH2TbQXpY5Tac7/yqXRiu8G2qOrOj4czB/Hq7j09CV
31
+ YoH88v6hL11i5jt6jPjFh8hXYG0hDQxhi3atRz5Wwd98tUf2DSbyJXJiRgCBeZjl
32
+ rP7AnKsWMu0C+zPlL+nXtQr+nTFtkKXRWfUJMqePpBqtriQvgQ+Y1ItqYVTSLuiM
33
+ iwUMcn/rGhdCMBSaKDXdFkIveCHQE2f2WBo2EdErrcTrgEKYYdNfzcb/43j7L1kx
34
+ AUwyTtk+HFrviBynQbKN82rjbZE+5gukVea5c7idQPkqacPYsoU37DI+hTlUyJkV
35
+ dcTtfEg44lLlfNukBslfiQf54r+uWbyB0m0rDUN/py7/Ghyzt5GLBU91uCO3dGoI
36
+ 55uFRHMvEcJMTDeImC/nuucPCAiEGMHggr9+NPC0tqpxjGKTo7lS7GzUFjg=
36
37
  -----END CERTIFICATE-----
37
- date: 2022-04-21 00:00:00.000000000 Z
38
+ date: 2024-02-13 00:00:00.000000000 Z
38
39
  dependencies: []
39
40
  description: A fully featured BSON specification implementation in Ruby
40
- email:
41
+ email: dbx-ruby@mongodb.com
41
42
  executables: []
42
43
  extensions:
43
44
  - ext/bson/extconf.rb
@@ -77,6 +78,21 @@ files:
77
78
  - lib/bson/document.rb
78
79
  - lib/bson/environment.rb
79
80
  - lib/bson/error.rb
81
+ - lib/bson/error/bson_decode_error.rb
82
+ - lib/bson/error/ext_json_parse_error.rb
83
+ - lib/bson/error/illegal_key.rb
84
+ - lib/bson/error/invalid_binary_type.rb
85
+ - lib/bson/error/invalid_dbref_argument.rb
86
+ - lib/bson/error/invalid_decimal128_argument.rb
87
+ - lib/bson/error/invalid_decimal128_range.rb
88
+ - lib/bson/error/invalid_decimal128_string.rb
89
+ - lib/bson/error/invalid_key.rb
90
+ - lib/bson/error/invalid_object_id.rb
91
+ - lib/bson/error/invalid_regexp_pattern.rb
92
+ - lib/bson/error/unrepresentable_precision.rb
93
+ - lib/bson/error/unserializable_class.rb
94
+ - lib/bson/error/unsupported_binary_subtype.rb
95
+ - lib/bson/error/unsupported_type.rb
80
96
  - lib/bson/ext_json.rb
81
97
  - lib/bson/false_class.rb
82
98
  - lib/bson/float.rb
@@ -159,14 +175,18 @@ files:
159
175
  - spec/shared/lib/mrss/cluster_config.rb
160
176
  - spec/shared/lib/mrss/constraints.rb
161
177
  - spec/shared/lib/mrss/docker_runner.rb
178
+ - spec/shared/lib/mrss/eg_config_utils.rb
162
179
  - spec/shared/lib/mrss/event_subscriber.rb
163
180
  - spec/shared/lib/mrss/lite_constraints.rb
164
181
  - spec/shared/lib/mrss/server_version_registry.rb
182
+ - spec/shared/lib/mrss/session_registry.rb
183
+ - spec/shared/lib/mrss/session_registry_legacy.rb
165
184
  - spec/shared/lib/mrss/spec_organizer.rb
166
185
  - spec/shared/lib/mrss/utils.rb
167
186
  - spec/shared/share/Dockerfile.erb
168
187
  - spec/shared/share/haproxy-1.conf
169
188
  - spec/shared/share/haproxy-2.conf
189
+ - spec/shared/shlib/config.sh
170
190
  - spec/shared/shlib/distro.sh
171
191
  - spec/shared/shlib/server.sh
172
192
  - spec/shared/shlib/set_env.sh
@@ -237,16 +257,16 @@ files:
237
257
  - spec/support/shared_examples.rb
238
258
  - spec/support/spec_config.rb
239
259
  - spec/support/utils.rb
240
- homepage: https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
260
+ homepage: https://www.mongodb.com/docs/ruby-driver/current/tutorials/bson-v4/
241
261
  licenses:
242
262
  - Apache-2.0
243
263
  metadata:
244
264
  bug_tracker_uri: https://jira.mongodb.org/projects/RUBY
245
265
  changelog_uri: https://github.com/mongodb/bson-ruby/releases
246
- documentation_uri: https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
247
- homepage_uri: https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
266
+ documentation_uri: https://www.mongodb.com/docs/ruby-driver/current/tutorials/bson-v4/
267
+ homepage_uri: https://www.mongodb.com/docs/ruby-driver/current/tutorials/bson-v4/
248
268
  source_code_uri: https://github.com/mongodb/bson-ruby
249
- post_install_message:
269
+ post_install_message:
250
270
  rdoc_options: []
251
271
  require_paths:
252
272
  - lib
@@ -254,151 +274,154 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
274
  requirements:
255
275
  - - ">="
256
276
  - !ruby/object:Gem::Version
257
- version: '2.5'
277
+ version: '2.6'
258
278
  required_rubygems_version: !ruby/object:Gem::Requirement
259
279
  requirements:
260
280
  - - ">="
261
281
  - !ruby/object:Gem::Version
262
282
  version: 1.3.6
263
283
  requirements: []
264
- rubyforge_project:
265
- rubygems_version: 2.7.6.2
266
- signing_key:
284
+ rubygems_version: 3.3.15
285
+ signing_key:
267
286
  specification_version: 4
268
287
  summary: Ruby implementation of the BSON specification
269
288
  test_files:
270
- - spec/bson_spec.rb
271
- - spec/runners/corpus_legacy.rb
272
- - spec/runners/common_driver.rb
273
- - spec/runners/corpus.rb
274
- - spec/bson/raw_spec.rb
275
- - spec/bson/date_spec.rb
276
- - spec/bson/false_class_spec.rb
277
- - spec/bson/dbref_spec.rb
278
- - spec/bson/symbol_spec.rb
279
- - spec/bson/undefined_spec.rb
280
- - spec/bson/max_key_spec.rb
281
- - spec/bson/integer_spec.rb
282
- - spec/bson/float_spec.rb
283
- - spec/bson/code_spec.rb
284
- - spec/bson/min_key_spec.rb
285
- - spec/bson/time_spec.rb
286
- - spec/bson/time_with_zone_spec.rb
287
- - spec/bson/code_with_scope_spec.rb
288
- - spec/bson/regexp_spec.rb
289
- - spec/bson/hash_as_spec.rb
290
- - spec/bson/dbref_legacy_spec.rb
289
+ - spec/README.md
290
+ - spec/bson/array_spec.rb
291
+ - spec/bson/big_decimal_spec.rb
292
+ - spec/bson/binary_spec.rb
293
+ - spec/bson/binary_uuid_spec.rb
291
294
  - spec/bson/boolean_spec.rb
292
- - spec/bson/nil_class_spec.rb
295
+ - spec/bson/byte_buffer_read_spec.rb
296
+ - spec/bson/byte_buffer_spec.rb
293
297
  - spec/bson/byte_buffer_write_spec.rb
298
+ - spec/bson/code_spec.rb
299
+ - spec/bson/code_with_scope_spec.rb
294
300
  - spec/bson/config_spec.rb
295
- - spec/bson/int32_spec.rb
296
- - spec/bson/document_spec.rb
297
- - spec/bson/big_decimal_spec.rb
298
- - spec/bson/symbol_raw_spec.rb
299
- - spec/bson/object_spec.rb
301
+ - spec/bson/date_spec.rb
302
+ - spec/bson/date_time_spec.rb
303
+ - spec/bson/dbref_legacy_spec.rb
304
+ - spec/bson/dbref_spec.rb
305
+ - spec/bson/decimal128_spec.rb
300
306
  - spec/bson/document_as_spec.rb
301
- - spec/bson/binary_uuid_spec.rb
302
- - spec/bson/byte_buffer_spec.rb
303
- - spec/bson/true_class_spec.rb
304
- - spec/bson/string_spec.rb
307
+ - spec/bson/document_spec.rb
308
+ - spec/bson/ext_json_parse_spec.rb
309
+ - spec/bson/false_class_spec.rb
310
+ - spec/bson/float_spec.rb
311
+ - spec/bson/hash_as_spec.rb
305
312
  - spec/bson/hash_spec.rb
306
- - spec/bson/decimal128_spec.rb
307
- - spec/bson/byte_buffer_read_spec.rb
313
+ - spec/bson/int32_spec.rb
308
314
  - spec/bson/int64_spec.rb
309
- - spec/bson/object_id_spec.rb
310
- - spec/bson/timestamp_spec.rb
315
+ - spec/bson/integer_spec.rb
311
316
  - spec/bson/json_spec.rb
312
- - spec/bson/array_spec.rb
313
- - spec/bson/date_time_spec.rb
314
- - spec/bson/binary_spec.rb
315
- - spec/bson/registry_spec.rb
316
- - spec/bson/ext_json_parse_spec.rb
317
+ - spec/bson/max_key_spec.rb
318
+ - spec/bson/min_key_spec.rb
319
+ - spec/bson/nil_class_spec.rb
320
+ - spec/bson/object_id_spec.rb
321
+ - spec/bson/object_spec.rb
317
322
  - spec/bson/open_struct_spec.rb
318
- - spec/README.md
319
- - spec/spec_tests/data/decimal128/decimal128-3.json
320
- - spec/spec_tests/data/decimal128/decimal128-5.json
321
- - spec/spec_tests/data/decimal128/decimal128-2.json
322
- - spec/spec_tests/data/decimal128/decimal128-7.json
323
- - spec/spec_tests/data/decimal128/decimal128-4.json
324
- - spec/spec_tests/data/decimal128/decimal128-1.json
325
- - spec/spec_tests/data/decimal128/decimal128-6.json
323
+ - spec/bson/raw_spec.rb
324
+ - spec/bson/regexp_spec.rb
325
+ - spec/bson/registry_spec.rb
326
+ - spec/bson/string_spec.rb
327
+ - spec/bson/symbol_raw_spec.rb
328
+ - spec/bson/symbol_spec.rb
329
+ - spec/bson/time_spec.rb
330
+ - spec/bson/time_with_zone_spec.rb
331
+ - spec/bson/timestamp_spec.rb
332
+ - spec/bson/true_class_spec.rb
333
+ - spec/bson/undefined_spec.rb
334
+ - spec/bson_spec.rb
335
+ - spec/runners/common_driver.rb
336
+ - spec/runners/corpus.rb
337
+ - spec/runners/corpus_legacy.rb
338
+ - spec/shared/LICENSE
339
+ - spec/shared/bin/get-mongodb-download-url
340
+ - spec/shared/bin/s3-copy
341
+ - spec/shared/bin/s3-upload
342
+ - spec/shared/lib/mrss/child_process_helper.rb
343
+ - spec/shared/lib/mrss/cluster_config.rb
344
+ - spec/shared/lib/mrss/constraints.rb
345
+ - spec/shared/lib/mrss/docker_runner.rb
346
+ - spec/shared/lib/mrss/eg_config_utils.rb
347
+ - spec/shared/lib/mrss/event_subscriber.rb
348
+ - spec/shared/lib/mrss/lite_constraints.rb
349
+ - spec/shared/lib/mrss/server_version_registry.rb
350
+ - spec/shared/lib/mrss/session_registry.rb
351
+ - spec/shared/lib/mrss/session_registry_legacy.rb
352
+ - spec/shared/lib/mrss/spec_organizer.rb
353
+ - spec/shared/lib/mrss/utils.rb
354
+ - spec/shared/share/Dockerfile.erb
355
+ - spec/shared/share/haproxy-1.conf
356
+ - spec/shared/share/haproxy-2.conf
357
+ - spec/shared/shlib/config.sh
358
+ - spec/shared/shlib/distro.sh
359
+ - spec/shared/shlib/server.sh
360
+ - spec/shared/shlib/set_env.sh
361
+ - spec/spec_helper.rb
362
+ - spec/spec_tests/common_driver_spec.rb
363
+ - spec/spec_tests/corpus_legacy_spec.rb
364
+ - spec/spec_tests/corpus_spec.rb
365
+ - spec/spec_tests/data/corpus/README.md
326
366
  - spec/spec_tests/data/corpus/array.json
327
- - spec/spec_tests/data/corpus/multi-type-deprecated.json
328
- - spec/spec_tests/data/corpus/string.json
329
- - spec/spec_tests/data/corpus/timestamp.json
330
- - spec/spec_tests/data/corpus/double.json
331
367
  - spec/spec_tests/data/corpus/binary.json
332
- - spec/spec_tests/data/corpus/document.json
333
- - spec/spec_tests/data/corpus/null.json
334
- - spec/spec_tests/data/corpus/decimal128-3.json
335
368
  - spec/spec_tests/data/corpus/boolean.json
336
- - spec/spec_tests/data/corpus/regex.json
337
- - spec/spec_tests/data/corpus/oid.json
338
- - spec/spec_tests/data/corpus/README.md
339
369
  - spec/spec_tests/data/corpus/code.json
340
- - spec/spec_tests/data/corpus/undefined.json
370
+ - spec/spec_tests/data/corpus/code_w_scope.json
341
371
  - spec/spec_tests/data/corpus/datetime.json
342
- - spec/spec_tests/data/corpus/int32.json
343
- - spec/spec_tests/data/corpus/decimal128-5.json
372
+ - spec/spec_tests/data/corpus/dbpointer.json
344
373
  - spec/spec_tests/data/corpus/dbref.json
345
- - spec/spec_tests/data/corpus/multi-type.json
374
+ - spec/spec_tests/data/corpus/decimal128-1.json
346
375
  - spec/spec_tests/data/corpus/decimal128-2.json
347
- - spec/spec_tests/data/corpus/dbpointer.json
376
+ - spec/spec_tests/data/corpus/decimal128-3.json
377
+ - spec/spec_tests/data/corpus/decimal128-4.json
378
+ - spec/spec_tests/data/corpus/decimal128-5.json
379
+ - spec/spec_tests/data/corpus/decimal128-6.json
348
380
  - spec/spec_tests/data/corpus/decimal128-7.json
381
+ - spec/spec_tests/data/corpus/document.json
382
+ - spec/spec_tests/data/corpus/double.json
383
+ - spec/spec_tests/data/corpus/int32.json
384
+ - spec/spec_tests/data/corpus/int64.json
385
+ - spec/spec_tests/data/corpus/maxkey.json
386
+ - spec/spec_tests/data/corpus/minkey.json
387
+ - spec/spec_tests/data/corpus/multi-type-deprecated.json
388
+ - spec/spec_tests/data/corpus/multi-type.json
389
+ - spec/spec_tests/data/corpus/null.json
390
+ - spec/spec_tests/data/corpus/oid.json
391
+ - spec/spec_tests/data/corpus/regex.json
392
+ - spec/spec_tests/data/corpus/string.json
349
393
  - spec/spec_tests/data/corpus/symbol.json
394
+ - spec/spec_tests/data/corpus/timestamp.json
350
395
  - spec/spec_tests/data/corpus/top.json
351
- - spec/spec_tests/data/corpus/minkey.json
352
- - spec/spec_tests/data/corpus/maxkey.json
353
- - spec/spec_tests/data/corpus/decimal128-4.json
354
- - spec/spec_tests/data/corpus/decimal128-1.json
355
- - spec/spec_tests/data/corpus/int64.json
356
- - spec/spec_tests/data/corpus/code_w_scope.json
357
- - spec/spec_tests/data/corpus/decimal128-6.json
396
+ - spec/spec_tests/data/corpus/undefined.json
358
397
  - spec/spec_tests/data/corpus_legacy/array.json
359
- - spec/spec_tests/data/corpus_legacy/string.json
360
- - spec/spec_tests/data/corpus_legacy/timestamp.json
361
- - spec/spec_tests/data/corpus_legacy/double.json
362
398
  - spec/spec_tests/data/corpus_legacy/binary.json
363
- - spec/spec_tests/data/corpus_legacy/document.json
364
- - spec/spec_tests/data/corpus_legacy/null.json
365
399
  - spec/spec_tests/data/corpus_legacy/boolean.json
366
- - spec/spec_tests/data/corpus_legacy/regex.json
367
- - spec/spec_tests/data/corpus_legacy/oid.json
368
400
  - spec/spec_tests/data/corpus_legacy/code.json
369
- - spec/spec_tests/data/corpus_legacy/undefined.json
370
- - spec/spec_tests/data/corpus_legacy/int32.json
401
+ - spec/spec_tests/data/corpus_legacy/code_w_scope.json
402
+ - spec/spec_tests/data/corpus_legacy/document.json
403
+ - spec/spec_tests/data/corpus_legacy/double.json
371
404
  - spec/spec_tests/data/corpus_legacy/failures/datetime.json
372
405
  - spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
373
- - spec/spec_tests/data/corpus_legacy/failures/symbol.json
374
406
  - spec/spec_tests/data/corpus_legacy/failures/int64.json
375
- - spec/spec_tests/data/corpus_legacy/top.json
376
- - spec/spec_tests/data/corpus_legacy/minkey.json
407
+ - spec/spec_tests/data/corpus_legacy/failures/symbol.json
408
+ - spec/spec_tests/data/corpus_legacy/int32.json
377
409
  - spec/spec_tests/data/corpus_legacy/maxkey.json
378
- - spec/spec_tests/data/corpus_legacy/code_w_scope.json
379
- - spec/spec_tests/corpus_spec.rb
380
- - spec/spec_tests/corpus_legacy_spec.rb
381
- - spec/spec_tests/common_driver_spec.rb
382
- - spec/spec_helper.rb
383
- - spec/support/utils.rb
384
- - spec/support/spec_config.rb
410
+ - spec/spec_tests/data/corpus_legacy/minkey.json
411
+ - spec/spec_tests/data/corpus_legacy/null.json
412
+ - spec/spec_tests/data/corpus_legacy/oid.json
413
+ - spec/spec_tests/data/corpus_legacy/regex.json
414
+ - spec/spec_tests/data/corpus_legacy/string.json
415
+ - spec/spec_tests/data/corpus_legacy/timestamp.json
416
+ - spec/spec_tests/data/corpus_legacy/top.json
417
+ - spec/spec_tests/data/corpus_legacy/undefined.json
418
+ - spec/spec_tests/data/decimal128/decimal128-1.json
419
+ - spec/spec_tests/data/decimal128/decimal128-2.json
420
+ - spec/spec_tests/data/decimal128/decimal128-3.json
421
+ - spec/spec_tests/data/decimal128/decimal128-4.json
422
+ - spec/spec_tests/data/decimal128/decimal128-5.json
423
+ - spec/spec_tests/data/decimal128/decimal128-6.json
424
+ - spec/spec_tests/data/decimal128/decimal128-7.json
385
425
  - spec/support/shared_examples.rb
386
- - spec/shared/share/Dockerfile.erb
387
- - spec/shared/share/haproxy-2.conf
388
- - spec/shared/share/haproxy-1.conf
389
- - spec/shared/bin/s3-copy
390
- - spec/shared/bin/get-mongodb-download-url
391
- - spec/shared/bin/s3-upload
392
- - spec/shared/shlib/distro.sh
393
- - spec/shared/shlib/set_env.sh
394
- - spec/shared/shlib/server.sh
395
- - spec/shared/LICENSE
396
- - spec/shared/lib/mrss/constraints.rb
397
- - spec/shared/lib/mrss/cluster_config.rb
398
- - spec/shared/lib/mrss/child_process_helper.rb
399
- - spec/shared/lib/mrss/event_subscriber.rb
400
- - spec/shared/lib/mrss/utils.rb
401
- - spec/shared/lib/mrss/server_version_registry.rb
402
- - spec/shared/lib/mrss/lite_constraints.rb
403
- - spec/shared/lib/mrss/docker_runner.rb
404
- - spec/shared/lib/mrss/spec_organizer.rb
426
+ - spec/support/spec_config.rb
427
+ - spec/support/utils.rb
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- mT*�#�9}<e4���,���k
1
+ sڇ�=�DBV���= ȾuC|���Zj ]��q.�n��͒���G�B�a'�
2
+ յ�5����2J�F�I Q��o���mbɆ&��ߎZ ��&��z��a՞�$?�� U���:.� 4yU�C[2��L�I1ZP�{Y����Eە&��ʉ��m��Ao"N��C�I�C1"����d� �4�›�V�ǰ���ۙ����/��~-��ސeh��._#j ����EmwD��=o����|Q;���