mongo 1.0.9 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +8 -0
- data/Rakefile +23 -0
- data/lib/mongo.rb +1 -1
- data/lib/mongo/connection.rb +25 -38
- data/lib/mongo/cursor.rb +1 -21
- data/lib/mongo/db.rb +0 -27
- data/test/bson/basic_test.rb +99 -0
- data/test/bson/bench_test.rb +172 -0
- data/test/bson/binary_test.rb +15 -0
- data/test/bson/bson_test.rb +528 -0
- data/test/bson/byte_buffer_test.rb +190 -0
- data/test/bson/c_encode_test.rb +51 -0
- data/test/bson/java_bson_test.rb +146 -0
- data/test/bson/jruby_bson_test.rb +24 -0
- data/test/bson/jruby_encode_test.rb +438 -0
- data/test/bson/json_test.rb +16 -0
- data/test/bson/object_id_test.rb +132 -0
- data/test/bson/ordered_hash_test.rb +197 -0
- data/test/collection_test.rb +1 -1
- data/test/connection_test.rb +23 -2
- data/test/db_api_test.rb +3 -10
- data/test/db_test.rb +0 -14
- metadata +118 -148
metadata
CHANGED
@@ -1,186 +1,156 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 5
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
version: 1.0.9
|
6
|
+
- 1
|
7
|
+
- 1
|
8
|
+
version: "1.1"
|
11
9
|
platform: ruby
|
12
10
|
authors:
|
13
|
-
- Jim Menard
|
14
|
-
- Mike Dirolf
|
15
|
-
- Kyle Banker
|
11
|
+
- Jim Menard
|
12
|
+
- Mike Dirolf
|
13
|
+
- Kyle Banker
|
16
14
|
autorequire:
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2010-
|
18
|
+
date: 2010-10-04 00:00:00 -04:00
|
21
19
|
default_executable:
|
22
20
|
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
type: :runtime
|
38
|
-
version_requirements: *id001
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: bson
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 0
|
31
|
+
- 5
|
32
|
+
version: 1.0.5
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
39
35
|
description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
|
40
36
|
email: mongodb-dev@googlegroups.com
|
41
37
|
executables:
|
42
|
-
- mongo_console
|
38
|
+
- mongo_console
|
43
39
|
extensions: []
|
44
40
|
|
45
41
|
extra_rdoc_files:
|
46
|
-
- README.rdoc
|
42
|
+
- README.rdoc
|
47
43
|
files:
|
48
|
-
- README.rdoc
|
49
|
-
- HISTORY
|
50
|
-
- Rakefile
|
51
|
-
- mongo.gemspec
|
52
|
-
- LICENSE.txt
|
53
|
-
- lib/mongo.rb
|
54
|
-
- lib/mongo/collection.rb
|
55
|
-
- lib/mongo/connection.rb
|
56
|
-
- lib/mongo/cursor.rb
|
57
|
-
- lib/mongo/db.rb
|
58
|
-
- lib/mongo/exceptions.rb
|
59
|
-
- lib/mongo/gridfs/grid.rb
|
60
|
-
- lib/mongo/gridfs/grid_ext.rb
|
61
|
-
- lib/mongo/gridfs/grid_file_system.rb
|
62
|
-
- lib/mongo/gridfs/grid_io.rb
|
63
|
-
- lib/mongo/util/conversions.rb
|
64
|
-
- lib/mongo/util/core_ext.rb
|
65
|
-
- lib/mongo/util/server_version.rb
|
66
|
-
- lib/mongo/util/support.rb
|
67
|
-
- examples/admin.rb
|
68
|
-
- examples/capped.rb
|
69
|
-
- examples/cursor.rb
|
70
|
-
- examples/gridfs.rb
|
71
|
-
- examples/index_test.rb
|
72
|
-
- examples/info.rb
|
73
|
-
- examples/queries.rb
|
74
|
-
- examples/simple.rb
|
75
|
-
- examples/strict.rb
|
76
|
-
- examples/types.rb
|
77
|
-
- bin/bson_benchmark.rb
|
78
|
-
- bin/fail_if_no_c.rb
|
79
|
-
- bin/insert.rb
|
80
|
-
- bin/oid.rb
|
81
|
-
- bin/mongo_console
|
82
|
-
- test/auxillary/1.4_features.rb
|
83
|
-
- test/auxillary/authentication_test.rb
|
84
|
-
- test/auxillary/autoreconnect_test.rb
|
85
|
-
- test/auxillary/slave_connection_test.rb
|
86
|
-
- test/collection_test.rb
|
87
|
-
- test/connection_test.rb
|
88
|
-
- test/conversions_test.rb
|
89
|
-
- test/cursor_fail_test.rb
|
90
|
-
- test/cursor_message_test.rb
|
91
|
-
- test/cursor_test.rb
|
92
|
-
- test/db_api_test.rb
|
93
|
-
- test/db_connection_test.rb
|
94
|
-
- test/db_test.rb
|
95
|
-
- test/grid_file_system_test.rb
|
96
|
-
- test/grid_io_test.rb
|
97
|
-
- test/grid_test.rb
|
98
|
-
- test/replica_pairs/count_test.rb
|
99
|
-
- test/replica_pairs/insert_test.rb
|
100
|
-
- test/replica_pairs/pooled_insert_test.rb
|
101
|
-
- test/replica_pairs/query_test.rb
|
102
|
-
- test/replica_sets/count_test.rb
|
103
|
-
- test/replica_sets/insert_test.rb
|
104
|
-
- test/replica_sets/node_type_test.rb
|
105
|
-
- test/replica_sets/pooled_insert_test.rb
|
106
|
-
- test/replica_sets/query_test.rb
|
107
|
-
- test/replica_sets/replication_ack_test.rb
|
108
|
-
- test/support_test.rb
|
109
|
-
- test/test_helper.rb
|
110
|
-
- test/threading/test_threading_large_pool.rb
|
111
|
-
- test/threading_test.rb
|
112
|
-
- test/unit/collection_test.rb
|
113
|
-
- test/unit/connection_test.rb
|
114
|
-
- test/unit/cursor_test.rb
|
115
|
-
- test/unit/db_test.rb
|
44
|
+
- README.rdoc
|
45
|
+
- HISTORY
|
46
|
+
- Rakefile
|
47
|
+
- mongo.gemspec
|
48
|
+
- LICENSE.txt
|
49
|
+
- lib/mongo.rb
|
50
|
+
- lib/mongo/collection.rb
|
51
|
+
- lib/mongo/connection.rb
|
52
|
+
- lib/mongo/cursor.rb
|
53
|
+
- lib/mongo/db.rb
|
54
|
+
- lib/mongo/exceptions.rb
|
55
|
+
- lib/mongo/gridfs/grid.rb
|
56
|
+
- lib/mongo/gridfs/grid_ext.rb
|
57
|
+
- lib/mongo/gridfs/grid_file_system.rb
|
58
|
+
- lib/mongo/gridfs/grid_io.rb
|
59
|
+
- lib/mongo/util/conversions.rb
|
60
|
+
- lib/mongo/util/core_ext.rb
|
61
|
+
- lib/mongo/util/server_version.rb
|
62
|
+
- lib/mongo/util/support.rb
|
63
|
+
- examples/admin.rb
|
64
|
+
- examples/capped.rb
|
65
|
+
- examples/cursor.rb
|
66
|
+
- examples/gridfs.rb
|
67
|
+
- examples/index_test.rb
|
68
|
+
- examples/info.rb
|
69
|
+
- examples/queries.rb
|
70
|
+
- examples/simple.rb
|
71
|
+
- examples/strict.rb
|
72
|
+
- examples/types.rb
|
73
|
+
- bin/bson_benchmark.rb
|
74
|
+
- bin/fail_if_no_c.rb
|
75
|
+
- bin/insert.rb
|
76
|
+
- bin/oid.rb
|
77
|
+
- bin/mongo_console
|
116
78
|
has_rdoc: true
|
117
79
|
homepage: http://www.mongodb.org
|
118
80
|
licenses: []
|
119
81
|
|
120
82
|
post_install_message:
|
121
83
|
rdoc_options:
|
122
|
-
- --main
|
123
|
-
- README.rdoc
|
124
|
-
- --inline-source
|
84
|
+
- --main
|
85
|
+
- README.rdoc
|
86
|
+
- --inline-source
|
125
87
|
require_paths:
|
126
|
-
- lib
|
88
|
+
- lib
|
127
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
90
|
requirements:
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
version: "0"
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
version: "0"
|
136
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
97
|
requirements:
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
version: "0"
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
145
103
|
requirements: []
|
146
104
|
|
147
105
|
rubyforge_project:
|
148
|
-
rubygems_version: 1.3.
|
106
|
+
rubygems_version: 1.3.6
|
149
107
|
signing_key:
|
150
108
|
specification_version: 3
|
151
109
|
summary: Ruby driver for the MongoDB
|
152
110
|
test_files:
|
153
|
-
- test/
|
154
|
-
- test/
|
155
|
-
- test/
|
156
|
-
- test/
|
157
|
-
- test/
|
158
|
-
- test/
|
159
|
-
- test/
|
160
|
-
- test/
|
161
|
-
- test/
|
162
|
-
- test/
|
163
|
-
- test/
|
164
|
-
- test/
|
165
|
-
- test/
|
166
|
-
- test/
|
167
|
-
- test/
|
168
|
-
- test/
|
169
|
-
- test/
|
170
|
-
- test/
|
171
|
-
- test/
|
172
|
-
- test/
|
173
|
-
- test/
|
174
|
-
- test/
|
175
|
-
- test/
|
176
|
-
- test/
|
177
|
-
- test/
|
178
|
-
- test/
|
179
|
-
- test/
|
180
|
-
- test/
|
181
|
-
- test/
|
182
|
-
- test/
|
183
|
-
- test/
|
184
|
-
- test/
|
185
|
-
- test/
|
186
|
-
- test/
|
111
|
+
- test/collection_test.rb
|
112
|
+
- test/connection_test.rb
|
113
|
+
- test/conversions_test.rb
|
114
|
+
- test/cursor_fail_test.rb
|
115
|
+
- test/cursor_message_test.rb
|
116
|
+
- test/cursor_test.rb
|
117
|
+
- test/db_api_test.rb
|
118
|
+
- test/db_connection_test.rb
|
119
|
+
- test/db_test.rb
|
120
|
+
- test/grid_file_system_test.rb
|
121
|
+
- test/grid_io_test.rb
|
122
|
+
- test/grid_test.rb
|
123
|
+
- test/support_test.rb
|
124
|
+
- test/test_helper.rb
|
125
|
+
- test/threading_test.rb
|
126
|
+
- test/auxillary/1.4_features.rb
|
127
|
+
- test/auxillary/authentication_test.rb
|
128
|
+
- test/auxillary/autoreconnect_test.rb
|
129
|
+
- test/auxillary/slave_connection_test.rb
|
130
|
+
- test/bson/basic_test.rb
|
131
|
+
- test/bson/bench_test.rb
|
132
|
+
- test/bson/binary_test.rb
|
133
|
+
- test/bson/bson_test.rb
|
134
|
+
- test/bson/byte_buffer_test.rb
|
135
|
+
- test/bson/c_encode_test.rb
|
136
|
+
- test/bson/java_bson_test.rb
|
137
|
+
- test/bson/jruby_bson_test.rb
|
138
|
+
- test/bson/jruby_encode_test.rb
|
139
|
+
- test/bson/json_test.rb
|
140
|
+
- test/bson/object_id_test.rb
|
141
|
+
- test/bson/ordered_hash_test.rb
|
142
|
+
- test/replica_pairs/count_test.rb
|
143
|
+
- test/replica_pairs/insert_test.rb
|
144
|
+
- test/replica_pairs/pooled_insert_test.rb
|
145
|
+
- test/replica_pairs/query_test.rb
|
146
|
+
- test/replica_sets/count_test.rb
|
147
|
+
- test/replica_sets/insert_test.rb
|
148
|
+
- test/replica_sets/node_type_test.rb
|
149
|
+
- test/replica_sets/pooled_insert_test.rb
|
150
|
+
- test/replica_sets/query_test.rb
|
151
|
+
- test/replica_sets/replication_ack_test.rb
|
152
|
+
- test/threading/test_threading_large_pool.rb
|
153
|
+
- test/unit/collection_test.rb
|
154
|
+
- test/unit/connection_test.rb
|
155
|
+
- test/unit/cursor_test.rb
|
156
|
+
- test/unit/db_test.rb
|