mongo 2.1.0.beta → 2.1.0.rc0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +2 -2
- data/lib/mongo.rb +2 -3
- data/lib/mongo/address.rb +7 -5
- data/lib/mongo/address/unix.rb +2 -2
- data/lib/mongo/auth/ldap/conversation.rb +6 -2
- data/lib/mongo/auth/scram/conversation.rb +8 -2
- data/lib/mongo/auth/user/view.rb +21 -0
- data/lib/mongo/bulk_write.rb +155 -23
- data/lib/mongo/bulk_write/combineable.rb +51 -0
- data/lib/mongo/bulk_write/ordered_combiner.rb +55 -0
- data/lib/mongo/bulk_write/result.rb +61 -8
- data/lib/mongo/bulk_write/result_combiner.rb +117 -0
- data/lib/mongo/bulk_write/transformable.rb +117 -0
- data/lib/mongo/bulk_write/unordered_combiner.rb +52 -0
- data/lib/mongo/bulk_write/validatable.rb +62 -0
- data/lib/mongo/client.rb +7 -3
- data/lib/mongo/cluster.rb +3 -3
- data/lib/mongo/cluster/topology/replica_set.rb +8 -6
- data/lib/mongo/cluster/topology/unknown.rb +5 -2
- data/lib/mongo/collection.rb +75 -4
- data/lib/mongo/collection/view.rb +1 -2
- data/lib/mongo/collection/view/aggregation.rb +13 -8
- data/lib/mongo/collection/view/immutable.rb +6 -6
- data/lib/mongo/collection/view/iterable.rb +13 -4
- data/lib/mongo/collection/view/map_reduce.rb +22 -17
- data/lib/mongo/collection/view/readable.rb +121 -70
- data/lib/mongo/cursor.rb +5 -1
- data/lib/mongo/database.rb +3 -3
- data/lib/mongo/database/view.rb +1 -1
- data/lib/mongo/error.rb +7 -0
- data/lib/mongo/{bulk_write/unordered_bulk_write.rb → error/closed_stream.rb} +12 -21
- data/lib/mongo/{bulk_write/ordered_bulk_write.rb → error/extra_file_chunk.rb} +13 -27
- data/lib/mongo/error/file_not_found.rb +37 -0
- data/lib/mongo/error/invalid_file.rb +2 -2
- data/lib/mongo/error/invalid_file_revision.rb +37 -0
- data/lib/mongo/error/invalid_uri.rb +5 -4
- data/lib/mongo/error/missing_file_chunk.rb +38 -0
- data/lib/mongo/error/operation_failure.rb +1 -1
- data/lib/mongo/error/unchangeable_collection_option.rb +38 -0
- data/lib/mongo/error/unexpected_chunk_length.rb +39 -0
- data/lib/mongo/grid.rb +2 -1
- data/lib/mongo/grid/file.rb +12 -9
- data/lib/mongo/grid/file/chunk.rb +6 -6
- data/lib/mongo/grid/file/{metadata.rb → info.rb} +41 -39
- data/lib/mongo/grid/fs_bucket.rb +441 -0
- data/lib/mongo/grid/stream.rb +64 -0
- data/lib/mongo/grid/stream/read.rb +208 -0
- data/lib/mongo/grid/stream/write.rb +187 -0
- data/lib/mongo/index/view.rb +1 -1
- data/lib/mongo/loggable.rb +34 -57
- data/lib/mongo/logger.rb +16 -78
- data/lib/mongo/monitoring.rb +1 -5
- data/lib/mongo/monitoring/command_log_subscriber.rb +35 -17
- data/lib/mongo/monitoring/event/command_succeeded.rb +20 -1
- data/lib/mongo/monitoring/publishable.rb +22 -12
- data/lib/mongo/operation.rb +3 -6
- data/lib/mongo/operation/commands.rb +24 -0
- data/lib/mongo/operation/{aggregate.rb → commands/aggregate.rb} +3 -41
- data/lib/mongo/operation/{aggregate → commands/aggregate}/result.rb +0 -0
- data/lib/mongo/operation/commands/collections_info.rb +66 -0
- data/lib/mongo/operation/{command.rb → commands/command.rb} +2 -18
- data/lib/mongo/operation/commands/indexes.rb +70 -0
- data/lib/mongo/operation/commands/list_collections.rb +54 -0
- data/lib/mongo/operation/commands/list_collections/result.rb +112 -0
- data/lib/mongo/operation/commands/list_indexes.rb +56 -0
- data/lib/mongo/operation/commands/list_indexes/result.rb +115 -0
- data/lib/mongo/operation/{map_reduce.rb → commands/map_reduce.rb} +3 -41
- data/lib/mongo/operation/{map_reduce → commands/map_reduce}/result.rb +0 -0
- data/lib/mongo/operation/{parallel_scan.rb → commands/parallel_scan.rb} +3 -23
- data/lib/mongo/operation/{parallel_scan → commands/parallel_scan}/result.rb +0 -0
- data/lib/mongo/operation/commands/user_query.rb +69 -0
- data/lib/mongo/operation/commands/users_info.rb +53 -0
- data/lib/mongo/operation/commands/users_info/result.rb +36 -0
- data/lib/mongo/operation/executable.rb +4 -68
- data/lib/mongo/operation/kill_cursors.rb +3 -3
- data/lib/mongo/operation/read.rb +0 -4
- data/lib/mongo/operation/read/get_more.rb +2 -22
- data/lib/mongo/operation/read/query.rb +2 -21
- data/lib/mongo/operation/{read_preferrable.rb → read_preference.rb} +3 -2
- data/lib/mongo/operation/specifiable.rb +24 -0
- data/lib/mongo/operation/write.rb +2 -0
- data/lib/mongo/operation/write/bulk.rb +6 -3
- data/lib/mongo/operation/write/bulk/bulkable.rb +82 -0
- data/lib/mongo/operation/write/bulk/delete.rb +71 -0
- data/lib/mongo/operation/write/bulk/delete/result.rb +74 -0
- data/lib/mongo/operation/write/bulk/insert.rb +96 -0
- data/lib/mongo/operation/write/bulk/insert/result.rb +129 -0
- data/lib/mongo/operation/write/bulk/legacy_mergable.rb +87 -0
- data/lib/mongo/operation/write/bulk/mergable.rb +71 -0
- data/lib/mongo/operation/write/bulk/update.rb +81 -0
- data/lib/mongo/operation/write/bulk/update/result.rb +174 -0
- data/lib/mongo/operation/write/command/create_index.rb +0 -1
- data/lib/mongo/operation/write/command/create_user.rb +0 -1
- data/lib/mongo/operation/write/command/delete.rb +0 -1
- data/lib/mongo/operation/write/command/drop_index.rb +0 -1
- data/lib/mongo/operation/write/command/insert.rb +0 -1
- data/lib/mongo/operation/write/command/remove_user.rb +0 -1
- data/lib/mongo/operation/write/command/update.rb +0 -1
- data/lib/mongo/operation/write/command/update_user.rb +0 -1
- data/lib/mongo/operation/write/command/writable.rb +13 -18
- data/lib/mongo/operation/write/create_index.rb +4 -27
- data/lib/mongo/operation/write/create_user.rb +4 -30
- data/lib/mongo/operation/write/delete.rb +5 -28
- data/lib/mongo/operation/write/drop_index.rb +3 -3
- data/lib/mongo/operation/write/gle.rb +48 -0
- data/lib/mongo/operation/write/idable.rb +5 -0
- data/lib/mongo/operation/write/insert.rb +2 -24
- data/lib/mongo/operation/write/remove_user.rb +4 -27
- data/lib/mongo/operation/write/update.rb +4 -32
- data/lib/mongo/operation/write/update_user.rb +4 -30
- data/lib/mongo/operation/write/write_command_enabled.rb +53 -0
- data/lib/mongo/options/mapper.rb +4 -2
- data/lib/mongo/protocol/delete.rb +68 -3
- data/lib/mongo/protocol/get_more.rb +54 -2
- data/lib/mongo/protocol/insert.rb +59 -1
- data/lib/mongo/protocol/kill_cursors.rb +53 -4
- data/lib/mongo/protocol/message.rb +12 -12
- data/lib/mongo/protocol/query.rb +139 -65
- data/lib/mongo/protocol/reply.rb +69 -1
- data/lib/mongo/protocol/update.rb +70 -1
- data/lib/mongo/server/connection.rb +11 -3
- data/lib/mongo/server/description.rb +29 -0
- data/lib/mongo/server/description/features.rb +2 -1
- data/lib/mongo/server/monitor.rb +2 -2
- data/lib/mongo/server_selector.rb +14 -10
- data/lib/mongo/server_selector/selectable.rb +24 -22
- data/lib/mongo/socket.rb +6 -3
- data/lib/mongo/socket/tcp.rb +2 -2
- data/lib/mongo/socket/unix.rb +5 -8
- data/lib/mongo/uri.rb +243 -139
- data/lib/mongo/version.rb +1 -1
- data/spec/mongo/address/unix_spec.rb +1 -1
- data/spec/mongo/address_spec.rb +25 -0
- data/spec/mongo/auth/ldap/conversation_spec.rb +43 -0
- data/spec/mongo/auth/user/view_spec.rb +26 -1
- data/spec/mongo/bulk_write/ordered_combiner_spec.rb +271 -0
- data/spec/mongo/bulk_write/unordered_combiner_spec.rb +239 -0
- data/spec/mongo/bulk_write_spec.rb +332 -166
- data/spec/mongo/client_spec.rb +25 -0
- data/spec/mongo/cluster/topology/replica_set_spec.rb +2 -0
- data/spec/mongo/collection/view/aggregation_spec.rb +65 -0
- data/spec/mongo/collection/view/immutable_spec.rb +103 -0
- data/spec/mongo/collection/view/map_reduce_spec.rb +98 -3
- data/spec/mongo/collection/view/readable_spec.rb +17 -30
- data/spec/mongo/collection/view_spec.rb +233 -7
- data/spec/mongo/collection_spec.rb +360 -18
- data/spec/mongo/command_monitoring_spec.rb +51 -0
- data/spec/mongo/connection_string_spec.rb +137 -0
- data/spec/mongo/database_spec.rb +27 -11
- data/spec/mongo/grid/file/chunk_spec.rb +5 -5
- data/spec/mongo/grid/file/{metadata_spec.rb → info_spec.rb} +29 -17
- data/spec/mongo/grid/file_spec.rb +8 -8
- data/spec/mongo/grid/fs_bucket_spec.rb +1020 -0
- data/spec/mongo/grid/stream/read_spec.rb +275 -0
- data/spec/mongo/grid/stream/write_spec.rb +440 -0
- data/spec/mongo/grid/stream_spec.rb +48 -0
- data/spec/mongo/gridfs_spec.rb +50 -0
- data/spec/mongo/logger_spec.rb +0 -40
- data/spec/mongo/monitoring/command_log_subscriber_spec.rb +76 -0
- data/spec/mongo/operation/{aggregate_spec.rb → commands/aggregate_spec.rb} +0 -42
- data/spec/mongo/operation/{read → commands}/collections_info_spec.rb +1 -1
- data/spec/mongo/operation/{command_spec.rb → commands/command_spec.rb} +0 -0
- data/spec/mongo/operation/{read → commands}/indexes_spec.rb +1 -1
- data/spec/mongo/operation/{map_reduce_spec.rb → commands/map_reduce_spec.rb} +0 -18
- data/spec/mongo/operation/kill_cursors_spec.rb +1 -1
- data/spec/mongo/operation/{read_preferrable_spec.rb → read_preference_spec.rb} +11 -11
- data/spec/mongo/operation/write/bulk/{bulk_delete_spec.rb → delete_spec.rb} +1 -12
- data/spec/mongo/operation/write/bulk/{bulk_insert_spec.rb → insert_spec.rb} +1 -12
- data/spec/mongo/operation/write/bulk/{bulk_update_spec.rb → update_spec.rb} +1 -12
- data/spec/mongo/operation/write/insert_spec.rb +0 -11
- data/spec/mongo/protocol/kill_cursors_spec.rb +5 -3
- data/spec/mongo/server/description_spec.rb +42 -0
- data/spec/mongo/server/monitor_spec.rb +21 -0
- data/spec/mongo/server_discovery_and_monitoring_spec.rb +1 -0
- data/spec/mongo/server_selection_spec.rb +3 -3
- data/spec/mongo/server_selector/nearest_spec.rb +34 -27
- data/spec/mongo/server_selector/primary_preferred_spec.rb +31 -30
- data/spec/mongo/server_selector/primary_spec.rb +14 -13
- data/spec/mongo/server_selector/secondary_preferred_spec.rb +27 -26
- data/spec/mongo/server_selector/secondary_spec.rb +23 -22
- data/spec/mongo/server_selector_spec.rb +87 -24
- data/spec/mongo/socket/unix_spec.rb +52 -0
- data/spec/mongo/uri_spec.rb +251 -39
- data/spec/spec_helper.rb +11 -4
- data/spec/support/authorization.rb +4 -5
- data/spec/support/command_monitoring.rb +365 -0
- data/spec/support/command_monitoring/bulkWrite.yml +73 -0
- data/spec/support/command_monitoring/command.yml +42 -0
- data/spec/support/command_monitoring/deleteMany.yml +55 -0
- data/spec/support/command_monitoring/deleteOne.yml +55 -0
- data/spec/support/command_monitoring/find.yml +219 -0
- data/spec/support/command_monitoring/insertMany.yml +81 -0
- data/spec/support/command_monitoring/insertOne.yml +51 -0
- data/spec/support/command_monitoring/updateMany.yml +67 -0
- data/spec/support/command_monitoring/updateOne.yml +95 -0
- data/spec/support/connection_string.rb +228 -0
- data/spec/support/connection_string_tests/invalid-uris.yml +193 -0
- data/spec/support/connection_string_tests/valid-auth.yml +256 -0
- data/spec/support/connection_string_tests/valid-host_identifiers.yml +121 -0
- data/spec/support/connection_string_tests/valid-options.yml +30 -0
- data/spec/support/connection_string_tests/valid-unix_socket-absolute.yml +197 -0
- data/spec/support/connection_string_tests/valid-unix_socket-relative.yml +213 -0
- data/spec/support/connection_string_tests/valid-warnings.yml +55 -0
- data/spec/support/crud.rb +3 -1
- data/spec/support/crud/read.rb +14 -10
- data/spec/support/crud/write.rb +36 -9
- data/spec/support/gridfs.rb +637 -0
- data/spec/support/gridfs_tests/delete.yml +157 -0
- data/spec/support/gridfs_tests/download.yml +210 -0
- data/spec/support/gridfs_tests/download_by_name.yml +113 -0
- data/spec/support/gridfs_tests/upload.yml +158 -0
- data/spec/support/sdam/rs/equal_electionids.yml +1 -2
- data/spec/support/sdam/rs/new_primary_new_electionid.yml +0 -3
- data/spec/support/sdam/rs/primary_mismatched_me.yml +37 -0
- data/spec/support/sdam/rs/primary_to_no_primary_mismatched_me.yml +75 -0
- data/spec/support/sdam/rs/secondary_mismatched_me.yml +37 -0
- data/spec/support/sdam/single/direct_connection_rsarbiter.yml +1 -1
- data/spec/support/sdam/single/direct_connection_rsprimary.yml +1 -1
- data/spec/support/sdam/single/direct_connection_rssecondary.yml +1 -1
- data/spec/support/sdam/single/direct_connection_slave.yml +1 -1
- data/spec/support/sdam/single/direct_connection_standalone.yml +1 -1
- data/spec/support/sdam/single/not_ok_response.yml +0 -1
- data/spec/support/server_discovery_and_monitoring.rb +3 -1
- data/spec/support/server_selection.rb +3 -1
- data/spec/support/shared/bulk_write.rb +192 -0
- data/spec/support/shared/server_selector.rb +21 -12
- metadata +147 -57
- metadata.gz.sig +0 -0
- data/lib/mongo/bulk_write/bulk_writable.rb +0 -252
- data/lib/mongo/bulk_write/deletable.rb +0 -57
- data/lib/mongo/bulk_write/insertable.rb +0 -49
- data/lib/mongo/bulk_write/replacable.rb +0 -58
- data/lib/mongo/bulk_write/updatable.rb +0 -69
- data/lib/mongo/grid/fs.rb +0 -146
- data/lib/mongo/operation/list_collections/result.rb +0 -114
- data/lib/mongo/operation/list_indexes/result.rb +0 -118
- data/lib/mongo/operation/read/collections_info.rb +0 -68
- data/lib/mongo/operation/read/indexes.rb +0 -69
- data/lib/mongo/operation/read/list_collections.rb +0 -76
- data/lib/mongo/operation/read/list_indexes.rb +0 -78
- data/lib/mongo/operation/write/bulk/bulk_delete.rb +0 -145
- data/lib/mongo/operation/write/bulk/bulk_delete/result.rb +0 -75
- data/lib/mongo/operation/write/bulk/bulk_insert.rb +0 -132
- data/lib/mongo/operation/write/bulk/bulk_insert/result.rb +0 -130
- data/lib/mongo/operation/write/bulk/bulk_mergable.rb +0 -67
- data/lib/mongo/operation/write/bulk/bulk_update.rb +0 -154
- data/lib/mongo/operation/write/bulk/bulk_update/result.rb +0 -174
- data/lib/mongo/operation/write/bulk/legacy_bulk_mergable.rb +0 -83
- data/spec/mongo/grid/fs_spec.rb +0 -160
- data/spec/mongo/loggable_spec.rb +0 -63
@@ -22,7 +22,7 @@ def server(mode, options = {})
|
|
22
22
|
end
|
23
23
|
|
24
24
|
shared_context 'server selector' do
|
25
|
-
|
25
|
+
|
26
26
|
let(:tag_sets) { [] }
|
27
27
|
let(:tag_set) do
|
28
28
|
{ 'test' => 'tag' }
|
@@ -32,37 +32,43 @@ shared_context 'server selector' do
|
|
32
32
|
end
|
33
33
|
let(:primary) { server(:primary) }
|
34
34
|
let(:secondary) { server(:secondary) }
|
35
|
+
let(:selector) { described_class.new(:mode => name, :tag_sets => tag_sets) }
|
35
36
|
end
|
36
37
|
|
37
|
-
shared_examples 'a
|
38
|
+
shared_examples 'a server selector mode' do
|
38
39
|
|
39
40
|
describe '#name' do
|
40
41
|
|
41
42
|
it 'returns the name' do
|
42
|
-
expect(
|
43
|
+
expect(selector.name).to eq(name)
|
43
44
|
end
|
44
45
|
end
|
45
46
|
|
46
47
|
describe '#slave_ok?' do
|
47
48
|
|
48
49
|
it 'returns whether the slave_ok bit should be set' do
|
49
|
-
expect(
|
50
|
+
expect(selector.slave_ok?).to eq(slave_ok)
|
50
51
|
end
|
51
52
|
end
|
52
53
|
|
53
54
|
describe '#==' do
|
54
55
|
|
55
56
|
context 'when mode is the same' do
|
56
|
-
|
57
|
+
|
58
|
+
let(:other) do
|
59
|
+
described_class.new
|
60
|
+
end
|
57
61
|
|
58
62
|
context 'tag sets are the same' do
|
63
|
+
|
59
64
|
it 'returns true' do
|
60
|
-
expect(
|
65
|
+
expect(selector).to eq(other)
|
61
66
|
end
|
62
67
|
end
|
63
68
|
end
|
64
69
|
|
65
70
|
context 'mode is different' do
|
71
|
+
|
66
72
|
let(:other) do
|
67
73
|
double('selectable').tap do |mode|
|
68
74
|
allow(mode).to receive(:name).and_return(:other)
|
@@ -70,28 +76,31 @@ shared_examples 'a read preference mode' do
|
|
70
76
|
end
|
71
77
|
|
72
78
|
it 'returns false' do
|
73
|
-
expect(
|
79
|
+
expect(selector).not_to eq(other)
|
74
80
|
end
|
75
81
|
end
|
76
82
|
end
|
77
83
|
end
|
78
84
|
|
79
|
-
shared_examples 'a
|
85
|
+
shared_examples 'a server selector accepting tag sets' do
|
80
86
|
|
81
87
|
describe '#tag_sets' do
|
82
88
|
|
83
89
|
context 'tags not provided' do
|
84
90
|
|
85
91
|
it 'returns an empty array' do
|
86
|
-
expect(
|
92
|
+
expect(selector.tag_sets).to be_empty
|
87
93
|
end
|
88
94
|
end
|
89
95
|
|
90
96
|
context 'tag sets provided' do
|
91
|
-
|
97
|
+
|
98
|
+
let(:tag_sets) do
|
99
|
+
[ tag_set ]
|
100
|
+
end
|
92
101
|
|
93
102
|
it 'returns the tag sets' do
|
94
|
-
expect(
|
103
|
+
expect(selector.tag_sets).to eq(tag_sets)
|
95
104
|
end
|
96
105
|
end
|
97
106
|
end
|
@@ -104,7 +113,7 @@ shared_examples 'a read preference mode accepting tag sets' do
|
|
104
113
|
let(:tag_sets) { { 'other' => 'tag' } }
|
105
114
|
|
106
115
|
it 'returns false' do
|
107
|
-
expect(
|
116
|
+
expect(selector).not_to eq(other)
|
108
117
|
end
|
109
118
|
end
|
110
119
|
end
|
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.1.0.
|
4
|
+
version: 2.1.0.rc0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
32
32
|
o2UXDbWtz5PqoFd8EgNJAn3+BG1pwC9S9pVFG3WPucfAx/bE8iq/vvchHei5Y/Vo
|
33
33
|
aAz5f/hY4zFeYWvGDBHYEXE1rTN2hhMSyJscPcFbmz0=
|
34
34
|
-----END CERTIFICATE-----
|
35
|
-
date: 2015-
|
35
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: bson
|
@@ -77,14 +77,13 @@ files:
|
|
77
77
|
- lib/mongo/auth/x509.rb
|
78
78
|
- lib/mongo/auth/x509/conversation.rb
|
79
79
|
- lib/mongo/bulk_write.rb
|
80
|
-
- lib/mongo/bulk_write/
|
81
|
-
- lib/mongo/bulk_write/
|
82
|
-
- lib/mongo/bulk_write/insertable.rb
|
83
|
-
- lib/mongo/bulk_write/ordered_bulk_write.rb
|
84
|
-
- lib/mongo/bulk_write/replacable.rb
|
80
|
+
- lib/mongo/bulk_write/combineable.rb
|
81
|
+
- lib/mongo/bulk_write/ordered_combiner.rb
|
85
82
|
- lib/mongo/bulk_write/result.rb
|
86
|
-
- lib/mongo/bulk_write/
|
87
|
-
- lib/mongo/bulk_write/
|
83
|
+
- lib/mongo/bulk_write/result_combiner.rb
|
84
|
+
- lib/mongo/bulk_write/transformable.rb
|
85
|
+
- lib/mongo/bulk_write/unordered_combiner.rb
|
86
|
+
- lib/mongo/bulk_write/validatable.rb
|
88
87
|
- lib/mongo/client.rb
|
89
88
|
- lib/mongo/cluster.rb
|
90
89
|
- lib/mongo/cluster/topology.rb
|
@@ -107,12 +106,16 @@ files:
|
|
107
106
|
- lib/mongo/dbref.rb
|
108
107
|
- lib/mongo/error.rb
|
109
108
|
- lib/mongo/error/bulk_write_error.rb
|
109
|
+
- lib/mongo/error/closed_stream.rb
|
110
|
+
- lib/mongo/error/extra_file_chunk.rb
|
111
|
+
- lib/mongo/error/file_not_found.rb
|
110
112
|
- lib/mongo/error/invalid_bulk_operation.rb
|
111
113
|
- lib/mongo/error/invalid_bulk_operation_type.rb
|
112
114
|
- lib/mongo/error/invalid_collection_name.rb
|
113
115
|
- lib/mongo/error/invalid_database_name.rb
|
114
116
|
- lib/mongo/error/invalid_document.rb
|
115
117
|
- lib/mongo/error/invalid_file.rb
|
118
|
+
- lib/mongo/error/invalid_file_revision.rb
|
116
119
|
- lib/mongo/error/invalid_nonce.rb
|
117
120
|
- lib/mongo/error/invalid_replacement_document.rb
|
118
121
|
- lib/mongo/error/invalid_server_preference.rb
|
@@ -121,6 +124,7 @@ files:
|
|
121
124
|
- lib/mongo/error/invalid_uri.rb
|
122
125
|
- lib/mongo/error/max_bson_size.rb
|
123
126
|
- lib/mongo/error/max_message_size.rb
|
127
|
+
- lib/mongo/error/missing_file_chunk.rb
|
124
128
|
- lib/mongo/error/multi_index_drop.rb
|
125
129
|
- lib/mongo/error/need_primary_server.rb
|
126
130
|
- lib/mongo/error/no_server_available.rb
|
@@ -128,6 +132,8 @@ files:
|
|
128
132
|
- lib/mongo/error/parser.rb
|
129
133
|
- lib/mongo/error/socket_error.rb
|
130
134
|
- lib/mongo/error/socket_timeout_error.rb
|
135
|
+
- lib/mongo/error/unchangeable_collection_option.rb
|
136
|
+
- lib/mongo/error/unexpected_chunk_length.rb
|
131
137
|
- lib/mongo/error/unsupported_features.rb
|
132
138
|
- lib/mongo/event.rb
|
133
139
|
- lib/mongo/event/description_changed.rb
|
@@ -139,8 +145,11 @@ files:
|
|
139
145
|
- lib/mongo/grid.rb
|
140
146
|
- lib/mongo/grid/file.rb
|
141
147
|
- lib/mongo/grid/file/chunk.rb
|
142
|
-
- lib/mongo/grid/file/
|
143
|
-
- lib/mongo/grid/
|
148
|
+
- lib/mongo/grid/file/info.rb
|
149
|
+
- lib/mongo/grid/fs_bucket.rb
|
150
|
+
- lib/mongo/grid/stream.rb
|
151
|
+
- lib/mongo/grid/stream/read.rb
|
152
|
+
- lib/mongo/grid/stream/write.rb
|
144
153
|
- lib/mongo/index.rb
|
145
154
|
- lib/mongo/index/view.rb
|
146
155
|
- lib/mongo/loggable.rb
|
@@ -153,38 +162,43 @@ files:
|
|
153
162
|
- lib/mongo/monitoring/event/command_succeeded.rb
|
154
163
|
- lib/mongo/monitoring/publishable.rb
|
155
164
|
- lib/mongo/operation.rb
|
156
|
-
- lib/mongo/operation/
|
157
|
-
- lib/mongo/operation/aggregate
|
158
|
-
- lib/mongo/operation/
|
165
|
+
- lib/mongo/operation/commands.rb
|
166
|
+
- lib/mongo/operation/commands/aggregate.rb
|
167
|
+
- lib/mongo/operation/commands/aggregate/result.rb
|
168
|
+
- lib/mongo/operation/commands/collections_info.rb
|
169
|
+
- lib/mongo/operation/commands/command.rb
|
170
|
+
- lib/mongo/operation/commands/indexes.rb
|
171
|
+
- lib/mongo/operation/commands/list_collections.rb
|
172
|
+
- lib/mongo/operation/commands/list_collections/result.rb
|
173
|
+
- lib/mongo/operation/commands/list_indexes.rb
|
174
|
+
- lib/mongo/operation/commands/list_indexes/result.rb
|
175
|
+
- lib/mongo/operation/commands/map_reduce.rb
|
176
|
+
- lib/mongo/operation/commands/map_reduce/result.rb
|
177
|
+
- lib/mongo/operation/commands/parallel_scan.rb
|
178
|
+
- lib/mongo/operation/commands/parallel_scan/result.rb
|
179
|
+
- lib/mongo/operation/commands/user_query.rb
|
180
|
+
- lib/mongo/operation/commands/users_info.rb
|
181
|
+
- lib/mongo/operation/commands/users_info/result.rb
|
159
182
|
- lib/mongo/operation/executable.rb
|
160
183
|
- lib/mongo/operation/kill_cursors.rb
|
161
184
|
- lib/mongo/operation/limited.rb
|
162
|
-
- lib/mongo/operation/list_collections/result.rb
|
163
|
-
- lib/mongo/operation/list_indexes/result.rb
|
164
|
-
- lib/mongo/operation/map_reduce.rb
|
165
|
-
- lib/mongo/operation/map_reduce/result.rb
|
166
|
-
- lib/mongo/operation/parallel_scan.rb
|
167
|
-
- lib/mongo/operation/parallel_scan/result.rb
|
168
185
|
- lib/mongo/operation/read.rb
|
169
|
-
- lib/mongo/operation/read/collections_info.rb
|
170
186
|
- lib/mongo/operation/read/get_more.rb
|
171
|
-
- lib/mongo/operation/read/indexes.rb
|
172
|
-
- lib/mongo/operation/read/list_collections.rb
|
173
|
-
- lib/mongo/operation/read/list_indexes.rb
|
174
187
|
- lib/mongo/operation/read/query.rb
|
175
|
-
- lib/mongo/operation/
|
188
|
+
- lib/mongo/operation/read_preference.rb
|
176
189
|
- lib/mongo/operation/result.rb
|
177
190
|
- lib/mongo/operation/specifiable.rb
|
178
191
|
- lib/mongo/operation/write.rb
|
179
192
|
- lib/mongo/operation/write/bulk.rb
|
180
|
-
- lib/mongo/operation/write/bulk/
|
181
|
-
- lib/mongo/operation/write/bulk/
|
182
|
-
- lib/mongo/operation/write/bulk/
|
183
|
-
- lib/mongo/operation/write/bulk/
|
184
|
-
- lib/mongo/operation/write/bulk/
|
185
|
-
- lib/mongo/operation/write/bulk/
|
186
|
-
- lib/mongo/operation/write/bulk/
|
187
|
-
- lib/mongo/operation/write/bulk/
|
193
|
+
- lib/mongo/operation/write/bulk/bulkable.rb
|
194
|
+
- lib/mongo/operation/write/bulk/delete.rb
|
195
|
+
- lib/mongo/operation/write/bulk/delete/result.rb
|
196
|
+
- lib/mongo/operation/write/bulk/insert.rb
|
197
|
+
- lib/mongo/operation/write/bulk/insert/result.rb
|
198
|
+
- lib/mongo/operation/write/bulk/legacy_mergable.rb
|
199
|
+
- lib/mongo/operation/write/bulk/mergable.rb
|
200
|
+
- lib/mongo/operation/write/bulk/update.rb
|
201
|
+
- lib/mongo/operation/write/bulk/update/result.rb
|
188
202
|
- lib/mongo/operation/write/command.rb
|
189
203
|
- lib/mongo/operation/write/command/create_index.rb
|
190
204
|
- lib/mongo/operation/write/command/create_user.rb
|
@@ -200,6 +214,7 @@ files:
|
|
200
214
|
- lib/mongo/operation/write/delete.rb
|
201
215
|
- lib/mongo/operation/write/delete/result.rb
|
202
216
|
- lib/mongo/operation/write/drop_index.rb
|
217
|
+
- lib/mongo/operation/write/gle.rb
|
203
218
|
- lib/mongo/operation/write/idable.rb
|
204
219
|
- lib/mongo/operation/write/insert.rb
|
205
220
|
- lib/mongo/operation/write/insert/result.rb
|
@@ -207,6 +222,7 @@ files:
|
|
207
222
|
- lib/mongo/operation/write/update.rb
|
208
223
|
- lib/mongo/operation/write/update/result.rb
|
209
224
|
- lib/mongo/operation/write/update_user.rb
|
225
|
+
- lib/mongo/operation/write/write_command_enabled.rb
|
210
226
|
- lib/mongo/options.rb
|
211
227
|
- lib/mongo/options/mapper.rb
|
212
228
|
- lib/mongo/protocol.rb
|
@@ -257,6 +273,7 @@ files:
|
|
257
273
|
- spec/mongo/address/unix_spec.rb
|
258
274
|
- spec/mongo/address_spec.rb
|
259
275
|
- spec/mongo/auth/cr_spec.rb
|
276
|
+
- spec/mongo/auth/ldap/conversation_spec.rb
|
260
277
|
- spec/mongo/auth/ldap_spec.rb
|
261
278
|
- spec/mongo/auth/scram/conversation_spec.rb
|
262
279
|
- spec/mongo/auth/scram_spec.rb
|
@@ -264,6 +281,8 @@ files:
|
|
264
281
|
- spec/mongo/auth/user_spec.rb
|
265
282
|
- spec/mongo/auth/x509_spec.rb
|
266
283
|
- spec/mongo/auth_spec.rb
|
284
|
+
- spec/mongo/bulk_write/ordered_combiner_spec.rb
|
285
|
+
- spec/mongo/bulk_write/unordered_combiner_spec.rb
|
267
286
|
- spec/mongo/bulk_write_spec.rb
|
268
287
|
- spec/mongo/client_spec.rb
|
269
288
|
- spec/mongo/cluster/topology/replica_set_spec.rb
|
@@ -274,11 +293,14 @@ files:
|
|
274
293
|
- spec/mongo/cluster_spec.rb
|
275
294
|
- spec/mongo/collection/view/aggregation_spec.rb
|
276
295
|
- spec/mongo/collection/view/explainable_spec.rb
|
296
|
+
- spec/mongo/collection/view/immutable_spec.rb
|
277
297
|
- spec/mongo/collection/view/map_reduce_spec.rb
|
278
298
|
- spec/mongo/collection/view/readable_spec.rb
|
279
299
|
- spec/mongo/collection/view/writable_spec.rb
|
280
300
|
- spec/mongo/collection/view_spec.rb
|
281
301
|
- spec/mongo/collection_spec.rb
|
302
|
+
- spec/mongo/command_monitoring_spec.rb
|
303
|
+
- spec/mongo/connection_string_spec.rb
|
282
304
|
- spec/mongo/crud_spec.rb
|
283
305
|
- spec/mongo/cursor_spec.rb
|
284
306
|
- spec/mongo/database_spec.rb
|
@@ -287,29 +309,33 @@ files:
|
|
287
309
|
- spec/mongo/event/publisher_spec.rb
|
288
310
|
- spec/mongo/event/subscriber_spec.rb
|
289
311
|
- spec/mongo/grid/file/chunk_spec.rb
|
290
|
-
- spec/mongo/grid/file/
|
312
|
+
- spec/mongo/grid/file/info_spec.rb
|
291
313
|
- spec/mongo/grid/file_spec.rb
|
292
|
-
- spec/mongo/grid/
|
314
|
+
- spec/mongo/grid/fs_bucket_spec.rb
|
315
|
+
- spec/mongo/grid/stream/read_spec.rb
|
316
|
+
- spec/mongo/grid/stream/write_spec.rb
|
317
|
+
- spec/mongo/grid/stream_spec.rb
|
318
|
+
- spec/mongo/gridfs_spec.rb
|
293
319
|
- spec/mongo/index/view_spec.rb
|
294
|
-
- spec/mongo/loggable_spec.rb
|
295
320
|
- spec/mongo/logger_spec.rb
|
321
|
+
- spec/mongo/monitoring/command_log_subscriber_spec.rb
|
296
322
|
- spec/mongo/monitoring_spec.rb
|
297
323
|
- spec/mongo/operation/aggregate/result_spec.rb
|
298
|
-
- spec/mongo/operation/aggregate_spec.rb
|
299
|
-
- spec/mongo/operation/
|
324
|
+
- spec/mongo/operation/commands/aggregate_spec.rb
|
325
|
+
- spec/mongo/operation/commands/collections_info_spec.rb
|
326
|
+
- spec/mongo/operation/commands/command_spec.rb
|
327
|
+
- spec/mongo/operation/commands/indexes_spec.rb
|
328
|
+
- spec/mongo/operation/commands/map_reduce_spec.rb
|
300
329
|
- spec/mongo/operation/kill_cursors_spec.rb
|
301
330
|
- spec/mongo/operation/limited_spec.rb
|
302
|
-
- spec/mongo/operation/map_reduce_spec.rb
|
303
|
-
- spec/mongo/operation/read/collections_info_spec.rb
|
304
331
|
- spec/mongo/operation/read/get_more_spec.rb
|
305
|
-
- spec/mongo/operation/read/indexes_spec.rb
|
306
332
|
- spec/mongo/operation/read/query_spec.rb
|
307
|
-
- spec/mongo/operation/
|
333
|
+
- spec/mongo/operation/read_preference_spec.rb
|
308
334
|
- spec/mongo/operation/result_spec.rb
|
309
335
|
- spec/mongo/operation/specifiable_spec.rb
|
310
|
-
- spec/mongo/operation/write/bulk/
|
311
|
-
- spec/mongo/operation/write/bulk/
|
312
|
-
- spec/mongo/operation/write/bulk/
|
336
|
+
- spec/mongo/operation/write/bulk/delete_spec.rb
|
337
|
+
- spec/mongo/operation/write/bulk/insert_spec.rb
|
338
|
+
- spec/mongo/operation/write/bulk/update_spec.rb
|
313
339
|
- spec/mongo/operation/write/command/delete_spec.rb
|
314
340
|
- spec/mongo/operation/write/command/insert_spec.rb
|
315
341
|
- spec/mongo/operation/write/command/update_spec.rb
|
@@ -348,6 +374,7 @@ files:
|
|
348
374
|
- spec/mongo/server_selector_spec.rb
|
349
375
|
- spec/mongo/server_spec.rb
|
350
376
|
- spec/mongo/socket/ssl_spec.rb
|
377
|
+
- spec/mongo/socket/unix_spec.rb
|
351
378
|
- spec/mongo/uri_spec.rb
|
352
379
|
- spec/mongo/write_concern/acknowledged_spec.rb
|
353
380
|
- spec/mongo/write_concern/unacknowledged_spec.rb
|
@@ -359,6 +386,24 @@ files:
|
|
359
386
|
- spec/support/certificates/crl_client_revoked.pem
|
360
387
|
- spec/support/certificates/password_protected.pem
|
361
388
|
- spec/support/certificates/server.pem
|
389
|
+
- spec/support/command_monitoring.rb
|
390
|
+
- spec/support/command_monitoring/bulkWrite.yml
|
391
|
+
- spec/support/command_monitoring/command.yml
|
392
|
+
- spec/support/command_monitoring/deleteMany.yml
|
393
|
+
- spec/support/command_monitoring/deleteOne.yml
|
394
|
+
- spec/support/command_monitoring/find.yml
|
395
|
+
- spec/support/command_monitoring/insertMany.yml
|
396
|
+
- spec/support/command_monitoring/insertOne.yml
|
397
|
+
- spec/support/command_monitoring/updateMany.yml
|
398
|
+
- spec/support/command_monitoring/updateOne.yml
|
399
|
+
- spec/support/connection_string.rb
|
400
|
+
- spec/support/connection_string_tests/invalid-uris.yml
|
401
|
+
- spec/support/connection_string_tests/valid-auth.yml
|
402
|
+
- spec/support/connection_string_tests/valid-host_identifiers.yml
|
403
|
+
- spec/support/connection_string_tests/valid-options.yml
|
404
|
+
- spec/support/connection_string_tests/valid-unix_socket-absolute.yml
|
405
|
+
- spec/support/connection_string_tests/valid-unix_socket-relative.yml
|
406
|
+
- spec/support/connection_string_tests/valid-warnings.yml
|
362
407
|
- spec/support/crud.rb
|
363
408
|
- spec/support/crud/read.rb
|
364
409
|
- spec/support/crud/write.rb
|
@@ -376,6 +421,11 @@ files:
|
|
376
421
|
- spec/support/crud_tests/write/replaceOne.yml
|
377
422
|
- spec/support/crud_tests/write/updateMany.yml
|
378
423
|
- spec/support/crud_tests/write/updateOne.yml
|
424
|
+
- spec/support/gridfs.rb
|
425
|
+
- spec/support/gridfs_tests/delete.yml
|
426
|
+
- spec/support/gridfs_tests/download.yml
|
427
|
+
- spec/support/gridfs_tests/download_by_name.yml
|
428
|
+
- spec/support/gridfs_tests/upload.yml
|
379
429
|
- spec/support/helpers.rb
|
380
430
|
- spec/support/matchers.rb
|
381
431
|
- spec/support/sdam/rs/discover_arbiters.yml
|
@@ -398,10 +448,13 @@ files:
|
|
398
448
|
- spec/support/sdam/rs/primary_changes_set_name.yml
|
399
449
|
- spec/support/sdam/rs/primary_disconnect.yml
|
400
450
|
- spec/support/sdam/rs/primary_disconnect_electionid.yml
|
451
|
+
- spec/support/sdam/rs/primary_mismatched_me.yml
|
452
|
+
- spec/support/sdam/rs/primary_to_no_primary_mismatched_me.yml
|
401
453
|
- spec/support/sdam/rs/primary_wrong_set_name.yml
|
402
454
|
- spec/support/sdam/rs/response_from_removed.yml
|
403
455
|
- spec/support/sdam/rs/rsother_discovered.yml
|
404
456
|
- spec/support/sdam/rs/sec_not_auth.yml
|
457
|
+
- spec/support/sdam/rs/secondary_mismatched_me.yml
|
405
458
|
- spec/support/sdam/rs/secondary_wrong_set_name.yml
|
406
459
|
- spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
|
407
460
|
- spec/support/sdam/rs/unexpected_mongos.yml
|
@@ -489,6 +542,7 @@ test_files:
|
|
489
542
|
- spec/mongo/address/unix_spec.rb
|
490
543
|
- spec/mongo/address_spec.rb
|
491
544
|
- spec/mongo/auth/cr_spec.rb
|
545
|
+
- spec/mongo/auth/ldap/conversation_spec.rb
|
492
546
|
- spec/mongo/auth/ldap_spec.rb
|
493
547
|
- spec/mongo/auth/scram/conversation_spec.rb
|
494
548
|
- spec/mongo/auth/scram_spec.rb
|
@@ -496,6 +550,8 @@ test_files:
|
|
496
550
|
- spec/mongo/auth/user_spec.rb
|
497
551
|
- spec/mongo/auth/x509_spec.rb
|
498
552
|
- spec/mongo/auth_spec.rb
|
553
|
+
- spec/mongo/bulk_write/ordered_combiner_spec.rb
|
554
|
+
- spec/mongo/bulk_write/unordered_combiner_spec.rb
|
499
555
|
- spec/mongo/bulk_write_spec.rb
|
500
556
|
- spec/mongo/client_spec.rb
|
501
557
|
- spec/mongo/cluster/topology/replica_set_spec.rb
|
@@ -506,11 +562,14 @@ test_files:
|
|
506
562
|
- spec/mongo/cluster_spec.rb
|
507
563
|
- spec/mongo/collection/view/aggregation_spec.rb
|
508
564
|
- spec/mongo/collection/view/explainable_spec.rb
|
565
|
+
- spec/mongo/collection/view/immutable_spec.rb
|
509
566
|
- spec/mongo/collection/view/map_reduce_spec.rb
|
510
567
|
- spec/mongo/collection/view/readable_spec.rb
|
511
568
|
- spec/mongo/collection/view/writable_spec.rb
|
512
569
|
- spec/mongo/collection/view_spec.rb
|
513
570
|
- spec/mongo/collection_spec.rb
|
571
|
+
- spec/mongo/command_monitoring_spec.rb
|
572
|
+
- spec/mongo/connection_string_spec.rb
|
514
573
|
- spec/mongo/crud_spec.rb
|
515
574
|
- spec/mongo/cursor_spec.rb
|
516
575
|
- spec/mongo/database_spec.rb
|
@@ -519,29 +578,33 @@ test_files:
|
|
519
578
|
- spec/mongo/event/publisher_spec.rb
|
520
579
|
- spec/mongo/event/subscriber_spec.rb
|
521
580
|
- spec/mongo/grid/file/chunk_spec.rb
|
522
|
-
- spec/mongo/grid/file/
|
581
|
+
- spec/mongo/grid/file/info_spec.rb
|
523
582
|
- spec/mongo/grid/file_spec.rb
|
524
|
-
- spec/mongo/grid/
|
583
|
+
- spec/mongo/grid/fs_bucket_spec.rb
|
584
|
+
- spec/mongo/grid/stream/read_spec.rb
|
585
|
+
- spec/mongo/grid/stream/write_spec.rb
|
586
|
+
- spec/mongo/grid/stream_spec.rb
|
587
|
+
- spec/mongo/gridfs_spec.rb
|
525
588
|
- spec/mongo/index/view_spec.rb
|
526
|
-
- spec/mongo/loggable_spec.rb
|
527
589
|
- spec/mongo/logger_spec.rb
|
590
|
+
- spec/mongo/monitoring/command_log_subscriber_spec.rb
|
528
591
|
- spec/mongo/monitoring_spec.rb
|
529
592
|
- spec/mongo/operation/aggregate/result_spec.rb
|
530
|
-
- spec/mongo/operation/aggregate_spec.rb
|
531
|
-
- spec/mongo/operation/
|
593
|
+
- spec/mongo/operation/commands/aggregate_spec.rb
|
594
|
+
- spec/mongo/operation/commands/collections_info_spec.rb
|
595
|
+
- spec/mongo/operation/commands/command_spec.rb
|
596
|
+
- spec/mongo/operation/commands/indexes_spec.rb
|
597
|
+
- spec/mongo/operation/commands/map_reduce_spec.rb
|
532
598
|
- spec/mongo/operation/kill_cursors_spec.rb
|
533
599
|
- spec/mongo/operation/limited_spec.rb
|
534
|
-
- spec/mongo/operation/map_reduce_spec.rb
|
535
|
-
- spec/mongo/operation/read/collections_info_spec.rb
|
536
600
|
- spec/mongo/operation/read/get_more_spec.rb
|
537
|
-
- spec/mongo/operation/read/indexes_spec.rb
|
538
601
|
- spec/mongo/operation/read/query_spec.rb
|
539
|
-
- spec/mongo/operation/
|
602
|
+
- spec/mongo/operation/read_preference_spec.rb
|
540
603
|
- spec/mongo/operation/result_spec.rb
|
541
604
|
- spec/mongo/operation/specifiable_spec.rb
|
542
|
-
- spec/mongo/operation/write/bulk/
|
543
|
-
- spec/mongo/operation/write/bulk/
|
544
|
-
- spec/mongo/operation/write/bulk/
|
605
|
+
- spec/mongo/operation/write/bulk/delete_spec.rb
|
606
|
+
- spec/mongo/operation/write/bulk/insert_spec.rb
|
607
|
+
- spec/mongo/operation/write/bulk/update_spec.rb
|
545
608
|
- spec/mongo/operation/write/command/delete_spec.rb
|
546
609
|
- spec/mongo/operation/write/command/insert_spec.rb
|
547
610
|
- spec/mongo/operation/write/command/update_spec.rb
|
@@ -580,6 +643,7 @@ test_files:
|
|
580
643
|
- spec/mongo/server_selector_spec.rb
|
581
644
|
- spec/mongo/server_spec.rb
|
582
645
|
- spec/mongo/socket/ssl_spec.rb
|
646
|
+
- spec/mongo/socket/unix_spec.rb
|
583
647
|
- spec/mongo/uri_spec.rb
|
584
648
|
- spec/mongo/write_concern/acknowledged_spec.rb
|
585
649
|
- spec/mongo/write_concern/unacknowledged_spec.rb
|
@@ -591,6 +655,24 @@ test_files:
|
|
591
655
|
- spec/support/certificates/crl_client_revoked.pem
|
592
656
|
- spec/support/certificates/password_protected.pem
|
593
657
|
- spec/support/certificates/server.pem
|
658
|
+
- spec/support/command_monitoring/bulkWrite.yml
|
659
|
+
- spec/support/command_monitoring/command.yml
|
660
|
+
- spec/support/command_monitoring/deleteMany.yml
|
661
|
+
- spec/support/command_monitoring/deleteOne.yml
|
662
|
+
- spec/support/command_monitoring/find.yml
|
663
|
+
- spec/support/command_monitoring/insertMany.yml
|
664
|
+
- spec/support/command_monitoring/insertOne.yml
|
665
|
+
- spec/support/command_monitoring/updateMany.yml
|
666
|
+
- spec/support/command_monitoring/updateOne.yml
|
667
|
+
- spec/support/command_monitoring.rb
|
668
|
+
- spec/support/connection_string.rb
|
669
|
+
- spec/support/connection_string_tests/invalid-uris.yml
|
670
|
+
- spec/support/connection_string_tests/valid-auth.yml
|
671
|
+
- spec/support/connection_string_tests/valid-host_identifiers.yml
|
672
|
+
- spec/support/connection_string_tests/valid-options.yml
|
673
|
+
- spec/support/connection_string_tests/valid-unix_socket-absolute.yml
|
674
|
+
- spec/support/connection_string_tests/valid-unix_socket-relative.yml
|
675
|
+
- spec/support/connection_string_tests/valid-warnings.yml
|
594
676
|
- spec/support/crud/read.rb
|
595
677
|
- spec/support/crud/write.rb
|
596
678
|
- spec/support/crud.rb
|
@@ -608,6 +690,11 @@ test_files:
|
|
608
690
|
- spec/support/crud_tests/write/replaceOne.yml
|
609
691
|
- spec/support/crud_tests/write/updateMany.yml
|
610
692
|
- spec/support/crud_tests/write/updateOne.yml
|
693
|
+
- spec/support/gridfs.rb
|
694
|
+
- spec/support/gridfs_tests/delete.yml
|
695
|
+
- spec/support/gridfs_tests/download.yml
|
696
|
+
- spec/support/gridfs_tests/download_by_name.yml
|
697
|
+
- spec/support/gridfs_tests/upload.yml
|
611
698
|
- spec/support/helpers.rb
|
612
699
|
- spec/support/matchers.rb
|
613
700
|
- spec/support/sdam/rs/discover_arbiters.yml
|
@@ -630,10 +717,13 @@ test_files:
|
|
630
717
|
- spec/support/sdam/rs/primary_changes_set_name.yml
|
631
718
|
- spec/support/sdam/rs/primary_disconnect.yml
|
632
719
|
- spec/support/sdam/rs/primary_disconnect_electionid.yml
|
720
|
+
- spec/support/sdam/rs/primary_mismatched_me.yml
|
721
|
+
- spec/support/sdam/rs/primary_to_no_primary_mismatched_me.yml
|
633
722
|
- spec/support/sdam/rs/primary_wrong_set_name.yml
|
634
723
|
- spec/support/sdam/rs/response_from_removed.yml
|
635
724
|
- spec/support/sdam/rs/rsother_discovered.yml
|
636
725
|
- spec/support/sdam/rs/sec_not_auth.yml
|
726
|
+
- spec/support/sdam/rs/secondary_mismatched_me.yml
|
637
727
|
- spec/support/sdam/rs/secondary_wrong_set_name.yml
|
638
728
|
- spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
|
639
729
|
- spec/support/sdam/rs/unexpected_mongos.yml
|