Update #to_bson method signatures and gemspec for bson 4.1

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The bson dependency in the gemspec should be 4.1, so that the driver can pass a validating_keys arg to #to_bson.

      The following method signatures should be changed to reference BSON::Config.validating_keys?

      https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/dbref.rb#L87
      https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/grid/file/info.rb#L201
      https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/grid/file/chunk.rb#L138

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Emily Stolfo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: