bson 4.11.1 → 4.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.md +4 -7
  4. data/ext/bson/bson-native.h +2 -0
  5. data/ext/bson/init.c +9 -0
  6. data/ext/bson/read.c +29 -0
  7. data/lib/bson/active_support.rb +1 -0
  8. data/lib/bson/array.rb +2 -1
  9. data/lib/bson/big_decimal.rb +67 -0
  10. data/lib/bson/binary.rb +8 -5
  11. data/lib/bson/boolean.rb +2 -1
  12. data/lib/bson/code.rb +2 -1
  13. data/lib/bson/code_with_scope.rb +2 -1
  14. data/lib/bson/config.rb +1 -0
  15. data/lib/bson/date.rb +1 -0
  16. data/lib/bson/date_time.rb +1 -0
  17. data/lib/bson/db_pointer.rb +2 -1
  18. data/lib/bson/dbref.rb +125 -0
  19. data/lib/bson/decimal128/builder.rb +27 -20
  20. data/lib/bson/decimal128.rb +27 -12
  21. data/lib/bson/document.rb +61 -18
  22. data/lib/bson/environment.rb +1 -0
  23. data/lib/bson/error.rb +7 -0
  24. data/lib/bson/ext_json.rb +24 -11
  25. data/lib/bson/false_class.rb +2 -1
  26. data/lib/bson/float.rb +21 -32
  27. data/lib/bson/hash.rb +15 -6
  28. data/lib/bson/int32.rb +3 -2
  29. data/lib/bson/int64.rb +3 -2
  30. data/lib/bson/integer.rb +3 -2
  31. data/lib/bson/json.rb +1 -0
  32. data/lib/bson/max_key.rb +3 -2
  33. data/lib/bson/min_key.rb +3 -2
  34. data/lib/bson/nil_class.rb +2 -1
  35. data/lib/bson/object.rb +1 -0
  36. data/lib/bson/object_id.rb +4 -3
  37. data/lib/bson/open_struct.rb +1 -0
  38. data/lib/bson/regexp.rb +17 -6
  39. data/lib/bson/registry.rb +1 -0
  40. data/lib/bson/specialized.rb +1 -0
  41. data/lib/bson/string.rb +3 -2
  42. data/lib/bson/symbol.rb +2 -1
  43. data/lib/bson/time.rb +4 -3
  44. data/lib/bson/time_with_zone.rb +1 -0
  45. data/lib/bson/timestamp.rb +3 -2
  46. data/lib/bson/true_class.rb +2 -1
  47. data/lib/bson/undefined.rb +2 -1
  48. data/lib/bson/version.rb +2 -1
  49. data/lib/bson.rb +8 -5
  50. data/lib/bson_native.bundle +0 -0
  51. data/spec/README.md +14 -0
  52. data/spec/bson/big_decimal_spec.rb +316 -0
  53. data/spec/bson/binary_spec.rb +1 -1
  54. data/spec/bson/binary_uuid_spec.rb +12 -0
  55. data/spec/bson/dbref_spec.rb +461 -0
  56. data/spec/bson/decimal128_spec.rb +16 -0
  57. data/spec/bson/document_as_spec.rb +46 -0
  58. data/spec/bson/document_spec.rb +43 -1
  59. data/spec/bson/ext_json_parse_spec.rb +37 -0
  60. data/spec/bson/hash_as_spec.rb +57 -0
  61. data/spec/bson/hash_spec.rb +32 -0
  62. data/spec/bson/int64_spec.rb +4 -24
  63. data/spec/bson/raw_spec.rb +7 -1
  64. data/spec/bson/regexp_spec.rb +52 -0
  65. data/spec/runners/common_driver.rb +1 -1
  66. data/spec/shared/LICENSE +20 -0
  67. data/spec/shared/bin/get-mongodb-download-url +17 -0
  68. data/spec/shared/bin/s3-copy +45 -0
  69. data/spec/shared/bin/s3-upload +69 -0
  70. data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
  71. data/spec/shared/lib/mrss/cluster_config.rb +231 -0
  72. data/spec/shared/lib/mrss/constraints.rb +386 -0
  73. data/spec/shared/lib/mrss/docker_runner.rb +271 -0
  74. data/spec/shared/lib/mrss/event_subscriber.rb +200 -0
  75. data/spec/shared/lib/mrss/lite_constraints.rb +191 -0
  76. data/spec/shared/lib/mrss/server_version_registry.rb +120 -0
  77. data/spec/shared/lib/mrss/spec_organizer.rb +179 -0
  78. data/spec/shared/lib/mrss/utils.rb +15 -0
  79. data/spec/shared/share/Dockerfile.erb +338 -0
  80. data/spec/shared/share/haproxy-1.conf +16 -0
  81. data/spec/shared/share/haproxy-2.conf +17 -0
  82. data/spec/shared/shlib/distro.sh +74 -0
  83. data/spec/shared/shlib/server.sh +367 -0
  84. data/spec/shared/shlib/set_env.sh +131 -0
  85. data/spec/spec_helper.rb +20 -0
  86. data/spec/spec_tests/common_driver_spec.rb +2 -1
  87. data/spec/spec_tests/data/corpus/binary.json +33 -0
  88. data/spec/spec_tests/data/corpus/dbref.json +21 -1
  89. data/spec/spec_tests/data/corpus/document.json +4 -0
  90. data/spec/spec_tests/data/corpus/regex.json +2 -2
  91. data/spec/spec_tests/data/corpus/top.json +20 -9
  92. data/spec/support/spec_config.rb +2 -1
  93. data.tar.gz.sig +0 -0
  94. metadata +157 -106
  95. metadata.gz.sig +0 -0
