Sha256: 51b4dcd063b47769ca28566be82e3c11bb938abb0a79d606d0fc6d5c55699d73

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

# frozen_string_literal: true

module Bundler
  #
  # Represents a package name that was found to be incomplete when trying to
  # materialize a fresh resolution or the lockfile.
  #
  # Holds the actual partially complete set of specifications for the name.
  # These are used so that they can be unlocked in a future resolution, and fix
  # the situation.
  #
  class IncompleteSpecification
    attr_reader :name, :partially_complete_specs

    def initialize(name, partially_complete_specs = [])
      @name = name
      @partially_complete_specs = partially_complete_specs
    end

    def ==(other)
      partially_complete_specs == other.partially_complete_specs
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rubygems-update-3.4.9 bundler/lib/bundler/incomplete_specification.rb
bundler-2.4.9 lib/bundler/incomplete_specification.rb