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.3.0 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.33 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.32 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.31 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.30 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.29 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.28 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.27 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.26 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.25 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.24 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.23 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.22 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.21 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.20 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.19 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.18 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.17 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.16 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.2.15 lib/rubygems/resolver/vendor_specification.rb