mongo 0.20 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
  require 'rubygems'
6
6
  require 'mongo'
7
7
  begin
8
- require 'mongo_ext/cbson'
8
+ require 'bson_ext/cbson'
9
9
  rescue LoadError
10
10
  Process.exit 1
11
11
  end
@@ -1,7 +1,7 @@
1
1
  $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
 
3
3
  module Mongo
4
- VERSION = "0.20"
4
+ VERSION = "0.20.1"
5
5
  end
6
6
 
7
7
  module Mongo
@@ -318,7 +318,7 @@ module Mongo
318
318
  BSON::BSON_RUBY.serialize_cstr(message, "#{db_name}.#{@collection.name}")
319
319
 
320
320
  # Number of results to return; db decides for now.
321
- message.put_int(0)
321
+ message.put_int(100)
322
322
 
323
323
  # Cursor id.
324
324
  message.put_long(@cursor_id)
@@ -27,4 +27,6 @@ Gem::Specification.new do |s|
27
27
  s.authors = ['Jim Menard', 'Mike Dirolf', 'Kyle Banker']
28
28
  s.email = 'mongodb-dev@googlegroups.com'
29
29
  s.homepage = 'http://www.mongodb.org'
30
+
31
+ s.add_dependency(%q<bson>, ["= #{Mongo::VERSION}"])
30
32
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.20"
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 20
8
+ - 1
9
+ version: 0.20.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jim Menard
@@ -13,8 +18,21 @@ cert_chain: []
13
18
 
14
19
  date: 2010-04-07 00:00:00 -04:00
15
20
  default_executable:
16
- dependencies: []
17
-
21
+ dependencies:
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
+ - 0
31
+ - 20
32
+ - 1
33
+ version: 0.20.1
34
+ type: :runtime
35
+ version_requirements: *id001
18
36
  description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
19
37
  email: mongodb-dev@googlegroups.com
20
38
  executables: []
@@ -68,18 +86,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
86
  requirements:
69
87
  - - ">="
70
88
  - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
71
91
  version: "0"
72
- version:
73
92
  required_rubygems_version: !ruby/object:Gem::Requirement
74
93
  requirements:
75
94
  - - ">="
76
95
  - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
77
98
  version: "0"
78
- version:
79
99
  requirements: []
80
100
 
81
101
  rubyforge_project:
82
- rubygems_version: 1.3.5
102
+ rubygems_version: 1.3.6
83
103
  signing_key:
84
104
  specification_version: 3
85
105
  summary: Ruby driver for the MongoDB