bson 5.1.1-java → 5.2.0-java

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: 8a03675c43010414728b7b3f7467cd61e62d005698eefd9ef7006ac3a537cb7f
4
- data.tar.gz: 95c1ff2578dd11e54aeae596ad7c96610fa91580608ff27d6d1c83c6777e7fed
3
+ metadata.gz: f9a9cdfa7bb690345c853952c667f11af46b45bd969fddc8f92f518882d104f0
4
+ data.tar.gz: d72e5afaa4522603d71c8815ac14f812d68ce071004c30796be092fbc9357407
5
5
  SHA512:
6
- metadata.gz: a29fa72227a6ea6da104d6153d9a1e77cce2844399e22a96233562b25b722c673a8517ca2ff31ef4a237415687f808768b9870612dc7f225274c9b7f3a83070e
7
- data.tar.gz: 6b343f9a87f89165e1acefac5f698dbe748c8d3dc853553606ccf1f116af8fb4a7ff2ab03f52df1dab351649cfee98bbf5ce8387257f4df050e091ec7b9c2adb
6
+ metadata.gz: 5e97b2bcc5e9da32f1e28da91b15839f9285dccf1bb2bde22f48334b60ee2fa89f87f708ef9925b96e534358b28c4cf2e0520e50a4f0994018fb5acc94f3d291
7
+ data.tar.gz: 65c9adf198da516556640b1abc11656fd6a8dc57691e2e8433f15b908e3ce5b79c87c2c79176af16760a111577e33139e6075f90151d1e7d1ce5d9aaeffef9b6
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
data/lib/bson-ruby.jar CHANGED
Binary file
@@ -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: java
6
6
  authors:
7
7
  - The MongoDB Ruby Team