Method: Bundler::RemoteSpecification#git_version

Defined in:
lib/bundler/remote_specification.rb

#git_versionObject



95
96
97
98
# File 'lib/bundler/remote_specification.rb', line 95

def git_version
  return unless loaded_from && source.is_a?(Bundler::Source::Git)
  " #{source.revision[0..6]}"
end