@@ -60,6 +60,10 @@
60
60
  {
61
61
  "description": "Document truncated mid-key",
62
62
  "bson": "1200000002666F"
63
+ },
64
+ {
65
+ "description": "Null byte in document key",
66
+ "bson": "0D000000107800000100000000"
63
67
  }
64
68
  ],
65
69
  "parseErrors": [
@@ -195,14 +199,6 @@
195
199
  "description": "Bad $date (extra field)",
196
200
  "string": "{\"a\" : {\"$date\" : {\"$numberLong\" : \"1356351330501\"}, \"unrelated\": true}}"
197
201
  },
198
- {
199
- "description": "Bad DBRef (ref is number, not string)",
200
- "string": "{\"x\" : {\"$ref\" : 42, \"$id\" : \"abc\"}}"
201
- },
202
- {
203
- "description": "Bad DBRef (db is number, not string)",
204
- "string": "{\"x\" : {\"$ref\" : \"a\", \"$id\" : \"abc\", \"$db\" : 42}}"
205
- },
206
202
  {
207
203
  "description": "Bad $minKey (boolean, not integer)",
208
204
  "string": "{\"a\" : {\"$minKey\" : true}}"
@@ -230,7 +226,22 @@
230
226
  {
231
227
  "description": "Bad DBpointer (extra field)",
232
228
  "string": "{\"a\": {\"$dbPointer\": {\"a\": {\"$numberInt\": \"1\"}, \"$id\": {\"$oid\": \"56e1fc72e0c917e9c4714161\"}, \"c\": {\"$numberInt\": \"2\"}, \"$ref\": \"b\"}}}"
229
+ },
230
+ {
231
+ "description" : "Null byte in document key",
232
+ "string" : "{\"a\\u0000\": 1 }"
233
+ },
234
+ {
235
+ "description" : "Null byte in sub-document key",
236
+ "string" : "{\"a\" : {\"b\\u0000\": 1 }}"
237
+ },
238
+ {
239
+ "description": "Null byte in $regularExpression pattern",
240
+ "string": "{\"a\" : {\"$regularExpression\" : { \"pattern\": \"b\\u0000\", \"options\" : \"i\"}}}"
241
+ },
242
+ {
243
+ "description": "Null byte in $regularExpression options",
244
+ "string": "{\"a\" : {\"$regularExpression\" : { \"pattern\": \"b\", \"options\" : \"i\\u0000\"}}}"
233
245
  }
234
-
235
246
  ]
236
247
  }
@@ -6,7 +6,8 @@ class SpecConfig
6
6
  COMPACTION_CHANCE = 0.001
7
7
 
8
8
  def active_support?
9
- %w(1 true yes).include?(ENV['WITH_ACTIVE_SUPPORT'])
9
+ %w(1 true yes).include?(ENV['WITH_ACTIVE_SUPPORT']) ||
10
+ ENV['WITH_ACTIVE_SUPPORT'] =~ /[0-9]/ && ENV['WITH_ACTIVE_SUPPORT'] != '0'
10
11
  end
11
12
 
12
13
  def compact?
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.11.1
4
+ version: 4.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -15,8 +15,8 @@ cert_chain:
15
15
  - |
