mongo 1.0.2 → 1.0.3

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/HISTORY ADDED
@@ -0,0 +1,164 @@
1
+ 1.0.3 2010-6-15
2
+
3
+ * Optimiztion for BSON::OrderedHash
4
+ * Some important fixes.
5
+
6
+ 1.0.2 2010-6-5
7
+ This is a minor release for fixing an incompatibility with MongoDB v1.5.2
8
+
9
+ * Fix for boolean response on commands for core server v1.5.2
10
+ * BSON.read_bson_document and b2json executable (neomantra)
11
+ * BSON::ObjectID() shortcut for BSON::ObjectID.from_string (tmm1)
12
+ * Various bug fixes.
13
+
14
+ 1.0.1 2010-5-7
15
+
16
+ * set Encoding.default_internal
17
+ * DEPRECATE JavaScript string on Collection#find. You now must specify $where explicitly.
18
+ * Added Grid#exist? and GridFileSystem#exist?
19
+ * Support for replication acknowledgment
20
+ * Support for $slice
21
+ * Namespaced OrderedHash under BSON (sleverbor)
22
+
23
+ 1.0 2010-4-29
24
+ Note: if upgrading from versions prior to 0.20, be sure to upgrade
25
+ to 0.20 before upgrading to 1.0.
26
+
27
+ * Inspected ObjectID is represented in MongoDB extended json format.
28
+ * Support for tailable cursors.
29
+ * Configurable query response batch size (thx. to Aman Gupta)
30
+
31
+ * bson_ext installs on early release of Ruby 1.8.5 (dfitzgibbon)
32
+ * Deprecated DB#create_index. Use Collection#create_index index.
33
+ * Removed deprecated Grid#put syntax; no longer requires a filename.
34
+
35
+ 0.20.1 2010-4-7
36
+ * Added bson gem dependency.
37
+
38
+ 0.20 2010-4-7
39
+ If upgrading from a previous version of the Ruby driver, please read these notes carefully,
40
+ along with the 0.20_UPGRADE doc.
41
+
42
+ * Support for new commands:
43
+ * Collection#find_and_modify
44
+ * Collection#stats
45
+ * DB#stats
46
+ * Query :fields options allows for values of 0 to exclude fields (houdini, railsjedi).
47
+ * GridFS
48
+ * Option to delete old versions of GridFileSystem entries.
49
+ * Filename is now optional for Grid#put.
50
+ * Option to write arbitrary attributes to a file: @grid.put(@data, :favorite_phrase => "blimey!")
51
+ * Indexes created on the chunks collection are now unique. If you have an existing chunks collection,
52
+ you may want to remove
53
+ * Removed the following deprecated items:
54
+ * GridStore class
55
+ * RegexpOfHolding class
56
+ * Paired connections must now be initialized with Connection.paired
57
+
58
+ * BSON-related code extracted into two separate gems: bson and bson_ext (thx to Chuck Remes).
59
+ * mongo_ext no longer exists.
60
+ * BSON::Binary constructor can now take a string, which will be packed into an array.
61
+ * Exception class adjustments:
62
+ * Mongo::InvalidObjectID moved to BSON::InvalidObjectID
63
+ * Mongo::InvalidDocument moved to BSON::InvalidDocument
64
+ * Mongo::InvalidStringEncoding moved to BSON::InvalidStringEncoding
65
+ * Mongo::InvalidName replaced by Mongo::InvalidNSName and BSON::InvalidKeyName
66
+ * BSON types are now namespaced under the BSON module. These types include:
67
+ * Binary
68
+ * ObjectID
69
+ * Code
70
+ * DBRef
71
+ * MinKey and MaxKey
72
+ * Extensions compile on Rubinius (Chuck Remes).
73
+
74
+ 0.19.3 2010-4-5
75
+ * Minor fix for assert_valid_keys.
76
+
77
+ 0.19.2 2010-4-5
78
+ This release fixes a major bug and is the final release
79
+ in the 0.19 series. The next release, 0.20.0, will introduce
80
+ separate gems for bson and bson_ext and may require small
81
+ changes to existing code bases. Expect that release in the next
82
+ few days.
83
+ * Fix for Grid#delete bug.
84
+ * Log messages read like valid ruby driver code.
85
+ * Cursor#has_next.
86
+ * Tests for MongoDB 1.4 features.
87
+ * Flexible index creation method with Mongo::GEO2D constant.
88
+
89
+ 0.19.1 2010-3-2
90
+ * Fix for HashWithIndifferentAccess in ActiveSupport-3.0
91
+
92
+ 0.19 2010-3-1
93
+ * Deprecated GridFS::GridStore. Grid and GridFileSystem classes replace
94
+ the GridFS implementation with a simpler API and vastly-improved performance.
95
+ See http://www.mongodb.org/display/DOCS/GridFS+in+Ruby for more details.
96
+ * Safe mode for Grid and GridFileSystem.
97
+ * Grid and GridFileSystem use Mime/Types to detect content type (if available)
98
+ * Connection API simplified. Use Connection.paired for pairs and Connection.from_uri to
99
+ use MongoDB's connection URI specification.
100
+ * Authentication can be saved so that reauthentication happens automatically
101
+ on reconnect.
102
+ * Raise exception if authentication fails.
103
+ * Raise exception if index creation fails.
104
+ * Removed a number of deprecated methods and classes.
105
+ * Several bug fixes.
106
+ * Nearing 1.0!
107
+
108
+ 0.18.3 2010-1-25
109
+ * Convert docs to YARD
110
+ * Support MongoDB extended JSON on ObjectID#to_json
111
+ * ObjectID#from_time for performing date range queries on _id (thx., Sunny Hirai)
112
+ * GridStore#mv for renaming files (Matt Powell)
113
+ * Safe mode for Collection#remove (Patrick Collison)
114
+ * Support BSON types MinKey and MaxKey
115
+ * DEPRECATED Admin, XMLToRuby, and RegexpOfHolding classes.
116
+ * Handle unsupported Numeric types gracefully (Complex, Rational, BigDecimal)
117
+ * Handle unsupported Time types gracefully (Date, DateTime, ActiveSupport::TimeWithZone)
118
+ * Numerous small bug fixes
119
+ * Minor performance improvements
120
+
121
+ 0.18.2 2009-12-29
122
+ * Significant GridStore performance improvement (thx., Sunny Hirai)
123
+ * Enabled support for keyf on group
124
+ * Support :query option for Collection#distinct
125
+ * Support :finalize option for Collection#group
126
+ * (0.18.1) ObjectID#generation_time returns a created_at timestamp.
127
+ * Deprecated Command#group running as a JS eval; should now be run as a command.
128
+ * Deprecated Cursor#next_object for Cursor#next_document
129
+ * Character encoding fixes for C extension
130
+ * Enforce 4MB limit on document creation
131
+ * Simplified connection pooling code
132
+ * Fixes for connection pooling on Ruby 1.8.6/Windows.
133
+
134
+ 0.18.1 2009-12-05
135
+ * Fixed issue with negative dates in Ruby 1.9
136
+ * Minor refactorings for C extension and BSON classes
137
+ * Ensure UTF-8 in Ruby 1.8
138
+ * Fix for connections on non-default port (Delano Mandelbaum)
139
+ * More explicit test suite tasks for running with/without C extension.
140
+
141
+ 0.18 2009-11-25
142
+ * Connections now support connection pooling. See http://api.mongodb.org/ruby/0.18/classes/Mongo/Connection.html#M000158
143
+ * Deprecated :auto_reconnect option on connection; if the driver fails to
144
+ connect, it will automatically try to reconnect on the subsequent operation.
145
+ See http://www.mongodb.org/display/DOCS/Replica+Pairs+in+Ruby
146
+ * Added Collection#map_reduce helper (Christos Trochalakis)
147
+ * Deprecated DB#db_command in favor of DB#command.
148
+ * Removed deprecated old sort options, :offset, and Connection#clear.
149
+ * Lots of internal code restructuring for better maintainability.
150
+
151
+ 0.17.1 2009-11-17
152
+ * Index ordering fix
153
+ * Notice to install mongo_ext
154
+
155
+ 0.17 2009-11-16
156
+ * Performance improvements
157
+ * large document inserts twice as fast as 0.16
158
+ * queries 18% faster than 0.16 on average
159
+ * see benchmark comparison: http://gist.github.com/236062
160
+ * Support for multi-update for Mongo >= 1.1.3 (See Collection#update)
161
+ * Collection#distinct
162
+ * Connection#copy_database (voodootikigod)
163
+ * C optimizations for ByteBuffer#to_s and ObjectID#generate (seancribbs)
164
+ * Continue code restructuring for performance and simplicity.
@@ -21,6 +21,15 @@ Here's a quick code sample. See the MongoDB Ruby Tutorial
21
21
 
22
22
  = Installation
23
23
 
24
+ === Ruby Versions
25
+
26
+ The driver works and is consistently tested on Ruby 1.8.6, 1.8.7, and 1.9.1.
27
+
28
+ Note that if you're on 1.8.7, be sure that you're using a patchlevel >= 249. There
29
+ are some IO bugs in earlier versions.
30
+
31
+ === Gems
32
+
24
33
  The driver's gems are hosted at Rubygems.org[http://rubygems.org]. Make sure you're
25
34
  using the latest version of rubygems:
26
35
 
data/Rakefile CHANGED
@@ -110,7 +110,7 @@ end
110
110
 
111
111
  desc "Generate documentation"
112
112
  task :rdoc do
113
- version = eval(File.read("mongo-ruby-driver.gemspec")).version
113
+ version = eval(File.read("mongo.gemspec")).version
114
114
  out = File.join('html', version.to_s)
115
115
  FileUtils.rm_rf('html')
116
116
  system "rdoc --main README.rdoc --op #{out} --inline-source --quiet README.rdoc `find lib -name '*.rb'`"
@@ -121,7 +121,7 @@ task :ydoc do
121
121
  require File.join(File.dirname(__FILE__), 'lib', 'mongo')
122
122
  out = File.join('ydoc', Mongo::VERSION)
123
123
  FileUtils.rm_rf('ydoc')
124
- system "yardoc lib/**/*.rb lib/mongo/**/*.rb -e docs/yard_ext.rb -p docs/templates -o #{out} --title MongoRuby-#{Mongo::VERSION}"
124
+ system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e docs/yard_ext.rb -p docs/templates -o #{out} --title MongoRuby-#{Mongo::VERSION}"
125
125
  end
126
126
 
127
127
  desc "Publish documentation to mongo.rubyforge.org"
@@ -136,7 +136,7 @@ namespace :gem do
136
136
  task :install do
137
137
  sh "gem build bson.gemspec"
138
138
  sh "gem install bson-*.gem"
139
- sh "gem build mongo-ruby-driver.gemspec"
139
+ sh "gem build mongo.gemspec"
140
140
  sh "gem install mongo-*.gem"
141
141
  sh "rm mongo-*.gem"
142
142
  sh "rm bson-*.gem"
@@ -3,7 +3,7 @@
3
3
  $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
4
4
 
5
5
  module Mongo
6
- VERSION = "1.0.2"
6
+ VERSION = "1.0.3"
7
7
  end
8
8
 
9
9
  module Mongo
@@ -374,7 +374,7 @@ module Mongo
374
374
  #
375
375
  # @core indexes create_index-instance_method
376
376
  def create_index(spec, opts={})
377
- opts.assert_valid_keys(:min, :max, :background, :unique, :dropDups)
377
+ opts.assert_valid_keys(:min, :max, :name, :background, :unique, :dropDups)
378
378
  field_spec = BSON::OrderedHash.new
379
379
  if spec.is_a?(String) || spec.is_a?(Symbol)
380
380
  field_spec[spec.to_s] = 1
@@ -392,7 +392,7 @@ module Mongo
392
392
  "should be either a string, symbol, or an array of arrays."
393
393
  end
394
394
 
395
- name = generate_index_name(field_spec)
395
+ name = opts.delete(:name) || generate_index_name(field_spec)
396
396
 
397
397
  selector = {
398
398
  :name => name,
@@ -434,8 +434,8 @@ module Mongo
434
434
 
435
435
  # Atomically update and return a document using MongoDB's findAndModify command. (MongoDB > 1.3.0)
436
436
  #
437
- # @option opts [Hash] :update (nil) the update operation to perform on the matched document.
438
437
  # @option opts [Hash] :query ({}) a query selector document for matching the desired document.
438
+ # @option opts [Hash] :update (nil) the update operation to perform on the matched document.
439
439
  # @option opts [Array, String, OrderedHash] :sort ({}) specify a sort option for the query using any
440
440
  # of the sort options available for Cursor#sort. Sort order is important if the query will be matching
441
441
  # multiple documents since only the first matching document will be updated and returned.
@@ -670,6 +670,8 @@ module Mongo
670
670
  message = BSON::ByteBuffer.new([0, 0, 0, 0])
671
671
  BSON::BSON_RUBY.serialize_cstr(message, "#{@db.name}.#{collection_name}")
672
672
  documents.each { |doc| message.put_array(BSON::BSON_CODER.serialize(doc, check_keys, true).to_a) }
673
+ raise InvalidOperation, "Exceded maximum insert size of 16,000,000 bytes" if message.size > 16_000_000
674
+
673
675
  if safe
674
676
  @connection.send_message_with_safe_check(Mongo::Constants::OP_INSERT, message, @db.name,
675
677
  "#{@db.name}['#{collection_name}'].insert(#{documents.inspect})", safe)
@@ -32,7 +32,7 @@ module Mongo
32
32
  STANDARD_HEADER_SIZE = 16
33
33
  RESPONSE_HEADER_SIZE = 20
34
34
 
35
- MONGODB_URI_MATCHER = /(([.\w\d]+):([\w\d]+)@)?([.\w\d]+)(:([\w\d]+))?(\/([-\d\w]+))?/
35
+ MONGODB_URI_MATCHER = /(([.\w\d]+):([\w\d]+)@)?([-.\w\d]+)(:([\w\d]+))?(\/([-\d\w]+))?/
36
36
  MONGODB_URI_SPEC = "mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/database]"
37
37
 
38
38
  attr_reader :logger, :size, :host, :port, :nodes, :auths, :sockets, :checked_out
@@ -437,9 +437,10 @@ module Mongo
437
437
 
438
438
  break if is_master || @slave_ok
439
439
  rescue SocketError, SystemCallError, IOError => ex
440
- socket.close if socket
441
440
  close
442
441
  false
442
+ ensure
443
+ socket.close if socket
443
444
  end
444
445
  end
445
446
  raise ConnectionFailure, "failed to connect to any given host:port" unless socket
@@ -522,11 +523,11 @@ module Mongo
522
523
  port = port.to_i
523
524
  db = matches[8]
524
525
 
525
- if (uname || pwd || db) && !(uname && pwd && db)
526
+ if uname && pwd && db
527
+ add_auth(db, uname, pwd)
528
+ elsif uname || pwd || db
526
529
  raise MongoArgumentError, "MongoDB URI must include all three of username, password, " +
527
530
  "and db if any one of these is specified."
528
- else
529
- add_auth(db, uname, pwd)
530
531
  end
531
532
 
532
533
  nodes << [host, port]
@@ -11,7 +11,8 @@ Gem::Specification.new do |s|
11
11
 
12
12
  s.require_paths = ['lib']
13
13
 
14
- s.files = ['README.rdoc', 'Rakefile', 'mongo-ruby-driver.gemspec', 'LICENSE.txt']
14
+ s.files = ['README.rdoc', 'HISTORY', 'Rakefile',
15
+ 'mongo.gemspec', 'LICENSE.txt']
15
16
  s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
16
17
  s.files += Dir['examples/**/*.rb'] + Dir['bin/**/*.rb']
17
18
  s.test_files = Dir['test/**/*.rb']
@@ -115,6 +115,17 @@ class TestCollection < Test::Unit::TestCase
115
115
  end
116
116
  end
117
117
 
118
+ def test_maximum_insert_size
119
+ docs = []
120
+ 16.times do
121
+ docs << {'foo' => 'a' * 1_000_000}
122
+ end
123
+
124
+ assert_raise InvalidOperation do
125
+ @@test.insert(docs)
126
+ end
127
+ end
128
+
118
129
  if @@version >= "1.5.1"
119
130
  def test_safe_mode_with_advanced_safe_with_invalid_options
120
131
  assert_raise_error ArgumentError, "Unknown key(s): wtime" do
@@ -626,6 +637,19 @@ class TestCollection < Test::Unit::TestCase
626
637
  end
627
638
  end
628
639
 
640
+ should "raise an error if index name is greater than 128" do
641
+ assert_raise Mongo::OperationFailure do
642
+ @collection.create_index([['a' * 25, 1], ['b' * 25, 1],
643
+ ['c' * 25, 1], ['d' * 25, 1], ['e' * 25, 1]])
644
+ end
645
+ end
646
+
647
+ should "allow for an alternate name to be specified" do
648
+ @collection.create_index([['a' * 25, 1], ['b' * 25, 1],
649
+ ['c' * 25, 1], ['d' * 25, 1], ['e' * 25, 1]], :name => 'foo_index')
650
+ assert @collection.index_information['foo_index']
651
+ end
652
+
629
653
  should "generate indexes in the proper order" do
630
654
  @collection.expects(:insert_documents) do |sel, coll, safe|
631
655
  assert_equal 'b_1_a_1', sel[:name]
@@ -24,6 +24,12 @@ class TestConnection < Test::Unit::TestCase
24
24
  assert Mongo::Support.ok?(server_info)
25
25
  end
26
26
 
27
+ def test_connection_uri
28
+ con = Connection.from_uri("mongodb://localhost:27017")
29
+ assert_equal "localhost", con.host
30
+ assert_equal 27017, con.port
31
+ end
32
+
27
33
  def test_server_version
28
34
  assert_match /\d\.\d+(\.\d+)?/, @mongo.server_version.to_s
29
35
  end
@@ -7,6 +7,7 @@ class ConnectionTest < Test::Unit::TestCase
7
7
  def new_mock_socket
8
8
  socket = Object.new
9
9
  socket.stubs(:setsockopt).with(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
10
+ socket.expects(:close)
10
11
  socket
11
12
  end
12
13
 
@@ -65,6 +66,12 @@ class ConnectionTest < Test::Unit::TestCase
65
66
  assert_equal ['localhost', 27017], @conn.nodes[0]
66
67
  end
67
68
 
69
+ should "allow a complex host names" do
70
+ host_name = "foo.bar-12345.org"
71
+ @conn = Connection.from_uri("mongodb://#{host_name}", :connect => false)
72
+ assert_equal [host_name, 27017], @conn.nodes[0]
73
+ end
74
+
68
75
  should "parse a uri specifying multiple nodes" do
69
76
  @conn = Connection.from_uri("mongodb://localhost:27017,mydb.com:27018", :connect => false)
70
77
  assert_equal ['localhost', 27017], @conn.nodes[0]
metadata CHANGED
@@ -1,29 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 3
9
+ version: 1.0.3
5
10
  platform: ruby
6
11
  authors:
7
- - Jim Menard
8
- - Mike Dirolf
9
- - Kyle Banker
12
+ - Jim Menard
13
+ - Mike Dirolf
14
+ - Kyle Banker
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
18
 
14
- date: 2010-06-05 00:00:00 -04:00
19
+ date: 2010-06-15 00:00:00 -04:00
15
20
  default_executable:
16
21
  dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: bson
19
- type: :runtime
20
- version_requirement:
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - "="
24
- - !ruby/object:Gem::Version
25
- version: 1.0.2
26
- version:
22
+ - !ruby/object:Gem::Dependency
23
+ name: bson
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "="
28
+ - !ruby/object:Gem::Version
29
+ segments:
30
+ - 1
31
+ - 0
32
+ - 3
33
+ version: 1.0.3
34
+ type: :runtime
35
+ version_requirements: *id001
27
36
  description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
28
37
  email: mongodb-dev@googlegroups.com
29
38
  executables: []
@@ -31,92 +40,95 @@ executables: []
31
40
  extensions: []
32
41
 
33
42
  extra_rdoc_files:
34
- - README.rdoc
43
+ - README.rdoc
35
44
  files:
36
- - README.rdoc
37
- - Rakefile
38
- - mongo-ruby-driver.gemspec
39
- - LICENSE.txt
40
- - lib/mongo.rb
41
- - lib/mongo/collection.rb
42
- - lib/mongo/connection.rb
43
- - lib/mongo/cursor.rb
44
- - lib/mongo/db.rb
45
- - lib/mongo/exceptions.rb
46
- - lib/mongo/gridfs/grid.rb
47
- - lib/mongo/gridfs/grid_ext.rb
48
- - lib/mongo/gridfs/grid_file_system.rb
49
- - lib/mongo/gridfs/grid_io.rb
50
- - lib/mongo/util/conversions.rb
51
- - lib/mongo/util/core_ext.rb
52
- - lib/mongo/util/server_version.rb
53
- - lib/mongo/util/support.rb
54
- - examples/admin.rb
55
- - examples/capped.rb
56
- - examples/cursor.rb
57
- - examples/gridfs.rb
58
- - examples/index_test.rb
59
- - examples/info.rb
60
- - examples/queries.rb
61
- - examples/simple.rb
62
- - examples/strict.rb
63
- - examples/types.rb
64
- - bin/bson_benchmark.rb
65
- - bin/fail_if_no_c.rb
45
+ - README.rdoc
46
+ - HISTORY
47
+ - Rakefile
48
+ - mongo.gemspec
49
+ - LICENSE.txt
50
+ - lib/mongo.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
57
+ - lib/mongo/gridfs/grid_ext.rb
58
+ - lib/mongo/gridfs/grid_file_system.rb
59
+ - lib/mongo/gridfs/grid_io.rb
60
+ - lib/mongo/util/conversions.rb
61
+ - lib/mongo/util/core_ext.rb
62
+ - lib/mongo/util/server_version.rb
63
+ - lib/mongo/util/support.rb
64
+ - examples/admin.rb
65
+ - examples/capped.rb
66
+ - examples/cursor.rb
67
+ - examples/gridfs.rb
68
+ - examples/index_test.rb
69
+ - examples/info.rb
70
+ - examples/queries.rb
71
+ - examples/simple.rb
72
+ - examples/strict.rb
73
+ - examples/types.rb
74
+ - bin/bson_benchmark.rb
75
+ - bin/fail_if_no_c.rb
66
76
  has_rdoc: true
67
77
  homepage: http://www.mongodb.org
68
78
  licenses: []
69
79
 
70
80
  post_install_message:
71
81
  rdoc_options:
72
- - --main
73
- - README.rdoc
74
- - --inline-source
82
+ - --main
83
+ - README.rdoc
84
+ - --inline-source
75
85
  require_paths:
76
- - lib
86
+ - lib
77
87
  required_ruby_version: !ruby/object:Gem::Requirement
78
88
  requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: "0"
82
- version:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ segments:
92
+ - 0
93
+ version: "0"
83
94
  required_rubygems_version: !ruby/object:Gem::Requirement
84
95
  requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- version: "0"
88
- version:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ segments:
99
+ - 0
100
+ version: "0"
89
101
  requirements: []
90
102
 
91
103
  rubyforge_project:
92
- rubygems_version: 1.3.5
104
+ rubygems_version: 1.3.6
93
105
  signing_key:
94
106
  specification_version: 3
95
107
  summary: Ruby driver for the MongoDB
96
108
  test_files:
97
- - test/collection_test.rb
98
- - test/connection_test.rb
99
- - test/conversions_test.rb
100
- - test/cursor_test.rb
101
- - test/db_api_test.rb
102
- - test/db_connection_test.rb
103
- - test/db_test.rb
104
- - test/grid_file_system_test.rb
105
- - test/grid_io_test.rb
106
- - test/grid_test.rb
107
- - test/slave_connection_test.rb
108
- - test/support_test.rb
109
- - test/test_helper.rb
110
- - test/threading_test.rb
111
- - test/auxillary/1.4_features.rb
112
- - test/auxillary/authentication_test.rb
113
- - test/auxillary/autoreconnect_test.rb
114
- - test/replica/count_test.rb
115
- - test/replica/insert_test.rb
116
- - test/replica/pooled_insert_test.rb
117
- - test/replica/query_test.rb
118
- - test/threading/test_threading_large_pool.rb
119
- - test/unit/collection_test.rb
120
- - test/unit/connection_test.rb
121
- - test/unit/cursor_test.rb
122
- - test/unit/db_test.rb
109
+ - test/auxillary/1.4_features.rb
110
+ - test/auxillary/authentication_test.rb
111
+ - test/auxillary/autoreconnect_test.rb
112
+ - test/collection_test.rb
113
+ - test/connection_test.rb
114
+ - test/conversions_test.rb
115
+ - test/cursor_test.rb
116
+ - test/db_api_test.rb
117
+ - test/db_connection_test.rb
118
+ - test/db_test.rb
119
+ - test/grid_file_system_test.rb
120
+ - test/grid_io_test.rb
121
+ - test/grid_test.rb
122
+ - test/replica/count_test.rb
123
+ - test/replica/insert_test.rb
124
+ - test/replica/pooled_insert_test.rb
125
+ - test/replica/query_test.rb
126
+ - test/slave_connection_test.rb
127
+ - test/support_test.rb
128
+ - test/test_helper.rb
129
+ - test/threading/test_threading_large_pool.rb
130
+ - test/threading_test.rb
131
+ - test/unit/collection_test.rb
132
+ - test/unit/connection_test.rb
133
+ - test/unit/cursor_test.rb
134
+ - test/unit/db_test.rb