bson 5.1.1 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/lib/bson/version.rb +1 -1
- data/spec/bson/int64_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f383730000f9b08a131535250a7855d8ec8dcb0e3bb334f4779dcdcc95b56023
|
4
|
+
data.tar.gz: 57cb5e6db027b6982263d4f4eb0228968b6fc71e6b6499ef5563c0a160a3b2b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433d3758ccd6ad9222b98bf43a4746b71b5966d6eb01321dff869eca61acef89e58b42baae0bd9c979d41cc922b4baf227ae0b71fdc4f21d37b0d3ec7137a85b
|
7
|
+
data.tar.gz: 7f61000684c0acb7af4d2d50c3e2cbc1e47ab342c415fc91addf7e1c5533cb3e23cfe4d16ba2ccd5dea72d70d8a89698eec3f4520fee3320c3c64c7aec95f10d
|
data/Rakefile
CHANGED
@@ -25,7 +25,9 @@ require "rake/extensiontask"
|
|
25
25
|
require "rspec/core/rake_task"
|
26
26
|
require 'fileutils'
|
27
27
|
|
28
|
-
|
28
|
+
if File.exist?('./spec/shared/lib/tasks/candidate.rake')
|
29
|
+
load './spec/shared/lib/tasks/candidate.rake'
|
30
|
+
end
|
29
31
|
|
30
32
|
def jruby?
|
31
33
|
defined?(JRUBY_VERSION)
|
data/lib/bson/version.rb
CHANGED
data/spec/bson/int64_spec.rb
CHANGED
@@ -100,7 +100,7 @@ describe BSON::Int64 do
|
|
100
100
|
BSON::ByteBuffer.new(BSON::Int64.new(integer).to_bson.to_s)
|
101
101
|
end
|
102
102
|
|
103
|
-
context "when on JRuby", if: BSON::Environment.jruby? do
|
103
|
+
context "when on JRuby", if: BSON::Environment.jruby? && RUBY_VERSION < '3.0.0' do
|
104
104
|
|
105
105
|
it "deserializes to a Fixnum object" do
|
106
106
|
expect(described_class.from_bson(bson).class).to be(Fixnum)
|
@@ -120,7 +120,7 @@ describe BSON::Int64 do
|
|
120
120
|
BSON::ByteBuffer.new(integer.to_bson.to_s)
|
121
121
|
end
|
122
122
|
|
123
|
-
context "when on JRuby", if: BSON::Environment.jruby? do
|
123
|
+
context "when on JRuby", if: BSON::Environment.jruby? && RUBY_VERSION < '3.0.0' do
|
124
124
|
|
125
125
|
it "deserializes to a Fixnum object" do
|
126
126
|
expect(described_class.from_bson(bson).class).to be(Fixnum)
|
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: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The MongoDB Ruby Team
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: 1.3.6
|
265
265
|
requirements: []
|
266
|
-
rubygems_version: 3.
|
266
|
+
rubygems_version: 3.7.2
|
267
267
|
specification_version: 4
|
268
268
|
summary: Ruby implementation of the BSON specification
|
269
269
|
test_files:
|