16
16
  -----BEGIN CERTIFICATE-----
17
17
  MIIDRDCCAiygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtkcml2
18
- ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMjAwMTIzMTkzNjAxWhcNMjEwMTIy
19
- MTkzNjAxWjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
18
+ ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMjEwMjA5MTQxOTU3WhcNMjIwMjA5
19
+ MTQxOTU3WjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
20
20
  ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRXUgGvH0ZtWwDPc2umdHw
21
21
  B+INNm6jNTRp8PMyUKxPzxaxX2OiBQk9gLC3zsK9ZmlZu4lNfpHVSCEPoiP/fhPg
22
22
  Kyfq2xld3Qz0Pki5d5i0/r14343MTKiNiFulLlbbdlN0cXeEFNJHUycZnD2LOXwz
@@ -26,14 +26,14 @@ cert_chain:
26
26
  AgMBAAGjfTB7MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRbd1mx
27
27
  fvSaVIwKI+tnEAYDW/B81zAgBgNVHREEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5j
28
28
  b20wIAYDVR0SBBkwF4EVZHJpdmVyLXJ1YnlAMTBnZW4uY29tMA0GCSqGSIb3DQEB
29
- CwUAA4IBAQBfX4dwxG5PhtxES/LDEOaZIZXyaX6CKe367zhW+HxWbSOXMQJFkIQj
30
- m7tzT+sDFJXyiOv5cPtfpUam5pTiryzRw5HD6oxlPIt5vO15EJ69v++3m7shMLbw
31
- amZOajKXmu2ZGZfhOtj7bOTwmOj1AnWLKeOQIR3STvvfZCD+6dt1XenW7CdjCsxE
32
- ifervPjLFqFPsMOgaxikhgPK6bRtszrQhJSYlifKKzxbX1hYAsmGL7IxjubFSV5r
33
- gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
34
- Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
29
+ CwUAA4IBAQCYGRgQbtk+g+Nuwg15p8jb+8bJlwHFHkb8rkLn00OPXLk3uBhImOKZ
30
+ mhwwr/8ZBkeE/PBDxkQjeua+NpqSaPr1lvXQaGpHxJzpR/BmSteeoF49jBu0dHaz
31
+ MRghinst6ROS1qVRae0z+wkbnufpH/NxdCUufb639nAlZguT2rGqvM6VZCC8eSO9
32
+ KfJA7/MEE+qQtiQgJaAUVRaGC8fLtmS555BPjNVITJs+BcGDYWh2clWuqlzjHOp3
33
+ YoFhlyUEi7VLlqNH0H/JFttVZK6+qmLelkVNcIYVLeWOB4Lf4VxEiYGEK1ORxsrY
34
+ iyYKJJALWY1FAInGRIlvkN+B8o3yIhq1
35
35
  -----END CERTIFICATE-----
36
- date: 2020-11-04 00:00:00.000000000 Z
36
+ date: 2022-01-13 00:00:00.000000000 Z
37
37
  dependencies: []
38
38
  description: A fully featured BSON specification implementation in Ruby
39
39
  email:
@@ -61,6 +61,7 @@ files:
61
61
  - lib/bson.rb
62
62
  - lib/bson/active_support.rb
63
63
  - lib/bson/array.rb
64
+ - lib/bson/big_decimal.rb
64
65
  - lib/bson/binary.rb
65
66
  - lib/bson/boolean.rb
66
67
  - lib/bson/code.rb
@@ -69,6 +70,7 @@ files:
69
70
  - lib/bson/date.rb
70
71
  - lib/bson/date_time.rb
71
72
  - lib/bson/db_pointer.rb
73
+ - lib/bson/dbref.rb
72
74
  - lib/bson/decimal128.rb
73
75
  - lib/bson/decimal128/builder.rb
74
76
  - lib/bson/document.rb
@@ -99,7 +101,10 @@ files:
99
101
  - lib/bson/true_class.rb
100
102
  - lib/bson/undefined.rb
101
103
  - lib/bson/version.rb
104
+ - lib/bson_native.bundle
105
+ - spec/README.md
102
106
  - spec/bson/array_spec.rb
107
+ - spec/bson/big_decimal_spec.rb
103
108
  - spec/bson/binary_spec.rb
104
109
  - spec/bson/binary_uuid_spec.rb
105
110
  - spec/bson/boolean_spec.rb
