bson 2.2.2-java → 2.2.3-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bson might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/bson-ruby.jar +0 -0
- data/lib/bson/version.rb +1 -1
- data/spec/bson/document_spec.rb +16 -0
- metadata +3 -25
- checksums.yaml.gz.sig +0 -3
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d692eea99d6fafcee6f4f8e8d0f917e23ca72e29
|
4
|
+
data.tar.gz: c74e0fc0429d307995f1d459a19edc60b558b133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 667d6954f96c4c6492018fbdf9dc5bfbef2c0b4a1eb6749a159a57c82180b5cb4dfcb45722930701f5a06a7323571f076825ee884ff17f1c975cca314ca29fbf
|
7
|
+
data.tar.gz: f3f3df254bccec5380f76260656c9f1b7d5b26a5c5a3f40298e28a092b029ddd7da28a79f1be37cf47d8bb2ce52a855388c81939977d5e52d0c279f6111640b8
|
data/CHANGELOG.md
CHANGED
data/lib/bson-ruby.jar
CHANGED
Binary file
|
data/lib/bson/version.rb
CHANGED
data/spec/bson/document_spec.rb
CHANGED
@@ -630,6 +630,22 @@ describe BSON::Document do
|
|
630
630
|
|
631
631
|
it_behaves_like "a bson element"
|
632
632
|
|
633
|
+
context "when the hash has symbol keys" do
|
634
|
+
|
635
|
+
let(:obj) do
|
636
|
+
described_class[:ismaster, 1].freeze
|
637
|
+
end
|
638
|
+
|
639
|
+
let(:bson) do
|
640
|
+
"#{19.to_bson}#{BSON::Int32::BSON_TYPE}ismaster#{BSON::NULL_BYTE}" +
|
641
|
+
"#{1.to_bson}#{BSON::NULL_BYTE}"
|
642
|
+
end
|
643
|
+
|
644
|
+
it "properly serializes the symbol" do
|
645
|
+
expect(obj.to_bson).to eq(bson)
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
633
649
|
context "when the hash is a single level" do
|
634
650
|
|
635
651
|
let(:obj) do
|
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: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Tyler Brock
|
@@ -11,30 +11,8 @@ authors:
|
|
11
11
|
- Gary Murakami
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
|
-
cert_chain:
|
15
|
-
-
|
16
|
-
-----BEGIN CERTIFICATE-----
|
17
|
-
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtkcml2
|
18
|
-
ZXItcnVieTEVMBMGCgmSJomT8ixkARkWBTEwZ2VuMRMwEQYKCZImiZPyLGQBGRYD
|
19
|
-
Y29tMB4XDTE0MDIxOTE1MTEyNloXDTE1MDIxOTE1MTEyNlowQjEUMBIGA1UEAwwL
|
20
|
-
ZHJpdmVyLXJ1YnkxFTATBgoJkiaJk/IsZAEZFgUxMGdlbjETMBEGCgmSJomT8ixk
|
21
|
-
ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFdSAa8fRm1
|
22
|
-
bAM9za6Z0fAH4g02bqM1NGnw8zJQrE/PFrFfY6IFCT2AsLfOwr1maVm7iU1+kdVI
|
23
|
-
IQ+iI/9+E+ArJ+rbGV3dDPQ+SLl3mLT+vXjfjcxMqI2IW6UuVtt2U3Rxd4QU0kdT
|
24
|
-
JxmcPYs5fDN6BgYc6XXgUjy3m+Kwha2pGctdciUOwEfOZ4RmNRlEZKCMLRHdFP8j
|
25
|
-
4WTnJSGfXDiuoXICJb5yOPOZPuaapPSNXp93QkUdsqdKC32I+KMpKKYGBQ6yisfA
|
26
|
-
5MyVPPCzLR1lP5qXVGJPnOqUAkvEUfCahg7EP9tI20qxiXrR6TSEraYhIFXL0EGY
|
27
|
-
u8KAcPHm5KkCAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
28
|
-
BBYEFFt3WbF+9JpUjAoj62cQBgNb8HzXMCAGA1UdEQQZMBeBFWRyaXZlci1ydWJ5
|
29
|
-
QDEwZ2VuLmNvbTAgBgNVHRIEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5jb20wDQYJ
|
30
|
-
KoZIhvcNAQEFBQADggEBALGvdxHF+CnH6QO4PeIce3S8EHuHsYiGLk4sWgNGZkjD
|
31
|
-
V3C4XjlI8rQZxalwQwcauacOGj9x94flWUXruEF7+rjUtig7OIrQK2+uVg86vl8r
|
32
|
-
xy1n2s1d31KsuazEVExe5o19tnVbI9+30P9qPkS+NgaellXpj5c5qnJUGn5BJtzo
|
33
|
-
3D001zXpVnuZvCcE/A4fQ+BEM0zm0oOmA/gWIAFrufOL9oYg1881dRZ+kQytF/9c
|
34
|
-
JrZM8w8wGbIOeLtoQqa7HB/jOYbTahH7KMNh2LHAbOR93hNIJxVRa4iwxiMQ75tN
|
35
|
-
9WUIAJ4AEtjwRg1Bz0OwDo3aucPCBpx77+/FWhv7JYY=
|
36
|
-
-----END CERTIFICATE-----
|
37
|
-
date: 2014-04-03 00:00:00.000000000 Z
|
14
|
+
cert_chain: []
|
15
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
38
16
|
dependencies: []
|
39
17
|
description: A full featured BSON specification implementation, in Ruby
|
40
18
|
email:
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
'W�ӿO���g�� P �#�g������!k:�2����
|