bson 4.9.0 → 4.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.md +15 -6
  4. data/ext/bson/bson-native.h +4 -0
  5. data/ext/bson/init.c +75 -23
  6. data/ext/bson/read.c +63 -11
  7. data/ext/bson/write.c +42 -3
  8. data/lib/bson/active_support.rb +1 -0
  9. data/lib/bson/array.rb +5 -1
  10. data/lib/bson/big_decimal.rb +67 -0
  11. data/lib/bson/binary.rb +8 -5
  12. data/lib/bson/boolean.rb +2 -1
  13. data/lib/bson/code.rb +2 -1
  14. data/lib/bson/code_with_scope.rb +2 -1
  15. data/lib/bson/config.rb +1 -0
  16. data/lib/bson/date.rb +1 -0
  17. data/lib/bson/date_time.rb +2 -1
  18. data/lib/bson/db_pointer.rb +2 -1
  19. data/lib/bson/dbref.rb +152 -0
  20. data/lib/bson/decimal128/builder.rb +27 -20
  21. data/lib/bson/decimal128.rb +39 -14
  22. data/lib/bson/document.rb +61 -18
  23. data/lib/bson/environment.rb +1 -0
  24. data/lib/bson/error.rb +13 -0
  25. data/lib/bson/ext_json.rb +24 -11
  26. data/lib/bson/false_class.rb +2 -1
  27. data/lib/bson/float.rb +21 -32
  28. data/lib/bson/hash.rb +18 -6
  29. data/lib/bson/int32.rb +3 -2
  30. data/lib/bson/int64.rb +3 -2
  31. data/lib/bson/integer.rb +3 -2
  32. data/lib/bson/json.rb +1 -0
  33. data/lib/bson/max_key.rb +3 -2
  34. data/lib/bson/min_key.rb +3 -2
  35. data/lib/bson/nil_class.rb +2 -1
  36. data/lib/bson/object.rb +1 -0
  37. data/lib/bson/object_id.rb +4 -3
  38. data/lib/bson/open_struct.rb +1 -0
  39. data/lib/bson/regexp.rb +24 -7
  40. data/lib/bson/registry.rb +1 -0
  41. data/lib/bson/specialized.rb +1 -0
  42. data/lib/bson/string.rb +3 -2
  43. data/lib/bson/symbol.rb +2 -1
  44. data/lib/bson/time.rb +4 -3
  45. data/lib/bson/time_with_zone.rb +1 -0
  46. data/lib/bson/timestamp.rb +7 -6
  47. data/lib/bson/true_class.rb +2 -1
  48. data/lib/bson/undefined.rb +2 -1
  49. data/lib/bson/version.rb +2 -1
  50. data/lib/bson.rb +8 -5
  51. data/spec/README.md +14 -0
  52. data/spec/bson/array_spec.rb +17 -0
  53. data/spec/bson/big_decimal_spec.rb +316 -0
  54. data/spec/bson/binary_spec.rb +1 -1
  55. data/spec/bson/binary_uuid_spec.rb +12 -0
  56. data/spec/bson/byte_buffer_read_spec.rb +59 -3
  57. data/spec/bson/byte_buffer_spec.rb +129 -6
  58. data/spec/bson/byte_buffer_write_spec.rb +96 -0
  59. data/spec/bson/date_time_spec.rb +53 -0
  60. data/spec/bson/dbref_legacy_spec.rb +169 -0
  61. data/spec/bson/dbref_spec.rb +487 -0
  62. data/spec/bson/decimal128_spec.rb +231 -0
  63. data/spec/bson/document_as_spec.rb +46 -0
  64. data/spec/bson/document_spec.rb +43 -1
  65. data/spec/bson/ext_json_parse_spec.rb +37 -0
  66. data/spec/bson/hash_as_spec.rb +57 -0
  67. data/spec/bson/hash_spec.rb +105 -0
  68. data/spec/bson/int64_spec.rb +4 -24
  69. data/spec/bson/raw_spec.rb +18 -1
  70. data/spec/bson/regexp_spec.rb +52 -0
  71. data/spec/runners/common_driver.rb +1 -1
  72. data/spec/shared/LICENSE +20 -0
  73. data/spec/shared/bin/get-mongodb-download-url +17 -0
  74. data/spec/shared/bin/s3-copy +45 -0
  75. data/spec/shared/bin/s3-upload +69 -0
  76. data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
  77. data/spec/shared/lib/mrss/cluster_config.rb +231 -0
  78. data/spec/shared/lib/mrss/constraints.rb +386 -0
  79. data/spec/shared/lib/mrss/docker_runner.rb +271 -0
  80. data/spec/shared/lib/mrss/event_subscriber.rb +200 -0
  81. data/spec/shared/lib/mrss/lite_constraints.rb +191 -0
  82. data/spec/shared/lib/mrss/server_version_registry.rb +120 -0
  83. data/spec/shared/lib/mrss/spec_organizer.rb +179 -0
  84. data/spec/shared/lib/mrss/utils.rb +15 -0
  85. data/spec/shared/share/Dockerfile.erb +338 -0
  86. data/spec/shared/share/haproxy-1.conf +16 -0
  87. data/spec/shared/share/haproxy-2.conf +17 -0
  88. data/spec/shared/shlib/distro.sh +74 -0
  89. data/spec/shared/shlib/server.sh +367 -0
  90. data/spec/shared/shlib/set_env.sh +131 -0
  91. data/spec/spec_helper.rb +31 -0
  92. data/spec/spec_tests/common_driver_spec.rb +2 -1
  93. data/spec/spec_tests/data/corpus/binary.json +33 -0
  94. data/spec/spec_tests/data/corpus/dbref.json +21 -1
  95. data/spec/spec_tests/data/corpus/document.json +4 -0
  96. data/spec/spec_tests/data/corpus/regex.json +2 -2
  97. data/spec/spec_tests/data/corpus/timestamp.json +10 -0
  98. data/spec/spec_tests/data/corpus/top.json +23 -12
  99. data/spec/support/spec_config.rb +8 -1
  100. data.tar.gz.sig +0 -0
  101. metadata +168 -93
  102. metadata.gz.sig +1 -0
