bson 1.9.0 → 1.9.1.rc0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c375bb84ba23c71298767480971b1e58596e51c
4
- data.tar.gz: e632e932c077a0e9e0429e4c796c09e39f21bf5c
3
+ metadata.gz: 95dcb190c05290166b9fcc731565f10e3f4d8947
4
+ data.tar.gz: 5688cb97e58bd6648c980eee690ceea14fbcdbb1
5
5
  SHA512:
6
- metadata.gz: 80d34d78a66c13419fcf723d97d61fcc537fb78c2380958c884120b3ef1802d679b1d51983b6d07be16bef899991f1e57c235818356fea023983a49b04a61dfe
7
- data.tar.gz: 0acd14056f9ef6201deecf161e197aea0e9af73e8544ee22150b62a3090ec85265cdd4f62e393cf89e9246bbaa5164ac2e5d8362e395487929733b9920a602c5
6
+ metadata.gz: 4a6086d91a3247b6c3ff032599458f79aebeb5c6b2037e19c52fbe93374521cb70f9290a42db0e057a86440bc3ff5cd4f79781112b66d9335172dea71e391ac1
7
+ data.tar.gz: b7c6cbf7d8f8e778fa7a6d239df6fd86408e4675ad6a97aea4d50906db20d694f2f82d926c3b2a2c8772ebeb46934bd017e6f86656ebee99aca30bc2470ac316
Binary file
data.tar.gz.sig CHANGED
Binary file
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.9.1.rc0
@@ -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.0
4
+ version: 1.9.1.rc0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -33,7 +33,7 @@ cert_chain:
33
33
  8v7zLF2XliYbfurYIwkcXs8yPn8ggApBIy9bX6VJxRs/l2+UvqzaHIFaFy/F8/GP
34
34
  RNTuXsVG5NDACo7Q
35
35
  -----END CERTIFICATE-----
36
- date: 2013-06-11 00:00:00.000000000 Z
36
+ date: 2013-07-02 00:00:00.000000000 Z
37
37
  dependencies: []
38
38
  description: A Ruby BSON implementation for MongoDB. For more information about Mongo,
39
39
  see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.
@@ -78,12 +78,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - '>'
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: 1.3.1
84
84
  requirements: []
85
85
  rubyforge_project: bson
86
- rubygems_version: 2.0.2
86
+ rubygems_version: 2.0.3
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Ruby implementation of BSON
metadata.gz.sig CHANGED
Binary file