mongo 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -263,7 +263,7 @@ end
263
263
  def current_version
264
264
  f = File.open("lib/mongo/version.rb")
265
265
  str = f.read
266
- str =~ /VERSION\s+=\s+"([.\drc]+)"$/
266
+ str =~ /VERSION\s+=\s+([.\drc"]+)$/
267
267
  return $1
268
268
  end
269
269
 
@@ -274,7 +274,7 @@ def change_version(new_version)
274
274
  f = File.open(filename)
275
275
  str = f.read
276
276
  f.close
277
- str.gsub!("\"#{version}\"", "\"#{new_version}\"")
277
+ str.gsub!(version, "\"#{new_version}\"")
278
278
  File.open(filename, 'w') do |f|
279
279
  f.write(str)
280
280
  end
@@ -306,11 +306,11 @@ module Mongo
306
306
  end
307
307
 
308
308
  def authenticate_pools
309
- pools.each { |pool| pool.authenticate_existing }
309
+ @manager.pools.each { |pool| pool.authenticate_existing }
310
310
  end
311
311
 
312
312
  def logout_pools(db)
313
- pools.each { |pool| pool.logout_existing(db) }
313
+ @manager.pools.each { |pool| pool.logout_existing(db) }
314
314
  end
315
315
 
316
316
  # Generic socket checkout
@@ -1,3 +1,3 @@
1
1
  module Mongo
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
@@ -8,7 +8,6 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.summary = 'Ruby driver for MongoDB'
10
10
  s.description = 'A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.'
11
- s.rubyforge_project = 'nowarning'
12
11
 
13
12
  s.require_paths = ['lib']
14
13
 
metadata CHANGED
@@ -1,14 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 7
8
- - 0
9
- version: 1.7.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.7.1
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Jim Menard
13
9
  - Mike Dirolf
14
10
  - Kyle Banker
@@ -16,33 +12,32 @@ authors:
16
12
  autorequire:
17
13
  bindir: bin
18
14
  cert_chain: []
19
-
20
- date: 2012-08-29 00:00:00 -03:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
15
+ date: 2012-11-15 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
24
18
  name: bson
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
27
- requirements:
19
+ requirement: !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
28
22
  - - ~>
29
- - !ruby/object:Gem::Version
30
- segments:
31
- - 1
32
- - 7
33
- - 0
34
- version: 1.7.0
23
+ - !ruby/object:Gem::Version
24
+ version: 1.7.1
35
25
  type: :runtime
36
- version_requirements: *id001
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.7.1
37
33
  description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
38
34
  email: mongodb-dev@googlegroups.com
39
- executables:
35
+ executables:
40
36
  - mongo_console
41
37
  extensions: []
42
-
43
- extra_rdoc_files:
38
+ extra_rdoc_files:
44
39
  - README.md
45
- files:
40
+ files:
46
41
  - README.md
47
42
  - Rakefile
48
43
  - mongo.gemspec
@@ -85,39 +80,107 @@ files:
85
80
  - docs/TUTORIAL.md
86
81
  - docs/WRITE_CONCERN.md
87
82
  - bin/mongo_console
88
- has_rdoc: true
83
+ - test/auxillary/1.4_features.rb
84
+ - test/auxillary/authentication_test.rb
85
+ - test/auxillary/autoreconnect_test.rb
86
+ - test/auxillary/fork_test.rb
87
+ - test/auxillary/repl_set_auth_test.rb
88
+ - test/auxillary/slave_connection_test.rb
89
+ - test/auxillary/threaded_authentication_test.rb
90
+ - test/bson/binary_test.rb
91
+ - test/bson/bson_test.rb
92
+ - test/bson/byte_buffer_test.rb
93
+ - test/bson/hash_with_indifferent_access_test.rb
94
+ - test/bson/json_test.rb
95
+ - test/bson/object_id_test.rb
96
+ - test/bson/ordered_hash_test.rb
97
+ - test/bson/test_helper.rb
98
+ - test/bson/timestamp_test.rb
99
+ - test/collection_test.rb
100
+ - test/connection_test.rb
101
+ - test/conversions_test.rb
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
129
+ - test/sharded_cluster/basic_test.rb
130
+ - test/sharded_cluster/mongo_config_test.rb
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
140
+ - test/tools/mongo_config.rb
141
+ - test/tools/repl_set_manager.rb
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
147
+ - test/unit/node_test.rb
148
+ - test/unit/pool_manager_test.rb
149
+ - test/unit/pool_test.rb
150
+ - test/unit/read_test.rb
151
+ - test/unit/safe_test.rb
152
+ - test/uri_test.rb
89
153
  homepage: http://www.mongodb.org
90
154
  licenses: []
91
-
92
155
  post_install_message:
93
- rdoc_options:
156
+ rdoc_options:
94
157
  - --main
95
158
  - README.md
96
159
  - --inline-source
97
- require_paths:
160
+ require_paths:
98
161
  - lib
99
- required_ruby_version: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- segments:
162
+ required_ruby_version: !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ! '>='
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ segments:
104
169
  - 0
105
- version: "0"
106
- required_rubygems_version: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- segments:
111
- - 0
112
- version: "0"
170
+ hash: 4211306691884133902
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
113
177
  requirements: []
114
-
115
- rubyforge_project: nowarning
116
- rubygems_version: 1.3.6
178
+ rubyforge_project:
179
+ rubygems_version: 1.8.24
117
180
  signing_key:
118
181
  specification_version: 3
119
182
  summary: Ruby driver for MongoDB
120
- test_files:
183
+ test_files:
121
184
  - test/auxillary/1.4_features.rb
122
185
  - test/auxillary/authentication_test.rb
123
186
  - test/auxillary/autoreconnect_test.rb
@@ -188,3 +251,4 @@ test_files:
188
251
  - test/unit/read_test.rb
189
252
  - test/unit/safe_test.rb
190
253
  - test/uri_test.rb
254
+ has_rdoc: true