mongo 2.20.1 → 2.20.2

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -9
  3. data/lib/mongo/socket/ssl.rb +13 -4
  4. data/lib/mongo/version.rb +4 -15
  5. data/spec/integration/ocsp_verifier_spec.rb +30 -99
  6. data/spec/integration/reconnect_spec.rb +8 -2
  7. data/spec/integration/srv_monitoring_spec.rb +2 -3
  8. data/spec/integration/srv_spec.rb +0 -4
  9. data/spec/shared/CANDIDATE.md +28 -0
  10. data/spec/shared/LICENSE +20 -0
  11. data/spec/shared/bin/get-mongodb-download-url +17 -0
  12. data/spec/shared/bin/s3-copy +45 -0
  13. data/spec/shared/bin/s3-upload +69 -0
  14. data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
  15. data/spec/shared/lib/mrss/cluster_config.rb +231 -0
  16. data/spec/shared/lib/mrss/constraints.rb +378 -0
  17. data/spec/shared/lib/mrss/docker_runner.rb +298 -0
  18. data/spec/shared/lib/mrss/eg_config_utils.rb +51 -0
  19. data/spec/shared/lib/mrss/event_subscriber.rb +210 -0
  20. data/spec/shared/lib/mrss/lite_constraints.rb +238 -0
  21. data/spec/shared/lib/mrss/release/candidate.rb +281 -0
  22. data/spec/shared/lib/mrss/release/product_data.rb +144 -0
  23. data/spec/shared/lib/mrss/server_version_registry.rb +113 -0
  24. data/spec/shared/lib/mrss/session_registry.rb +69 -0
  25. data/spec/shared/lib/mrss/session_registry_legacy.rb +60 -0
  26. data/spec/shared/lib/mrss/spec_organizer.rb +179 -0
  27. data/spec/shared/lib/mrss/utils.rb +37 -0
  28. data/spec/shared/lib/tasks/candidate.rake +64 -0
  29. data/spec/shared/share/Dockerfile.erb +251 -0
  30. data/spec/shared/share/haproxy-1.conf +16 -0
  31. data/spec/shared/share/haproxy-2.conf +17 -0
  32. data/spec/shared/shlib/config.sh +27 -0
  33. data/spec/shared/shlib/distro.sh +84 -0
  34. data/spec/shared/shlib/server.sh +423 -0
  35. data/spec/shared/shlib/set_env.sh +110 -0
  36. data/spec/support/common_shortcuts.rb +19 -37
  37. data/spec/support/constraints.rb +10 -0
  38. metadata +64 -15
  39. data/spec/support/dns.rb +0 -16
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.1
4
+ version: 2.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The MongoDB Ruby Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-07-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bson
@@ -907,6 +906,33 @@ files:
907
906
  - spec/runners/unified/test.rb
908
907
  - spec/runners/unified/test_group.rb
909
908
  - spec/runners/unified/thread_operations.rb
909
+ - spec/shared/CANDIDATE.md
910
+ - spec/shared/LICENSE
911
+ - spec/shared/bin/get-mongodb-download-url
912
+ - spec/shared/bin/s3-copy
913
+ - spec/shared/bin/s3-upload
914
+ - spec/shared/lib/mrss/child_process_helper.rb
915
+ - spec/shared/lib/mrss/cluster_config.rb
916
+ - spec/shared/lib/mrss/constraints.rb
917
+ - spec/shared/lib/mrss/docker_runner.rb
918
+ - spec/shared/lib/mrss/eg_config_utils.rb
919
+ - spec/shared/lib/mrss/event_subscriber.rb
920
+ - spec/shared/lib/mrss/lite_constraints.rb
921
+ - spec/shared/lib/mrss/release/candidate.rb
922
+ - spec/shared/lib/mrss/release/product_data.rb
923
+ - spec/shared/lib/mrss/server_version_registry.rb
924
+ - spec/shared/lib/mrss/session_registry.rb
925
+ - spec/shared/lib/mrss/session_registry_legacy.rb
926
+ - spec/shared/lib/mrss/spec_organizer.rb
927
+ - spec/shared/lib/mrss/utils.rb
928
+ - spec/shared/lib/tasks/candidate.rake
929
+ - spec/shared/share/Dockerfile.erb
930
+ - spec/shared/share/haproxy-1.conf
931
+ - spec/shared/share/haproxy-2.conf
932
+ - spec/shared/shlib/config.sh
933
+ - spec/shared/shlib/distro.sh
934
+ - spec/shared/shlib/server.sh
935
+ - spec/shared/shlib/set_env.sh
910
936
  - spec/solo/clean_exit_spec.rb
