Sha256: d17e8f3e0fe49b9306e0c91f4e006a8995fda7b1a14157ede646cc0b3f7f8e07

Contents?: true

Size: 545 Bytes

Versions: 7

Compression:

Stored size: 545 Bytes

Contents

##
# 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

7 entries across 7 versions & 1 rubygems

Version Path
rubygems-update-2.2.5 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.4 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.3 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.2 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.1 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.0 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-2.2.0.rc.1 lib/rubygems/resolver/vendor_specification.rb