mongo 1.3.0 → 1.12.5
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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/{LICENSE.txt → LICENSE} +1 -1
- data/README.md +122 -271
- data/Rakefile +25 -209
- data/VERSION +1 -0
- data/bin/mongo_console +31 -9
- data/lib/mongo/bulk_write_collection_view.rb +387 -0
- data/lib/mongo/collection.rb +576 -269
- data/lib/mongo/collection_writer.rb +364 -0
- data/lib/mongo/connection/node.rb +249 -0
- data/lib/mongo/connection/pool.rb +340 -0
- data/lib/mongo/connection/pool_manager.rb +320 -0
- data/lib/mongo/connection/sharding_pool_manager.rb +67 -0
- data/lib/mongo/connection/socket/socket_util.rb +37 -0
- data/lib/mongo/connection/socket/ssl_socket.rb +95 -0
- data/lib/mongo/connection/socket/tcp_socket.rb +87 -0
- data/lib/mongo/connection/socket/unix_socket.rb +39 -0
- data/lib/mongo/connection/socket.rb +18 -0
- data/lib/mongo/connection.rb +7 -875
- data/lib/mongo/cursor.rb +403 -117
- data/lib/mongo/db.rb +444 -243
- data/lib/mongo/exception.rb +145 -0
- data/lib/mongo/functional/authentication.rb +455 -0
- data/lib/mongo/functional/logging.rb +85 -0
- data/lib/mongo/functional/read_preference.rb +183 -0
- data/lib/mongo/functional/scram.rb +556 -0
- data/lib/mongo/functional/uri_parser.rb +409 -0
- data/lib/mongo/functional/write_concern.rb +66 -0
- data/lib/mongo/functional.rb +20 -0
- data/lib/mongo/gridfs/grid.rb +30 -24
- data/lib/mongo/gridfs/grid_ext.rb +6 -10
- data/lib/mongo/gridfs/grid_file_system.rb +38 -20
- data/lib/mongo/gridfs/grid_io.rb +84 -75
- data/lib/mongo/gridfs.rb +18 -0
- data/lib/mongo/legacy.rb +140 -0
- data/lib/mongo/mongo_client.rb +697 -0
- data/lib/mongo/mongo_replica_set_client.rb +535 -0
- data/lib/mongo/mongo_sharded_client.rb +159 -0
- data/lib/mongo/networking.rb +372 -0
- data/lib/mongo/{util → utils}/conversions.rb +29 -8
- data/lib/mongo/{util → utils}/core_ext.rb +28 -18
- data/lib/mongo/{util → utils}/server_version.rb +4 -6
- data/lib/mongo/{util → utils}/support.rb +29 -31
- data/lib/mongo/utils/thread_local_variable_manager.rb +25 -0
- data/lib/mongo/utils.rb +19 -0
- data/lib/mongo.rb +51 -50
- data/mongo.gemspec +29 -32
- data/test/functional/authentication_test.rb +39 -0
- data/test/functional/bulk_api_stress_test.rb +133 -0
- data/test/functional/bulk_write_collection_view_test.rb +1198 -0
- data/test/functional/client_test.rb +627 -0
- data/test/functional/collection_test.rb +2175 -0
- data/test/functional/collection_writer_test.rb +83 -0
- data/test/{conversions_test.rb → functional/conversions_test.rb} +47 -3
- data/test/functional/cursor_fail_test.rb +57 -0
- data/test/functional/cursor_message_test.rb +56 -0
- data/test/functional/cursor_test.rb +683 -0
- data/test/functional/db_api_test.rb +835 -0
- data/test/functional/db_connection_test.rb +25 -0
- data/test/functional/db_test.rb +348 -0
- data/test/functional/grid_file_system_test.rb +285 -0
- data/test/{grid_io_test.rb → functional/grid_io_test.rb} +72 -11
- data/test/{grid_test.rb → functional/grid_test.rb} +88 -15
- data/test/functional/pool_test.rb +136 -0
- data/test/functional/safe_test.rb +98 -0
- data/test/functional/ssl_test.rb +29 -0
- data/test/functional/support_test.rb +62 -0
- data/test/functional/timeout_test.rb +60 -0
- data/test/functional/uri_test.rb +446 -0
- data/test/functional/write_concern_test.rb +118 -0
- data/test/helpers/general.rb +50 -0
- data/test/helpers/test_unit.rb +476 -0
- data/test/replica_set/authentication_test.rb +37 -0
- data/test/replica_set/basic_test.rb +189 -0
- data/test/replica_set/client_test.rb +393 -0
- data/test/replica_set/connection_test.rb +138 -0
- data/test/replica_set/count_test.rb +66 -0
- data/test/replica_set/cursor_test.rb +220 -0
- data/test/replica_set/insert_test.rb +157 -0
- data/test/replica_set/max_values_test.rb +151 -0
- data/test/replica_set/pinning_test.rb +105 -0
- data/test/replica_set/query_test.rb +73 -0
- data/test/replica_set/read_preference_test.rb +219 -0
- data/test/replica_set/refresh_test.rb +211 -0
- data/test/replica_set/replication_ack_test.rb +95 -0
- data/test/replica_set/ssl_test.rb +32 -0
- data/test/sharded_cluster/basic_test.rb +203 -0
- data/test/shared/authentication/basic_auth_shared.rb +260 -0
- data/test/shared/authentication/bulk_api_auth_shared.rb +249 -0
- data/test/shared/authentication/gssapi_shared.rb +176 -0
- data/test/shared/authentication/sasl_plain_shared.rb +96 -0
- data/test/shared/authentication/scram_shared.rb +92 -0
- data/test/shared/ssl_shared.rb +235 -0
- data/test/test_helper.rb +53 -94
- data/test/threading/basic_test.rb +120 -0
- data/test/tools/mongo_config.rb +708 -0
- data/test/tools/mongo_config_test.rb +160 -0
- data/test/unit/client_test.rb +381 -0
- data/test/unit/collection_test.rb +89 -53
- data/test/unit/connection_test.rb +282 -32
- data/test/unit/cursor_test.rb +206 -8
- data/test/unit/db_test.rb +55 -13
- data/test/unit/grid_test.rb +43 -16
- data/test/unit/mongo_sharded_client_test.rb +48 -0
- data/test/unit/node_test.rb +93 -0
- data/test/unit/pool_manager_test.rb +111 -0
- data/test/unit/read_pref_test.rb +406 -0
- data/test/unit/read_test.rb +159 -0
- data/test/unit/safe_test.rb +69 -36
- data/test/unit/sharding_pool_manager_test.rb +84 -0
- data/test/unit/write_concern_test.rb +175 -0
- data.tar.gz.sig +3 -0
- metadata +227 -216
- metadata.gz.sig +0 -0
- data/docs/CREDITS.md +0 -123
- data/docs/FAQ.md +0 -116
- data/docs/GridFS.md +0 -158
- data/docs/HISTORY.md +0 -244
- data/docs/RELEASES.md +0 -33
- data/docs/REPLICA_SETS.md +0 -72
- data/docs/TUTORIAL.md +0 -247
- data/docs/WRITE_CONCERN.md +0 -28
- data/lib/mongo/exceptions.rb +0 -71
- data/lib/mongo/gridfs/grid_io_fix.rb +0 -38
- data/lib/mongo/repl_set_connection.rb +0 -342
- data/lib/mongo/test.rb +0 -20
- data/lib/mongo/util/pool.rb +0 -177
- data/lib/mongo/util/uri_parser.rb +0 -185
- data/test/async/collection_test.rb +0 -224
- data/test/async/connection_test.rb +0 -24
- data/test/async/cursor_test.rb +0 -162
- data/test/async/worker_pool_test.rb +0 -99
- data/test/auxillary/1.4_features.rb +0 -166
- data/test/auxillary/authentication_test.rb +0 -68
- data/test/auxillary/autoreconnect_test.rb +0 -41
- data/test/auxillary/fork_test.rb +0 -30
- data/test/auxillary/repl_set_auth_test.rb +0 -58
- data/test/auxillary/slave_connection_test.rb +0 -36
- data/test/auxillary/threaded_authentication_test.rb +0 -101
- data/test/bson/binary_test.rb +0 -15
- data/test/bson/bson_test.rb +0 -649
- data/test/bson/byte_buffer_test.rb +0 -208
- data/test/bson/hash_with_indifferent_access_test.rb +0 -38
- data/test/bson/json_test.rb +0 -17
- data/test/bson/object_id_test.rb +0 -154
- data/test/bson/ordered_hash_test.rb +0 -204
- data/test/bson/timestamp_test.rb +0 -24
- data/test/collection_test.rb +0 -910
- data/test/connection_test.rb +0 -309
- data/test/cursor_fail_test.rb +0 -75
- data/test/cursor_message_test.rb +0 -43
- data/test/cursor_test.rb +0 -483
- data/test/db_api_test.rb +0 -726
- data/test/db_connection_test.rb +0 -15
- data/test/db_test.rb +0 -287
- data/test/grid_file_system_test.rb +0 -243
- data/test/load/resque/load.rb +0 -21
- data/test/load/resque/processor.rb +0 -26
- data/test/load/thin/load.rb +0 -24
- data/test/load/unicorn/load.rb +0 -23
- data/test/load/unicorn/unicorn.rb +0 -29
- data/test/replica_sets/connect_test.rb +0 -94
- data/test/replica_sets/connection_string_test.rb +0 -32
- data/test/replica_sets/count_test.rb +0 -35
- data/test/replica_sets/insert_test.rb +0 -53
- data/test/replica_sets/pooled_insert_test.rb +0 -55
- data/test/replica_sets/query_secondaries.rb +0 -96
- data/test/replica_sets/query_test.rb +0 -51
- data/test/replica_sets/replication_ack_test.rb +0 -66
- data/test/replica_sets/rs_test_helper.rb +0 -27
- data/test/safe_test.rb +0 -68
- data/test/support/hash_with_indifferent_access.rb +0 -186
- data/test/support/keys.rb +0 -45
- data/test/support_test.rb +0 -18
- data/test/threading/threading_with_large_pool_test.rb +0 -90
- data/test/threading_test.rb +0 -87
- data/test/tools/auth_repl_set_manager.rb +0 -14
- data/test/tools/load.rb +0 -58
- data/test/tools/repl_set_manager.rb +0 -266
- data/test/tools/sharding_manager.rb +0 -202
- data/test/tools/test.rb +0 -4
- data/test/unit/pool_test.rb +0 -9
- data/test/unit/repl_set_connection_test.rb +0 -59
- data/test/uri_test.rb +0 -91
metadata
CHANGED
@@ -1,248 +1,259 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 1.3.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.12.5
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
6
|
+
authors:
|
7
|
+
- Emily Stolfo
|
8
|
+
- Durran Jordan
|
9
|
+
- Gary Murakami
|
10
|
+
- Tyler Brock
|
11
|
+
- Brandon Black
|
16
12
|
autorequire:
|
17
13
|
bindir: bin
|
18
|
-
cert_chain:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
14
|
+
cert_chain:
|
15
|
+
- |
|
16
|
+
-----BEGIN CERTIFICATE-----
|
17
|
+
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtkcml2
|
18
|
+
ZXItcnVieTEVMBMGCgmSJomT8ixkARkWBTEwZ2VuMRMwEQYKCZImiZPyLGQBGRYD
|
19
|
+
Y29tMB4XDTE1MDMzMTA5NDIzNVoXDTE2MDMzMDA5NDIzNVowQjEUMBIGA1UEAwwL
|
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
|
+
KoZIhvcNAQEFBQADggEBAH+jEbhVRjZke7ZgM3EjERSblLM8RtHZBczjQKuG0Eor
|
31
|
+
HUF/hyq7D+mz75Ch7K8m5NRwvppePbBV4lAF+DzuDGjh+V6cz4wNKaWWFIL8eNCY
|
32
|
+
F+0vDVtGok06CXnb2swHEtd1Z8zpQviJ3xpSGAvF88+glzvPQmCyA071kPUAmDvd
|
33
|
+
5og5x3Bv8IxaxmEpFndXhT3NHL/tOBeT9VJuJWMCxOXRCv4y9bBBTrxoRVuos59Z
|
34
|
+
XZOS48LlWh15EG4yZo/gRzqNAW2LUIkYA5eMS2Kp6r+KV8IBUO/LaHdrXbdilpa8
|
35
|
+
BRsuCo7UZDbFVRns04HLyjVvkj+K/ywIcdKdS0csz5M=
|
36
|
+
-----END CERTIFICATE-----
|
37
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
38
|
+
dependencies:
|
39
|
+
- !ruby/object:Gem::Dependency
|
24
40
|
name: bson
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
hash: 27
|
32
|
-
segments:
|
33
|
-
- 1
|
34
|
-
- 3
|
35
|
-
- 0
|
36
|
-
version: 1.3.0
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - '='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.12.5
|
37
46
|
type: :runtime
|
38
|
-
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - '='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.12.5
|
39
53
|
description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
|
40
54
|
email: mongodb-dev@googlegroups.com
|
41
|
-
executables:
|
55
|
+
executables:
|
42
56
|
- mongo_console
|
43
57
|
extensions: []
|
44
|
-
|
45
|
-
|
46
|
-
-
|
47
|
-
files:
|
58
|
+
extra_rdoc_files: []
|
59
|
+
files:
|
60
|
+
- LICENSE
|
48
61
|
- README.md
|
49
62
|
- Rakefile
|
50
|
-
-
|
51
|
-
-
|
63
|
+
- VERSION
|
64
|
+
- bin/mongo_console
|
52
65
|
- lib/mongo.rb
|
53
|
-
- lib/mongo/
|
66
|
+
- lib/mongo/bulk_write_collection_view.rb
|
54
67
|
- lib/mongo/collection.rb
|
55
|
-
- lib/mongo/
|
68
|
+
- lib/mongo/collection_writer.rb
|
56
69
|
- lib/mongo/connection.rb
|
57
|
-
- lib/mongo/
|
58
|
-
- lib/mongo/
|
59
|
-
- lib/mongo/
|
60
|
-
- lib/mongo/
|
70
|
+
- lib/mongo/connection/node.rb
|
71
|
+
- lib/mongo/connection/pool.rb
|
72
|
+
- lib/mongo/connection/pool_manager.rb
|
73
|
+
- lib/mongo/connection/sharding_pool_manager.rb
|
74
|
+
- lib/mongo/connection/socket.rb
|
75
|
+
- lib/mongo/connection/socket/socket_util.rb
|
76
|
+
- lib/mongo/connection/socket/ssl_socket.rb
|
77
|
+
- lib/mongo/connection/socket/tcp_socket.rb
|
78
|
+
- lib/mongo/connection/socket/unix_socket.rb
|
79
|
+
- lib/mongo/cursor.rb
|
80
|
+
- lib/mongo/db.rb
|
81
|
+
- lib/mongo/exception.rb
|
82
|
+
- lib/mongo/functional.rb
|
83
|
+
- lib/mongo/functional/authentication.rb
|
84
|
+
- lib/mongo/functional/logging.rb
|
85
|
+
- lib/mongo/functional/read_preference.rb
|
86
|
+
- lib/mongo/functional/scram.rb
|
87
|
+
- lib/mongo/functional/uri_parser.rb
|
88
|
+
- lib/mongo/functional/write_concern.rb
|
89
|
+
- lib/mongo/gridfs.rb
|
61
90
|
- lib/mongo/gridfs/grid.rb
|
62
91
|
- lib/mongo/gridfs/grid_ext.rb
|
63
|
-
- lib/mongo/gridfs/
|
64
|
-
- lib/mongo/
|
65
|
-
- lib/mongo/
|
66
|
-
- lib/mongo/
|
67
|
-
- lib/mongo/
|
68
|
-
- lib/mongo/
|
69
|
-
- lib/mongo/
|
70
|
-
- lib/mongo/
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
- test/
|
81
|
-
- test/
|
82
|
-
- test/
|
92
|
+
- lib/mongo/gridfs/grid_file_system.rb
|
93
|
+
- lib/mongo/gridfs/grid_io.rb
|
94
|
+
- lib/mongo/legacy.rb
|
95
|
+
- lib/mongo/mongo_client.rb
|
96
|
+
- lib/mongo/mongo_replica_set_client.rb
|
97
|
+
- lib/mongo/mongo_sharded_client.rb
|
98
|
+
- lib/mongo/networking.rb
|
99
|
+
- lib/mongo/utils.rb
|
100
|
+
- lib/mongo/utils/conversions.rb
|
101
|
+
- lib/mongo/utils/core_ext.rb
|
102
|
+
- lib/mongo/utils/server_version.rb
|
103
|
+
- lib/mongo/utils/support.rb
|
104
|
+
- lib/mongo/utils/thread_local_variable_manager.rb
|
105
|
+
- mongo.gemspec
|
106
|
+
- test/functional/authentication_test.rb
|
107
|
+
- test/functional/bulk_api_stress_test.rb
|
108
|
+
- test/functional/bulk_write_collection_view_test.rb
|
109
|
+
- test/functional/client_test.rb
|
110
|
+
- test/functional/collection_test.rb
|
111
|
+
- test/functional/collection_writer_test.rb
|
112
|
+
- test/functional/conversions_test.rb
|
113
|
+
- test/functional/cursor_fail_test.rb
|
114
|
+
- test/functional/cursor_message_test.rb
|
115
|
+
- test/functional/cursor_test.rb
|
116
|
+
- test/functional/db_api_test.rb
|
117
|
+
- test/functional/db_connection_test.rb
|
118
|
+
- test/functional/db_test.rb
|
119
|
+
- test/functional/grid_file_system_test.rb
|
120
|
+
- test/functional/grid_io_test.rb
|
121
|
+
- test/functional/grid_test.rb
|
122
|
+
- test/functional/pool_test.rb
|
123
|
+
- test/functional/safe_test.rb
|
124
|
+
- test/functional/ssl_test.rb
|
125
|
+
- test/functional/support_test.rb
|
126
|
+
- test/functional/timeout_test.rb
|
127
|
+
- test/functional/uri_test.rb
|
128
|
+
- test/functional/write_concern_test.rb
|
129
|
+
- test/helpers/general.rb
|
130
|
+
- test/helpers/test_unit.rb
|
131
|
+
- test/replica_set/authentication_test.rb
|
132
|
+
- test/replica_set/basic_test.rb
|
133
|
+
- test/replica_set/client_test.rb
|
134
|
+
- test/replica_set/connection_test.rb
|
135
|
+
- test/replica_set/count_test.rb
|
136
|
+
- test/replica_set/cursor_test.rb
|
137
|
+
- test/replica_set/insert_test.rb
|
138
|
+
- test/replica_set/max_values_test.rb
|
139
|
+
- test/replica_set/pinning_test.rb
|
140
|
+
- test/replica_set/query_test.rb
|
141
|
+
- test/replica_set/read_preference_test.rb
|
142
|
+
- test/replica_set/refresh_test.rb
|
143
|
+
- test/replica_set/replication_ack_test.rb
|
144
|
+
- test/replica_set/ssl_test.rb
|
145
|
+
- test/sharded_cluster/basic_test.rb
|
146
|
+
- test/shared/authentication/basic_auth_shared.rb
|
147
|
+
- test/shared/authentication/bulk_api_auth_shared.rb
|
148
|
+
- test/shared/authentication/gssapi_shared.rb
|
149
|
+
- test/shared/authentication/sasl_plain_shared.rb
|
150
|
+
- test/shared/authentication/scram_shared.rb
|
151
|
+
- test/shared/ssl_shared.rb
|
152
|
+
- test/test_helper.rb
|
153
|
+
- test/threading/basic_test.rb
|
154
|
+
- test/tools/mongo_config.rb
|
155
|
+
- test/tools/mongo_config_test.rb
|
156
|
+
- test/unit/client_test.rb
|
83
157
|
- test/unit/collection_test.rb
|
158
|
+
- test/unit/connection_test.rb
|
84
159
|
- test/unit/cursor_test.rb
|
160
|
+
- test/unit/db_test.rb
|
85
161
|
- test/unit/grid_test.rb
|
86
|
-
- test/unit/
|
87
|
-
- test/unit/
|
162
|
+
- test/unit/mongo_sharded_client_test.rb
|
163
|
+
- test/unit/node_test.rb
|
164
|
+
- test/unit/pool_manager_test.rb
|
165
|
+
- test/unit/read_pref_test.rb
|
166
|
+
- test/unit/read_test.rb
|
88
167
|
- test/unit/safe_test.rb
|
89
|
-
- test/
|
90
|
-
- test/
|
91
|
-
- test/async/collection_test.rb
|
92
|
-
- test/async/cursor_test.rb
|
93
|
-
- test/async/connection_test.rb
|
94
|
-
- test/async/worker_pool_test.rb
|
95
|
-
- test/cursor_test.rb
|
96
|
-
- test/load/unicorn/unicorn.rb
|
97
|
-
- test/load/unicorn/load.rb
|
98
|
-
- test/load/resque/processor.rb
|
99
|
-
- test/load/resque/load.rb
|
100
|
-
- test/load/thin/load.rb
|
101
|
-
- test/grid_test.rb
|
102
|
-
- test/db_api_test.rb
|
103
|
-
- test/auxillary/slave_connection_test.rb
|
104
|
-
- test/auxillary/threaded_authentication_test.rb
|
105
|
-
- test/auxillary/authentication_test.rb
|
106
|
-
- test/auxillary/fork_test.rb
|
107
|
-
- test/auxillary/autoreconnect_test.rb
|
108
|
-
- test/auxillary/repl_set_auth_test.rb
|
109
|
-
- test/auxillary/1.4_features.rb
|
110
|
-
- test/conversions_test.rb
|
111
|
-
- test/connection_test.rb
|
112
|
-
- test/uri_test.rb
|
113
|
-
- test/cursor_message_test.rb
|
114
|
-
- test/tools/test.rb
|
115
|
-
- test/tools/repl_set_manager.rb
|
116
|
-
- test/tools/auth_repl_set_manager.rb
|
117
|
-
- test/tools/load.rb
|
118
|
-
- test/tools/sharding_manager.rb
|
119
|
-
- test/cursor_fail_test.rb
|
120
|
-
- test/threading/threading_with_large_pool_test.rb
|
121
|
-
- test/test_helper.rb
|
122
|
-
- test/grid_io_test.rb
|
123
|
-
- test/bson/byte_buffer_test.rb
|
124
|
-
- test/bson/binary_test.rb
|
125
|
-
- test/bson/object_id_test.rb
|
126
|
-
- test/bson/json_test.rb
|
127
|
-
- test/bson/timestamp_test.rb
|
128
|
-
- test/bson/bson_test.rb
|
129
|
-
- test/bson/ordered_hash_test.rb
|
130
|
-
- test/bson/hash_with_indifferent_access_test.rb
|
131
|
-
- test/support/keys.rb
|
132
|
-
- test/support/hash_with_indifferent_access.rb
|
133
|
-
- test/db_connection_test.rb
|
134
|
-
- test/replica_sets/rs_test_helper.rb
|
135
|
-
- test/replica_sets/pooled_insert_test.rb
|
136
|
-
- test/replica_sets/count_test.rb
|
137
|
-
- test/replica_sets/replication_ack_test.rb
|
138
|
-
- test/replica_sets/query_secondaries.rb
|
139
|
-
- test/replica_sets/query_test.rb
|
140
|
-
- test/replica_sets/connection_string_test.rb
|
141
|
-
- test/replica_sets/insert_test.rb
|
142
|
-
- test/replica_sets/connect_test.rb
|
143
|
-
- test/safe_test.rb
|
144
|
-
- test/support_test.rb
|
145
|
-
- test/threading_test.rb
|
146
|
-
has_rdoc: true
|
168
|
+
- test/unit/sharding_pool_manager_test.rb
|
169
|
+
- test/unit/write_concern_test.rb
|
147
170
|
homepage: http://www.mongodb.org
|
148
|
-
licenses:
|
149
|
-
|
171
|
+
licenses:
|
172
|
+
- Apache License Version 2.0
|
173
|
+
metadata: {}
|
150
174
|
post_install_message:
|
151
|
-
rdoc_options:
|
152
|
-
|
153
|
-
- README.md
|
154
|
-
- --inline-source
|
155
|
-
require_paths:
|
175
|
+
rdoc_options: []
|
176
|
+
require_paths:
|
156
177
|
- lib
|
157
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
-
|
159
|
-
requirements:
|
178
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
160
180
|
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
version: "0"
|
166
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
|
-
requirements:
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
169
185
|
- - ">="
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
|
172
|
-
segments:
|
173
|
-
- 0
|
174
|
-
version: "0"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
175
188
|
requirements: []
|
176
|
-
|
177
|
-
|
178
|
-
rubygems_version: 1.4.1
|
189
|
+
rubyforge_project: mongo
|
190
|
+
rubygems_version: 2.4.6
|
179
191
|
signing_key:
|
180
|
-
specification_version:
|
181
|
-
summary: Ruby driver for
|
182
|
-
test_files:
|
183
|
-
- test/
|
184
|
-
- test/
|
185
|
-
- test/
|
192
|
+
specification_version: 4
|
193
|
+
summary: Ruby driver for MongoDB
|
194
|
+
test_files:
|
195
|
+
- test/functional/authentication_test.rb
|
196
|
+
- test/functional/bulk_api_stress_test.rb
|
197
|
+
- test/functional/bulk_write_collection_view_test.rb
|
198
|
+
- test/functional/client_test.rb
|
199
|
+
- test/functional/collection_test.rb
|
200
|
+
- test/functional/collection_writer_test.rb
|
201
|
+
- test/functional/conversions_test.rb
|
202
|
+
- test/functional/cursor_fail_test.rb
|
203
|
+
- test/functional/cursor_message_test.rb
|
204
|
+
- test/functional/cursor_test.rb
|
205
|
+
- test/functional/db_api_test.rb
|
206
|
+
- test/functional/db_connection_test.rb
|
207
|
+
- test/functional/db_test.rb
|
208
|
+
- test/functional/grid_file_system_test.rb
|
209
|
+
- test/functional/grid_io_test.rb
|
210
|
+
- test/functional/grid_test.rb
|
211
|
+
- test/functional/pool_test.rb
|
212
|
+
- test/functional/safe_test.rb
|
213
|
+
- test/functional/ssl_test.rb
|
214
|
+
- test/functional/support_test.rb
|
215
|
+
- test/functional/timeout_test.rb
|
216
|
+
- test/functional/uri_test.rb
|
217
|
+
- test/functional/write_concern_test.rb
|
218
|
+
- test/helpers/general.rb
|
219
|
+
- test/helpers/test_unit.rb
|
220
|
+
- test/replica_set/authentication_test.rb
|
221
|
+
- test/replica_set/basic_test.rb
|
222
|
+
- test/replica_set/client_test.rb
|
223
|
+
- test/replica_set/connection_test.rb
|
224
|
+
- test/replica_set/count_test.rb
|
225
|
+
- test/replica_set/cursor_test.rb
|
226
|
+
- test/replica_set/insert_test.rb
|
227
|
+
- test/replica_set/max_values_test.rb
|
228
|
+
- test/replica_set/pinning_test.rb
|
229
|
+
- test/replica_set/query_test.rb
|
230
|
+
- test/replica_set/read_preference_test.rb
|
231
|
+
- test/replica_set/refresh_test.rb
|
232
|
+
- test/replica_set/replication_ack_test.rb
|
233
|
+
- test/replica_set/ssl_test.rb
|
234
|
+
- test/sharded_cluster/basic_test.rb
|
235
|
+
- test/shared/authentication/basic_auth_shared.rb
|
236
|
+
- test/shared/authentication/bulk_api_auth_shared.rb
|
237
|
+
- test/shared/authentication/gssapi_shared.rb
|
238
|
+
- test/shared/authentication/sasl_plain_shared.rb
|
239
|
+
- test/shared/authentication/scram_shared.rb
|
240
|
+
- test/shared/ssl_shared.rb
|
241
|
+
- test/test_helper.rb
|
242
|
+
- test/threading/basic_test.rb
|
243
|
+
- test/tools/mongo_config.rb
|
244
|
+
- test/tools/mongo_config_test.rb
|
245
|
+
- test/unit/client_test.rb
|
186
246
|
- test/unit/collection_test.rb
|
247
|
+
- test/unit/connection_test.rb
|
187
248
|
- test/unit/cursor_test.rb
|
249
|
+
- test/unit/db_test.rb
|
188
250
|
- test/unit/grid_test.rb
|
189
|
-
- test/unit/
|
190
|
-
- test/unit/
|
251
|
+
- test/unit/mongo_sharded_client_test.rb
|
252
|
+
- test/unit/node_test.rb
|
253
|
+
- test/unit/pool_manager_test.rb
|
254
|
+
- test/unit/read_pref_test.rb
|
255
|
+
- test/unit/read_test.rb
|
191
256
|
- test/unit/safe_test.rb
|
192
|
-
- test/
|
193
|
-
- test/
|
194
|
-
|
195
|
-
- test/async/cursor_test.rb
|
196
|
-
- test/async/connection_test.rb
|
197
|
-
- test/async/worker_pool_test.rb
|
198
|
-
- test/cursor_test.rb
|
199
|
-
- test/load/unicorn/unicorn.rb
|
200
|
-
- test/load/unicorn/load.rb
|
201
|
-
- test/load/resque/processor.rb
|
202
|
-
- test/load/resque/load.rb
|
203
|
-
- test/load/thin/load.rb
|
204
|
-
- test/grid_test.rb
|
205
|
-
- test/db_api_test.rb
|
206
|
-
- test/auxillary/slave_connection_test.rb
|
207
|
-
- test/auxillary/threaded_authentication_test.rb
|
208
|
-
- test/auxillary/authentication_test.rb
|
209
|
-
- test/auxillary/fork_test.rb
|
210
|
-
- test/auxillary/autoreconnect_test.rb
|
211
|
-
- test/auxillary/repl_set_auth_test.rb
|
212
|
-
- test/auxillary/1.4_features.rb
|
213
|
-
- test/conversions_test.rb
|
214
|
-
- test/connection_test.rb
|
215
|
-
- test/uri_test.rb
|
216
|
-
- test/cursor_message_test.rb
|
217
|
-
- test/tools/test.rb
|
218
|
-
- test/tools/repl_set_manager.rb
|
219
|
-
- test/tools/auth_repl_set_manager.rb
|
220
|
-
- test/tools/load.rb
|
221
|
-
- test/tools/sharding_manager.rb
|
222
|
-
- test/cursor_fail_test.rb
|
223
|
-
- test/threading/threading_with_large_pool_test.rb
|
224
|
-
- test/test_helper.rb
|
225
|
-
- test/grid_io_test.rb
|
226
|
-
- test/bson/byte_buffer_test.rb
|
227
|
-
- test/bson/binary_test.rb
|
228
|
-
- test/bson/object_id_test.rb
|
229
|
-
- test/bson/json_test.rb
|
230
|
-
- test/bson/timestamp_test.rb
|
231
|
-
- test/bson/bson_test.rb
|
232
|
-
- test/bson/ordered_hash_test.rb
|
233
|
-
- test/bson/hash_with_indifferent_access_test.rb
|
234
|
-
- test/support/keys.rb
|
235
|
-
- test/support/hash_with_indifferent_access.rb
|
236
|
-
- test/db_connection_test.rb
|
237
|
-
- test/replica_sets/rs_test_helper.rb
|
238
|
-
- test/replica_sets/pooled_insert_test.rb
|
239
|
-
- test/replica_sets/count_test.rb
|
240
|
-
- test/replica_sets/replication_ack_test.rb
|
241
|
-
- test/replica_sets/query_secondaries.rb
|
242
|
-
- test/replica_sets/query_test.rb
|
243
|
-
- test/replica_sets/connection_string_test.rb
|
244
|
-
- test/replica_sets/insert_test.rb
|
245
|
-
- test/replica_sets/connect_test.rb
|
246
|
-
- test/safe_test.rb
|
247
|
-
- test/support_test.rb
|
248
|
-
- test/threading_test.rb
|
257
|
+
- test/unit/sharding_pool_manager_test.rb
|
258
|
+
- test/unit/write_concern_test.rb
|
259
|
+
has_rdoc: yard
|
metadata.gz.sig
ADDED
Binary file
|
data/docs/CREDITS.md
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
# Credits
|
2
|
-
|
3
|
-
Adrian Madrid, aemadrid@gmail.com
|
4
|
-
|
5
|
-
* bin/mongo_console
|
6
|
-
* examples/benchmarks.rb
|
7
|
-
* examples/irb.rb
|
8
|
-
* Modifications to examples/simple.rb
|
9
|
-
* Found plenty of bugs and missing features.
|
10
|
-
* Ruby 1.9 support.
|
11
|
-
* Gem support.
|
12
|
-
* Many other code suggestions and improvements.
|
13
|
-
|
14
|
-
Aman Gupta, aman@tmm1.net
|
15
|
-
|
16
|
-
* Collection#save
|
17
|
-
* Noted bug in returning query batch size.
|
18
|
-
|
19
|
-
Jon Crosby, jon@joncrosby.me
|
20
|
-
|
21
|
-
* Some code clean-up
|
22
|
-
|
23
|
-
John Nunemaker, http://railstips.org
|
24
|
-
|
25
|
-
* Collection#create_index takes symbols as well as strings
|
26
|
-
* Fix for Collection#save
|
27
|
-
* Add logger convenience methods to connection and database
|
28
|
-
|
29
|
-
David James, djames@sunlightfoundation.com
|
30
|
-
|
31
|
-
* Fix dates to return as UTC
|
32
|
-
|
33
|
-
Paul Dlug, paul.dlug@gmail.com
|
34
|
-
|
35
|
-
* Generate _id on the client side if not provided
|
36
|
-
* Collection#insert and Collection#save return _id
|
37
|
-
|
38
|
-
Durran Jordan, durran@gmail.com
|
39
|
-
|
40
|
-
* DB#collections
|
41
|
-
* Support for specifying sort order as array of [key, direction] pairs
|
42
|
-
* OrderedHash#update aliases to merge!
|
43
|
-
|
44
|
-
Cyril Mougel, cyril.mougel@gmail.com
|
45
|
-
|
46
|
-
* Initial logging support
|
47
|
-
* Test case
|
48
|
-
|
49
|
-
Jack Chen, chendo on github
|
50
|
-
|
51
|
-
* Test case + fix for deserializing pre-epoch Time instances
|
52
|
-
|
53
|
-
Michael Bernstein, mrb on github
|
54
|
-
|
55
|
-
* Cursor#sort
|
56
|
-
|
57
|
-
Paulo Ahahgon, pahagon on github
|
58
|
-
|
59
|
-
* removed hard limit
|
60
|
-
|
61
|
-
Les Hill, leshill on github
|
62
|
-
|
63
|
-
* OrderedHash#each returns self
|
64
|
-
|
65
|
-
Sean Cribbs, seancribbs on github
|
66
|
-
|
67
|
-
* Modified standard_benchmark to allow profiling
|
68
|
-
* C ext for faster ObjectID creation
|
69
|
-
|
70
|
-
Sunny Hirai
|
71
|
-
|
72
|
-
* Suggested hashcode fix for Mongo::ObjectID
|
73
|
-
* Noted index ordering bug.
|
74
|
-
* GridFS performance boost
|
75
|
-
|
76
|
-
Christos Trochalakis
|
77
|
-
|
78
|
-
* Added map/reduce helper
|
79
|
-
|
80
|
-
Blythe Dunham
|
81
|
-
|
82
|
-
* Added finalize option to map/reduce
|
83
|
-
|
84
|
-
Matt Powell (fauxparse)
|
85
|
-
|
86
|
-
* Added GridStore#mv
|
87
|
-
|
88
|
-
Patrick Collison
|
89
|
-
|
90
|
-
* Added safe mode for Collection#remove
|
91
|
-
|
92
|
-
Chuck Remes
|
93
|
-
|
94
|
-
* Extraction of BSON into separate gems
|
95
|
-
* Extensions compile on Rubinius
|
96
|
-
* Performance improvements for INT in C extensions
|
97
|
-
* Performance improvements for JRuby BSON encoder and callback classes
|
98
|
-
|
99
|
-
Dmitrii Golub (Houdini) and Jacques Crocker (railsjedi)
|
100
|
-
|
101
|
-
* Support open to exclude fields on query
|
102
|
-
|
103
|
-
dfitzgibbon
|
104
|
-
|
105
|
-
* patch for ensuring bson_ext compatibility with early release of Ruby 1.8.5
|
106
|
-
|
107
|
-
Matt Taylor
|
108
|
-
|
109
|
-
* Noticed excessive calls to ObjectId#to_s. As a result, stopped creating
|
110
|
-
log messages when no logger was passed to Mongo::Connection. Resulted in a significant
|
111
|
-
performance improvement.
|
112
|
-
|
113
|
-
Hongli Lai (Phusion)
|
114
|
-
|
115
|
-
* Significant performance improvements. See commits.
|
116
|
-
|
117
|
-
Mislav Marohnić
|
118
|
-
|
119
|
-
* Replaced returning with each_with_object
|
120
|
-
|
121
|
-
Alex Stupka
|
122
|
-
|
123
|
-
* Replica set port bug
|