911
937
  - spec/spec_helper.rb
912
938
  - spec/spec_tests/auth_spec.rb
@@ -1894,7 +1920,6 @@ files:
1894
1920
  - spec/support/crypt/schema_maps/schema_map_kmip_key_alt_names.json
1895
1921
  - spec/support/crypt/schema_maps/schema_map_local.json
1896
1922
  - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
1897
- - spec/support/dns.rb
1898
1923
  - spec/support/json_ext_formatter.rb
1899
1924
  - spec/support/keyword_struct.rb
1900
1925
  - spec/support/local_resource_registry.rb
@@ -1925,7 +1950,6 @@ metadata:
1925
1950
  homepage_uri: https://mongodb.com/docs/ruby-driver/
1926
1951
  documentation_uri: https://mongodb.com/docs/ruby-driver/current/tutorials/quick-start/
1927
1952
  source_code_uri: https://github.com/mongodb/mongo-ruby-driver
1928
- post_install_message:
1929
1953
  rdoc_options: []
1930
1954
  require_paths:
1931
1955
  - lib
@@ -1940,8 +1964,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1940
1964
  - !ruby/object:Gem::Version
1941
1965
  version: '0'
1942
1966
  requirements: []
1943
- rubygems_version: 3.4.19
1944
- signing_key:
1967
+ rubygems_version: 3.7.1
1945
1968
  specification_version: 4
1946
1969
  summary: Ruby driver for MongoDB
1947
1970
  test_files:
@@ -2302,10 +2325,11 @@ test_files:
2302
2325
  - spec/runners/change_streams/outcome.rb
2303
2326
  - spec/runners/change_streams/spec.rb
2304
2327
  - spec/runners/change_streams/test.rb
2305
- - spec/runners/cmap/verifier.rb
2306
2328
  - spec/runners/cmap.rb
2329
+ - spec/runners/cmap/verifier.rb
2307
2330
  - spec/runners/command_monitoring.rb
2308
2331
  - spec/runners/connection_string.rb
2332
+ - spec/runners/crud.rb
2309
2333
  - spec/runners/crud/context.rb
2310
2334
  - spec/runners/crud/operation.rb
2311
2335
  - spec/runners/crud/outcome.rb
@@ -2314,17 +2338,17 @@ test_files:
2314
2338
  - spec/runners/crud/test.rb
2315
2339
  - spec/runners/crud/test_base.rb
2316
2340
  - spec/runners/crud/verifier.rb
2317
- - spec/runners/crud.rb
2318
2341
  - spec/runners/gridfs.rb
2319
2342
  - spec/runners/read_write_concern_document.rb
2320
- - spec/runners/sdam/verifier.rb
2321
2343
  - spec/runners/sdam.rb
2344
+ - spec/runners/sdam/verifier.rb
2322
2345
  - spec/runners/server_selection.rb
2323
2346
  - spec/runners/server_selection_rtt.rb
2347
+ - spec/runners/transactions.rb
2324
2348
  - spec/runners/transactions/operation.rb
2325
2349
  - spec/runners/transactions/spec.rb
2326
2350
  - spec/runners/transactions/test.rb
2327
- - spec/runners/transactions.rb
2351
+ - spec/runners/unified.rb
2328
2352
  - spec/runners/unified/assertions.rb
2329
2353
  - spec/runners/unified/change_stream_operations.rb
2330
2354
  - spec/runners/unified/client_side_encryption_operations.rb
@@ -2340,7 +2364,33 @@ test_files:
2340
2364
  - spec/runners/unified/test.rb
2341
2365
  - spec/runners/unified/test_group.rb
2342
2366
  - spec/runners/unified/thread_operations.rb
