def requirement_satisfied_by?(requirement, activated, spec)
      version = spec.version
      return false unless requirement.constraint.satisfies?(version)
      shared_possibility_versions = possibility_versions(requirement, activated)
      return false if !shared_possibility_versions.empty? && !shared_possibility_versions.include?(version)
      true
    end
def requirement_satisfied_by?(requirement, activated, spec)
      version = spec.version
      return false unless requirement.constraint.satisfies?(version)
      shared_possibility_versions = possibility_versions(requirement, activated)
      return false if !shared_possibility_versions.empty? && !shared_possibility_versions.include?(version)
      true
    end
Callback required by Molinillo
 Determines whether the given `requirement` is satisfied by the given
 `spec`, in the context of the current `activated` dependency graph.

 @param [Object] requirement
 @param [DependencyGraph] activated the current dependency graph in the
   resolution process.
 @param [Object] spec
 @return [Boolean] whether `requirement` is satisfied by `spec` in the
   context of the current `activated` dependency graph.