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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e407939a4b8e13a960f15fc9d8910df10fa7f27b
4
- data.tar.gz: df201aaf41b3bb467851b7c4c41633371573807b
3
+ metadata.gz: d692eea99d6fafcee6f4f8e8d0f917e23ca72e29
4
+ data.tar.gz: c74e0fc0429d307995f1d459a19edc60b558b133
5
5
  SHA512:
6
- metadata.gz: 8c702264504931eb1845ad07d10a64db8f07bc7a29caa61cc6c64b52bf5f69ce6d1dfb15403aafc684a5f5d1c6e623f2ee51f74db5143122acbe4bdac5368345
7
- data.tar.gz: d546e6a01357b0271e598b05f8adc397443734855e74a37cf3bc85a24cf111d09765ab1880d04a1549085e13a217bb31455c1a25096c0e992e35fb063393196e
6
+ metadata.gz: 667d6954f96c4c6492018fbdf9dc5bfbef2c0b4a1eb6749a159a57c82180b5cb4dfcb45722930701f5a06a7323571f076825ee884ff17f1c975cca314ca29fbf
7
+ data.tar.gz: f3f3df254bccec5380f76260656c9f1b7d5b26a5c5a3f40298e28a092b029ddd7da28a79f1be37cf47d8bb2ce52a855388c81939977d5e52d0c279f6111640b8
@@ -1,6 +1,12 @@
1
1
  BSON Changelog
2
2
  ==============
3
3
 
4
+ ## 2.2.3
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fixed native C encoding of strings and performace on Rubinius.
9
+
4
10
  ## 2.2.2
5
11
 
6
12
  ### Bug Fixes
Binary file
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module BSON
16
- VERSION = "2.2.2"
16
+ VERSION = "2.2.3"
17
17
  end
@@ -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.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:
@@ -1,3 +0,0 @@
1
- l�#L�<N�����\��G%0>c�3}F��)����رILU��o��
2
- �ݗyn�c��wrNշLT�(|A@{3�ms�����˝Y�uZ�uZ������j��o!� �v"A���O��h���Nyԏ;�ƴ�W�"jQ?)N �f(��KFY&C6Ġ�� ��ϲy��*H�Hnvp.����F�j
3
- 2w2"�\���O=���l(Ϡz<e����à��\D�؎9�&�q9��T�m_�
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- 'W�ӿO���g�� P �# �g������!k:�2����