bson 4.2.0.rc0 → 4.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/bson.rb +3 -3
- data/lib/bson/decimal128.rb +1 -1
- data/lib/bson/timestamp.rb +1 -1
- data/lib/bson/version.rb +1 -1
- data/spec/bson/timestamp_spec.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7d7c6cc6a8abff094af51c1a8432494d09c1f72
|
4
|
+
data.tar.gz: f9994f21778f1c9e15e42c668df5321ceab814e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d44df3cbad351bbc8eb9108d71c2052ce9dc7a54af97c2663f60e92f860408e6d393bbe8f16ed0d62b3c8d183e7edf011de518b479840b4df749a080837ea5
|
7
|
+
data.tar.gz: baa1976590ed70238de71cb312db9252cbe47bbc95ba6bd407a85989d84df03f01788a5f3cee4de204af2f4e7f35cdeaea037aec601f2ebb475f7e87d8fc5d35
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/bson.rb
CHANGED
@@ -91,8 +91,7 @@ require "bson/undefined"
|
|
91
91
|
require "bson/version"
|
92
92
|
|
93
93
|
# If we are using JRuby, attempt to load the Java extensions, if we are using
|
94
|
-
# MRI or Rubinius, attempt to load the C
|
95
|
-
# we revert back to a pure Ruby implementation of the Buffer class.
|
94
|
+
# MRI or Rubinius, attempt to load the C extensions.
|
96
95
|
#
|
97
96
|
# @since 2.0.0
|
98
97
|
begin
|
@@ -103,5 +102,6 @@ begin
|
|
103
102
|
require "bson_native"
|
104
103
|
end
|
105
104
|
rescue LoadError
|
106
|
-
$stderr.puts("
|
105
|
+
$stderr.puts("Failed to load the necessary extensions.")
|
106
|
+
raise
|
107
107
|
end
|
data/lib/bson/decimal128.rb
CHANGED
data/lib/bson/timestamp.rb
CHANGED
data/lib/bson/version.rb
CHANGED
data/spec/bson/timestamp_spec.rb
CHANGED
@@ -55,7 +55,7 @@ describe BSON::Timestamp do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
it "returns the binary data plus type" do
|
58
|
-
expect(object.as_json).to eq({ "t" => 10, "i" => 50 })
|
58
|
+
expect(object.as_json).to eq({"$timestamp" => { "t" => 10, "i" => 50 } })
|
59
59
|
end
|
60
60
|
|
61
61
|
it_behaves_like "a JSON serializable object"
|
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: 4.2.0.
|
4
|
+
version: 4.2.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
yVPbgNJA2D/PnLe8ZFMhgJf+VIA1V4oybP/o+9aqlghTtNfYHJpRCAluUiaywwXl
|
35
35
|
KzD4mmIBpxtbWrWB3hx7tsVJmWx5zgO9aDAfvWnXfoo=
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2016-
|
37
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
38
38
|
dependencies: []
|
39
39
|
description: A full featured BSON specification implementation, in Ruby
|
40
40
|
email:
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: 1.3.6
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project: bson
|
156
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.5.1
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Ruby Implementation of the BSON specification
|
metadata.gz.sig
CHANGED
Binary file
|