@@ -13,6 +13,16 @@
13
13
  "canonical_bson": "100000001161002A00000015CD5B0700",
14
14
  "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 123456789, \"i\" : 42} } }",
15
15
  "degenerate_extjson": "{\"a\" : {\"$timestamp\" : {\"i\" : 42, \"t\" : 123456789} } }"
16
+ },
17
+ {
18
+ "description": "Timestamp with high-order bit set on both seconds and increment",
19
+ "canonical_bson": "10000000116100FFFFFFFFFFFFFFFF00",
20
+ "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 4294967295, \"i\" : 4294967295} } }"
21
+ },
22
+ {
23
+ "description": "Timestamp with high-order bit set on both seconds and increment (not UINT32_MAX)",
24
+ "canonical_bson": "1000000011610000286BEE00286BEE00",
25
+ "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 4000000000, \"i\" : 4000000000} } }"
16
26
  }
17
27
  ],
18
28
  "decodeErrors": [
@@ -60,16 +60,20 @@
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": [
66
70
  {
67
71
  "description" : "Bad $regularExpression (extra field)",
68
- "string" : "{\"a\" : \"$regularExpression\": {\"pattern\": \"abc\", \"options\": \"\", \"unrelated\": true}}}"
72
+ "string" : "{\"a\" : {\"$regularExpression\": {\"pattern\": \"abc\", \"options\": \"\", \"unrelated\": true}}}"
69
73
  },
70
74
  {
71
75
  "description" : "Bad $regularExpression (missing options field)",
72
- "string" : "{\"a\" : \"$regularExpression\": {\"pattern\": \"abc\"}}}"
76
+ "string" : "{\"a\" : {\"$regularExpression\": {\"pattern\": \"abc\"}}}"
73
77
  },
74
78
  {
75
79
  "description": "Bad $regularExpression (pattern is number, not string)",
@@ -81,7 +85,7 @@
81
85
  },
82
86
  {
83
87
  "description" : "Bad $regularExpression (missing pattern field)",
84
- "string" : "{\"a\" : \"$regularExpression\": {\"options\":\"ix\"}}}"
88
+ "string" : "{\"a\" : {\"$regularExpression\": {\"options\":\"ix\"}}}"
85
89
  },
86
90
  {
87
91
  "description": "Bad $oid (number, not string)",
@@ -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
  }
@@ -3,7 +3,14 @@ require 'singleton'
3
3
  class SpecConfig
4
4
  include Singleton
5
5
 
6
+ COMPACTION_CHANCE = 0.001
7
+
6
8
  def active_support?
7
- %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'
11
+ end
12
+
13
+ def compact?
14
+ %w(1 true yes).include?(ENV['COMPACT'])
8
15
  end
9
16
  end
data.tar.gz.sig ADDED
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.9.0
4
+ version: 4.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -11,8 +11,30 @@ authors:
11
11
  - Gary Murakami
12
12
  autorequire:
13
13
  bindir: bin
14
- cert_chain: []
15
- date: 2020-06-02 00:00:00.000000000 Z
14
+ cert_chain:
15
+ - |
16
+ -----BEGIN CERTIFICATE-----
17
+ MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtkcml2
18
+ ZXItcnVieTEVMBMGCgmSJomT8ixkARkWBTEwZ2VuMRMwEQYKCZImiZPyLGQBGRYD
19
+ Y29tMB4XDTIyMDMzMDE5MTcwMloXDTIzMDMzMDE5MTcwMlowQjEUMBIGA1UEAwwL
20
+ ZHJpdmVyLXJ1YnkxFTATBgoJkiaJk/IsZAEZFgUxMGdlbjETMBEGCgmSJomT8ixk
21
+ ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFdSAa8fRm1
22
+ bAM9za6Z0fAH4g02bqM1NGnw8zJQrE/PFrFfY6IFCT2AsLfOwr1maVm7iU1+kdVI
23
+ IQ+iI/9+E+ArJ+rbGV3dDPQ+SLl3mLT+vXjfjcxMqI2IW6UuVtt2U3Rxd4QU0kdT
24
+ JxmcPYs5fDN6BgYc6XXgUjy3m+Kwha2pGctdciUOwEfOZ4RmNRlEZKCMLRHdFP8j
25
+ 4WTnJSGfXDiuoXICJb5yOPOZPuaapPSNXp93QkUdsqdKC32I+KMpKKYGBQ6yisfA
26
+ 5MyVPPCzLR1lP5qXVGJPnOqUAkvEUfCahg7EP9tI20qxiXrR6TSEraYhIFXL0EGY
27
+ u8KAcPHm5KkCAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
28
+ BBYEFFt3WbF+9JpUjAoj62cQBgNb8HzXMCAGA1UdEQQZMBeBFWRyaXZlci1ydWJ5
29
+ QDEwZ2VuLmNvbTAgBgNVHRIEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5jb20wDQYJ
30
+ KoZIhvcNAQEFBQADggEBAM0s7jz2IGD8Ms035b1tMnbNP2CBPq3pen3KQj7IkGF7
31
+ x8LPDdOqUj4pUMLeefntX/PkSvwROo677TnWK6+GLayGm5xLHrZH3svybC6QtqTR
32
+ mVOLUoZ4TgUmtnMUa/ZvgrIsOeiCysjSf4WECuw7g+LE6jcpLepgYTLk2u1+5SgH
33
+ JVENj0BMkdeZIKkc2G97DSx3Zrmz7QWAaH+99XlajJbfcgvhDso+ffQkTBlOgLBg
34
+ +WyKQ+QTIdtDiyf2LQmxWnxt/W1CmScjdLS7/yXGkkB/D9Uy+sJD747O/B9P238Q
35
+ XnerrtyOu04RsWDvaZkCwSDVzoqfICh4CP1mlde73Ts=
36
+ -----END CERTIFICATE-----
37
+ date: 2022-04-21 00:00:00.000000000 Z
16
38
  dependencies: []
17
39
  description: A fully featured BSON specification implementation in Ruby
18
40
  email:
@@ -40,6 +62,7 @@ files:
40
62
  - lib/bson.rb
41
63
  - lib/bson/active_support.rb
42
64
  - lib/bson/array.rb
65
+ - lib/bson/big_decimal.rb
43
66
  - lib/bson/binary.rb
44
67
  - lib/bson/boolean.rb
45
68
  - lib/bson/code.rb
@@ -48,6 +71,7 @@ files:
48
71
  - lib/bson/date.rb
49
72
  - lib/bson/date_time.rb
50
73
  - lib/bson/db_pointer.rb
74
+ - lib/bson/dbref.rb
51
75
  - lib/bson/decimal128.rb
52
76
  - lib/bson/decimal128/builder.rb
53
77
  - lib/bson/document.rb
@@ -78,7 +102,9 @@ files:
78
102
  - lib/bson/true_class.rb
79
103
  - lib/bson/undefined.rb
80
104
  - lib/bson/version.rb
105
+ - spec/README.md
81
106
  - spec/bson/array_spec.rb
107
+ - spec/bson/big_decimal_spec.rb
82
108
  - spec/bson/binary_spec.rb
83
109
  - spec/bson/binary_uuid_spec.rb
84
110
  - spec/bson/boolean_spec.rb
@@ -90,11 +116,15 @@ files:
90
116
  - spec/bson/config_spec.rb
91
117
  - spec/bson/date_spec.rb
92
118
  - spec/bson/date_time_spec.rb
119
+ - spec/bson/dbref_legacy_spec.rb
120
+ - spec/bson/dbref_spec.rb
93
121
  - spec/bson/decimal128_spec.rb
122
+ - spec/bson/document_as_spec.rb
94
123
  - spec/bson/document_spec.rb
95
124
  - spec/bson/ext_json_parse_spec.rb
96
125
  - spec/bson/false_class_spec.rb
97
126
  - spec/bson/float_spec.rb
127
+ - spec/bson/hash_as_spec.rb
98
128
  - spec/bson/hash_spec.rb
99
129
  - spec/bson/int32_spec.rb
100
130
  - spec/bson/int64_spec.rb
@@ -121,6 +151,25 @@ files:
121
151
  - spec/runners/common_driver.rb
122
152
  - spec/runners/corpus.rb
123
153
  - spec/runners/corpus_legacy.rb
154
+ - spec/shared/LICENSE
155
+ - spec/shared/bin/get-mongodb-download-url
156
+ - spec/shared/bin/s3-copy
157
+ - spec/shared/bin/s3-upload
158
+ - spec/shared/lib/mrss/child_process_helper.rb
159
+ - spec/shared/lib/mrss/cluster_config.rb
160
+ - spec/shared/lib/mrss/constraints.rb
161
+ - spec/shared/lib/mrss/docker_runner.rb
162
+ - spec/shared/lib/mrss/event_subscriber.rb
163
+ - spec/shared/lib/mrss/lite_constraints.rb
164
+ - spec/shared/lib/mrss/server_version_registry.rb
165
+ - spec/shared/lib/mrss/spec_organizer.rb
166
+ - spec/shared/lib/mrss/utils.rb
167
+ - spec/shared/share/Dockerfile.erb
168
+ - spec/shared/share/haproxy-1.conf
169
+ - spec/shared/share/haproxy-2.conf
170
+ - spec/shared/shlib/distro.sh
171
+ - spec/shared/shlib/server.sh
172
+ - spec/shared/shlib/set_env.sh
124
173
  - spec/spec_helper.rb
125
174
  - spec/spec_tests/common_driver_spec.rb
126
175
  - spec/spec_tests/corpus_legacy_spec.rb
@@ -205,125 +254,151 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
254
  requirements:
206
255
  - - ">="
207
256
  - !ruby/object:Gem::Version
208
- version: '2.3'
257
+ version: '2.5'
209
258
  required_rubygems_version: !ruby/object:Gem::Requirement
210
259
  requirements:
211
260
  - - ">="
212
261
  - !ruby/object:Gem::Version
213
262
  version: 1.3.6
214
263
  requirements: []
215
- rubygems_version: 3.1.2
264
+ rubyforge_project:
265
+ rubygems_version: 2.7.6.2
216
266
  signing_key:
217
267
  specification_version: 4
218
268
  summary: Ruby implementation of the BSON specification
219
269
  test_files:
220
- - spec/runners/corpus.rb
270
+ - spec/bson_spec.rb
221
271
  - spec/runners/corpus_legacy.rb
222
272
  - spec/runners/common_driver.rb
223
- - spec/bson/max_key_spec.rb
224
- - spec/bson/byte_buffer_spec.rb
225
- - spec/bson/ext_json_parse_spec.rb
226
- - spec/bson/byte_buffer_read_spec.rb
227
- - spec/bson/decimal128_spec.rb
273
+ - spec/runners/corpus.rb
274
+ - spec/bson/raw_spec.rb
228
275
  - spec/bson/date_spec.rb
229
- - spec/bson/object_spec.rb
230
- - spec/bson/int64_spec.rb
231
- - spec/bson/int32_spec.rb
232
- - spec/bson/object_id_spec.rb
233
- - spec/bson/hash_spec.rb
234
- - spec/bson/string_spec.rb
235
- - spec/bson/boolean_spec.rb
236
- - spec/bson/timestamp_spec.rb
237
- - spec/bson/open_struct_spec.rb
238
- - spec/bson/config_spec.rb
239
- - spec/bson/nil_class_spec.rb
240
- - spec/bson/regexp_spec.rb
241
- - spec/bson/time_with_zone_spec.rb
242
- - spec/bson/code_spec.rb
243
276
  - spec/bson/false_class_spec.rb
244
- - spec/bson/raw_spec.rb
245
- - spec/bson/binary_spec.rb
246
- - spec/bson/array_spec.rb
247
- - spec/bson/code_with_scope_spec.rb
277
+ - spec/bson/dbref_spec.rb
248
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
249
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
291
+ - spec/bson/boolean_spec.rb
292
+ - spec/bson/nil_class_spec.rb
293
+ - spec/bson/byte_buffer_write_spec.rb
294
+ - spec/bson/config_spec.rb
295
+ - spec/bson/int32_spec.rb
296
+ - spec/bson/document_spec.rb
297
+ - spec/bson/big_decimal_spec.rb
250
298
  - spec/bson/symbol_raw_spec.rb
251
- - spec/bson/true_class_spec.rb
252
- - spec/bson/integer_spec.rb
299
+ - spec/bson/object_spec.rb
300
+ - spec/bson/document_as_spec.rb
253
301
  - spec/bson/binary_uuid_spec.rb
254
- - spec/bson/time_spec.rb
302
+ - spec/bson/byte_buffer_spec.rb
303
+ - spec/bson/true_class_spec.rb
304
+ - spec/bson/string_spec.rb
305
+ - spec/bson/hash_spec.rb
306
+ - spec/bson/decimal128_spec.rb
307
+ - spec/bson/byte_buffer_read_spec.rb
308
+ - spec/bson/int64_spec.rb
309
+ - spec/bson/object_id_spec.rb
310
+ - spec/bson/timestamp_spec.rb
255
311
  - spec/bson/json_spec.rb
312
+ - spec/bson/array_spec.rb
256
313
  - spec/bson/date_time_spec.rb
257
- - spec/bson/document_spec.rb
258
- - spec/bson/byte_buffer_write_spec.rb
259
- - spec/bson/min_key_spec.rb
260
- - spec/bson/undefined_spec.rb
314
+ - spec/bson/binary_spec.rb
261
315
  - spec/bson/registry_spec.rb
262
- - spec/support/shared_examples.rb
263
- - spec/support/spec_config.rb
264
- - spec/support/utils.rb
265
- - spec/spec_tests/data/corpus_legacy/code.json
266
- - spec/spec_tests/data/corpus_legacy/code_w_scope.json
267
- - spec/spec_tests/data/corpus_legacy/failures/symbol.json
268
- - spec/spec_tests/data/corpus_legacy/failures/datetime.json
269
- - spec/spec_tests/data/corpus_legacy/failures/int64.json
270
- - spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
271
- - spec/spec_tests/data/corpus_legacy/null.json
272
- - spec/spec_tests/data/corpus_legacy/boolean.json
273
- - spec/spec_tests/data/corpus_legacy/oid.json
274
- - spec/spec_tests/data/corpus_legacy/regex.json
275
- - spec/spec_tests/data/corpus_legacy/array.json
276
- - spec/spec_tests/data/corpus_legacy/document.json
277
- - spec/spec_tests/data/corpus_legacy/undefined.json
278
- - spec/spec_tests/data/corpus_legacy/binary.json
279
- - spec/spec_tests/data/corpus_legacy/minkey.json
280
- - spec/spec_tests/data/corpus_legacy/maxkey.json
281
- - spec/spec_tests/data/corpus_legacy/int32.json
282
- - spec/spec_tests/data/corpus_legacy/timestamp.json
283
- - spec/spec_tests/data/corpus_legacy/top.json
284
- - spec/spec_tests/data/corpus_legacy/string.json
285
- - spec/spec_tests/data/corpus_legacy/double.json
286
- - spec/spec_tests/data/corpus/code.json
287
- - spec/spec_tests/data/corpus/code_w_scope.json
288
- - spec/spec_tests/data/corpus/decimal128-1.json
316
+ - spec/bson/ext_json_parse_spec.rb
317
+ - 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
326
+ - 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
+ - spec/spec_tests/data/corpus/binary.json
332
+ - spec/spec_tests/data/corpus/document.json
289
333
  - spec/spec_tests/data/corpus/null.json
290
- - spec/spec_tests/data/corpus/multi-type.json
334
+ - spec/spec_tests/data/corpus/decimal128-3.json
291
335
  - spec/spec_tests/data/corpus/boolean.json
292
- - spec/spec_tests/data/corpus/symbol.json
293
- - spec/spec_tests/data/corpus/datetime.json
294
- - spec/spec_tests/data/corpus/oid.json
295
336
  - spec/spec_tests/data/corpus/regex.json
296
- - spec/spec_tests/data/corpus/int64.json
297
- - spec/spec_tests/data/corpus/decimal128-7.json
298
- - spec/spec_tests/data/corpus/array.json
299
- - spec/spec_tests/data/corpus/decimal128-3.json
300
- - spec/spec_tests/data/corpus/decimal128-5.json
301
- - spec/spec_tests/data/corpus/document.json
302
- - spec/spec_tests/data/corpus/multi-type-deprecated.json
337
+ - spec/spec_tests/data/corpus/oid.json
303
338
  - spec/spec_tests/data/corpus/README.md
304
- - spec/spec_tests/data/corpus/dbpointer.json
305
- - spec/spec_tests/data/corpus/decimal128-4.json
339
+ - spec/spec_tests/data/corpus/code.json
306
340
  - spec/spec_tests/data/corpus/undefined.json
307
- - spec/spec_tests/data/corpus/decimal128-6.json
341
+ - spec/spec_tests/data/corpus/datetime.json
342
+ - spec/spec_tests/data/corpus/int32.json
343
+ - spec/spec_tests/data/corpus/decimal128-5.json
308
344
  - spec/spec_tests/data/corpus/dbref.json
309
- - spec/spec_tests/data/corpus/binary.json
310
- - spec/spec_tests/data/corpus/minkey.json
345
+ - spec/spec_tests/data/corpus/multi-type.json
311
346
  - spec/spec_tests/data/corpus/decimal128-2.json
312
- - spec/spec_tests/data/corpus/maxkey.json
313
- - spec/spec_tests/data/corpus/int32.json
314
- - spec/spec_tests/data/corpus/timestamp.json
347
+ - spec/spec_tests/data/corpus/dbpointer.json
348
+ - spec/spec_tests/data/corpus/decimal128-7.json
349
+ - spec/spec_tests/data/corpus/symbol.json
315
350
  - spec/spec_tests/data/corpus/top.json
316
- - spec/spec_tests/data/corpus/string.json
317
- - spec/spec_tests/data/corpus/double.json
318
- - spec/spec_tests/data/decimal128/decimal128-1.json
319
- - spec/spec_tests/data/decimal128/decimal128-7.json
320
- - spec/spec_tests/data/decimal128/decimal128-3.json
321
- - spec/spec_tests/data/decimal128/decimal128-5.json
322
- - spec/spec_tests/data/decimal128/decimal128-4.json
323
- - spec/spec_tests/data/decimal128/decimal128-6.json
324
- - spec/spec_tests/data/decimal128/decimal128-2.json
325
- - spec/spec_tests/corpus_legacy_spec.rb
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
358
+ - 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
+ - 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
+ - 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
+ - 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
371
+ - spec/spec_tests/data/corpus_legacy/failures/datetime.json
372
+ - spec/spec_tests/data/corpus_legacy/failures/dbpointer.json
373
+ - spec/spec_tests/data/corpus_legacy/failures/symbol.json
374
+ - 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
377
+ - spec/spec_tests/data/corpus_legacy/maxkey.json
378
+ - spec/spec_tests/data/corpus_legacy/code_w_scope.json
326
379
  - spec/spec_tests/corpus_spec.rb
380
+ - spec/spec_tests/corpus_legacy_spec.rb
327
381
  - spec/spec_tests/common_driver_spec.rb
328
- - spec/bson_spec.rb
329
382
  - spec/spec_helper.rb
383
+ - spec/support/utils.rb
384
+ - spec/support/spec_config.rb
385
+ - 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
metadata.gz.sig ADDED
@@ -0,0 +1 @@
1
+ �mT*�#�9}<e4���,���k