mongo 1.2.0 → 1.2.1

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.
@@ -67,7 +67,6 @@ class ConnectionTest < Test::Unit::TestCase
67
67
  admin_db = new_mock_db
68
68
  admin_db.expects(:command).returns({'ok' => 1, 'ismaster' => 1}).twice
69
69
  @conn.expects(:[]).with('admin').returns(admin_db).twice
70
- @conn.expects(:apply_saved_authentication)
71
70
  @conn.connect
72
71
  end
73
72
 
data/test/unit/db_test.rb CHANGED
@@ -57,6 +57,7 @@ class DBTest < Test::Unit::TestCase
57
57
 
58
58
  should "raise an error if logging out fails" do
59
59
  @db.expects(:command).returns({})
60
+ @conn.expects(:pool_size).returns(1)
60
61
  assert_raise Mongo::MongoDBError do
61
62
  @db.logout
62
63
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 2
9
- - 0
10
- version: 1.2.0
8
+ - 1
9
+ version: 1.2.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Jim Menard
@@ -17,7 +16,7 @@ autorequire:
17
16
  bindir: bin
18
17
  cert_chain: []
19
18
 
20
- date: 2011-01-18 00:00:00 -05:00
19
+ date: 2011-02-10 00:00:00 -05:00
21
20
  default_executable:
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
@@ -28,12 +27,11 @@ dependencies:
28
27
  requirements:
29
28
  - - ">="
30
29
  - !ruby/object:Gem::Version
31
- hash: 31
32
30
  segments:
33
31
  - 1
34
32
  - 2
35
- - 0
36
- version: 1.2.0
33
+ - 1
34
+ version: 1.2.1
37
35
  type: :runtime
38
36
  version_requirements: *id001
39
37
  description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
@@ -93,11 +91,16 @@ files:
93
91
  - test/async/connection_test.rb
94
92
  - test/async/worker_pool_test.rb
95
93
  - test/cursor_test.rb
94
+ - test/load/unicorn/unicorn.rb
95
+ - test/load/unicorn/load.rb
96
+ - test/load/thin/load.rb
96
97
  - test/grid_test.rb
97
98
  - test/db_api_test.rb
98
99
  - test/auxillary/slave_connection_test.rb
100
+ - test/auxillary/threaded_authentication_test.rb
99
101
  - test/auxillary/authentication_test.rb
100
102
  - test/auxillary/autoreconnect_test.rb
103
+ - test/auxillary/repl_set_auth_test.rb
101
104
  - test/auxillary/1.4_features.rb
102
105
  - test/conversions_test.rb
103
106
  - test/connection_test.rb
@@ -105,6 +108,9 @@ files:
105
108
  - test/cursor_message_test.rb
106
109
  - test/tools/test.rb
107
110
  - test/tools/repl_set_manager.rb
111
+ - test/tools/auth_repl_set_manager.rb
112
+ - test/tools/load.rb
113
+ - test/tools/sharding_manager.rb
108
114
  - test/cursor_fail_test.rb
109
115
  - test/threading/threading_with_large_pool_test.rb
110
116
  - test/test_helper.rb
@@ -147,7 +153,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
153
  requirements:
148
154
  - - ">="
149
155
  - !ruby/object:Gem::Version
150
- hash: 3
151
156
  segments:
152
157
  - 0
153
158
  version: "0"
@@ -156,14 +161,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
161
  requirements:
157
162
  - - ">="
158
163
  - !ruby/object:Gem::Version
159
- hash: 3
160
164
  segments:
161
165
  - 0
162
166
  version: "0"
163
167
  requirements: []
164
168
 
165
169
  rubyforge_project:
166
- rubygems_version: 1.4.1
170
+ rubygems_version: 1.3.7
167
171
  signing_key:
168
172
  specification_version: 3
169
173
  summary: Ruby driver for the MongoDB
@@ -184,11 +188,16 @@ test_files:
184
188
  - test/async/connection_test.rb
185
189
  - test/async/worker_pool_test.rb
186
190
  - test/cursor_test.rb
191
+ - test/load/unicorn/unicorn.rb
192
+ - test/load/unicorn/load.rb
193
+ - test/load/thin/load.rb
187
194
  - test/grid_test.rb
188
195
  - test/db_api_test.rb
189
196
  - test/auxillary/slave_connection_test.rb
197
+ - test/auxillary/threaded_authentication_test.rb
190
198
  - test/auxillary/authentication_test.rb
191
199
  - test/auxillary/autoreconnect_test.rb
200
+ - test/auxillary/repl_set_auth_test.rb
192
201
  - test/auxillary/1.4_features.rb
193
202
  - test/conversions_test.rb
194
203
  - test/connection_test.rb
@@ -196,6 +205,9 @@ test_files:
196
205
  - test/cursor_message_test.rb
197
206
  - test/tools/test.rb
198
207
  - test/tools/repl_set_manager.rb
208
+ - test/tools/auth_repl_set_manager.rb
209
+ - test/tools/load.rb
210
+ - test/tools/sharding_manager.rb
199
211
  - test/cursor_fail_test.rb
200
212
  - test/threading/threading_with_large_pool_test.rb
201
213
  - test/test_helper.rb