aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/resolver/git_specification.rb
blob: ac8d4e9aeba666b365a6b72be6c07c030e68d59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
##
# A GitSpecification represents a gem that is sourced from a git repository
# and is being loaded through a gem dependencies file through the +git:+
# option.

class Gem::Resolver::GitSpecification < Gem::Resolver::SpecSpecification

  def == other # :nodoc:
    self.class === other and
      @set  == other.set and
      @spec == other.spec and
      @source == other.source
  end

end