method

resolve_activated_specs

ruby latest stable - Class: Bundler::Molinillo::Resolver::Resolution

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

resolve_activated_specs()
private

No documentation available.

# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 216
      def resolve_activated_specs
        activated.vertices.each do |_, vertex|
          next unless vertex.payload

          latest_version = vertex.payload.possibilities.reverse_each.find do |possibility|
            vertex.requirements.all? { |req| requirement_satisfied_by?(req, activated, possibility) }
          end

          activated.set_payload(vertex.name, latest_version)
        end
        activated.freeze
      end