Class: LockDiff::Gem::Spec::GitSpec

Inherits:
Base
  • Object
show all
Defined in:
lib/lock_diff/gem/spec.rb

Instance Method Summary collapse

Methods inherited from Base

#homepage_url, #initialize, #revision, #ruby_gem_url, #to_package

Constructor Details

This class inherits a constructor from LockDiff::Gem::Spec::Base

Instance Method Details

#repository_urlObject



56
57
58
# File 'lib/lock_diff/gem/spec.rb', line 56

def repository_url
  @repository_url ||= Github::UrlDetector.new(@spec.source.uri).call
end