2013-11-10 12:51:40 -05:00
|
|
|
##
|
2013-11-18 19:34:13 -05:00
|
|
|
# A GitSpecification represents a gem that is sourced from a git repository
|
|
|
|
# and is being loaded through a gem dependencies file through the +git:+
|
2013-11-10 12:51:40 -05:00
|
|
|
# option.
|
2013-10-17 21:57:00 -04:00
|
|
|
|
2013-11-18 19:34:13 -05:00
|
|
|
class Gem::Resolver::GitSpecification < Gem::Resolver::SpecSpecification
|
2013-10-17 21:57:00 -04:00
|
|
|
|
|
|
|
def == other # :nodoc:
|
|
|
|
self.class === other and
|
|
|
|
@set == other.set and
|
2013-11-10 12:51:40 -05:00
|
|
|
@spec == other.spec and
|
|
|
|
@source == other.source
|
2013-10-17 21:57:00 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|