@@ -111,11 +116,14 @@ files:
111
116
  - spec/bson/config_spec.rb
112
117
  - spec/bson/date_spec.rb
113
118
  - spec/bson/date_time_spec.rb
119
+ - spec/bson/dbref_spec.rb
114
120
  - spec/bson/decimal128_spec.rb
121
+ - spec/bson/document_as_spec.rb
115
122
  - spec/bson/document_spec.rb
116
123
  - spec/bson/ext_json_parse_spec.rb
117
124
  - spec/bson/false_class_spec.rb
118
125
  - spec/bson/float_spec.rb
126
+ - spec/bson/hash_as_spec.rb
119
127
  - spec/bson/hash_spec.rb
120
128
  - spec/bson/int32_spec.rb
121
129
  - spec/bson/int64_spec.rb
@@ -142,6 +150,25 @@ files:
142
150
  - spec/runners/common_driver.rb
143
151
  - spec/runners/corpus.rb
144
152
  - spec/runners/corpus_legacy.rb
153
+ - spec/shared/LICENSE
154
+ - spec/shared/bin/get-mongodb-download-url
155
+ - spec/shared/bin/s3-copy
156
+ - spec/shared/bin/s3-upload
157
+ - spec/shared/lib/mrss/child_process_helper.rb
158
+ - spec/shared/lib/mrss/cluster_config.rb
159
+ - spec/shared/lib/mrss/constraints.rb
160
+ - spec/shared/lib/mrss/docker_runner.rb
161
+ - spec/shared/lib/mrss/event_subscriber.rb
162
+ - spec/shared/lib/mrss/lite_constraints.rb
163
+ - spec/shared/lib/mrss/server_version_registry.rb
164
+ - spec/shared/lib/mrss/spec_organizer.rb
165
+ - spec/shared/lib/mrss/utils.rb
166
+ - spec/shared/share/Dockerfile.erb
167
+ - spec/shared/share/haproxy-1.conf
168
+ - spec/shared/share/haproxy-2.conf
169
+ - spec/shared/shlib/distro.sh
170
+ - spec/shared/shlib/server.sh
171
+ - spec/shared/shlib/set_env.sh
145
172
  - spec/spec_helper.rb
146
173
  - spec/spec_tests/common_driver_spec.rb
147
174
  - spec/spec_tests/corpus_legacy_spec.rb
@@ -226,7 +253,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
253
  requirements:
227
254
  - - ">="
228
255
  - !ruby/object:Gem::Version
229
- version: '2.3'
256
+ version: '2.5'
230
257
  required_rubygems_version: !ruby/object:Gem::Requirement
231
258
  requirements:
232
259
  - - ">="
@@ -239,113 +266,137 @@ signing_key:
239
266
  specification_version: 4
240
267
  summary: Ruby implementation of the BSON specification
241
268
  test_files:
269
+ - spec/bson/true_class_spec.rb
270
+ - spec/bson/array_spec.rb
271
+ - spec/bson/config_spec.rb
272
+ - spec/bson/binary_uuid_spec.rb
273
+ - spec/bson/nil_class_spec.rb
274
+ - spec/bson/decimal128_spec.rb
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
280
+ - spec/bson/false_class_spec.rb
281
+ - spec/bson/integer_spec.rb
282
+ - 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
+ - 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
+ - spec/bson/undefined_spec.rb
295
+ - spec/bson/max_key_spec.rb
296
+ - spec/bson/byte_buffer_write_spec.rb
297
+ - spec/bson/byte_buffer_read_spec.rb
298
+ - spec/bson/timestamp_spec.rb
299
+ - spec/bson/string_spec.rb
300
+ - spec/bson/time_with_zone_spec.rb
301
+ - spec/bson/raw_spec.rb
302
+ - 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
+ - spec/bson/hash_as_spec.rb
308
+ - spec/bson/time_spec.rb
309
+ - spec/bson/symbol_raw_spec.rb
310
+ - spec/bson/open_struct_spec.rb
311
+ - spec/bson/date_spec.rb
312
+ - spec/shared/shlib/server.sh
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
242
331
  - spec/spec_helper.rb
332
+ - spec/spec_tests/corpus_legacy_spec.rb
243
333
  - spec/spec_tests/corpus_spec.rb
