Sha256: ba76dff5bfc59040fa1b0530b304eb46c9ff15ec64e4831e6235f463e2339eaa

Contents?: true

Size: 577 Bytes

Versions: 32

Compression:

Stored size: 577 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 &&
      @set  == other.set &&
      @spec == other.spec &&
      @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

32 entries across 32 versions & 1 rubygems

Version Path
rubygems-update-3.6.3 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.6.2 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.6.1 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.6.0 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.23 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.22 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.21 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.20 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.19 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.18 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.17 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.16 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.15 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.14 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.13 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.12 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.10 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.9 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.8 lib/rubygems/resolver/vendor_specification.rb
rubygems-update-3.5.7 lib/rubygems/resolver/vendor_specification.rb