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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb64edcc98b2cc17bd2bba72a89a95b8e8814912e1f2ecc4a25aac83e2866515
4
- data.tar.gz: 4b6c17e095eb02e25e296598e295588b9e3ac007648dcf555dd7e098283a0ce6
3
+ metadata.gz: f383730000f9b08a131535250a7855d8ec8dcb0e3bb334f4779dcdcc95b56023
4
+ data.tar.gz: 57cb5e6db027b6982263d4f4eb0228968b6fc71e6b6499ef5563c0a160a3b2b0
5
5
  SHA512:
6
- metadata.gz: 9a8eeedb36d88f6cde0489562da998287c1982aefcc5ad12ed7235d0bde380251d62c2a0431a155e27115d5131db0c102ca36651e65d126988dbce700ec8884a
7
- data.tar.gz: 5bb7da780a59ef38959c3c900148d288ff516688524ba56b837f18619c680ed4aa453482574a9c26e7f985a4cc9ea745c2d885d56421eb967787243fc5c3b2ec
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
- load 'spec/shared/lib/tasks/candidate.rake'
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
@@ -5,5 +5,5 @@ module BSON
5
5
  #
6
6
  # NOTE: this file is automatically updated via `rake candidate:create`.
7
7
  # Manual changes to this file may be overwritten by that rake task.
8
- VERSION = '5.1.1'
8
+ VERSION = '5.2.0'
9
9
  end
@@ -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.1.1
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.6.9
266
+ rubygems_version: 3.7.2
267
267
  specification_version: 4
268
268
  summary: Ruby implementation of the BSON specification
269
269
  test_files: