mongo 1.7.1 → 1.8.0
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.
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +124 -111
- data/Rakefile +9 -325
- data/VERSION +1 -0
- data/bin/mongo_console +4 -4
- data/examples/admin.rb +43 -0
- data/examples/capped.rb +22 -0
- data/examples/cursor.rb +48 -0
- data/examples/gridfs.rb +44 -0
- data/examples/index_test.rb +126 -0
- data/examples/info.rb +31 -0
- data/examples/queries.rb +74 -0
- data/examples/replica_set.rb +26 -0
- data/examples/simple.rb +25 -0
- data/examples/strict.rb +35 -0
- data/examples/types.rb +36 -0
- data/{test/load → examples/web}/thin/load.rb +3 -1
- data/{test/load → examples/web}/unicorn/load.rb +5 -3
- data/lib/mongo.rb +8 -10
- data/lib/mongo/collection.rb +134 -114
- data/lib/mongo/cursor.rb +21 -14
- data/lib/mongo/db.rb +30 -28
- data/lib/mongo/exceptions.rb +1 -1
- data/lib/mongo/gridfs/grid.rb +8 -7
- data/lib/mongo/gridfs/grid_ext.rb +1 -1
- data/lib/mongo/gridfs/grid_file_system.rb +6 -5
- data/lib/mongo/gridfs/grid_io.rb +22 -19
- data/lib/mongo/legacy.rb +82 -0
- data/lib/mongo/{connection.rb → mongo_client.rb} +82 -61
- data/lib/mongo/{repl_set_connection.rb → mongo_replica_set_client.rb} +54 -39
- data/lib/mongo/{sharded_connection.rb → mongo_sharded_client.rb} +9 -9
- data/lib/mongo/networking.rb +25 -20
- data/lib/mongo/util/conversions.rb +1 -1
- data/lib/mongo/util/core_ext.rb +1 -1
- data/lib/mongo/util/logging.rb +20 -4
- data/lib/mongo/util/node.rb +16 -16
- data/lib/mongo/util/pool.rb +56 -27
- data/lib/mongo/util/pool_manager.rb +28 -27
- data/lib/mongo/util/server_version.rb +1 -1
- data/lib/mongo/util/sharding_pool_manager.rb +8 -8
- data/lib/mongo/util/ssl_socket.rb +1 -5
- data/lib/mongo/util/support.rb +24 -8
- data/lib/mongo/util/tcp_socket.rb +0 -4
- data/lib/mongo/util/uri_parser.rb +54 -38
- data/lib/mongo/util/write_concern.rb +67 -0
- data/mongo.gemspec +21 -32
- data/test/auxillary/{1.4_features.rb → 1.4_feature_test.rb} +4 -5
- data/test/auxillary/authentication_test.rb +18 -20
- data/test/auxillary/autoreconnect_test.rb +3 -5
- data/test/auxillary/fork_test.rb +5 -7
- data/test/auxillary/repl_set_auth_test.rb +13 -15
- data/test/auxillary/slave_connection_test.rb +8 -7
- data/test/auxillary/threaded_authentication_test.rb +15 -17
- data/test/bson/binary_test.rb +1 -1
- data/test/bson/bson_test.rb +60 -36
- data/test/bson/byte_buffer_test.rb +1 -1
- data/test/bson/hash_with_indifferent_access_test.rb +2 -2
- data/test/bson/json_test.rb +1 -2
- data/test/bson/object_id_test.rb +1 -2
- data/test/bson/ordered_hash_test.rb +1 -1
- data/test/bson/timestamp_test.rb +1 -1
- data/test/{collection_test.rb → functional/collection_test.rb} +57 -57
- data/test/{connection_test.rb → functional/connection_test.rb} +75 -89
- data/test/{conversions_test.rb → functional/conversions_test.rb} +1 -1
- data/test/{cursor_fail_test.rb → functional/cursor_fail_test.rb} +3 -29
- data/test/{cursor_message_test.rb → functional/cursor_message_test.rb} +1 -1
- data/test/{cursor_test.rb → functional/cursor_test.rb} +5 -1
- data/test/{db_api_test.rb → functional/db_api_test.rb} +8 -9
- data/test/{db_connection_test.rb → functional/db_connection_test.rb} +3 -5
- data/test/{db_test.rb → functional/db_test.rb} +13 -13
- data/test/{grid_file_system_test.rb → functional/grid_file_system_test.rb} +2 -2
- data/test/{grid_io_test.rb → functional/grid_io_test.rb} +6 -6
- data/test/{grid_test.rb → functional/grid_test.rb} +4 -10
- data/test/{pool_test.rb → functional/pool_test.rb} +1 -1
- data/test/functional/safe_test.rb +84 -0
- data/test/{support_test.rb → functional/support_test.rb} +1 -1
- data/test/{threading_test.rb → functional/threading_test.rb} +9 -9
- data/test/{timeout_test.rb → functional/timeout_test.rb} +1 -1
- data/test/{uri_test.rb → functional/uri_test.rb} +1 -1
- data/test/functional/write_concern_test.rb +104 -0
- data/test/replica_set/basic_test.rb +139 -0
- data/test/replica_set/client_test.rb +255 -0
- data/test/replica_set/complex_connect_test.rb +62 -0
- data/test/replica_set/connection_test.rb +255 -0
- data/test/{replica_sets → replica_set}/count_test.rb +17 -14
- data/test/replica_set/cursor_test.rb +75 -0
- data/test/{replica_sets → replica_set}/insert_test.rb +19 -16
- data/test/replica_set/query_test.rb +64 -0
- data/test/replica_set/refresh_test.rb +153 -0
- data/test/{replica_sets → replica_set}/replication_ack_test.rb +21 -17
- data/test/sharded_cluster/basic_test.rb +31 -50
- data/test/support/hash_with_indifferent_access.rb +1 -1
- data/test/test_helper.rb +56 -9
- data/test/threading/threading_with_large_pool_test.rb +8 -8
- data/test/tools/mongo_config.rb +270 -58
- data/test/tools/mongo_config_test.rb +146 -0
- data/test/unit/client_test.rb +230 -0
- data/test/unit/collection_test.rb +45 -32
- data/test/unit/connection_test.rb +82 -74
- data/test/unit/cursor_test.rb +14 -6
- data/test/unit/db_test.rb +8 -8
- data/test/unit/grid_test.rb +11 -11
- data/test/unit/node_test.rb +24 -24
- data/test/unit/pool_manager_test.rb +13 -13
- data/test/unit/pool_test.rb +1 -1
- data/test/unit/read_test.rb +21 -26
- data/test/unit/safe_test.rb +52 -33
- data/test/unit/util_test.rb +55 -0
- data/test/unit/write_concern_test.rb +161 -0
- metadata +158 -171
- data/docs/CREDITS.md +0 -123
- data/docs/FAQ.md +0 -116
- data/docs/GRID_FS.md +0 -158
- data/docs/HISTORY.md +0 -392
- data/docs/READ_PREFERENCE.md +0 -99
- data/docs/RELEASES.md +0 -54
- data/docs/REPLICA_SETS.md +0 -113
- data/docs/TAILABLE_CURSORS.md +0 -51
- data/docs/TUTORIAL.md +0 -356
- data/docs/WRITE_CONCERN.md +0 -31
- data/lib/mongo/gridfs/grid_io_fix.rb +0 -38
- data/lib/mongo/version.rb +0 -3
- data/test/bson/test_helper.rb +0 -30
- data/test/replica_sets/basic_test.rb +0 -119
- data/test/replica_sets/complex_connect_test.rb +0 -57
- data/test/replica_sets/complex_read_preference_test.rb +0 -237
- data/test/replica_sets/connect_test.rb +0 -156
- data/test/replica_sets/cursor_test.rb +0 -70
- data/test/replica_sets/pooled_insert_test.rb +0 -57
- data/test/replica_sets/query_test.rb +0 -50
- data/test/replica_sets/read_preference_test.rb +0 -234
- data/test/replica_sets/refresh_test.rb +0 -156
- data/test/replica_sets/refresh_with_threads_test.rb +0 -60
- data/test/replica_sets/rs_test_helper.rb +0 -39
- data/test/safe_test.rb +0 -68
- data/test/sharded_cluster/mongo_config_test.rb +0 -126
- data/test/sharded_cluster/sc_test_helper.rb +0 -39
- data/test/tools/repl_set_manager.rb +0 -418
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
- Jim Menard
|
9
|
-
- Mike Dirolf
|
10
|
-
- Kyle Banker
|
11
8
|
- Tyler Brock
|
9
|
+
- Gary Murakami
|
10
|
+
- Emily Stolfo
|
11
|
+
- Brandon Black
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-11-
|
15
|
+
date: 2012-11-27 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bson
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 1.
|
24
|
+
version: 1.8.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,134 +29,129 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
32
|
+
version: 1.8.0
|
33
33
|
description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
|
34
34
|
email: mongodb-dev@googlegroups.com
|
35
35
|
executables:
|
36
36
|
- mongo_console
|
37
37
|
extensions: []
|
38
|
-
extra_rdoc_files:
|
39
|
-
- README.md
|
38
|
+
extra_rdoc_files: []
|
40
39
|
files:
|
40
|
+
- mongo.gemspec
|
41
|
+
- LICENSE
|
42
|
+
- VERSION
|
41
43
|
- README.md
|
42
44
|
- Rakefile
|
43
|
-
-
|
44
|
-
- LICENSE.txt
|
45
|
+
- bin/mongo_console
|
45
46
|
- lib/mongo.rb
|
46
|
-
- lib/mongo/
|
47
|
-
- lib/mongo/connection.rb
|
48
|
-
- lib/mongo/cursor.rb
|
49
|
-
- lib/mongo/db.rb
|
50
|
-
- lib/mongo/exceptions.rb
|
51
|
-
- lib/mongo/gridfs/grid.rb
|
47
|
+
- lib/mongo/gridfs/grid_io.rb
|
52
48
|
- lib/mongo/gridfs/grid_ext.rb
|
53
49
|
- lib/mongo/gridfs/grid_file_system.rb
|
54
|
-
- lib/mongo/gridfs/
|
55
|
-
- lib/mongo/
|
50
|
+
- lib/mongo/gridfs/grid.rb
|
51
|
+
- lib/mongo/mongo_sharded_client.rb
|
52
|
+
- lib/mongo/collection.rb
|
53
|
+
- lib/mongo/mongo_client.rb
|
54
|
+
- lib/mongo/db.rb
|
55
|
+
- lib/mongo/legacy.rb
|
56
|
+
- lib/mongo/mongo_replica_set_client.rb
|
56
57
|
- lib/mongo/networking.rb
|
57
|
-
- lib/mongo/
|
58
|
-
- lib/mongo/
|
58
|
+
- lib/mongo/util/uri_parser.rb
|
59
|
+
- lib/mongo/util/write_concern.rb
|
60
|
+
- lib/mongo/util/ssl_socket.rb
|
59
61
|
- lib/mongo/util/conversions.rb
|
60
|
-
- lib/mongo/util/
|
61
|
-
- lib/mongo/util/logging.rb
|
62
|
+
- lib/mongo/util/server_version.rb
|
62
63
|
- lib/mongo/util/node.rb
|
63
|
-
- lib/mongo/util/pool.rb
|
64
64
|
- lib/mongo/util/pool_manager.rb
|
65
|
-
- lib/mongo/util/server_version.rb
|
66
65
|
- lib/mongo/util/sharding_pool_manager.rb
|
67
|
-
- lib/mongo/util/
|
68
|
-
- lib/mongo/util/
|
66
|
+
- lib/mongo/util/pool.rb
|
67
|
+
- lib/mongo/util/logging.rb
|
68
|
+
- lib/mongo/util/core_ext.rb
|
69
69
|
- lib/mongo/util/tcp_socket.rb
|
70
|
-
- lib/mongo/util/
|
71
|
-
- lib/mongo/
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
- test/
|
87
|
-
- test/
|
88
|
-
- test/
|
89
|
-
- test/
|
90
|
-
- test/
|
91
|
-
- test/
|
92
|
-
- test/
|
70
|
+
- lib/mongo/util/support.rb
|
71
|
+
- lib/mongo/exceptions.rb
|
72
|
+
- lib/mongo/cursor.rb
|
73
|
+
- examples/queries.rb
|
74
|
+
- examples/web/thin/load.rb
|
75
|
+
- examples/web/unicorn/load.rb
|
76
|
+
- examples/types.rb
|
77
|
+
- examples/replica_set.rb
|
78
|
+
- examples/gridfs.rb
|
79
|
+
- examples/info.rb
|
80
|
+
- examples/strict.rb
|
81
|
+
- examples/index_test.rb
|
82
|
+
- examples/capped.rb
|
83
|
+
- examples/simple.rb
|
84
|
+
- examples/admin.rb
|
85
|
+
- examples/cursor.rb
|
86
|
+
- test/test_helper.rb
|
87
|
+
- test/replica_set/insert_test.rb
|
88
|
+
- test/replica_set/client_test.rb
|
89
|
+
- test/replica_set/query_test.rb
|
90
|
+
- test/replica_set/basic_test.rb
|
91
|
+
- test/replica_set/refresh_test.rb
|
92
|
+
- test/replica_set/replication_ack_test.rb
|
93
|
+
- test/replica_set/complex_connect_test.rb
|
94
|
+
- test/replica_set/count_test.rb
|
95
|
+
- test/replica_set/cursor_test.rb
|
96
|
+
- test/replica_set/connection_test.rb
|
93
97
|
- test/bson/hash_with_indifferent_access_test.rb
|
94
|
-
- test/bson/
|
95
|
-
- test/bson/
|
98
|
+
- test/bson/bson_test.rb
|
99
|
+
- test/bson/binary_test.rb
|
96
100
|
- test/bson/ordered_hash_test.rb
|
97
|
-
- test/bson/test_helper.rb
|
98
101
|
- test/bson/timestamp_test.rb
|
99
|
-
- test/
|
100
|
-
- test/
|
101
|
-
- test/
|
102
|
-
- test/cursor_fail_test.rb
|
103
|
-
- test/cursor_message_test.rb
|
104
|
-
- test/cursor_test.rb
|
105
|
-
- test/db_api_test.rb
|
106
|
-
- test/db_connection_test.rb
|
107
|
-
- test/db_test.rb
|
108
|
-
- test/grid_file_system_test.rb
|
109
|
-
- test/grid_io_test.rb
|
110
|
-
- test/grid_test.rb
|
111
|
-
- test/load/thin/load.rb
|
112
|
-
- test/load/unicorn/load.rb
|
113
|
-
- test/pool_test.rb
|
114
|
-
- test/replica_sets/basic_test.rb
|
115
|
-
- test/replica_sets/complex_connect_test.rb
|
116
|
-
- test/replica_sets/complex_read_preference_test.rb
|
117
|
-
- test/replica_sets/connect_test.rb
|
118
|
-
- test/replica_sets/count_test.rb
|
119
|
-
- test/replica_sets/cursor_test.rb
|
120
|
-
- test/replica_sets/insert_test.rb
|
121
|
-
- test/replica_sets/pooled_insert_test.rb
|
122
|
-
- test/replica_sets/query_test.rb
|
123
|
-
- test/replica_sets/read_preference_test.rb
|
124
|
-
- test/replica_sets/refresh_test.rb
|
125
|
-
- test/replica_sets/refresh_with_threads_test.rb
|
126
|
-
- test/replica_sets/replication_ack_test.rb
|
127
|
-
- test/replica_sets/rs_test_helper.rb
|
128
|
-
- test/safe_test.rb
|
102
|
+
- test/bson/byte_buffer_test.rb
|
103
|
+
- test/bson/object_id_test.rb
|
104
|
+
- test/bson/json_test.rb
|
129
105
|
- test/sharded_cluster/basic_test.rb
|
130
|
-
- test/
|
131
|
-
- test/sharded_cluster/sc_test_helper.rb
|
132
|
-
- test/support/hash_with_indifferent_access.rb
|
133
|
-
- test/support/keys.rb
|
134
|
-
- test/support_test.rb
|
135
|
-
- test/test_helper.rb
|
136
|
-
- test/threading/threading_with_large_pool_test.rb
|
137
|
-
- test/threading_test.rb
|
138
|
-
- test/timeout_test.rb
|
139
|
-
- test/tools/auth_repl_set_manager.rb
|
106
|
+
- test/tools/mongo_config_test.rb
|
140
107
|
- test/tools/mongo_config.rb
|
141
|
-
- test/tools/
|
142
|
-
- test/unit/collection_test.rb
|
143
|
-
- test/unit/connection_test.rb
|
144
|
-
- test/unit/cursor_test.rb
|
145
|
-
- test/unit/db_test.rb
|
146
|
-
- test/unit/grid_test.rb
|
108
|
+
- test/tools/auth_repl_set_manager.rb
|
147
109
|
- test/unit/node_test.rb
|
110
|
+
- test/unit/db_test.rb
|
111
|
+
- test/unit/client_test.rb
|
112
|
+
- test/unit/util_test.rb
|
148
113
|
- test/unit/pool_manager_test.rb
|
114
|
+
- test/unit/safe_test.rb
|
115
|
+
- test/unit/collection_test.rb
|
149
116
|
- test/unit/pool_test.rb
|
117
|
+
- test/unit/grid_test.rb
|
118
|
+
- test/unit/write_concern_test.rb
|
119
|
+
- test/unit/cursor_test.rb
|
150
120
|
- test/unit/read_test.rb
|
151
|
-
- test/unit/
|
152
|
-
- test/
|
121
|
+
- test/unit/connection_test.rb
|
122
|
+
- test/support/keys.rb
|
123
|
+
- test/support/hash_with_indifferent_access.rb
|
124
|
+
- test/auxillary/authentication_test.rb
|
125
|
+
- test/auxillary/fork_test.rb
|
126
|
+
- test/auxillary/autoreconnect_test.rb
|
127
|
+
- test/auxillary/repl_set_auth_test.rb
|
128
|
+
- test/auxillary/1.4_feature_test.rb
|
129
|
+
- test/auxillary/threaded_authentication_test.rb
|
130
|
+
- test/auxillary/slave_connection_test.rb
|
131
|
+
- test/threading/threading_with_large_pool_test.rb
|
132
|
+
- test/functional/db_test.rb
|
133
|
+
- test/functional/db_connection_test.rb
|
134
|
+
- test/functional/cursor_fail_test.rb
|
135
|
+
- test/functional/uri_test.rb
|
136
|
+
- test/functional/safe_test.rb
|
137
|
+
- test/functional/collection_test.rb
|
138
|
+
- test/functional/support_test.rb
|
139
|
+
- test/functional/grid_io_test.rb
|
140
|
+
- test/functional/db_api_test.rb
|
141
|
+
- test/functional/pool_test.rb
|
142
|
+
- test/functional/grid_test.rb
|
143
|
+
- test/functional/threading_test.rb
|
144
|
+
- test/functional/write_concern_test.rb
|
145
|
+
- test/functional/cursor_message_test.rb
|
146
|
+
- test/functional/cursor_test.rb
|
147
|
+
- test/functional/timeout_test.rb
|
148
|
+
- test/functional/grid_file_system_test.rb
|
149
|
+
- test/functional/conversions_test.rb
|
150
|
+
- test/functional/connection_test.rb
|
153
151
|
homepage: http://www.mongodb.org
|
154
152
|
licenses: []
|
155
153
|
post_install_message:
|
156
|
-
rdoc_options:
|
157
|
-
- --main
|
158
|
-
- README.md
|
159
|
-
- --inline-source
|
154
|
+
rdoc_options: []
|
160
155
|
require_paths:
|
161
156
|
- lib
|
162
157
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -165,9 +160,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
160
|
- - ! '>='
|
166
161
|
- !ruby/object:Gem::Version
|
167
162
|
version: '0'
|
168
|
-
segments:
|
169
|
-
- 0
|
170
|
-
hash: 4211306691884133902
|
171
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
164
|
none: false
|
173
165
|
requirements:
|
@@ -175,80 +167,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
167
|
- !ruby/object:Gem::Version
|
176
168
|
version: '0'
|
177
169
|
requirements: []
|
178
|
-
rubyforge_project:
|
170
|
+
rubyforge_project: mongo
|
179
171
|
rubygems_version: 1.8.24
|
180
172
|
signing_key:
|
181
173
|
specification_version: 3
|
182
174
|
summary: Ruby driver for MongoDB
|
183
175
|
test_files:
|
184
|
-
- test/
|
185
|
-
- test/
|
186
|
-
- test/
|
187
|
-
- test/
|
188
|
-
- test/
|
189
|
-
- test/
|
190
|
-
- test/
|
191
|
-
- test/
|
192
|
-
- test/
|
193
|
-
- test/
|
176
|
+
- test/test_helper.rb
|
177
|
+
- test/replica_set/insert_test.rb
|
178
|
+
- test/replica_set/client_test.rb
|
179
|
+
- test/replica_set/query_test.rb
|
180
|
+
- test/replica_set/basic_test.rb
|
181
|
+
- test/replica_set/refresh_test.rb
|
182
|
+
- test/replica_set/replication_ack_test.rb
|
183
|
+
- test/replica_set/complex_connect_test.rb
|
184
|
+
- test/replica_set/count_test.rb
|
185
|
+
- test/replica_set/cursor_test.rb
|
186
|
+
- test/replica_set/connection_test.rb
|
194
187
|
- test/bson/hash_with_indifferent_access_test.rb
|
195
|
-
- test/bson/
|
196
|
-
- test/bson/
|
188
|
+
- test/bson/bson_test.rb
|
189
|
+
- test/bson/binary_test.rb
|
197
190
|
- test/bson/ordered_hash_test.rb
|
198
|
-
- test/bson/test_helper.rb
|
199
191
|
- test/bson/timestamp_test.rb
|
200
|
-
- test/
|
201
|
-
- test/
|
202
|
-
- test/
|
203
|
-
- test/cursor_fail_test.rb
|
204
|
-
- test/cursor_message_test.rb
|
205
|
-
- test/cursor_test.rb
|
206
|
-
- test/db_api_test.rb
|
207
|
-
- test/db_connection_test.rb
|
208
|
-
- test/db_test.rb
|
209
|
-
- test/grid_file_system_test.rb
|
210
|
-
- test/grid_io_test.rb
|
211
|
-
- test/grid_test.rb
|
212
|
-
- test/load/thin/load.rb
|
213
|
-
- test/load/unicorn/load.rb
|
214
|
-
- test/pool_test.rb
|
215
|
-
- test/replica_sets/basic_test.rb
|
216
|
-
- test/replica_sets/complex_connect_test.rb
|
217
|
-
- test/replica_sets/complex_read_preference_test.rb
|
218
|
-
- test/replica_sets/connect_test.rb
|
219
|
-
- test/replica_sets/count_test.rb
|
220
|
-
- test/replica_sets/cursor_test.rb
|
221
|
-
- test/replica_sets/insert_test.rb
|
222
|
-
- test/replica_sets/pooled_insert_test.rb
|
223
|
-
- test/replica_sets/query_test.rb
|
224
|
-
- test/replica_sets/read_preference_test.rb
|
225
|
-
- test/replica_sets/refresh_test.rb
|
226
|
-
- test/replica_sets/refresh_with_threads_test.rb
|
227
|
-
- test/replica_sets/replication_ack_test.rb
|
228
|
-
- test/replica_sets/rs_test_helper.rb
|
229
|
-
- test/safe_test.rb
|
192
|
+
- test/bson/byte_buffer_test.rb
|
193
|
+
- test/bson/object_id_test.rb
|
194
|
+
- test/bson/json_test.rb
|
230
195
|
- test/sharded_cluster/basic_test.rb
|
231
|
-
- test/
|
232
|
-
- test/sharded_cluster/sc_test_helper.rb
|
233
|
-
- test/support/hash_with_indifferent_access.rb
|
234
|
-
- test/support/keys.rb
|
235
|
-
- test/support_test.rb
|
236
|
-
- test/test_helper.rb
|
237
|
-
- test/threading/threading_with_large_pool_test.rb
|
238
|
-
- test/threading_test.rb
|
239
|
-
- test/timeout_test.rb
|
240
|
-
- test/tools/auth_repl_set_manager.rb
|
196
|
+
- test/tools/mongo_config_test.rb
|
241
197
|
- test/tools/mongo_config.rb
|
242
|
-
- test/tools/
|
243
|
-
- test/unit/collection_test.rb
|
244
|
-
- test/unit/connection_test.rb
|
245
|
-
- test/unit/cursor_test.rb
|
246
|
-
- test/unit/db_test.rb
|
247
|
-
- test/unit/grid_test.rb
|
198
|
+
- test/tools/auth_repl_set_manager.rb
|
248
199
|
- test/unit/node_test.rb
|
200
|
+
- test/unit/db_test.rb
|
201
|
+
- test/unit/client_test.rb
|
202
|
+
- test/unit/util_test.rb
|
249
203
|
- test/unit/pool_manager_test.rb
|
204
|
+
- test/unit/safe_test.rb
|
205
|
+
- test/unit/collection_test.rb
|
250
206
|
- test/unit/pool_test.rb
|
207
|
+
- test/unit/grid_test.rb
|
208
|
+
- test/unit/write_concern_test.rb
|
209
|
+
- test/unit/cursor_test.rb
|
251
210
|
- test/unit/read_test.rb
|
252
|
-
- test/unit/
|
253
|
-
- test/
|
254
|
-
|
211
|
+
- test/unit/connection_test.rb
|
212
|
+
- test/support/keys.rb
|
213
|
+
- test/support/hash_with_indifferent_access.rb
|
214
|
+
- test/auxillary/authentication_test.rb
|
215
|
+
- test/auxillary/fork_test.rb
|
216
|
+
- test/auxillary/autoreconnect_test.rb
|
217
|
+
- test/auxillary/repl_set_auth_test.rb
|
218
|
+
- test/auxillary/1.4_feature_test.rb
|
219
|
+
- test/auxillary/threaded_authentication_test.rb
|
220
|
+
- test/auxillary/slave_connection_test.rb
|
221
|
+
- test/threading/threading_with_large_pool_test.rb
|
222
|
+
- test/functional/db_test.rb
|
223
|
+
- test/functional/db_connection_test.rb
|
224
|
+
- test/functional/cursor_fail_test.rb
|
225
|
+
- test/functional/uri_test.rb
|
226
|
+
- test/functional/safe_test.rb
|
227
|
+
- test/functional/collection_test.rb
|
228
|
+
- test/functional/support_test.rb
|
229
|
+
- test/functional/grid_io_test.rb
|
230
|
+
- test/functional/db_api_test.rb
|
231
|
+
- test/functional/pool_test.rb
|
232
|
+
- test/functional/grid_test.rb
|
233
|
+
- test/functional/threading_test.rb
|
234
|
+
- test/functional/write_concern_test.rb
|
235
|
+
- test/functional/cursor_message_test.rb
|
236
|
+
- test/functional/cursor_test.rb
|
237
|
+
- test/functional/timeout_test.rb
|
238
|
+
- test/functional/grid_file_system_test.rb
|
239
|
+
- test/functional/conversions_test.rb
|
240
|
+
- test/functional/connection_test.rb
|
241
|
+
has_rdoc: yard
|
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
|