bson 3.1.1-java → 3.1.2-java

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: a4582887945e5c40e4bc5208f20c7f5fd8a68aed
4
- data.tar.gz: 318fdcb621f419e89793067ea91e80f5a3b9002e
3
+ metadata.gz: 6ae5b3641c7aca31c8f6ac1af6c078db32957b27
4
+ data.tar.gz: b80382974a1854ab3d3a634acb8bc1bab64e5b0f
5
5
  SHA512:
6
- metadata.gz: 901c1929736f122089bef49179bd32f4a3da19ee815c83275b290c01a9defa7aaa20d6f24dcb2ebedc7c174cdc701f458af39d9d764b9262bdb392963f300357
7
- data.tar.gz: 4520cc3824ad2a5d130ba0f484e9cd93f8195aba1aedbef35c4474e4d4bcc7cad8075beaee9b377d890b223836f2f6e5de9e1fc1cb827e2f2bb1713d68344a79
6
+ metadata.gz: 1500ffe8c29d66b4cc6548878fd4ed493372e8af2524eb40db18593fa2c1954b6b2ace49ea2ae2c174f19d3db5eadcae006f2bb54679342793473fdd045e72d5
7
+ data.tar.gz: 47a3318dd9cbdf17e529221b72b2c9236f1070c33bd1b6093ecad157fc0103cf3ca88be46b06ec22faaa3524a9911365a8d5de2c8037036d908647f39117b39d
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
Binary file
@@ -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: java
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:
@@ -43,8 +43,8 @@ executables: []
43
43
  extensions: []
44
44
  extra_rdoc_files: []
45
45
  files:
46
- - CONTRIBUTING.md
47
46
  - CHANGELOG.md
47
+ - CONTRIBUTING.md
48
48
  - LICENSE
49
49
  - NOTICE
50
50
  - README.md
@@ -83,8 +83,6 @@ files:
83
83
  - lib/bson/true_class.rb
84
84
  - lib/bson/undefined.rb
85
85
  - lib/bson/version.rb
86
- - spec/bson_spec.rb
87
- - spec/spec_helper.rb
88
86
  - spec/bson/array_spec.rb
89
87
  - spec/bson/binary_spec.rb
90
88
  - spec/bson/boolean_spec.rb
@@ -113,6 +111,8 @@ files:
113
111
  - spec/bson/timestamp_spec.rb
114
112
  - spec/bson/true_class_spec.rb
115
113
  - spec/bson/undefined_spec.rb
114
+ - spec/bson_spec.rb
115
+ - spec/spec_helper.rb
116
116
  - spec/support/shared_examples.rb
117
117
  homepage: http://bsonspec.org
118
118
  licenses:
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: 1.3.6
135
135
  requirements: []
136
136
  rubyforge_project: bson
137
- rubygems_version: 2.1.9
137
+ rubygems_version: 2.4.5
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Ruby Implementation of the BSON specification
metadata.gz.sig CHANGED
Binary file