bson 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19d09e81d696c4a6863f598446eb739a217bde9f
4
- data.tar.gz: a20b9d91deb782700be8a71955453845979169e0
3
+ metadata.gz: b6a6c59b342df752f1bbbe7d374f05a24819ee0b
4
+ data.tar.gz: 450450cd24ce715adfdbb4c8edf45f77e0420427
5
5
  SHA512:
6
- metadata.gz: 3db38b183fd903072f8206f4082a6c89aa8d96258d5f7e9dfbbcd03b2391c8389b36e88e664680b49f2ed9ff64542646f92c7e336830840af81110fd16396e3b
7
- data.tar.gz: dce6d904c7734e893ccbde2dc9a7498552ccee055dcde74ac3773647ce678b14b2a85579d6c39aa75bb9f4c3baba2a2bda082bcd22d705e75b9bfe21fd661387
6
+ metadata.gz: f257986d690b5991b4a551b695cd2be4deb51821c87d0f451b65b9e9b696e182ac9aa4839695c265ef307dcf38a434b209acf15f0a96ba9dc0f6bd957c7a0252
7
+ data.tar.gz: 51a08b8e0803c04cef956116f1b17513a128d184bb869eefd8c8df6d13d8393c0a4e3f24994797c36bad971e758dbad0db628f3dc82b9afb680ee78a1abb3098
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,13 @@
1
1
  BSON Changelog
2
2
  ==============
3
3
 
4
+ ## 3.1.2
5
+
6
+ ### Bug Fixes
7
+
8
+ * [RUBY-950](https://jira.mongodb.org/browse/RUBY-950) Encode to UTF-8 then force
9
+ BINARY encoding in Binary#to_bson.
10
+
4
11
  ## 3.1.1
5
12
 
6
13
  ### Bug Fixes
@@ -134,7 +134,7 @@ module BSON
134
134
  encode_binary_data_with_placeholder(encoded) do |encoded|
135
135
  encoded << SUBTYPES.fetch(type)
136
136
  encoded << data.bytesize.to_bson if type == :old
137
- encoded << data
137
+ encoded << data.encode(UTF8).force_encoding(BINARY)
138
138
  end
139
139
  end
140
140
 
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module BSON
16
- VERSION = "3.1.1"
16
+ VERSION = "3.1.2"
17
17
  end
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: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -34,7 +34,7 @@ cert_chain:
34
34
  XZOS48LlWh15EG4yZo/gRzqNAW2LUIkYA5eMS2Kp6r+KV8IBUO/LaHdrXbdilpa8
35
35
  BRsuCo7UZDbFVRns04HLyjVvkj+K/ywIcdKdS0csz5M=
36
36
  -----END CERTIFICATE-----
37
- date: 2015-06-23 00:00:00.000000000 Z
37
+ date: 2015-07-01 00:00:00.000000000 Z
38
38
  dependencies: []
39
39
  description: A full featured BSON specification implementation, in Ruby
40
40
  email:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: 1.3.6
137
137
  requirements: []
138
138
  rubyforge_project: bson
139
- rubygems_version: 2.4.6
139
+ rubygems_version: 2.4.7
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Ruby Implementation of the BSON specification
metadata.gz.sig CHANGED
Binary file