244
- - spec/spec_tests/common_driver_spec.rb
245
- - spec/spec_tests/data/corpus/decimal128-7.json
246
- - spec/spec_tests/data/corpus/top.json
247
- - spec/spec_tests/data/corpus/array.json
248
- - spec/spec_tests/data/corpus/null.json
249
- - spec/spec_tests/data/corpus/document.json
250
- - spec/spec_tests/data/corpus/decimal128-2.json
251
- - spec/spec_tests/data/corpus/decimal128-6.json
252
- - spec/spec_tests/data/corpus/boolean.json
253
- - spec/spec_tests/data/corpus/README.md
254
- - spec/spec_tests/data/corpus/maxkey.json
255
- - spec/spec_tests/data/corpus/binary.json
256
- - spec/spec_tests/data/corpus/multi-type.json
257
- - spec/spec_tests/data/corpus/timestamp.json
258
- - spec/spec_tests/data/corpus/multi-type-deprecated.json
259
- - spec/spec_tests/data/corpus/dbpointer.json
260
- - spec/spec_tests/data/corpus/oid.json
261
- - spec/spec_tests/data/corpus/regex.json
262
- - spec/spec_tests/data/corpus/minkey.json
263
- - spec/spec_tests/data/corpus/symbol.json
264
- - spec/spec_tests/data/corpus/dbref.json
265
- - spec/spec_tests/data/corpus/decimal128-1.json
266
- - spec/spec_tests/data/corpus/undefined.json
267
- - spec/spec_tests/data/corpus/double.json
268
- - spec/spec_tests/data/corpus/decimal128-4.json
269
- - spec/spec_tests/data/corpus/decimal128-3.json
270
- - spec/spec_tests/data/corpus/decimal128-5.json
271
- - spec/spec_tests/data/corpus/int32.json
272
- - spec/spec_tests/data/corpus/string.json
273
- - spec/spec_tests/data/corpus/code.json
274
- - spec/spec_tests/data/corpus/code_w_scope.json
275
- - spec/spec_tests/data/corpus/int64.json
276
- - spec/spec_tests/data/corpus/datetime.json
277
- - spec/spec_tests/data/corpus_legacy/top.json
278
- - spec/spec_tests/data/corpus_legacy/array.json
334
+ - spec/spec_tests/data/decimal128/decimal128-5.json
335
+ - spec/spec_tests/data/decimal128/decimal128-4.json
336
+ - spec/spec_tests/data/decimal128/decimal128-2.json
337
+ - spec/spec_tests/data/decimal128/decimal128-7.json
338
+ - spec/spec_tests/data/decimal128/decimal128-6.json
339
+ - spec/spec_tests/data/decimal128/decimal128-3.json
340
+ - spec/spec_tests/data/decimal128/decimal128-1.json
279
341
  - spec/spec_tests/data/corpus_legacy/null.json
280
- - spec/spec_tests/data/corpus_legacy/document.json
281
- - spec/spec_tests/data/corpus_legacy/boolean.json
282
- - spec/spec_tests/data/corpus_legacy/maxkey.json
283
342
  - spec/spec_tests/data/corpus_legacy/binary.json
284
- - spec/spec_tests/data/corpus_legacy/timestamp.json
343
+ - spec/spec_tests/data/corpus_legacy/failures/datetime.json
285
344
  - spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
286
- - spec/spec_tests/data/corpus_legacy/failures/symbol.json
287
345
  - spec/spec_tests/data/corpus_legacy/failures/int64.json
288
- - spec/spec_tests/data/corpus_legacy/failures/datetime.json
346
+ - spec/spec_tests/data/corpus_legacy/failures/symbol.json
289
347
  - spec/spec_tests/data/corpus_legacy/oid.json
290
- - spec/spec_tests/data/corpus_legacy/regex.json
291
- - spec/spec_tests/data/corpus_legacy/minkey.json
292
348
  - spec/spec_tests/data/corpus_legacy/undefined.json
293
- - spec/spec_tests/data/corpus_legacy/double.json
294
- - spec/spec_tests/data/corpus_legacy/int32.json
295
349
  - spec/spec_tests/data/corpus_legacy/string.json
296
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
297
361
  - spec/spec_tests/data/corpus_legacy/code_w_scope.json
