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

Fix warning in Ruby 2.4

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.4.2
    • Affects Version/s: 2.4.1
    • Component/s: None
    • None

      In Ruby 2.4, there's a warning when forwarding to a private method. So I get this from the mongo gem:

      ```
      /Users/bcrouse/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mongo-2.4.1/lib/mongo/collection/view/builder/aggregation.rb:78:in `specification': Mongo::Collection::View::Builder::Aggregation#write_concern at /Users/bcrouse/.rbenv/versions/2.4.1/lib/ruby/2.4.0/forwardable.rb:157 forwarding to private method Mongo::Collection::View#write_concern
      ```

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            bcrouse Ben Crouse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: