Sha256: 6be79c447ea87b28f1d7bff6a1f4f71d5e7c7de253086db0b777991182bf4195

Contents?: true

Size: 579 Bytes

Versions: 56

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true
##
# A VendorSpecification represents a gem that has been unpacked into a project
# and is being loaded through a gem dependencies file through the +path:+
# option.

class Gem::Resolver::VendorSpecification < Gem::Resolver::SpecSpecification
  def ==(other) # :nodoc:
    self.class === other and
      @set  == other.set and
      @spec == other.spec and
      @source == other.source
  end

  ##
  # This is a null install as this gem was unpacked into a directory.
  # +options+ are ignored.

  def install(options = {})
    yield nil
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
rubygems-update-3.2.34 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.19 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.18 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.17 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.16 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.15 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.14 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.13 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.12 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.11 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.10 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.9 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.8 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.7 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.6 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.5 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.4 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.3 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.2 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.3.1 lib/rubygems/resolver/vendor_specification.rb