298
- - spec/spec_tests/data/decimal128/decimal128-7.json
299
- - spec/spec_tests/data/decimal128/decimal128-2.json
300
- - spec/spec_tests/data/decimal128/decimal128-6.json
301
- - spec/spec_tests/data/decimal128/decimal128-1.json
302
- - spec/spec_tests/data/decimal128/decimal128-4.json
303
- - spec/spec_tests/data/decimal128/decimal128-3.json
304
- - spec/spec_tests/data/decimal128/decimal128-5.json
305
- - spec/spec_tests/corpus_legacy_spec.rb
306
- - spec/support/utils.rb
307
- - spec/support/shared_examples.rb
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
367
+ - spec/spec_tests/data/corpus/multi-type-deprecated.json
368
+ - spec/spec_tests/data/corpus/README.md
369
+ - spec/spec_tests/data/corpus/string.json
370
+ - spec/spec_tests/data/corpus/decimal128-5.json
371
+ - spec/spec_tests/data/corpus/code.json
372
+ - spec/spec_tests/data/corpus/document.json
373
+ - spec/spec_tests/data/corpus/decimal128-4.json
374
+ - spec/spec_tests/data/corpus/decimal128-2.json
375
+ - spec/spec_tests/data/corpus/multi-type.json
376
+ - spec/spec_tests/data/corpus/boolean.json
377
+ - spec/spec_tests/data/corpus/double.json
378
+ - spec/spec_tests/data/corpus/int32.json
379
+ - spec/spec_tests/data/corpus/datetime.json
380
+ - spec/spec_tests/data/corpus/decimal128-7.json
381
+ - spec/spec_tests/data/corpus/decimal128-6.json
382
+ - spec/spec_tests/data/corpus/regex.json
383
+ - 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
+ - spec/spec_tests/data/corpus/minkey.json
388
+ - spec/spec_tests/data/corpus/array.json
389
+ - spec/spec_tests/data/corpus/int64.json
390
+ - spec/spec_tests/data/corpus/maxkey.json
391
+ - spec/spec_tests/data/corpus/timestamp.json
392
+ - spec/spec_tests/data/corpus/code_w_scope.json
393
+ - spec/spec_tests/data/corpus/symbol.json
394
+ - spec/spec_tests/common_driver_spec.rb
395
+ - spec/README.md
308
396
  - spec/support/spec_config.rb
309
- - spec/runners/common_driver.rb
397
+ - spec/support/shared_examples.rb
398
+ - spec/support/utils.rb
310
399
  - spec/runners/corpus_legacy.rb
311
400
  - spec/runners/corpus.rb
312
- - spec/bson/code_spec.rb
313
- - spec/bson/byte_buffer_read_spec.rb
314
- - spec/bson/int32_spec.rb
315
- - spec/bson/max_key_spec.rb
316
- - spec/bson/time_spec.rb
317
- - spec/bson/array_spec.rb
318
- - spec/bson/date_time_spec.rb
319
- - spec/bson/document_spec.rb
320
- - spec/bson/float_spec.rb
321
- - spec/bson/nil_class_spec.rb
322
- - spec/bson/time_with_zone_spec.rb
323
- - spec/bson/ext_json_parse_spec.rb
324
- - spec/bson/string_spec.rb
325
- - spec/bson/open_struct_spec.rb
326
- - spec/bson/config_spec.rb
327
- - spec/bson/false_class_spec.rb
328
- - spec/bson/raw_spec.rb
329
- - spec/bson/regexp_spec.rb
330
- - spec/bson/binary_spec.rb
331
- - spec/bson/object_spec.rb
332
- - spec/bson/decimal128_spec.rb
333
- - spec/bson/binary_uuid_spec.rb
334
- - spec/bson/boolean_spec.rb
335
- - spec/bson/byte_buffer_spec.rb
336
- - spec/bson/json_spec.rb
337
- - spec/bson/symbol_spec.rb
338
- - spec/bson/integer_spec.rb
339
- - spec/bson/byte_buffer_write_spec.rb
340
- - spec/bson/registry_spec.rb
341
- - spec/bson/code_with_scope_spec.rb
342
- - spec/bson/true_class_spec.rb
343
- - spec/bson/undefined_spec.rb
344
- - spec/bson/object_id_spec.rb
345
- - spec/bson/timestamp_spec.rb
346
- - spec/bson/hash_spec.rb
347
- - spec/bson/symbol_raw_spec.rb
348
- - spec/bson/min_key_spec.rb
349
- - spec/bson/int64_spec.rb
350
- - spec/bson/date_spec.rb
401
+ - spec/runners/common_driver.rb
351
402
  - spec/bson_spec.rb
metadata.gz.sig CHANGED
Binary file