bson 0.20 → 0.20.1
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/lib/bson.rb +3 -3
- metadata +11 -4
data/lib/bson.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
2
2
|
|
|
3
3
|
module BSON
|
|
4
|
-
VERSION = "0.20"
|
|
4
|
+
VERSION = "0.20.1"
|
|
5
5
|
def self.serialize(obj, check_keys=false, move_id=false)
|
|
6
6
|
BSON_CODER.serialize(obj, check_keys, move_id)
|
|
7
7
|
end
|
|
@@ -27,9 +27,9 @@ rescue LoadError
|
|
|
27
27
|
BSON_CODER = BSON_RUBY
|
|
28
28
|
end
|
|
29
29
|
warn "\n**Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance."
|
|
30
|
-
warn " You can install the extension as follows:\n gem install
|
|
30
|
+
warn " You can install the extension as follows:\n gem install bson_ext\n"
|
|
31
31
|
warn " If you continue to receive this message after installing, make sure that the"
|
|
32
|
-
warn "
|
|
32
|
+
warn " bson_ext gem is in your load path and that the bson_ext and mongo gems are of the same version.\n"
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
require 'bson/types/binary'
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bson
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
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
|
|
@@ -51,18 +56,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
51
56
|
requirements:
|
|
52
57
|
- - ">="
|
|
53
58
|
- !ruby/object:Gem::Version
|
|
59
|
+
segments:
|
|
60
|
+
- 0
|
|
54
61
|
version: "0"
|
|
55
|
-
version:
|
|
56
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
63
|
requirements:
|
|
58
64
|
- - ">="
|
|
59
65
|
- !ruby/object:Gem::Version
|
|
66
|
+
segments:
|
|
67
|
+
- 0
|
|
60
68
|
version: "0"
|
|
61
|
-
version:
|
|
62
69
|
requirements: []
|
|
63
70
|
|
|
64
71
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 1.3.
|
|
72
|
+
rubygems_version: 1.3.6
|
|
66
73
|
signing_key:
|
|
67
74
|
specification_version: 3
|
|
68
75
|
summary: Ruby implementation of BSON
|