[DRE-commits] [ruby-mongo] 01/06: Merge tag 'upstream/2.4.0'
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Tue Dec 20 10:47:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository ruby-mongo.
commit 5a480bf33c77f1f3fc66360493edbf3f440c4e66
Merge: f416964 37c2bc0
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Mon Dec 19 17:00:28 2016 +0200
Merge tag 'upstream/2.4.0'
Upstream version 2.4.0
# gpg: Signature made Δευ 19 Δεκ 2016 05:00:28 μμ EET
# gpg: using RSA key 3E02FD6656295952110BAB99F51B18C720248224
# gpg: issuer "apoikos at debian.org"
# gpg: Good signature from "Apollon Oikonomopoulos <apoikos at dmesg.gr>" [ultimate]
# gpg: aka "Apollon Oikonomopoulos <apoikos at gmail.com>" [ultimate]
# gpg: aka "Apollon Oikonomopoulos <apoikos at debian.org>" [ultimate]
CONTRIBUTING.md | 64 +
LICENSE | 2 +-
README.md | 104 +-
Rakefile | 209 +-
VERSION | 1 -
bin/mongo_console | 45 +-
checksums.yaml.gz | Bin 268 -> 0 bytes
checksums.yaml.gz.sig | Bin 256 -> 256 bytes
data.tar.gz.sig | Bin 256 -> 256 bytes
lib/csasl/csasl.bundle | Bin 0 -> 10064 bytes
lib/mongo.rb | 101 +-
lib/mongo/address.rb | 192 ++
lib/mongo/address/ipv4.rb | 95 +
lib/mongo/address/ipv6.rb | 90 +
lib/mongo/address/unix.rb | 76 +
lib/mongo/auth.rb | 107 +
lib/mongo/auth/cr.rb | 63 +
lib/mongo/auth/cr/conversation.rb | 121 +
lib/mongo/auth/ldap.rb | 61 +
lib/mongo/auth/ldap/conversation.rb | 96 +
lib/mongo/auth/roles.rb | 104 +
lib/mongo/auth/scram.rb | 67 +
lib/mongo/auth/scram/conversation.rb | 463 +++
lib/mongo/auth/user.rb | 159 +
lib/mongo/auth/user/view.rb | 127 +
lib/mongo/auth/x509.rb | 62 +
lib/mongo/auth/x509/conversation.rb | 94 +
test/functional/ssl_test.rb => lib/mongo/bson.rb | 29 +-
lib/mongo/bulk_write.rb | 195 ++
lib/mongo/bulk_write/combineable.rb | 55 +
lib/mongo/bulk_write/ordered_combiner.rb | 55 +
lib/mongo/bulk_write/result.rb | 191 ++
lib/mongo/bulk_write/result_combiner.rb | 120 +
lib/mongo/bulk_write/transformable.rb | 144 +
lib/mongo/bulk_write/unordered_combiner.rb | 52 +
lib/mongo/bulk_write/validatable.rb | 65 +
lib/mongo/bulk_write_collection_view.rb | 380 ---
lib/mongo/client.rb | 410 +++
lib/mongo/cluster.rb | 470 +++
lib/mongo/cluster/app_metadata.rb | 146 +
lib/mongo/cluster/cursor_reaper.rb | 174 +
lib/mongo/cluster/topology.rb | 61 +
lib/mongo/cluster/topology/replica_set.rb | 317 ++
lib/mongo/cluster/topology/sharded.rb | 238 ++
lib/mongo/cluster/topology/single.rb | 238 ++
lib/mongo/cluster/topology/unknown.rb | 277 ++
lib/mongo/collection.rb | 1568 +++------
lib/mongo/collection/view.rb | 189 ++
lib/mongo/collection/view/aggregation.rb | 130 +
.../socket_util.rb => collection/view/builder.rb} | 31 +-
lib/mongo/collection/view/builder/aggregation.rb | 108 +
lib/mongo/collection/view/builder/find_command.rb | 137 +
lib/mongo/collection/view/builder/flags.rb | 62 +
lib/mongo/collection/view/builder/map_reduce.rb | 151 +
lib/mongo/collection/view/builder/modifiers.rb | 80 +
lib/mongo/collection/view/builder/op_query.rb | 83 +
lib/mongo/collection/view/explainable.rb | 64 +
.../view/immutable.rb} | 27 +-
lib/mongo/collection/view/iterable.rb | 86 +
lib/mongo/collection/view/map_reduce.rb | 247 ++
lib/mongo/collection/view/readable.rb | 494 +++
lib/mongo/collection/view/writable.rb | 256 ++
lib/mongo/collection_writer.rb | 364 ---
lib/mongo/connection/node.rb | 239 --
lib/mongo/connection/pool.rb | 347 --
lib/mongo/connection/pool_manager.rb | 325 --
lib/mongo/connection/sharding_pool_manager.rb | 67 -
lib/mongo/connection/socket/ssl_socket.rb | 95 -
lib/mongo/connection/socket/tcp_socket.rb | 86 -
lib/mongo/connection/socket/unix_socket.rb | 39 -
lib/mongo/cursor.rb | 766 +----
.../{connection/socket.rb => cursor/builder.rb} | 10 +-
lib/mongo/cursor/builder/get_more_command.rb | 72 +
lib/mongo/cursor/builder/kill_cursors_command.rb | 90 +
lib/mongo/cursor/builder/op_get_more.rb | 61 +
lib/mongo/cursor/builder/op_kill_cursors.rb | 84 +
lib/mongo/database.rb | 254 ++
lib/mongo/database/view.rb | 118 +
lib/mongo/db.rb | 735 -----
lib/mongo/dbref.rb | 114 +
lib/mongo/error.rb | 106 +
lib/mongo/error/bulk_write_error.rb | 41 +
.../closed_stream.rb} | 25 +-
.../mongo/error/extra_file_chunk.rb | 27 +-
lib/mongo/error/file_not_found.rb | 37 +
lib/mongo/error/invalid_application_name.rb | 38 +
lib/mongo/error/invalid_bulk_operation.rb | 37 +
.../invalid_bulk_operation_type.rb} | 27 +-
.../invalid_collection_name.rb} | 30 +-
.../invalid_database_name.rb} | 30 +-
.../invalid_document.rb} | 30 +-
lib/mongo/error/invalid_file.rb | 38 +
lib/mongo/error/invalid_file_revision.rb | 37 +
lib/mongo/error/invalid_nonce.rb | 46 +
.../invalid_replacement_document.rb} | 30 +-
lib/mongo/error/invalid_server_preference.rb | 59 +
lib/mongo/error/invalid_signature.rb | 47 +
.../invalid_update_document.rb} | 30 +-
lib/mongo/error/invalid_uri.rb | 38 +
.../invalid_write_concern.rb} | 26 +-
lib/mongo/error/max_bson_size.rb | 40 +
lib/mongo/error/max_message_size.rb | 42 +
lib/mongo/error/missing_file_chunk.rb | 38 +
.../multi_index_drop.rb} | 25 +-
.../{utils.rb => error/need_primary_server.rb} | 16 +-
lib/mongo/error/no_server_available.rb | 39 +
lib/mongo/error/operation_failure.rb | 58 +
lib/mongo/error/parser.rb | 89 +
lib/mongo/{connection.rb => error/socket_error.rb} | 16 +-
.../{gridfs.rb => error/socket_timeout_error.rb} | 15 +-
lib/mongo/error/unchangeable_collection_option.rb | 38 +
lib/mongo/error/unexpected_chunk_length.rb | 39 +
lib/mongo/error/unexpected_response.rb | 38 +
lib/mongo/error/unsupported_collation.rb | 51 +
lib/mongo/error/unsupported_features.rb | 43 +
lib/mongo/event.rb | 48 +
lib/mongo/event/description_changed.rb | 72 +
lib/mongo/event/listeners.rb | 63 +
lib/mongo/event/member_discovered.rb | 65 +
lib/mongo/event/primary_elected.rb | 55 +
lib/mongo/event/publisher.rb | 42 +
lib/mongo/event/standalone_discovered.rb | 53 +
lib/mongo/event/subscriber.rb | 41 +
lib/mongo/exception.rb | 88 -
lib/mongo/functional/authentication.rb | 318 --
lib/mongo/functional/logging.rb | 85 -
lib/mongo/functional/read_preference.rb | 174 -
lib/mongo/functional/sasl_java.rb | 48 -
lib/mongo/functional/uri_parser.rb | 374 ---
lib/mongo/functional/write_concern.rb | 66 -
lib/mongo/{gridfs.rb => grid.rb} | 9 +-
lib/mongo/grid/file.rb | 116 +
lib/mongo/grid/file/chunk.rb | 188 ++
lib/mongo/grid/file/info.rb | 235 ++
lib/mongo/grid/fs_bucket.rb | 454 +++
lib/mongo/grid/stream.rb | 64 +
lib/mongo/grid/stream/read.rb | 206 ++
lib/mongo/grid/stream/write.rb | 188 ++
lib/mongo/gridfs/grid.rb | 112 -
lib/mongo/gridfs/grid_ext.rb | 53 -
lib/mongo/gridfs/grid_file_system.rb | 163 -
lib/mongo/gridfs/grid_io.rb | 484 ---
lib/mongo/index.rb | 69 +
lib/mongo/index/view.rb | 280 ++
lib/mongo/legacy.rb | 140 -
lib/mongo/loggable.rb | 105 +
lib/mongo/logger.rb | 86 +
lib/mongo/mongo_client.rb | 702 ----
lib/mongo/mongo_replica_set_client.rb | 523 ---
lib/mongo/mongo_sharded_client.rb | 159 -
lib/mongo/monitoring.rb | 236 ++
lib/mongo/monitoring/command_log_subscriber.rb | 112 +
lib/mongo/monitoring/event.rb | 24 +
lib/mongo/monitoring/event/command_failed.rb | 96 +
lib/mongo/monitoring/event/command_started.rb | 89 +
lib/mongo/monitoring/event/command_succeeded.rb | 118 +
lib/mongo/monitoring/event/secure.rb | 58 +
lib/mongo/monitoring/event/server_closed.rb | 46 +
.../monitoring/event/server_description_changed.rb | 58 +
lib/mongo/monitoring/event/server_opening.rb | 46 +
lib/mongo/monitoring/event/topology_changed.rb | 46 +
lib/mongo/monitoring/event/topology_closed.rb | 41 +
lib/mongo/monitoring/event/topology_opening.rb | 41 +
lib/mongo/monitoring/publishable.rb | 118 +
lib/mongo/monitoring/sdam_log_subscriber.rb | 54 +
.../server_closed_log_subscriber.rb} | 25 +-
.../server_description_changed_log_subscriber.rb | 33 +
.../server_opening_log_subscriber.rb} | 25 +-
.../monitoring/topology_changed_log_subscriber.rb | 40 +
.../monitoring/topology_opening_log_subscriber.rb | 30 +
lib/mongo/networking.rb | 370 ---
lib/mongo/operation.rb | 60 +
lib/mongo/operation/commands.rb | 29 +
lib/mongo/operation/commands/aggregate.rb | 64 +
lib/mongo/operation/commands/aggregate/result.rb | 89 +
lib/mongo/operation/commands/collections_info.rb | 71 +
.../operation/commands/collections_info/result.rb | 41 +
lib/mongo/operation/commands/command.rb | 47 +
lib/mongo/operation/commands/create.rb | 45 +
lib/mongo/operation/commands/drop.rb | 45 +
lib/mongo/operation/commands/drop_database.rb | 45 +
.../commands/find.rb} | 20 +-
lib/mongo/operation/commands/find/result.rb | 62 +
.../commands/get_more.rb} | 20 +-
lib/mongo/operation/commands/get_more/result.rb | 62 +
lib/mongo/operation/commands/indexes.rb | 73 +
lib/mongo/operation/commands/list_collections.rb | 48 +
.../operation/commands/list_collections/result.rb | 94 +
lib/mongo/operation/commands/list_indexes.rb | 48 +
.../operation/commands/list_indexes/result.rb | 98 +
lib/mongo/operation/commands/map_reduce.rb | 60 +
lib/mongo/operation/commands/map_reduce/result.rb | 119 +
lib/mongo/operation/commands/parallel_scan.rb | 53 +
.../operation/commands/parallel_scan/result.rb | 64 +
lib/mongo/operation/commands/user_query.rb | 72 +
lib/mongo/operation/commands/users_info.rb | 48 +
lib/mongo/operation/commands/users_info/result.rb | 44 +
lib/mongo/operation/executable.rb | 42 +
lib/mongo/operation/kill_cursors.rb | 40 +
.../limited.rb} | 28 +-
.../object_id_generator.rb} | 27 +-
lib/mongo/{gridfs.rb => operation/read.rb} | 8 +-
lib/mongo/operation/read/get_more.rb | 52 +
lib/mongo/operation/read/query.rb | 55 +
.../read/query/result.rb} | 31 +-
lib/mongo/operation/read_preference.rb | 61 +
lib/mongo/operation/result.rb | 305 ++
lib/mongo/operation/specifiable.rb | 507 +++
.../mongo/operation/takes_write_concern.rb | 31 +-
lib/mongo/operation/write.rb | 27 +
.../{functional.rb => operation/write/bulk.rb} | 15 +-
lib/mongo/operation/write/bulk/bulkable.rb | 83 +
lib/mongo/operation/write/bulk/delete.rb | 71 +
lib/mongo/operation/write/bulk/delete/result.rb | 71 +
lib/mongo/operation/write/bulk/insert.rb | 96 +
lib/mongo/operation/write/bulk/insert/result.rb | 129 +
lib/mongo/operation/write/bulk/legacy_mergable.rb | 87 +
lib/mongo/operation/write/bulk/mergable.rb | 71 +
lib/mongo/operation/write/bulk/update.rb | 81 +
lib/mongo/operation/write/bulk/update/result.rb | 205 ++
.../socket_util.rb => operation/write/command.rb} | 34 +-
lib/mongo/operation/write/command/create_index.rb | 55 +
lib/mongo/operation/write/command/create_user.rb | 42 +
lib/mongo/operation/write/command/delete.rb | 56 +
lib/mongo/operation/write/command/drop_index.rb | 56 +
lib/mongo/operation/write/command/insert.rb | 66 +
.../write/command/remove_user.rb} | 32 +-
lib/mongo/operation/write/command/update.rb | 63 +
lib/mongo/operation/write/command/update_user.rb | 42 +
lib/mongo/operation/write/command/writable.rb | 57 +
lib/mongo/operation/write/create_index.rb | 67 +
lib/mongo/operation/write/create_user.rb | 50 +
lib/mongo/operation/write/delete.rb | 75 +
.../write/delete/result.rb} | 31 +-
lib/mongo/operation/write/drop_index.rb | 63 +
lib/mongo/operation/write/gle.rb | 49 +
lib/mongo/operation/write/idable.rb | 63 +
lib/mongo/operation/write/insert.rb | 71 +
lib/mongo/operation/write/insert/result.rb | 62 +
lib/mongo/operation/write/remove_user.rb | 48 +
lib/mongo/operation/write/update.rb | 85 +
lib/mongo/operation/write/update/result.rb | 160 +
lib/mongo/operation/write/update_user.rb | 50 +
lib/mongo/operation/write/write_command_enabled.rb | 62 +
lib/mongo/{gridfs.rb => options.rb} | 8 +-
lib/mongo/options/mapper.rb | 119 +
lib/mongo/options/redacted.rb | 156 +
lib/mongo/protocol.rb | 15 +
lib/mongo/protocol/bit_vector.rb | 63 +
lib/mongo/protocol/delete.rb | 167 +
lib/mongo/protocol/get_more.rb | 159 +
lib/mongo/protocol/insert.rb | 174 +
lib/mongo/protocol/kill_cursors.rb | 135 +
lib/mongo/protocol/message.rb | 305 ++
lib/mongo/protocol/query.rb | 297 ++
lib/mongo/protocol/reply.rb | 199 ++
lib/mongo/protocol/serializers.rb | 189 ++
lib/mongo/protocol/update.rb | 205 ++
lib/mongo/retryable.rb | 129 +
lib/mongo/server.rb | 264 ++
lib/mongo/server/connectable.rb | 119 +
lib/mongo/server/connection.rb | 204 ++
lib/mongo/server/connection_pool.rb | 138 +
lib/mongo/server/connection_pool/queue.rb | 197 ++
lib/mongo/server/context.rb | 69 +
lib/mongo/server/description.rb | 628 ++++
lib/mongo/server/description/features.rb | 90 +
lib/mongo/server/description/inspector.rb | 81 +
.../description/inspector/description_changed.rb | 57 +
.../description/inspector/member_discovered.rb | 59 +
.../description/inspector/primary_elected.rb | 60 +
.../description/inspector/standalone_discovered.rb | 56 +
lib/mongo/server/monitor.rb | 187 ++
lib/mongo/server/monitor/connection.rb | 148 +
lib/mongo/server_selector.rb | 77 +
lib/mongo/server_selector/nearest.rb | 97 +
lib/mongo/server_selector/primary.rb | 92 +
lib/mongo/server_selector/primary_preferred.rb | 100 +
lib/mongo/server_selector/secondary.rb | 96 +
lib/mongo/server_selector/secondary_preferred.rb | 101 +
lib/mongo/server_selector/selectable.rb | 281 ++
lib/mongo/socket.rb | 209 ++
lib/mongo/socket/ssl.rb | 173 +
lib/mongo/socket/tcp.rb | 81 +
lib/mongo/socket/unix.rb | 73 +
lib/mongo/uri.rb | 575 ++++
lib/mongo/utils/conversions.rb | 110 -
lib/mongo/utils/core_ext.rb | 70 -
lib/mongo/utils/server_version.rb | 69 -
lib/mongo/utils/support.rb | 80 -
lib/mongo/{gridfs.rb => version.rb} | 13 +-
lib/mongo/write_concern.rb | 115 +
lib/mongo/write_concern/acknowledged.rb | 52 +
lib/mongo/write_concern/normalizable.rb | 52 +
lib/mongo/write_concern/unacknowledged.rb | 55 +
metadata.gz.sig | Bin 256 -> 256 bytes
metadata.yml | 259 --
mongo.gemspec | 29 +-
spec/mongo/address/ipv4_spec.rb | 95 +
spec/mongo/address/ipv6_spec.rb | 95 +
spec/mongo/address/unix_spec.rb | 41 +
spec/mongo/address_spec.rb | 231 ++
spec/mongo/auth/cr_spec.rb | 78 +
spec/mongo/auth/ldap/conversation_spec.rb | 43 +
spec/mongo/auth/ldap_spec.rb | 59 +
spec/mongo/auth/scram/conversation_spec.rb | 197 ++
spec/mongo/auth/scram_spec.rb | 74 +
spec/mongo/auth/user/view_spec.rb | 155 +
spec/mongo/auth/user_spec.rb | 190 ++
spec/mongo/auth/x509/conversation_spec.rb | 69 +
spec/mongo/auth/x509_spec.rb | 59 +
spec/mongo/auth_spec.rb | 65 +
spec/mongo/bson_spec.rb | 11 +
spec/mongo/bulk_write/ordered_combiner_spec.rb | 284 ++
spec/mongo/bulk_write/unordered_combiner_spec.rb | 239 ++
spec/mongo/bulk_write_spec.rb | 1823 +++++++++++
spec/mongo/client_spec.rb | 883 ++++++
spec/mongo/cluster/app_metadata_spec.rb | 104 +
spec/mongo/cluster/cursor_reaper_spec.rb | 216 ++
spec/mongo/cluster/topology/replica_set_spec.rb | 577 ++++
spec/mongo/cluster/topology/sharded_spec.rb | 154 +
spec/mongo/cluster/topology/single_spec.rb | 129 +
spec/mongo/cluster/topology/unknown_spec.rb | 185 ++
spec/mongo/cluster/topology_spec.rb | 95 +
spec/mongo/cluster_spec.rb | 513 +++
spec/mongo/collection/view/aggregation_spec.rb | 555 ++++
.../collection/view/builder/find_command_spec.rb | 455 +++
spec/mongo/collection/view/builder/flags_spec.rb | 106 +
.../collection/view/builder/modifiers_spec.rb | 210 ++
.../mongo/collection/view/builder/op_query_spec.rb | 154 +
spec/mongo/collection/view/explainable_spec.rb | 31 +
spec/mongo/collection/view/immutable_spec.rb | 54 +
spec/mongo/collection/view/map_reduce_spec.rb | 546 ++++
spec/mongo/collection/view/readable_spec.rb | 1181 +++++++
spec/mongo/collection/view/writable_spec.rb | 1229 +++++++
spec/mongo/collection/view_spec.rb | 420 +++
spec/mongo/collection_spec.rb | 3345 ++++++++++++++++++++
spec/mongo/command_monitoring_spec.rb | 64 +
spec/mongo/connection_string_spec.rb | 115 +
spec/mongo/crud_spec.rb | 41 +
spec/mongo/cursor/builder/get_more_command_spec.rb | 160 +
spec/mongo/cursor/builder/op_get_more_spec.rb | 52 +
spec/mongo/cursor_spec.rb | 352 ++
spec/mongo/database_spec.rb | 561 ++++
spec/mongo/dbref_spec.rb | 149 +
spec/mongo/error/parser_spec.rb | 98 +
spec/mongo/event/publisher_spec.rb | 50 +
spec/mongo/event/subscriber_spec.rb | 34 +
spec/mongo/grid/file/chunk_spec.rb | 227 ++
spec/mongo/grid/file/info_spec.rb | 104 +
spec/mongo/grid/file_spec.rb | 191 ++
spec/mongo/grid/fs_bucket_spec.rb | 1138 +++++++
spec/mongo/grid/stream/read_spec.rb | 275 ++
spec/mongo/grid/stream/write_spec.rb | 502 +++
spec/mongo/grid/stream_spec.rb | 48 +
spec/mongo/gridfs_spec.rb | 50 +
spec/mongo/index/view_spec.rb | 791 +++++
spec/mongo/logger_spec.rb | 57 +
spec/mongo/max_staleness_spec.rb | 126 +
.../monitoring/command_log_subscriber_spec.rb | 76 +
.../mongo/monitoring/event/command_started_spec.rb | 26 +
.../monitoring/event/command_succeeded_spec.rb | 26 +
spec/mongo/monitoring/event/secure_spec.rb | 57 +
spec/mongo/monitoring_spec.rb | 168 +
.../operation/commands/aggregate/result_spec.rb | 80 +
spec/mongo/operation/commands/aggregate_spec.rb | 72 +
.../operation/commands/collections_info_spec.rb | 40 +
spec/mongo/operation/commands/command_spec.rb | 80 +
spec/mongo/operation/commands/indexes_spec.rb | 31 +
spec/mongo/operation/commands/map_reduce_spec.rb | 125 +
spec/mongo/operation/kill_cursors_spec.rb | 41 +
spec/mongo/operation/limited_spec.rb | 50 +
spec/mongo/operation/read/get_more_spec.rb | 53 +
spec/mongo/operation/read/query_spec.rb | 102 +
spec/mongo/operation/read_preference_spec.rb | 245 ++
spec/mongo/operation/result_spec.rb | 309 ++
spec/mongo/operation/specifiable_spec.rb | 84 +
spec/mongo/operation/write/bulk/delete_spec.rb | 223 ++
spec/mongo/operation/write/bulk/insert_spec.rb | 250 ++
spec/mongo/operation/write/bulk/update_spec.rb | 220 ++
spec/mongo/operation/write/command/delete_spec.rb | 106 +
spec/mongo/operation/write/command/insert_spec.rb | 105 +
spec/mongo/operation/write/command/update_spec.rb | 110 +
spec/mongo/operation/write/create_index_spec.rb | 63 +
spec/mongo/operation/write/create_user_spec.rb | 44 +
spec/mongo/operation/write/delete_spec.rb | 215 ++
spec/mongo/operation/write/drop_index_spec.rb | 51 +
spec/mongo/operation/write/insert_spec.rb | 291 ++
spec/mongo/operation/write/remove_user_spec.rb | 46 +
spec/mongo/operation/write/update_spec.rb | 256 ++
spec/mongo/operation/write/update_user_spec.rb | 46 +
spec/mongo/options/redacted_spec.rb | 350 ++
spec/mongo/protocol/delete_spec.rb | 167 +
spec/mongo/protocol/get_more_spec.rb | 146 +
spec/mongo/protocol/insert_spec.rb | 161 +
spec/mongo/protocol/kill_cursors_spec.rb | 103 +
spec/mongo/protocol/query_spec.rb | 299 ++
spec/mongo/protocol/reply_spec.rb | 181 ++
spec/mongo/protocol/update_spec.rb | 186 ++
spec/mongo/retryable_spec.rb | 221 ++
spec/mongo/sdam_monitoring_spec.rb | 60 +
spec/mongo/sdam_spec.rb | 77 +
spec/mongo/server/connection_pool/queue_spec.rb | 190 ++
spec/mongo/server/connection_pool_spec.rb | 230 ++
spec/mongo/server/connection_spec.rb | 647 ++++
spec/mongo/server/description/features_spec.rb | 233 ++
.../inspector/description_changed_spec.rb | 78 +
.../description/inspector/primary_elected_spec.rb | 94 +
spec/mongo/server/description_spec.rb | 889 ++++++
spec/mongo/server/monitor_spec.rb | 248 ++
spec/mongo/server_selection_rtt_spec.rb | 85 +
spec/mongo/server_selection_spec.rb | 93 +
spec/mongo/server_selector/nearest_spec.rb | 331 ++
.../server_selector/primary_preferred_spec.rb | 365 +++
spec/mongo/server_selector/primary_spec.rb | 157 +
.../server_selector/secondary_preferred_spec.rb | 327 ++
spec/mongo/server_selector/secondary_spec.rb | 271 ++
spec/mongo/server_selector_spec.rb | 355 +++
spec/mongo/server_spec.rb | 204 ++
spec/mongo/socket/ssl_spec.rb | 533 ++++
spec/mongo/socket/unix_spec.rb | 52 +
spec/mongo/uri_spec.rb | 908 ++++++
spec/mongo/write_concern/acknowledged_spec.rb | 44 +
spec/mongo/write_concern/unacknowledged_spec.rb | 15 +
spec/mongo/write_concern_spec.rb | 159 +
spec/spec_helper.rb | 207 ++
spec/support/authorization.rb | 260 ++
spec/support/certificates/ca.pem | 17 +
spec/support/certificates/client.pem | 101 +
spec/support/certificates/client_cert.pem | 21 +
spec/support/certificates/client_key.pem | 28 +
spec/support/certificates/client_key_encrypted.pem | 30 +
spec/support/certificates/crl.pem | 10 +
spec/support/certificates/crl_client_revoked.pem | 12 +
spec/support/certificates/password_protected.pem | 51 +
spec/support/certificates/server.pem | 34 +
spec/support/command_monitoring.rb | 376 +++
spec/support/command_monitoring/bulkWrite.yml | 73 +
spec/support/command_monitoring/command.yml | 42 +
spec/support/command_monitoring/deleteMany.yml | 55 +
spec/support/command_monitoring/deleteOne.yml | 55 +
spec/support/command_monitoring/find.yml | 268 ++
spec/support/command_monitoring/insertMany.yml | 81 +
spec/support/command_monitoring/insertOne.yml | 51 +
spec/support/command_monitoring/updateMany.yml | 67 +
spec/support/command_monitoring/updateOne.yml | 95 +
spec/support/connection_string.rb | 228 ++
.../connection_string_tests/invalid-uris.yml | 193 ++
.../support/connection_string_tests/valid-auth.yml | 256 ++
.../valid-host_identifiers.yml | 121 +
.../connection_string_tests/valid-options.yml | 30 +
.../valid-unix_socket-absolute.yml | 197 ++
.../valid-unix_socket-relative.yml | 213 ++
.../connection_string_tests/valid-warnings.yml | 55 +
spec/support/crud.rb | 271 ++
spec/support/crud/read.rb | 154 +
spec/support/crud/write.rb | 224 ++
.../crud_tests/read/aggregate-collation.yml | 17 +
spec/support/crud_tests/read/aggregate-out.yml | 28 +
spec/support/crud_tests/read/aggregate.yml | 21 +
spec/support/crud_tests/read/count-collation.yml | 15 +
spec/support/crud_tests/read/count.yml | 36 +
.../support/crud_tests/read/distinct-collation.yml | 17 +
spec/support/crud_tests/read/distinct.yml | 32 +
spec/support/crud_tests/read/find-collation.yml | 15 +
spec/support/crud_tests/read/find.yml | 49 +
.../crud_tests/write/deleteMany-collation.yml | 22 +
spec/support/crud_tests/write/deleteMany.yml | 35 +
.../crud_tests/write/deleteOne-collation.yml | 22 +
spec/support/crud_tests/write/deleteOne.yml | 48 +
.../write/findOneAndDelete-collation.yml | 23 +
spec/support/crud_tests/write/findOneAndDelete.yml | 53 +
.../write/findOneAndReplace-collation.yml | 24 +
.../crud_tests/write/findOneAndReplace-upsert.yml | 47 +
.../support/crud_tests/write/findOneAndReplace.yml | 142 +
.../write/findOneAndUpdate-collation.yml | 27 +
spec/support/crud_tests/write/findOneAndUpdate.yml | 160 +
spec/support/crud_tests/write/insertMany.yml | 23 +
spec/support/crud_tests/write/insertOne.yml | 18 +
.../crud_tests/write/replaceOne-collation.yml | 23 +
.../support/crud_tests/write/replaceOne-upsert.yml | 48 +
spec/support/crud_tests/write/replaceOne.yml | 86 +
.../crud_tests/write/updateMany-collation.yml | 27 +
spec/support/crud_tests/write/updateMany.yml | 82 +
.../crud_tests/write/updateOne-collation.yml | 24 +
spec/support/crud_tests/write/updateOne.yml | 79 +
spec/support/gridfs.rb | 637 ++++
spec/support/gridfs_tests/delete.yml | 157 +
spec/support/gridfs_tests/download.yml | 210 ++
spec/support/gridfs_tests/download_by_name.yml | 113 +
spec/support/gridfs_tests/upload.yml | 158 +
spec/support/helpers.rb | 140 +
spec/support/matchers.rb | 37 +
.../ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml | 26 +
.../ReplicaSetNoPrimary/Incompatible.yml | 25 +
.../ReplicaSetNoPrimary/LastUpdateTime.yml | 33 +
.../max_staleness/ReplicaSetNoPrimary/Nearest.yml | 33 +
.../max_staleness/ReplicaSetNoPrimary/Nearest2.yml | 33 +
.../ReplicaSetNoPrimary/NoKnownServers.yml | 15 +
.../ReplicaSetNoPrimary/PrimaryPreferred.yml | 27 +
.../ReplicaSetNoPrimary/PrimaryPreferred_tags.yml | 36 +
.../ReplicaSetNoPrimary/Secondary.yml | 51 +
.../ReplicaSetNoPrimary/SecondaryPreferred.yml | 26 +
.../SecondaryPreferred_tags.yml | 51 +
.../ReplicaSetNoPrimary/ZeroMaxStaleness.yml | 23 +
.../DefaultNoMaxStaleness.yml | 26 +
.../ReplicaSetWithPrimary/Incompatible.yml | 25 +
.../ReplicaSetWithPrimary/LastUpdateTime.yml | 35 +
.../ReplicaSetWithPrimary/LongHeartbeat.yml | 29 +
.../ReplicaSetWithPrimary/LongHeartbeat2.yml | 25 +
.../ReplicaSetWithPrimary/MaxStalenessTooSmall.yml | 26 +
.../MaxStalenessWithModePrimary.yml | 23 +
.../ReplicaSetWithPrimary/Nearest.yml | 33 +
.../ReplicaSetWithPrimary/Nearest2.yml | 33 +
.../ReplicaSetWithPrimary/Nearest_tags.yml | 36 +
.../ReplicaSetWithPrimary/PrimaryPreferred.yml | 27 +
.../PrimaryPreferred_incompatible.yml | 27 +
.../ReplicaSetWithPrimary/SecondaryPreferred.yml | 26 +
.../SecondaryPreferred_tags.yml | 59 +
.../SecondaryPreferred_tags2.yml | 43 +
.../ReplicaSetWithPrimary/Secondary_tags.yml | 59 +
.../ReplicaSetWithPrimary/Secondary_tags2.yml | 43 +
.../ReplicaSetWithPrimary/ZeroMaxStaleness.yml | 23 +
.../support/max_staleness/Sharded/Incompatible.yml | 25 +
.../max_staleness/Sharded/SmallMaxStaleness.yml | 28 +
spec/support/max_staleness/Single/Incompatible.yml | 18 +
.../max_staleness/Single/SmallMaxStaleness.yml | 20 +
.../max_staleness/Unknown/SmallMaxStaleness.yml | 14 +
spec/support/sdam/rs/discover_arbiters.yml | 41 +
spec/support/sdam/rs/discover_passives.yml | 77 +
spec/support/sdam/rs/discover_primary.yml | 40 +
spec/support/sdam/rs/discover_secondary.yml | 41 +
spec/support/sdam/rs/discovery.yml | 195 ++
spec/support/sdam/rs/equal_electionids.yml | 48 +
spec/support/sdam/rs/ghost_discovered.yml | 39 +
spec/support/sdam/rs/hosts_differ_from_seeds.yml | 34 +
spec/support/sdam/rs/member_reconfig.yml | 68 +
spec/support/sdam/rs/member_standalone.yml | 60 +
spec/support/sdam/rs/new_primary.yml | 74 +
.../support/sdam/rs/new_primary_new_electionid.yml | 101 +
.../support/sdam/rs/new_primary_new_setversion.yml | 101 +
.../support/sdam/rs/new_primary_wrong_set_name.yml | 71 +
spec/support/sdam/rs/non_rs_member.yml | 31 +
spec/support/sdam/rs/normalize_case.yml | 49 +
spec/support/sdam/rs/null_election_id.yml | 152 +
.../support/sdam/rs/primary_becomes_standalone.yml | 52 +
spec/support/sdam/rs/primary_changes_set_name.yml | 57 +
spec/support/sdam/rs/primary_disconnect.yml | 56 +
.../sdam/rs/primary_disconnect_electionid.yml | 159 +
.../sdam/rs/primary_disconnect_setversion.yml | 159 +
spec/support/sdam/rs/primary_mismatched_me.yml | 37 +
.../support/sdam/rs/primary_reports_new_member.yml | 163 +
.../rs/primary_to_no_primary_mismatched_me.yml | 75 +
spec/support/sdam/rs/primary_wrong_set_name.yml | 27 +
spec/support/sdam/rs/response_from_removed.yml | 63 +
spec/support/sdam/rs/rsother_discovered.yml | 62 +
spec/support/sdam/rs/sec_not_auth.yml | 49 +
spec/support/sdam/rs/secondary_mismatched_me.yml | 37 +
spec/support/sdam/rs/secondary_wrong_set_name.yml | 28 +
.../rs/secondary_wrong_set_name_with_primary.yml | 69 +
.../sdam/rs/set_version_without_electionid.yml | 69 +
.../sdam/rs/setversion_without_electionid.yml | 69 +
spec/support/sdam/rs/stepdown_change_set_name.yml | 59 +
spec/support/sdam/rs/unexpected_mongos.yml | 26 +
.../sdam/rs/use_setversion_without_electionid.yml | 99 +
spec/support/sdam/rs/wrong_set_name.yml | 35 +
spec/support/sdam/sharded/mongos_disconnect.yml | 104 +
spec/support/sdam/sharded/multiple_mongoses.yml | 46 +
spec/support/sdam/sharded/non_mongos_removed.yml | 41 +
spec/support/sdam/sharded/normalize_uri_case.yml | 32 +
spec/support/sdam/sharded/single_mongos.yml | 33 +
.../sdam/single/direct_connection_external_ip.yml | 34 +
.../sdam/single/direct_connection_mongos.yml | 33 +
.../sdam/single/direct_connection_rsarbiter.yml | 35 +
.../sdam/single/direct_connection_rsprimary.yml | 34 +
.../sdam/single/direct_connection_rssecondary.yml | 35 +
.../sdam/single/direct_connection_slave.yml | 32 +
.../sdam/single/direct_connection_standalone.yml | 32 +
spec/support/sdam/single/not_ok_response.yml | 38 +
spec/support/sdam/single/standalone_removed.yml | 32 +
spec/support/sdam/single/unavailable_seed.yml | 28 +
spec/support/sdam_monitoring.rb | 144 +
.../replica_set_with_no_primary.yml | 112 +
.../sdam_monitoring/replica_set_with_primary.yml | 111 +
.../sdam_monitoring/replica_set_with_removal.yml | 106 +
.../sdam_monitoring/required_replica_set.yml | 84 +
spec/support/sdam_monitoring/standalone.yml | 70 +
spec/support/server_discovery_and_monitoring.rb | 219 ++
spec/support/server_selection.rb | 163 +
spec/support/server_selection/rtt/first_value.yml | 4 +
.../server_selection/rtt/first_value_zero.yml | 4 +
spec/support/server_selection/rtt/value_test_1.yml | 4 +
spec/support/server_selection/rtt/value_test_2.yml | 4 +
spec/support/server_selection/rtt/value_test_3.yml | 4 +
spec/support/server_selection/rtt/value_test_4.yml | 4 +
spec/support/server_selection/rtt/value_test_5.yml | 4 +
.../selection/ReplicaSetNoPrimary/read/Nearest.yml | 26 +
.../ReplicaSetNoPrimary/read/Nearest_multiple.yml | 27 +
.../read/Nearest_non_matching.yml | 21 +
.../selection/ReplicaSetNoPrimary/read/Primary.yml | 21 +
.../ReplicaSetNoPrimary/read/PrimaryPreferred.yml | 26 +
.../read/PrimaryPreferred_non_matching.yml | 21 +
.../ReplicaSetNoPrimary/read/Secondary.yml | 26 +
.../read/SecondaryPreferred.yml | 26 +
.../read/SecondaryPreferred_non_matching.yml | 21 +
.../read/Secondary_multi_tags.yml | 31 +
.../read/Secondary_multi_tags2.yml | 31 +
.../read/Secondary_non_matching.yml | 21 +
.../ReplicaSetWithPrimary/read/Nearest.yml | 33 +
.../read/Nearest_multiple.yml | 34 +
.../read/Nearest_non_matching.yml | 26 +
.../ReplicaSetWithPrimary/read/Primary.yml | 29 +
.../read/PrimaryPreferred.yml | 29 +
.../read/PrimaryPreferred_non_matching.yml | 29 +
.../ReplicaSetWithPrimary/read/Secondary.yml | 31 +
.../read/SecondaryPreferred.yml | 31 +
.../read/SecondaryPreferred_non_matching.yml | 29 +
.../read/SecondaryPreferred_tags.yml | 28 +
.../read/Secondary_non_matching.yml | 26 +
.../selection/Sharded/read/SecondaryPreferred.yml | 26 +
.../selection/Single/read/SecondaryPreferred.yml | 19 +
.../selection/Unknown/read/SecondaryPreferred.yml | 11 +
spec/support/server_selection_rtt.rb | 41 +
spec/support/shared/protocol.rb | 31 +
spec/support/shared/server_selector.rb | 184 ++
spec/support/travis.rb | 14 +
test/functional/authentication_test.rb | 35 -
test/functional/bulk_api_stress_test.rb | 133 -
test/functional/bulk_write_collection_view_test.rb | 1129 -------
test/functional/client_test.rb | 565 ----
test/functional/collection_test.rb | 2073 ------------
test/functional/collection_writer_test.rb | 83 -
test/functional/conversions_test.rb | 163 -
test/functional/cursor_fail_test.rb | 63 -
test/functional/cursor_message_test.rb | 57 -
test/functional/cursor_test.rb | 625 ----
test/functional/db_api_test.rb | 819 -----
test/functional/db_test.rb | 344 --
test/functional/grid_file_system_test.rb | 285 --
test/functional/grid_io_test.rb | 252 --
test/functional/grid_test.rb | 273 --
test/functional/pool_test.rb | 62 -
test/functional/safe_test.rb | 98 -
test/functional/support_test.rb | 62 -
test/functional/timeout_test.rb | 58 -
test/functional/uri_test.rb | 330 --
test/functional/write_concern_test.rb | 118 -
test/helpers/general.rb | 50 -
test/helpers/test_unit.rb | 317 --
test/replica_set/authentication_test.rb | 35 -
test/replica_set/basic_test.rb | 174 -
test/replica_set/client_test.rb | 341 --
test/replica_set/complex_connect_test.rb | 77 -
test/replica_set/connection_test.rb | 138 -
test/replica_set/count_test.rb | 64 -
test/replica_set/cursor_test.rb | 212 --
test/replica_set/insert_test.rb | 140 -
test/replica_set/max_values_test.rb | 145 -
test/replica_set/pinning_test.rb | 55 -
test/replica_set/query_test.rb | 73 -
test/replica_set/read_preference_test.rb | 214 --
test/replica_set/refresh_test.rb | 175 -
test/replica_set/replication_ack_test.rb | 94 -
test/sharded_cluster/basic_test.rb | 197 --
test/shared/authentication/basic_auth_shared.rb | 286 --
test/shared/authentication/bulk_api_auth_shared.rb | 259 --
test/shared/authentication/gssapi_shared.rb | 164 -
test/shared/authentication/sasl_plain_shared.rb | 96 -
test/shared/ssl_shared.rb | 235 --
test/test_helper.rb | 56 -
test/threading/basic_test.rb | 120 -
test/tools/mongo_config.rb | 608 ----
test/tools/mongo_config_test.rb | 160 -
test/unit/client_test.rb | 347 --
test/unit/collection_test.rb | 166 -
test/unit/connection_test.rb | 325 --
test/unit/cursor_test.rb | 299 --
test/unit/db_test.rb | 136 -
test/unit/grid_test.rb | 76 -
test/unit/mongo_sharded_client_test.rb | 48 -
test/unit/node_test.rb | 93 -
test/unit/pool_manager_test.rb | 142 -
test/unit/read_pref_test.rb | 115 -
test/unit/read_test.rb | 159 -
test/unit/safe_test.rb | 158 -
test/unit/sharding_pool_manager_test.rb | 84 -
test/unit/write_concern_test.rb | 175 -
687 files changed, 71194 insertions(+), 23744 deletions(-)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mongo.git
More information about the Pkg-ruby-extras-commits
mailing list