mongo-ruby-driver icon indicating copy to clipboard operation
mongo-ruby-driver copied to clipboard

ruby2.7 Using the last argument as keyword parameters is deprecated

Open ilkarataev opened this issue 8 months ago • 2 comments

Hi I faced problem on my script I saw warnings:
/var/lib/gems/2.7.0/gems/mongo-2.19.1/lib/mongo/server.rb:658: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/mongo-2.19.1/lib/mongo/server/description.rb:220: warning: The called method `initialize' is defined here

This small changes fix the problem.

ilkarataev avatar Oct 17 '23 09:10 ilkarataev