2343
- - spec/runners/unified.rb
2367
+ - spec/shared/CANDIDATE.md
2368
+ - spec/shared/LICENSE
2369
+ - spec/shared/bin/get-mongodb-download-url
2370
+ - spec/shared/bin/s3-copy
2371
+ - spec/shared/bin/s3-upload
2372
+ - spec/shared/lib/mrss/child_process_helper.rb
2373
+ - spec/shared/lib/mrss/cluster_config.rb
2374
+ - spec/shared/lib/mrss/constraints.rb
2375
+ - spec/shared/lib/mrss/docker_runner.rb
2376
+ - spec/shared/lib/mrss/eg_config_utils.rb
2377
+ - spec/shared/lib/mrss/event_subscriber.rb
2378
+ - spec/shared/lib/mrss/lite_constraints.rb
2379
+ - spec/shared/lib/mrss/release/candidate.rb
2380
+ - spec/shared/lib/mrss/release/product_data.rb
2381
+ - spec/shared/lib/mrss/server_version_registry.rb
2382
+ - spec/shared/lib/mrss/session_registry.rb
2383
+ - spec/shared/lib/mrss/session_registry_legacy.rb
2384
+ - spec/shared/lib/mrss/spec_organizer.rb
2385
+ - spec/shared/lib/mrss/utils.rb
2386
+ - spec/shared/lib/tasks/candidate.rake
2387
+ - spec/shared/share/Dockerfile.erb
2388
+ - spec/shared/share/haproxy-1.conf
2389
+ - spec/shared/share/haproxy-2.conf
2390
+ - spec/shared/shlib/config.sh
2391
+ - spec/shared/shlib/distro.sh
2392
+ - spec/shared/shlib/server.sh
2393
+ - spec/shared/shlib/set_env.sh
2344
2394
  - spec/solo/clean_exit_spec.rb
2345
2395
  - spec/spec_helper.rb
2346
2396
  - spec/spec_tests/auth_spec.rb
@@ -3252,11 +3302,11 @@ test_files:
3252
3302
  - spec/stress/fork_reconnect_stress_spec.rb
3253
3303
  - spec/stress/push_monitor_close_spec.rb
3254
3304
  - spec/support/authorization.rb
3305
+ - spec/support/aws_utils.rb
3255
3306
  - spec/support/aws_utils/base.rb
3256
3307
  - spec/support/aws_utils/inspector.rb
3257
3308
  - spec/support/aws_utils/orchestrator.rb
3258
3309
  - spec/support/aws_utils/provisioner.rb
3259
- - spec/support/aws_utils.rb
3260
3310
  - spec/support/background_thread_registry.rb
3261
3311
  - spec/support/certificates/README.md
3262
3312
  - spec/support/certificates/atlas-ocsp-ca.crt
@@ -3290,6 +3340,7 @@ test_files:
3290
3340
  - spec/support/cluster_tools.rb
3291
3341
  - spec/support/common_shortcuts.rb
3292
3342
  - spec/support/constraints.rb
3343
+ - spec/support/crypt.rb
3293
3344
  - spec/support/crypt/corpus/corpus-encrypted.json
3294
3345
  - spec/support/crypt/corpus/corpus-key-aws.json
3295
3346
  - spec/support/crypt/corpus/corpus-key-azure.json
@@ -3327,8 +3378,6 @@ test_files:
3327
3378
  - spec/support/crypt/schema_maps/schema_map_kmip_key_alt_names.json
3328
3379
  - spec/support/crypt/schema_maps/schema_map_local.json
3329
3380
  - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
3330
- - spec/support/crypt.rb
3331
- - spec/support/dns.rb
3332
3381
  - spec/support/json_ext_formatter.rb
3333
3382
  - spec/support/keyword_struct.rb
3334
3383
  - spec/support/local_resource_registry.rb
data/spec/support/dns.rb DELETED
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
- # rubocop:todo all
3
-
4
- require 'rubydns'
5
-
6
- # Hack to stop the server - https://github.com/socketry/rubydns/issues/75
7
- module Async
8
- class Task
9
- alias :run_without_record :run
10
- def run(*args)
11
- run_without_record.tap do
12
- $last_async_task = self
13
- end
14
- end
15
- end
16
- end