moped 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of moped might be problematic. Click here for more details.
- data/CHANGELOG.md +39 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/moped/bson.rb +4 -4
- data/lib/moped/bson/binary.rb +96 -30
- data/lib/moped/bson/code.rb +81 -32
- data/lib/moped/bson/document.rb +25 -0
- data/lib/moped/bson/extensions/array.rb +14 -24
- data/lib/moped/bson/extensions/boolean.rb +3 -1
- data/lib/moped/bson/extensions/false_class.rb +2 -1
- data/lib/moped/bson/extensions/float.rb +7 -7
- data/lib/moped/bson/extensions/hash.rb +16 -25
- data/lib/moped/bson/extensions/integer.rb +8 -7
- data/lib/moped/bson/extensions/nil_class.rb +6 -6
- data/lib/moped/bson/extensions/object.rb +2 -4
- data/lib/moped/bson/extensions/regexp.rb +13 -14
- data/lib/moped/bson/extensions/string.rb +8 -9
- data/lib/moped/bson/extensions/symbol.rb +8 -8
- data/lib/moped/bson/extensions/time.rb +9 -7
- data/lib/moped/bson/extensions/true_class.rb +2 -1
- data/lib/moped/bson/max_key.rb +34 -3
- data/lib/moped/bson/min_key.rb +34 -3
- data/lib/moped/bson/object_id.rb +223 -77
- data/lib/moped/bson/timestamp.rb +27 -4
- data/lib/moped/bson/types.rb +5 -5
- data/lib/moped/cluster.rb +21 -4
- data/lib/moped/collection.rb +15 -5
- data/lib/moped/database.rb +1 -1
- data/lib/moped/errors.rb +19 -5
- data/lib/moped/node.rb +23 -31
- data/lib/moped/protocol/query.rb +15 -0
- data/lib/moped/query.rb +31 -9
- data/lib/moped/session.rb +22 -8
- data/lib/moped/sockets/connectable.rb +58 -7
- data/lib/moped/version.rb +1 -1
- metadata +4 -4
data/lib/moped/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moped
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A MongoDB driver for Ruby.
|
15
15
|
email:
|
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
segments:
|
91
91
|
- 0
|
92
|
-
hash:
|
92
|
+
hash: 1891831694650711638
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: 1891831694650711638
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
104
|
rubygems_version: 1.8.24
|