-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: BSON
-
None
If running Ruby with $VERBOSE = true a number of warnings related to the bson gem are surfaced:
$ ruby -rbson -w -e 'puts "Ruby: #{ENV["RUBY_VERSION"]} / bson-ruby: #{BSON::VERSION}"'
# output
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson/decimal128/builder.rb:192: warning: assigned but unused variable - original
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson/decimal128/builder.rb:193: warning: assigned but unused variable - e
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson/decimal128/builder.rb:194: warning: assigned but unused variable - decimal
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson/decimal128/builder.rb:320: warning: assigned but unused variable - base
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson_native.bundle: warning: method redefined; discarding old next_object_id
/Users/alex/.rvm/gems/ruby-3.2.0/gems/bson-4.15.0/lib/bson/object_id.rb:371: warning: previous definition of next_object_id was here
Ruby: ruby-3.2.0 / bson-ruby: 4.15.0