Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1110

Update #to_bson method signatures and gemspec for bson 4.1

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: 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 Emily Stolfo
            Reporter:
            emily.stolfo Emily Stolfo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: