bson 1.9.0-java → 1.9.1-java
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.tar.gz.sig +0 -0
- data/VERSION +1 -1
- data/lib/bson/ordered_hash.rb +8 -0
- metadata +3 -2
- metadata.gz.sig +1 -3
data.tar.gz.sig
CHANGED
|
Binary file
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.9.
|
|
1
|
+
1.9.1
|
data/lib/bson/ordered_hash.rb
CHANGED
|
@@ -33,6 +33,14 @@ module BSON
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
# Allows activesupport Array#extract_options! to extract options
|
|
37
|
+
# when they are instance of BSON::OrderedHash
|
|
38
|
+
#
|
|
39
|
+
# @return [true, false] true if options can be extracted
|
|
40
|
+
def extractable_options?
|
|
41
|
+
instance_of?(BSON::OrderedHash)
|
|
42
|
+
end
|
|
43
|
+
|
|
36
44
|
# We only need the body of this class if the RUBY_VERSION is before 1.9
|
|
37
45
|
if RUBY_VERSION < '1.9'
|
|
38
46
|
attr_accessor :ordered_keys
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bson
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: java
|
|
7
7
|
authors:
|
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
|
34
34
|
8v7zLF2XliYbfurYIwkcXs8yPn8ggApBIy9bX6VJxRs/l2+UvqzaHIFaFy/F8/GP
|
|
35
35
|
RNTuXsVG5NDACo7Q
|
|
36
36
|
-----END CERTIFICATE-----
|
|
37
|
-
date: 2013-
|
|
37
|
+
date: 2013-07-09 00:00:00.000000000 Z
|
|
38
38
|
dependencies: []
|
|
39
39
|
description: A Ruby BSON implementation for MongoDB. For more information about Mongo, see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.
|
|
40
40
|
email: mongodb-dev@googlegroups.com
|
|
@@ -91,3 +91,4 @@ signing_key:
|
|
|
91
91
|
specification_version: 3
|
|
92
92
|
summary: Ruby implementation of BSON
|
|
93
93
|
test_files: []
|
|
94
|
+
has_rdoc: yard
|
metadata.gz.sig
CHANGED