mongo 2.9.0.rc0 → 2.9.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/README.md +1 -3
  5. data/lib/mongo/client.rb +33 -16
  6. data/lib/mongo/collection/view/aggregation.rb +3 -2
  7. data/lib/mongo/collection/view/map_reduce.rb +3 -2
  8. data/lib/mongo/server/connectable.rb +8 -4
  9. data/lib/mongo/server/connection.rb +0 -1
  10. data/lib/mongo/server/monitor/connection.rb +0 -1
  11. data/lib/mongo/socket/ssl.rb +67 -10
  12. data/lib/mongo/version.rb +1 -1
  13. data/spec/README.md +39 -3
  14. data/spec/integration/auth_spec.rb +2 -2
  15. data/spec/integration/ssl_uri_options_spec.rb +7 -6
  16. data/spec/lite_spec_helper.rb +0 -16
  17. data/spec/mongo/client_construction_spec.rb +13 -13
  18. data/spec/mongo/collection/view/map_reduce_spec.rb +8 -0
  19. data/spec/mongo/server_spec.rb +2 -1
  20. data/spec/mongo/socket/ssl_spec.rb +213 -20
  21. data/spec/mongo/socket/tcp_spec.rb +1 -1
  22. data/spec/support/certificates/README.md +101 -0
  23. data/spec/support/certificates/ca.crt +76 -0
  24. data/spec/support/certificates/{client_key_encrypted.pem → client-encrypted.key} +0 -0
  25. data/spec/support/certificates/client-int.crt +78 -0
  26. data/spec/support/certificates/client-second-level-bundle.pem +179 -0
  27. data/spec/support/certificates/client-second-level.crt +74 -0
  28. data/spec/support/certificates/client-second-level.key +27 -0
  29. data/spec/support/certificates/client-second-level.pem +101 -0
  30. data/spec/support/certificates/client.crt +74 -0
  31. data/spec/support/certificates/{client_key.pem → client.key} +1 -1
  32. data/spec/support/certificates/client.pem +1 -1
  33. data/spec/support/certificates/multi-ca.crt +152 -0
  34. data/spec/support/certificates/python-ca.crt +76 -0
  35. data/spec/support/certificates/server-int.crt +78 -0
  36. data/spec/support/certificates/server-second-level-bundle.pem +179 -0
  37. data/spec/support/certificates/server-second-level.crt +74 -0
  38. data/spec/support/certificates/server-second-level.key +27 -0
  39. data/spec/support/certificates/server-second-level.pem +101 -0
  40. data/spec/support/certificates/server.pem +74 -22
  41. data/spec/support/constraints.rb +3 -7
  42. data/spec/support/spec_config.rb +84 -16
  43. metadata +36 -10
  44. metadata.gz.sig +0 -0
  45. data/spec/support/certificates/ca.pem +0 -22
  46. data/spec/support/certificates/client_cert.pem +0 -22
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0.rc0
4
+ version: 2.9.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -31,7 +31,7 @@ cert_chain:
31
31
  bMYVwXXhV8czdzgkQB/ZPWHSbEWXnmkze1mzvqWBCPOVXYrcnL9cnEl/RoxtS1hr
32
32
  Db6Ac6mCUSYfYHBWpWqxjc45n70i5Xi1
33
33
  -----END CERTIFICATE-----
34
- date: 2019-05-23 00:00:00.000000000 Z
34
+ date: 2019-06-13 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bson
@@ -1009,13 +1009,26 @@ files:
1009
1009
  - spec/spec_tests/transactions_spec.rb
1010
1010
  - spec/spec_tests/uri_options_spec.rb
1011
1011
  - spec/support/authorization.rb
1012
- - spec/support/certificates/ca.pem
1012
+ - spec/support/certificates/README.md
1013
+ - spec/support/certificates/ca.crt
1014
+ - spec/support/certificates/client-encrypted.key
1015
+ - spec/support/certificates/client-int.crt
1016
+ - spec/support/certificates/client-second-level-bundle.pem
1017
+ - spec/support/certificates/client-second-level.crt
1018
+ - spec/support/certificates/client-second-level.key
1019
+ - spec/support/certificates/client-second-level.pem
1020
+ - spec/support/certificates/client.crt
1021
+ - spec/support/certificates/client.key
1013
1022
  - spec/support/certificates/client.pem
1014
- - spec/support/certificates/client_cert.pem
1015
- - spec/support/certificates/client_key.pem
1016
- - spec/support/certificates/client_key_encrypted.pem
1017
1023
  - spec/support/certificates/crl.pem
1018
1024
  - spec/support/certificates/crl_client_revoked.pem
