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

Document ffi as optional runtime dependency

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      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?

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

              Created:
              Updated: