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

Document ffi as optional runtime dependency

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • None
    • None
    • Docs
    • None

    Description

      On the master 1f655b864f280593dd1f0367e66ee9a2c6bb0f44 , I see the ffi gem is used in the mongo gem.

      $ grep -r "'ffi'" lib/ | grep require
      lib/mongo/crypt/binary.rb:require 'ffi'
      lib/mongo/crypt/status.rb:require 'ffi'
      lib/mongo/crypt/handle.rb:require 'ffi'
      lib/mongo/crypt/binding.rb:require 'ffi'
      

      Why do not we add ffi to mongo.gemspec as a runtime dependency?
      What is the use case of the mongo Ruby driver to require ffi gem?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaruga@redhat.com Jun Aruga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: