mongo 1.7.0.rc0 → 1.7.0

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