1025
+ - spec/support/certificates/multi-ca.crt
1026
+ - spec/support/certificates/python-ca.crt
1027
+ - spec/support/certificates/server-int.crt
1028
+ - spec/support/certificates/server-second-level-bundle.pem
1029
+ - spec/support/certificates/server-second-level.crt
1030
+ - spec/support/certificates/server-second-level.key
1031
+ - spec/support/certificates/server-second-level.pem
1019
1032
  - spec/support/certificates/server.pem
1020
1033
  - spec/support/change_streams.rb
1021
1034
  - spec/support/change_streams/operation.rb
@@ -1088,14 +1101,27 @@ test_files:
1088
1101
  - spec/support/change_streams/operation.rb
1089
1102
  - spec/support/server_discovery_and_monitoring.rb
1090
1103
  - spec/support/server_selection.rb
1091
- - spec/support/certificates/client_key_encrypted.pem
1092
- - spec/support/certificates/ca.pem
1104
+ - spec/support/certificates/client-int.crt
1105
+ - spec/support/certificates/README.md
1106
+ - spec/support/certificates/server-second-level.key
1107
+ - spec/support/certificates/client-second-level-bundle.pem
1093
1108
  - spec/support/certificates/server.pem
1109
+ - spec/support/certificates/client-second-level.key
1094
1110
  - spec/support/certificates/crl_client_revoked.pem
1111
+ - spec/support/certificates/server-second-level.pem
1095
1112
  - spec/support/certificates/client.pem
1096
- - spec/support/certificates/client_key.pem
1113
+ - spec/support/certificates/client-encrypted.key
1114
+ - spec/support/certificates/multi-ca.crt
1097
1115
  - spec/support/certificates/crl.pem
1098
- - spec/support/certificates/client_cert.pem
1116
+ - spec/support/certificates/server-int.crt
1117
+ - spec/support/certificates/client.key
1118
+ - spec/support/certificates/ca.crt
1119
+ - spec/support/certificates/python-ca.crt
1120
+ - spec/support/certificates/client-second-level.crt
1121
+ - spec/support/certificates/client.crt
1122
+ - spec/support/certificates/client-second-level.pem
1123
+ - spec/support/certificates/server-second-level.crt
1124
+ - spec/support/certificates/server-second-level-bundle.pem
1099
1125
  - spec/support/utils.rb
1100
1126
  - spec/support/cluster_config.rb
1101
1127
  - spec/support/client_registry.rb
metadata.gz.sig CHANGED
Binary file
@@ -1,22 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDkzCCAnugAwIBAgIDAzYnMA0GCSqGSIb3DQEBCwUAMHUxFzAVBgNVBAMTDlJ1
3
- YnkgRHJpdmVyIENBMRAwDgYDVQQLEwdEcml2ZXJzMRAwDgYDVQQKEwdNb25nb0RC
4
- MRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkG
5
- A1UEBhMCVVMwHhcNMTkwMjE0MjA1NzUwWhcNMzkwMjE0MjA1NzUwWjB1MRcwFQYD
6
- VQQDEw5SdWJ5IERyaXZlciBDQTEQMA4GA1UECxMHRHJpdmVyczEQMA4GA1UEChMH
7
- TW9uZ29EQjEWMBQGA1UEBxMNTmV3IFlvcmsgQ2l0eTERMA8GA1UECBMITmV3IFlv
8
- cmsxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
9
- lnEX6KqH3BaOy5BMLGER0R2duAR1GIrxQTcuBubLZywW8yT0UwIzBhxu536DFESk
10
- Q7Zd8U1o54/+TPfKAeXSwSulkyzNEljD4W+yMcYFRFuZYZn1BtCjrd6PonOhRpQw
11
- 5/dLXfs0dn6HpSaJDvmK5xJb/xFx5N2HLeCpJqMbfcQAuBE6BfcA9juAfRsMozhC
12
- C6IX5ErIAAnIoK3QcxJmYD3OQQdWEeUGmq+b7ClltlaxKrOyLRDEdQXrHcvEtC2P
13
- 6Qg6bWfjCoFq1ZedoAjycBydnkvjm0JNApGTuL/n6Wl+76v8pmppNTfu2bdvxRI4
14
- k08J6oT0Id9aUOCJyNqU4QIDAQABoywwKjAMBgNVHRMEBTADAQH/MBoGA1UdEQQT
15
- MBGCCWxvY2FsaG9zdIcEfwAAATANBgkqhkiG9w0BAQsFAAOCAQEAQNkZgtJU9evV
16
- +eGFsTjr02DCvrd8ClmQDwAwC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